JSF event on a template part of page does nothing

I created a page template which also changes locale, but when I apply the template to an JSF page. The change locale code does not work at all. It is like the backing bean of the template does not exist.
Template code:
<h:form>
<h:selectOneMenu styleClass="selectOneMenu" id="countrySelectDropDown" value="#{root.locale.displayName}">
<f:selectItems value="#{selectitems.root.countrySelectItems.countrySelectItems.toArray}" />
</h:selectOneMenu>
<hx:commandExButton type="submit" value="Change Language" styleClass="commandExButton" id="selectLocale"
action="#{pc_BDInternetRegDoc.doSelectLocaleAction1}"></hx:commandExButton></h:form>Help !!

Use the anchor method (found here) in combination with the Accordion Widget samples page from Adobe.
I hope this helps.
Ben

Similar Messages

  • How to create a template and child pages using mockup designed in Fireworks

    I have created a website in Fireworks, and exported it to use in Dreamweaver.  How do I use the Master page in Fireworks as my template page in Dreamweaver?  When I bring in the .htm files from fireworks, it tries to bring in the entire page.  I have taken 25 hours of online training for Fireworks and Dreamweaver through Lynda.com, but there is not a specific video that tells you how to get your website from Fireworks into Dreamweaver if you want to utilize the Template and child page features.

    Use Fireworks to crop, slice and optimize images only.  DO NOT allow any graphics app to generate your HTML code for you.  This results in poorly formed code and rigid layouts that invariably fall apart when you attempt to edit them in DW.  Fireworks / Photoshop generated pages are for quick prototypes or design comps to show the client.  They do not work well on production sites.
    Taking a Fireworks comp to a CSS Layout in DW
    Part 1 - Initial Design
    http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt1.html
    Part 2 - Markup preparation
    http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt2.html
    Part 3 - Layout and CSS
    http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt3.html
    DWT Template Basics -
    http://forums.adobe.com/message/2926278#2926278
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • InDesign CS5.5 crashes while applying Template to a page

    Hi,
    We installed Adobe InDesign CS5.5. on 10 Windows XP SP3 32-bit workstations with 2 GB RAM. On every computer, when a user tries to apply a template to a page in a .indd document, InDesign immediately shuts down without displaying any error messages. Using the Sysinternals Tools and Dr.Watson, I think that the faulty plugin might be this one: C:\Program Files\Adobe\Adobe InDesign CS5.5\Plug-Ins\Layout\PAGES PANEL.APLN.
    Here's a part of the drwtsn32.log file (the full log can be made available upon request):
    Une exception d'application s'est produite :
            App : C:\Program Files\Adobe\Adobe InDesign CS5.5\InDesign.exe (pid=2844)
            Lorsque : 2012-08-13 @ 14:32:37.017
            Numéro d'exception : c0000005 (violation d'accès)
    *----> Liste des tâches <----*
       0 System Process
       4 Error 0xD0000022
    452 Error 0xD0000022
    508 Error 0xD0000022
    532 Error 0xD0000022
    576 Error 0xD0000022
    588 Error 0xD0000022
    764 Error 0xD0000022
    *----> Suivi arrière de la pile <----*
    WARNING: Stack unwind information not available. Following frames may be wrong.
    *** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files\Adobe\Adobe InDesign CS5.5\Required\LAYOUT.RPLN -
    ChildEBP RetAddr  Args to Child             
    06606b88 0625bf00 00020002 0408010b 0a8b1984 CJKGRID+0x20b55
    0aa2915c 0aa1f130 0aa21a50 0aa1cb90 0aa1ba60 0x625bf00
    0aa1d060 8108244c 000132f9 8b157500 c985044e LAYOUT+0xf130
    8bf18b56 00000000 00000000 00000000 00000000 0x8108244c
    Has anybody ever experienced this issue ? Are there known workarounds ?
    Let me know if you need additionnal information.
    Thank you in advance !
    LR

    Hi,
    I am not sure if this is a "Master Page since we use a French version (the functionnality is  named "Gabarit" in French), so here is a printscreen which shows what our users try to do:
    Immediately after the drop is completed, InDesign shuts down without further notice as described before.
    I fully patched one machine to 7.5.3, rebooted it and it still does not work.
    I know 2 GB is a little bit short, but since this is currently a corporate standard in my customer's organization, I will need to be sure that this is the direct and only cause before any upgrade request can be made.
    Thank you for your help.

  • JSF - CommandLink action - Partial Refresh for Multiple Pages in a Form

    Hi,
    I have a 3 JSP Pages, say ( 1.jsp, 2.jsp, 3.jsp) called as designed in the FORM below :
    --------------PAGE 1.jsp-----------------------------------------
    | Input Box 1 |
    | Input Box 2 |
    | Input Box 3 |
    | |
    | <DIV> |
    | PAGE 2.JSP |
    | </DIV> |
    | |
    | |
    | |
    | <DIV> |
    | PAGE 3.jsp |
    | </DIV> |
    |________________________________________ |
    Page 1 has some input boxes and onBlur() of one of the input Boxes --> I call some Ajax code pass Values from Page 1.jsp to Page 2.jsp --> build URL for Page 2.jsp and display it in the specifiedDIV area above.
    Similarly, Page 2.jsp has some inputs --> pass inputs from Page2 to Page 3----> build URL for Page 3.jsp and call it in DIV areaabove .
    Now,
    Page 3.jsp has a commanButton which I click and upon success submission refreshes the whole screen & loads only Page 3.JSP
    Is there a way that when i click on the submit button on Page3.jsp above, only the part of the whole form that has Page 3.jsp refreshes and rest of the screen remains as it is. I mean Page 1 & Page 2 do not get refreshed.
    I would really appreciate if you could assist with some code examples

    Don't know if I get it right, but it's not wise to discover wheel, when it's alredy discovered. Mix of JSF 1.2 with RichFaces should do. You can set form to be submited in ajax, you have ajax components, finally you have attribute 'reRender' in commandButton (or whatever you use) which tells which part of page should server rerender, so just indicate it by element id :].
    In short term You may try to divide your page with sub pages (suppose you use subview) on 3 forms. In JSF 1.2 RI h:form always send whole form, and so rerenders whole form

  • Apply template to a page already created

    Is there a correct way to apply a template once a page has been created ?
    I have done it several time modifying the source of the page, but when it has binding that can lead to problems.
    What is your recommendation ?

    Hi,
    here's the tag documentation
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12419/tagdoc/af_pageTemplate.html
    which also contains an example for how to add this manually:
    <af:pageTemplate id="weather"
      viewid="pagefragments_weatherBox_jspx">
      <f:attribute name="zip" value="94065"/>
      <f:attribute name="description" value="Redwood Shores, CA"/>
      <f:facet name="forecastSummary">
        <af:outputText value="Partly Cloudy"/>
      </f:facet>
      <f:facet name="forecastDetail">
        <af:panelGroupLayout layout="vertical">
          <af:outputText value="72'F"/>
          <af:outputText value="Partly Cloudy"/>
          <af:outputText value="Wind: W at 16 mph"/>
          <af:outputText value="Humidity: 46%"/>
        </af:panelGroupLayout>
      </f:facet>
    </af:pageTemplate>So you add the reference to the templates and then - assuming the template has attributes - add attribute and facet references
    Frank

  • ORACLE tags in Templates vs Dynamic Pages

    Hello all,
    I have a procedure that prints the Portal version:
    Create or Replace PROCEDURE MATSTESTSCHEMA.SHOW_PORTAL_VERSION
    as
    l_ver varchar2(20);
    BEGIN
    l_ver := portal30.wwctx_api.get_product_version();
    htp.print(l_ver);
    END;
    I can call this procedure successfully from a Dynamic Page with
    the following embedded syntax in the HTML code:
    <ORACLE>
    BEGIN
    MATSTESTSCHEMA.SHOW_PORTAL_VERSION;
    END;
    </ORACLE>
    I want to use some procedure calls in my templates as well.
    Tried to use the same syntax as above but it does NOT work.
    The whole code block between the <ORACLE>-tags seems to be
    ignored as soon as a procedure call is included.
    A simple syntax like this DOES work in a template:
    <ORACLE>
    BEGIN
    htp.p('hello');
    END;
    </ORACLE>
    Why doesn't it work to call procedures from the templates???
    Has anyone alse run into this?
    PS! I'm using Portal version 3.0.7.6.2
    Will soon upgrade to the latest version...

    What I'm trying to do is to do a redirect of a page depending on
    some conditions which my PL/SQL procedure can determine. So I
    hoped that I could call my procedure from the page template
    header and the procedure would print a redirect tag, if
    appropriate. Something like this:
    Page template (part of..)
    <HTML>
    <HEAD>
    <ORACLE>
    BEGIN
    MYSCHEMA.DO_REDIRECT;
    END;
    </HEAD>
    The DO_REDIRECT procedure prints the META tag for a redirect of
    the browser if it finds it necessary. otherwise it would do
    nothing..
    <META     HTTP-EQUIV="Refresh"
         Content     = "30;
         URL=http://www.oracle.com">
    But calling procedures from templates as described above does
    not seem to work, at least in version 3.0.7.6.2.
    (We're in the process of upgrading to the latest version)
    Does this work in 3.0.9 ?
    ...or does anyone know a better way to do this?
    Any advice is really apreciated.

  • Not receiving email notifications of iCal event invitations from other parties.

    I am not receiving emails for iCal event invitations from other parties, but the invitations ARE in my iCal Inbox. I don't use iCal often, so I never proactively go in to check my Inbox there, but rather have always depended on receiving the email notification of an event invite to know to add it to my iCal. I can SEND invitations to others successfully with other parties receiving MY email notifications, I'm just not receiving them via email.
    I've now missed two very important meetings because I never received the email invitations to add an event, which were the only forms of correspondence for both. Can anyone help me? Thank you!

    Hello mcdannej,
    While a Verizon employee may occasionally post here, this community is meant mainly for peer-to-peer support. If you need to talk to a Verizon representative, you should contact customer service directly through our Support Page or Contact Us.

  • Templates - part of edible section ??

    Hi all,
    I have a client who is drving me nuts....I made a template
    for the pages on their site, then half way through he wanted a List
    Menu at almost the top of each page......was only to be certain
    pages at first....so I added that to the template.....then he
    wanted the List Menu on all the pages........so I put it there ,
    one page at a time.
    NOW......he wants to change some of the values in the List
    Menu.......to something different........and I have to change the
    List Menu on over 163 pages.
    Is there a way to make part of an edible section of a
    template non-edible.......so that when you save the changed
    template it doesn't mess up all the other pages.....by pushing
    informaiton out of the way or removing it entirely?
    Am lost as to what to do.......but I know there has to be a
    way to make that one little List Menu in a section of a table
    non-edible......and have it change all the other pages........HELP
    ME!!!!!!!!
    You can see what I am talking about at this addresss........
    http://www.kent.net/idrivebigtruck/estrosense.htm
    It's a dummy directory with only someof the files in
    it.........but enough to give you the gist of what I am talking
    about and maybe someone can tell me how to change the template to
    do what I would like.
    Thanking you in advance for any help.
    Jill

    That's funny!
    "josie1one" <joleros[nospam]@yahoo.com> wrote in
    message
    news:[email protected]...
    > I'm getting hungry reading these posts
    >
    > --
    > Jo
    >
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> I'm worried about edible cells....
    >>
    >> Just make that select tag a server-side include.
    Then edit, make one
    >> upload, and all pages have it.
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> ==================
    >>
    >>
    >> "PizzaGood" <[email protected]> wrote in
    message
    >> news:[email protected]...
    >>> Sorry, but then why not just select the actual
    cells and make them
    >>> non-editable instead of the whole row?
    >>>
    >>>
    >>> "mantis" <[email protected]> wrote in
    message
    >>> news:[email protected]...
    >>>> HI PizzaGood.......
    >>>>
    >>>> Let me see if I can explain it a bit
    better.....
    >>>>
    >>>> If you look at my source code for that
    page........check out Edit
    >>>> Region3
    >>>>
    >>>> It consists of a table with three rows.
    >>>>
    >>>> The first row has the address, phone number
    and fax number....it is
    >>>> Non-Edibile.
    >>>> The second row has two columns......one
    column has Lorna Vanderdaeghe
    >>>> in it
    >>>> ....the second column has the word Symptoms
    ....then the List Menu.
    >>>> The third row has the panels for Information
    and Purchase Now.......the
    >>>> shopping cart information in it.
    >>>>
    >>>> The second and third rows are
    EDIBLE..........
    >>>>
    >>>> I want to make the second column in the
    second row......where the
    >>>> word...
    >>>> Symptoms and the List Menu are...
    NON-EDIBLE....
    >>>>
    >>>> All of this is in the template.....so when I
    click save
    >>>> template......it will
    >>>> save and then ask me to update all the
    pages....which use that
    >>>> template.
    >>>>
    >>>> What I don't want the template to do is
    remove any information from the
    >>>> pages
    >>>> that is already there....in the EDIBLE
    areas.
    >>>>
    >>>> I just want the template to update the List
    Menu.....on all the pages.
    >>>>
    >>>> Right now I have to change each and every
    list menu on every
    >>>> page.......if the
    >>>> client changes his mind........which takes
    HOURS......as there are 163
    >>>> pages
    >>>> attached to that template.
    >>>>
    >>>> I am hoping there is a simple way to do
    this.
    >>>>
    >>>> Thanks for the help so far
    >>>>
    >>>> Jill
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

  • How to crate a page template for multiple page instances?

    Hello,
    When I use the Administration Portal to create a page with portlets in the Portal Resource Library, I can choose to use that page it in my portal. The problem is that I can use it only once. How can I crate a page template with portlets so I can use use it as a template for many page instances in one portal?
    I'm using Portal 8.1.6.
    Regards,
    Eirik

    Hey Dave, See the image below:

  • How to add SharePoint 2013 Promoted link list view web part in page programatically with Tiles view using CSOM.

    How to add SharePoint 2013 Promoted link list view web part in page programatically with Tiles view using CSOM. I found that it can be
    done by using XsltListViewWebPart class but how can I use this one by using shraepoint client api.
    shiv

    Nice, can you point me to the solution please ?
    I'm  trying to do this but I get an error : 
    Web Part Error: Cannot complete this action. Please try again. Correlation ID: blablabla
    StackTrace:    at Microsoft.SharePoint.SPViewCollection.EnsureViewSchema(Boolean fullBlownSchema, Boolean bNeedInitallViews)     at Microsoft.SharePoint.SPList.GetView(Guid viewGuid)   
    All help really appreciated.

  • Where templates stored for Pages 5.0?

    Where are my Templates stored in Pages 5.0?  Previous versions of Pages stored Templates in Application Support/iWork/pages.   Not so for version 5!!   NBut where?
    Thanks.

    Do not double click.. right click and then choose view package content
    from my post in a similar thread
    In ~/Library/Containers/ you will find a file called com.apple.Iwork.Pages
    It's a container. If your right click and choose view package you will find a folder structure. Follow that structure to Data->Library/Application Support/User Templates and "voilá" there are your templates."

  • Where is the template section in pages 5.0?

    In the new Pages 5.0 i cannot find the icon that use to help me add table content , section , chapter and sections according to the template that you choose. does anyone know where it is??

    hmm this seems like to resolve the problem only temporarily.
    when i shut down pages and reopens, it jumps back to the british spelling. how can i make this fixed to the american spelling?

  • How to set a template to multiple pages

    Hello,
    I'm using Oracle Portal 10.1.2.0.2 and I've created a hiearchy of pages and a template with regions for banner, navigation portlet and content area and I want to set up this template to multiple pages. Manually and uncomfortably, I can edit my page and in [Template] tab in [Properties] select my template. But how can I do it for example for a whole page group? Default template for page group doesn't work for me - though I've set up it in page group, in a particular page I still see [Page template]=none with no effect. Is it possible to do it through some sql query? (With specification of region, in which the page will be mapped?)
    Thank you for your advice,
    tb

    Observation:
    Pages from one page group can't see templates from another page group. In case of multiple page groups I have to put my templates in [Shared objects]. Unfortunately I didn't find a way (if even exists) how to copy template from one page group to another, especially to shared objects :(

  • Officejet Pro 8600 Plus prints part of page and quits

    My brahd-new Officejet Pro 8600 Plus prints part of page and quits.  The manual said to clean the print heads and align the printer.  I did both of those.  It made the problem worse.   I'm printing on photo paper - HP Premium Plus.  It happens about 1/2 the time. 

    Hi beantowner2,
    I would like to begin with a few questions,
    Does this happen when you copy a photo, or only when you print form the computer?
    Do you have the printer connected directly to a wall outlet or a surge protector?
    What operating system and version is on the computer?
    Is the printer connected to the computer with a USB cable or wirelessly?
    If you have a WIndows operating system please download and install the latest firmware version for the printer. HP Officejet Pro 8600 N911g_n Firmware.
    If you are using a surge protector, I suggest disconnecting and connecting the power directly to a wall outlet.
    Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector
    In this document you will see,
    ISSUE:
    Problems or issues may arise when an HP LaserJet series printer is connected to an uninterruptible power supply (UPS), a power strip, or a surge protector
    This is not limited to Laserjet printers.
    I look forward to hearing back from you.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • How do I change the template size in pages on my iPad

    How do I change the template size in pages on my iPad I've looked every where for the answer.
    Please help I'm trying to make a program 

    You can't. Those are functions of the the template.

Maybe you are looking for