How to control scheme with JSF commandLink/Button tags?

Ok, so I've a problem using JSF on Sun AS 9.0.1 when deployed behind an SSL accelerator in production.
Because secure requests get to the app server unencrypted, I am unable to use regular declarative security user-data-constraint/transport-guarantee/CONFIDENTIAL in web.xml, or it gets in an infinite loop redirecting to https.
Tomcat 5 provides a way to customize the default behavior (see http://www.unc.edu/~adamc/docs/tomcat/tc-accel.html), but I'm not going to be able to use this until Sun AS 9.1 comes out... :(
So in the meantime, I'd just like to control the schemes on my links and action post, but JSF doesn't seem to support it! <commandLink/Button>s don't seem to allow you to change scheme. If you put a full URL in the action, it fails to lookup the full URL w/ scheme in the faces-config.xml...
Is this a Glassfish bug or a JSF oversight?
I'd appreciate any workaround idea the community would be willing to share. :)
Thank you,

Hey guyz plzzz help
In my navigation rule , generally i call any other jsp, instead of it can i call controller servlet ? And now every action corresponding to any button will call this servlet.
can i call servlet ?

Similar Messages

  • Navigation control only with my custom buttons

    I'm using Captivate 4 and I'd like to create an eLearning course that navigation control goes only through the cutom buttons I create. No auto continue to the next slide, etc. I've deleted the full screen invisible button with continue on it, and I disabled the skin with playback control. If it's just a page turner, it's fine. If you have inteactions using buttons, click box, the "If the user clikcs outside of the button," seems to affect the behavior of the slide. I tried different settings but it still goes to the next slide after clicking on something a few times.
    For example, I tried to set allow attempts to 100 and set No Action After the last attempt. If it works as it says, then you should be able to click on the screen 100 times without activating anything. Then, it should take No action as I asked it to do. But this does not work.
    So, how can I do to create a Captivate course that only navigates with my buttons, menus?
    Thanks,

    Hi,
    Can you share this screen with me where you are controlling the navigation with those 6 buttons ?
    I am in similar situation with over 120 slides to be built in with action to be controlled by user clicks.
    Thanks.

  • How to solve problem with JSF table's border (style) ??

    Hi, I would like to create table in JSF like this
                   <table  align="center"
                             width="250"
                             style="border-collapse: collapse; border: 1px black solid;" >
                   <tr>
                        <td align="center"
                             colspan="2"
                             style="border: 1px black solid;">
                             Header A
                        </td>               
                   </tr>
                   <tr>
                        <td> a1 </td>
                        <td> a2 </td>
                   </tr>
                   <tr>
                        <td> b1 </td>
                        <td> b2 </td>
                   </tr>
                   <tr>
                        <td align="center"
                             colspan="2"
                             style="border: 1px black solid;" >                          
                             <BUTTON value="12" > button1 </BUTTON>
                             <BUTTON value="12">  button2 </BUTTON>
                        </td>
                   </tr>
                   </table>I don't know how to create borders like this with JSF's components.
    I know how to create table and collspan, but I have a problem with
    border and style.
    below is example that I creat it, but borders are not OK
    IF ANYONE FIND SOLUTION I WILL BE TANKFUL
    JSF:
    <hx:panelBox id="box1"
               layout="pageDirection"
               bgcolor="silver"
               align="center"
               style="border: 1px red solid;"
               border="0">
              <hx:panelBox id="box2" layout="pageDirection" width="100%" bgcolor="#aec74e" height="100%" align="center" style="border: 1px black solid;">
                   <center>
                        <h:outputText styleClass="outputText" id="text9" value="Prazniki"></h:outputText>
                   </center>                         
              </hx:panelBox>
              <h:panelGrid styleClass="panelGrid" id="grid1" columns="3">
                   <h:outputText styleClass="outputText" id="text4" value="#{msgs.planDan}">
                   </h:outputText>
                   <h:inputText styleClass="inputText" id="text3" value="#{pc_Koledar.praznikBean.dan}">
                   </h:inputText>
                   <f:verbatim></f:verbatim>
                   <h:outputText styleClass="outputText" id="text5" value="#{msgs.planMesec}">
                   </h:outputText>
                   <h:selectOneMenu styleClass="selectOneMenu" id="menu1" value="#{pc_Koledar.praznikBean.selectedMesec}">          
                    <f:selectItems value="#{pc_Koledar.praznikBean.meseci}" />          
                   </h:selectOneMenu>
                   <f:verbatim></f:verbatim>
                   <h:outputText styleClass="outputText" id="text6" value="#{msgs.planLeto}">
                   </h:outputText>
                   <h:inputText styleClass="inputText" id="text2" value="#{pc_Koledar.praznikBean.leto}">
                   </h:inputText>
                   <f:verbatim></f:verbatim>
                   <h:outputText styleClass="outputText" id="text7" value="#{msgs.nazivPraznika}">
                   </h:outputText>
                   <h:inputText styleClass="inputText" id="text1" value="#{pc_Koledar.praznikBean.nazivPraznika}">
                   </h:inputText>
                   <f:verbatim></f:verbatim>
              </h:panelGrid>
              <hx:panelBox id="box3"           
                         align="center"
                         layout="lineDirection"
                         width="100%"
                         style="border: 1px black solid;" bgcolor="#aec74e">
                        <center>
                          <hx:commandExButton type="submit" value="Dodaj" id="button1" action="#{pc_Koledar.doButton1Action}" lang="CP1250">
                          </hx:commandExButton>
                           <hx:commandExButton type="submit" id="button3" action="#{pc_Koledar.doButton3Action}" value="Prika�">
                          </hx:commandExButton>
                        </center>
              </hx:panelBox>
    </hx:panelBox>

    Couldn't you use styleClass or id for CSS?

  • How to control HP8350B with HP83592A and HP8757A

    I want to control HP8350B with plug in HP83592A and HP8757A by NI GPIB,using Labview language and print out HP8757A screen chart to printer, but when I sent command to HP8757A according to HP8350B manual ,such as "PT19",the instrument has no response,could andbody has experience on it and tell me how to do?

    "[email protected]" wrote in
    news:506500000008000000296D0000-1031838699000@exch​ange.ni.com:
    > I want to control HP8350B with plug in HP83592A and HP8757A by NI
    > GPIB,using Labview language and print out HP8757A screen chart to
    > printer, but when I sent command to HP8757A according to HP8350B
    > manual ,such as "PT19",the instrument has no response,could andbody
    > has experience on it and tell me how to do?
    After you send "PT19" to the 8757, usually at address 16.
    Send the commands you want to go to the 8350 to address 17.
    To terminate the passthru mode, send any command to address of the 16.
    Ex:
    To Address 16: PT19;
    To Address 17: FA 8 GZ;FB 16 GZ;PL 0 DM;
    To Address 16: C1 IA;

  • Which is the best tool for PRC animation? and how to control it with javascript?

    Hi I created animations through Deep Exploration. But I want to know how to create PRC animation with tools and how to control it? I already tried with tetra4D but the javascript can control only u3d format. I have no idea to control prc animation. Please let me know.
    Thanks and Regards
    Chenet0005 @ Chenthil Kumar

    PRC files don't support embedded animations.
    You can still control the mesh directly with  3D JavaScript (e.g. by using rotateInPlace and a time event handler) but you can't import a timeline as you can with U3D.

  • How to control animation with touch

    Hello! I need some help with controlling animations with touch. I am building a fake app and need to 'unlock' an iphone (slide an arrow along a track and then have it fade into another page). I have been using http://forums.adobe.com/message/4865693 that thread. The prototype link listed there is similar to waht I need to recreate, but I think I need an 'on touch' actino instead of a mousemove one.
    http://assets.ordienetworks.com.s3.amazonaws.com/the_occasional/checkerPro/checkerPro.html
    That is a link to the Edge file I have been working on, using the info in the thread above. It is broken at the moment, and I am terrible with javascript and have no idea how to move forward. I have figured that I'll need an 'on touch' action instead of the mouseover one, but I'm not sure how to build it.
    If there is a working example of this on a different thread that I've missed I'd love a link as well!!
    Thank you!!

    Hi, akall-
    There are a number of touch events that you can use to accomplish what you want.  You can try using the touchmove event instead of the mousemove event, and stick your code in there.
    Hope that helps,
    -Elaine

  • How to control scrubbing with the keyboard?

    The headline is already the question: I would like to use the keyboad to fast forwad in songs. In the 'itunes a-z' there is only an info how to do this with the mouse. Arrow Keys do not seem to work for this, they only switch to the next or previos song, or album. Ah, I am using utine s10.5.2.11 with WIndows 7.
    Any idea?
    Thanks, Alex

    Here are a few more to try:
    setxkbmap
    xkbset is the one I currently use, you can find at https://aur.archlinux.org/packages/xkbset/
    keynav might also be worth a look. I haven't tried it though. It can be found in the AUR also.

  • How to get startet with JSF?

    I really don't know whats up with JSF. Any Tutorial I found referes to WSDP1.2 . But this Version is not accessable anymore. WSDP2.0 iscompletly different to 1.2 .
    Does anyone know, what I have to dowload and Install? I really want to start coding, but I'm stucked in installing software that doesn't work together.
    Is a tutorial out there thats up to date?

    WSDP? WebServices?
    JSF is a web application framework, nothing for WebServices?
    But if you really want to learn JSF, check out this site:
    http://jsftutorials.net/

  • How do I commit with JSF + ADF Buisness components

    Hello
    I following the Building Oracle ADF Applications: Workshop found at
    http://www.oracle.com/technology/obe/obe9051jdev/ADFWorkshop/BuildingADFApplicationsWorkshop.htm
    Instead of JSP and Struts I'm using ADF Faces.
    I'm now doing the "are you sure" page where you confirm that you want to delete a customer. I've added a button to do the delete with the ActionListner : #{bindings.Delete.invoke} but I need to be able to do a Commit afterwards.
    Could somebody explain how this is done (I new to Jdeveloper, comming from a
    Delphi background).
    Thanks is advance
    Paul

    First, if you're using 10.1.3, I'd recommend the 10.1.3 OBE here so that you're following a JSF-based tutorial that corresponds with the latest-and-greatest 10.1.3 features:
    http://www.oracle.com/technology/obe/obe1013jdev/masterdetail_adf_bc/master-detail_pagewith_adf_bc.htm
    Second, there are a few different approaches you can use for invoking multiple actions from a single button.
    (1) The model-centric approach is to add a custom method to your application module that performs the multiple operations over encapsulated inside the AM, mark the method as exposed to clients on the "Client Interface" of the AM, then drop that method as a button from the data control palette.
    (2) The controller-centric approach would be to take your existing page, with the "Delete" action binding in your page definition that was created when you dropped the "Delete" action and...
    Insert a new "action" binding inside the "bindings" section of your page definition for the "Commit" operation. (By default, it will be named commit). Double-click on your (Delete) button, and allow JDeveloper to create you a method in a JSF backing bean (keeping the [x] Generate ADF Binding Code checkbox checked. Then, in the backing bean, you can find the "Commit" operation binding and invoke it after the "Delete" operation binding has been invoked. The backing bean method will already contain the generated code to invoke the "Delete" operation. You can just copy/paste that and change the name.
    There are other more generic approaches, too, but these two ideas should get you started.

  • How to control Action in a Custom Button - SRM 7.0

    Hi SRM gurus,
    We have an issue to add a new button in Bidder responseu201D window when we process an RFX. We follow these steps:
    1. Defined and designed a new action called ZZMYACTION, type u201805u2019 (header) and for BUS2202 (Vendor Bid).
    2. Configured the control of action on header level for displaying and editing.
    3. Added a new button in Webdynpro Component FPM_OIF_COMPONENT, configuration ID /SAPSRM/WDCC_FPM_OIF_QTE_PURCH. It was added as u201COTHER_FUNCTIONSu201D button. It was configured with ELEMENT ID = u2018ZZMYACTIONu2019 and FPM Event ID = u2018ZZMYACTIONu2019.
    4. We created a post-exit for method ONACTIONBUTTON_PRESSED in view CNR_VIEW of the webdynpro. We encode this post-exit following next thread:
    So we have the control of the button. We have now a problem, because we raise our event ZZMYACTION, butu2026 ¿how can we configure this event? The purpose of this button is send an email to the bidder answering him about the result of the RFX, but I donu2019t know where do I have to put my code to do this.
    Anybody can help me to define the event? What am I missing? In addition, I would like to know in the event the bidder, sou2026 how do I send this to my code?
    Many thanks in advance
    Best regards,
    Valentín.

    Hi Valentín,
    If you want to control the event raised by your button, you should create a post-exit in class /SAPSRM/CL_CH_WD_IDEN_PUR_RFX, method /SAPSRM/IF_CLL_IDENT_MAPPER~HANDLE_EVENT. I hope this can help you.
    There you can find a standard example to implement your code. It could be like this:
        DATA:      lv_qte_guid            TYPE bbp_guid,
                       lv_parent_guid         TYPE bbp_guid,
                       lv_folder_url          TYPE string,
                       ls_url_components      TYPE /sapsrm/s_wd_ui_url_components,
                       lo_navigation_service  TYPE REF TO /sapsrm/if_ch_wd_navi_serv,
                       lo_cmp_api             TYPE REF TO if_wd_controller,
                       lo_comp                TYPE REF TO if_wd_component,
                       lo_window_manager      TYPE REF TO if_wd_window_manager,
                       lo_ext_win             TYPE REF TO if_wd_window,
                       lo_task_container      TYPE REF TO /sapsrm/if_cll_task_container,
                       lv_url                 TYPE string,
                       lo_bom_qte             TYPE REF TO /sapsrm/if_cll_bom_qte,
                       lo_comp_controller     TYPE REF TO /sapsrm/iwci_wdi_l_fpc_general,
                       lo_techbid             TYPE REF TO /sappssrm/cl_techbid_cfolder,
                       lv_urlpart2            TYPE string,
                       lt_partner             TYPE TABLE OF  bbp_pds_partner,
                       ls_partner             TYPE bbp_pds_partner,
                       lv_bidder_guid         TYPE bu_partner_guid,
                       ls_obn_components      TYPE /sapsrm/s_wd_ui_obn,
                       lt_url_params          TYPE wdy_key_value_table,
                       ls_key_value           TYPE wdy_key_value,
                       lv_title               TYPE string,
                       lo_portal_mngr         TYPE REF TO if_wd_portal_integration,
                       lo_message_handler     TYPE REF TO /sapsrm/if_ch_wd_map_msg_hdlr,
                       lx_pdo_error_gen       TYPE REF TO /sapsrm/cx_pdo_error_gen.
        TRY.
            CALL METHOD core_object->get_task_cont(
                      IMPORTING eo_task_container = lo_task_container ).
            lo_bom_qte         = lo_task_container->get_bom_qte( ).
            CALL METHOD core_object->get_task_cont(
                      IMPORTING eo_comp_controller = lo_comp_controller ).
            CALL METHOD lo_bom_qte->get_parent_bo_details
              IMPORTING
                ev_parent_guid = lv_parent_guid.
            CALL METHOD lo_bom_qte->/sapsrm/if_cll_bo_mapper~get_bo_guid
              RECEIVING
                rv_bo_guid = lv_qte_guid.
            CASE io_event->mv_event_id.
              WHEN 'ZZMYACTION'.
                   Your code here.....
            ENDCASE.
          CATCH /sapsrm/cx_pdo_error_gen INTO lx_pdo_error_gen.
            lo_message_handler->add_exception( io_pdo_error_exception = lx_pdo_error_gen ).
        ENDTRY.

  • How to control display with X-Y Axis interval

    Is there a graceful way to control the display of X, Y Axis in SVG chart with line mode?
    When more records retrieved, it is hard to read from the X axis.
    How does Axes settings work?
    Thanks,
    Daniel

    Is there a graceful way to control the display of X, Y Axis in SVG chart with line mode?
    When more records retrieved, it is hard to read from the X axis.
    How does Axes settings work?
    Thanks,
    Daniel

  • How to control timleline with mouse x coordinates

    Hi,
    Does anyone know a good tutorial on how to create a movie with a sequence of pictures and controlling the timeline frames with mouse x-coordinates?
    Regards,
    MH

    basiclly,these swfs didn't work in mailtimeline movies.some of them were created by  flash3D .
    the point is some functions what created mouseX & DisplayMovies mapping like this
    function mouseMoveH(e){
              displayrender()
    function mapping(){
         return  fun(mouseX)
    function displayrender(){
        showFrame(mapping)

  • How to control DIO with VC++

    Dear master.
    This is  south korea. Sorry I'm poor english.
    I saw example file. but I can't found bit control (Just found byte control)
    My project is  Z-stage control with step motor.
    check sensor(limit)
    then If true generate pulse CW (for Step motor P3.7)
            if false generate pulse CCW (for step motor P3.6)
    now I can understand read data(8bit) and check one bit...
    but I can't code write data(1 bit) for step motor
    How can I do this...
    Please help me...

    hi
    i'm no pro yet, but i think you can use the following method
    CNiDAQmxDigitalSingleChannelWriter :: WriteSingleSampleSingleLine( bool autoStart, bool data)
    to send a single boolean sample to a single line ( as the name of the method tells you
    hope this helps
    regard, markus
    Message Edited by QuickNick on 07-04-2005 09:38 AM

  • How to control garageband with Oxygen61

    Just bought an Oxygen61.  Can't seem to use any of the buttons or sliders to control garageband.  Is it possible?

    GarageBand's loops and instruments are shared with Logic Pro X, iMovie, Final Cut Pro X, SoundTrack Pro X, and MainStage 3.  Are you using any of these apps and do they need the loops?
    If not, back up your Mac.
    Then delete GarageBand from the Applications folder
    Delete the loops from /Library/Audio/Apple Loops  and ~/Library/Audio/Apple Loops
    Delete all files from /Library/Application Support/GarageBand/  and ~/Library/Application Support/GarageBand/

  • How to connect servlet with jsf

    hello everybody, please help me
    on how to connect jsf to a simple servlet. jsf bean is populated with values entered by user, but to use that bean in servlet i have instantiated new bean object so how i can access values entered by user as bean object contains initial values of variables.
    actually i m developing a sample application jsf as component framework,hibernate as back end layer & spring as middle layer but right now i want to connect jsf to database using servlet & hibernate .So i want to access form bean of jsf so that i want to use form bean to do ORM in hibernate. but how can i get values entered by user in my servlet so that i can set these values in bean object.
    please reply
    Thanks
    Edited by: Manjinder on Oct 15, 2007 6:31 AM

    Please elaborate 'connect' in this context. This sounds a bit odd namely.
    You can invoke a servlet using a plain GET query or a POST query using a <form> element.
    If you're saying that you want to use some business logic which is available in a servlet, then you're looking in the wrong direction. Refactor that business logic in a separate class so that a simple Servlet as well as a JSF backing bean can use that logic. Then you can use JSF h:form with commandButton/Link to invoke the backing bean's action which on its turn invokes that logic.

Maybe you are looking for