JSF Pages are not rendering correctly when  loaded using Non JSF actions

Hi All,
This problem is irritating me and I am posting the same query for the third time here.
When I come from non jsf actions such as page submitting using Javascript, clicking anchor link, clicking normal Html submit button and so on my page is not rendering correctlly .
In other words, My first GET method/Post method works perfectly for the first time when the page is loaded.
But when we try to access the page for the second time, although logical work is perfect in bean, I am getting same old page.
How to resolve this issue?
or
Is this Bug of Sun's Implementation of JSF Framework.
Thanks,
Sudhakar

Hi Sudhakar,
There is a discussion about refreshing a page, Take a look at the below thread
http://swforum.sun.com/jive/thread.jspa?threadID=55660
Hope this what you are looking for
MJ

Similar Messages

  • JSF Page is not  rendering correctly on NON JSF Action

    Hi All,
    When I go from JSF actions (clicking HtmlCommandButton HtmlActionLink), I am getting the correct page. But when I come from non jsf actions say if I come through by clicking normal anchor tag or javascript action or normal html submit button, I am getting same old rendered page. How can I overcome this problem??
    Thanks
    Sudhakar

    I am getting same old rendered pageIn otherwords, page is not getting refreshed and contains old data

  • HT201317 When I view photos on my devices some are not oriented correctly. I used Picassa to turn all photos upright and then copied those photos into the upload file but they are still not corrected when viewed on my devices (ipads)

    When I view photos on my devices some are not oriented correctly. I used Picassa to turn all photos upright and then copied those photos into the upload file but they are still not corrected when viewed on my devices (ipads)

    Generally I would not use Facebook for sharing any photos, it compresses the photos substantially, and when you have shadows and dark colours you get visible "bands" where there should be subtle gradients, ie at sunsets and sunrises.
    It sounds like you are using two methods to upload to Facebook:
    1. Sharing from within Aperture, which basically syncs Facebook with your Aperture album, so any changes made at either end gets synced, hence the deletions from Albums, although the original file should still be in your library, just removed rom the album. It is like a playlist in iTunes.
    2. Exporting pics and uploading to Facebook from the browser.
    I am not sure how method 1 gets compressed, but I know that uploading hi-res jpegs to Facebook using method 2 results in poor quality images.
    I wouldn't even bother comparing option 1 or 2, and they will both be poor images once you view them on Facebook, as opposed to viewing uploaded images on proper image sharing / hosting sites.
    Your problem is not with Aperture, it is using Facebook for showing your work.
    If you export pics form Aperture at high res jpegs or TIFFs your images will be fine.
    If you insist to use Facebook as your way to share your work, then your workflow should be this:
    1. Right click images you want to share.
    2. Select Export version.
    3. Export as 100% size and ensure the export settings are set at 100% quality.
    4. Upload this pic into Facebook.
    This will get you the best image size and resolution on Facebook.
    See how you go.

  • I am trying to connect a Macbook Pro to a projector for a Powerpoint presentation. When I use a VGA cable, the color of the projected images are not good. When I use a USB cable, the projected image includes the presenter notes on my computer screen?

    I am trying to connect a Macbook Pro to a projector for a Powerpoint presentation. When I use a VGA cable, the color of the projected images are not good. When I use a USB cable, the projected image includes the presenter notes on my computer screen?

    To move an iPhoto Library to a new machine:
    Link the two Macs together: there are several ways to do this: Wireless Network,Firewire Target Disk Mode, Ethernet, or even just copy the Library to an external HD and then on to the new machine...
    But however you do choose to link the two machines...
    Simply copy the iPhoto Library from the Pictures Folder on the old Machine to the Pictures Folder on the new Machine.
    Then hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Choose Library'
    and select the Library that you moved.  That's it.
    This moves photos, events, albums, books, keywords, slideshows and everything else.
    Your first option didn't work because you imported one Library to another. Every version and thumbnail is imported like a distinct photo, you lose all your Albums, Keywords etc., the link between Original and Previews is destroyed, the non-destructive editing feature is ruined and so on. In summary: it's mess.
    Your second option didn't work because you simply referenced her library on the old machine.
    Regards
    TD

  • "Non rectangular objects will not appear correctly when exported using CSS."

    I am using Ind CC 2014 exporting a document to a reflowable epub.  The document contains an .ai image.  The image exports correctly in some parts of the.epub but not others, where it is distorted. There is a warning on export :"Non rectangular objects will not appear correctly when exported using CSS."  Any suggestions appreciated.

    Thanks!
    >
          "Non rectangular objects will not appear correctly when exported
          using CSS."
    created by pooja2087 <https://forums.adobe.com/people/pooja2087> in
    /InDesign EPUB/ - View the full discussion
    <https://forums.adobe.com/message/6886892#6886892>

  • The maximize/minimize and close and buttons are not shown correctly when FF windows is maximized.

    I have the same problem on all my computers, one running Windows 7 and two with Vista.
    The three buttons in the upper right corner of the FF windows are not shown correctly. They are soft of cut off in the middle when the FF window is maximized.

    It is possible that the screen is too wide or too high and that the scroll bars fall off.<br />
    Open the system menu via Alt+Space and see if you can resize that window.<br />
    If that works then close Firefox to save that setting.<br />
    See also:
    * http://kb.mozillazine.org/Resizing_oversize_window
    Window sizes and positions are stored in [http://kb.mozillazine.org/localstore.rdf localstore.rdf] in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder].
    See http://kb.mozillazine.org/Corrupt_localstore.rdf

  • German umlauts are not shown correctly, when a received e-mail is opened the first time. What can I do?

    When I open a received e-mail the first time, German umlauts (ä, ö, ü) are not shown correctly. Instead of them there are characters like §,$. When I close the e-mails and open them again the German umlauts are shown correctly. I don't know how to solve that problem. Who can help me?

    ''Zenos [[#answer-670786|said]]''
    <blockquote>
    Fascinating. Sounds like an inconsistency between the encoding being used and the encoding being declared. I can't think why it should change when you re-open the message, unless Thunderbird is adding a correct encoding declaration.
    (Most users complain about it working in the opposite direction; messages stored as drafts often restore with damaged "special" characters such as smart quotes, accented characters and umlauts.)
    </blockquote>

  • HT3939 Hi! Special characters such as è, ê and À are not dislayed correctly when received on an iphone, they appear like ¨c,¸e and R, why?

    Special characters such as è and À are not displayed correctly on my iphone but are no problem in my Outlook.
    Emails are sent from a blackberry Z10
    Thanks

    Special characters such as è and À are not displayed correctly on my iphone but are no problem in my Outlook.
    Emails are sent from a blackberry Z10
    Thanks

  • Google maps are not rendering correctly. A work related site also gets messed up. I am forced to use IE.

    There is too much white space. And, things are not where they used to be. On the work related site SharePoint looks weird. There are lines around things I did not expect. Also, I have a website that I publish. It looks fine with Firefox 3.6.3, but with 3.6.12 all the pictures are missing and spaces are not proportioned correctly.

    There is too much white space. And, things are not where they used to be. On the work related site SharePoint looks weird. There are lines around things I did not expect. Also, I have a website that I publish. It looks fine with Firefox 3.6.3, but with 3.6.12 all the pictures are missing and spaces are not proportioned correctly.

  • JSF tags are not rendered in error page

    I have configured error page for HTTP 404 error in web.xml like this
    <error-page>
    <error-code>404</error-code>
    <location>/Common/error.jspx</location>
    </error-page>
    Faces Servlet is configured as follows
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    My error page (error.jspx) looks like this
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html" xmlns:trh="http://myfaces.apache.org/trinidad/html"
    xmlns:tr="http://myfaces.apache.org/trinidad" xmlns:c="http://java.sun.com/jsp/jstl/core">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <html>
    <head>
    <title>Error Page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    </head>
    <body id="b1">
    <h4 style="color:red">An Error Occured. Please click Back button or Signout.</h4>
    <input type="button" value="Back" onclick="history.back()"/>
    <tr:commandButton id="cb1" text="SIGN OUT" action="exit" actionListener="#{Login.LogOut}"/>
    </body>
    </html>
    </jsp:root>
    When I deploy application and run into 404 error, page displays error message with only Back button. I don't see SingOut button. I have checked url and it follows /faces/* pattern. Still to double check, I made a change and configured servlet mapping in web.xml as
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    <url-pattern>*.jspx</url-pattern>
    </servlet-mapping>
    Still commandButton is not rendered. I understand that my error page don't have access to FacesContext or not going through Faces Servlet. I know this is a small issue, but couldn't figure out what can be done. I have also tried using .xhtml and .jsf as per googled suggestion. But no luck
    I have tried different solutions to my problem and googled for solutions. But I couldn't get it resolved.
    So can you please provide any suggestions...
    Edited by: user1818355 on May 22, 2013 2:29 PM

    I think my faces servlet is configured to handle URLs having /faces/* pattern. I don't have any folder named with faces but I can access all my web pages which have /faces/ in their url. All jspx pages in application are configured in task flows. So I think they have access in FacesContext. But error page is configured in only web.xml and some how it is missing access to FacesContext and not rendering JSF tags. Any help?

  • WebView not rendering correct when pages have jquery

    Hi all,
    I use the webview from javafx last version(2.2.3) bundled with jdk7. All works ok on a pages that use native(vanilla) js, but on a pages
    that use jquery I see problems (some feature work some not).
    Any idea-experience somebody?!
    I used the very basic example from the documantation, and I just point to a page which uses jquery 1.7.3...
    Blaze

    Hi,
    sorry for the version was a typo..its ofcourse 1.7.2!
    Like I said some of the features are not working. I still can not narrow down to what exactly,
    Ill will do more checking and write here again.
    Here is the example class i use:
    its pointing to https://www.softwaredemo.de , the navigation uses jquery to show dropdown lists (this all works on a normal browser)
    but in the webview is not working. I also found problems on other pages using jquery, I can post more if you need...
    Interesting is that if we use the toggle button to execute a jquery script which hides or shows the body...
    somethimes its working sometimes not,
    just throws a TypeError:
    netscape.javascript.JSException: TypeError: 'undefined' is not a function
         at com.sun.webpane.platform.WebPage.twkExecuteScript(Native Method)
         at com.sun.webpane.platform.WebPage.executeScript(WebPage.java:1438)
         at javafx.scene.web.WebEngine.executeScript(WebEngine.java:811)
         at dtn.jcustomer.SwingFXWebView$3$1.run(SwingFXWebView.java:96)
         at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:173)
         at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
         at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
         at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:73)
         at java.lang.Thread.run(Thread.java:722)
    * SwingFXWebView
    public class SwingFXWebView extends JPanel {
    private WebView browser;
    private JFXPanel jfxPanel;
    public SwingFXWebView() {
    initComponents();
    public static void main(String... args) {
    SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    final JFrame frame = new JFrame();
    frame.setName("JavaFX web view");
    SwingFXWebView p = new SwingFXWebView();
    frame.getContentPane().add(p);
    frame.setMinimumSize(new Dimension(640, 480));
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setVisible(true);
    // p.createScene();
    private void initComponents() {
    jfxPanel = new JFXPanel();
    add(jfxPanel);
    swingButton = new JButton();
    swingButton.addActionListener(new ActionListener() {
    @Override
    public void actionPerformed(ActionEvent e) {
    PlatformImpl.startup(new Runnable() {
    public void run() {
    browser.getEngine().executeScript( "if( $('body').is(':visible') ) { " +
    " $('body').hide('slow'); } else {" +
    " $('body').show('slow'); }");
    browser.getEngine().executeScript( "$(\"a\").click(function(event){" +
    " event.preventDefault();" +
    " $(this).hide(\"slow\");" +
    swingButton.setText("toggle Visible");
    add(swingButton);
    createScene();
    * createScene
    private void createScene() {
    PlatformImpl.startup(new Runnable() {
    public void run() {
    BorderPane pane = new BorderPane();
    Scene scene = new Scene(pane);
    browser = new WebView();
    browser.getEngine().load("https://www.softwaredemo.de");
    pane.setCenter(browser);
    jfxPanel.setScene(scene);
    }

  • Page numbers are not generated correctly when print from Word to PDF

    Whenever I print my Word document to PDF, my page numbers do not reflect the page numbers shown in Print Preview.
    For example, I have a Word document with 10 pages and after generating it as PDF, the page number shows Page 1 of 1; Page 2 of 2; Page 3 of 3; ......Page 10 of 10.
    Please advise what may be the cause and how can I rectify this problem?
    Thank you.

    Thank you for your reply.
    I do have some sections breaks on the pages, however the pages are all shown in running sequence even on Preview page.
    It is the final generated document that has this problem.
    I emailed my colleagues my WORD document and ask them to generate to PDF and they have no issues printing the WORD to PDF and every pages were in running order.
    Any other advise?

  • Oops - spry menu bar 2.0 does not display correctly when loaded

    Oops - obviously I'm new at this. I think I got my graphics loaded now.
    Dear Sirs:
    I notice bzz31 had a pretty complicated post, so perhaps someone can help me with my complicated problem that has been vexing me for months. I tried the Spry Menu Bar 1.0, but it was impossible for me to edit, and I was delighted to see Spry Menu Bar 2.0 come out. However the 2.0 version has been frustrating me as well.
    I can get my menu bar to display properly in Live View, as shown below.
    However when I load everything onto the server, the menu bar does not display correctly, as shown below:
    I don't quite understand the code "file:///" but I interpret it to mean that the Spry-UI-1.7 folder is in the topmost folder of MacPro5-Docs, which is my hard drive. Here's the code I'm having trouble with:
    Here's my computer directory, shown below:
    Since my index file is two folders down from Spry-UI-1.7, I loaded the files onto the server similarly, as shown in the next three pictures:
    (The picture below is the same as the one just above, but now you can see the path from index to Spry-UI-1.7.)
    I would be most appreciative if someone can help me.
    Thank you.

    Have a look at the following links
    <script src="file:///MacProG5-Docs/Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
    <script src="file:///MacProG5-Docs/Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
    <script src="file:///MacProG5-Docs/Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
    <script src="file:///MacProG5-Docs/Spry-UI-1.7/includes/SpryMenu.js" type="text/javascript"></script>
    <script src="file:///MacProG5-Docs/Spry-UI-1.7/includes/plugins/MenuBar2/SpryMenuBarKeyNavigationPlugin.js" type="text/javascript"></script>
    <script src="file:///MacProG5-Docs/Spry-UI-1.7/includes/plugins/MenuBar2/SpryMenuBarIEWorkaroundsPlugin.js" type="text/javascript"></script>
    <link href="file:///MacProG5-Docs/Spry-UI-1.7/css/Menu/basic/SpryMenuBasic.css" rel="stylesheet" type="text/css" />
    Each of the above points to a file on your local system and cannot be found by the remote server.
    Replace the red coloured parts with http://www.twhsbands.org/ will remedy the situation.
    You also have some remnants of the other SpryMenuBar that should be removed from your markup.
    Gramps
    Wel, so much for the red coloured parts, they did not show up.
    The red coloured parts read file:///MacProG5-Docs/

  • Pages do not display correctly when edit is chosen

    Just installed and set up CS5. When I browse to a page it looks just fine until I click on edit, then the page appears with little if any formatting. The nav bars are simply a vertical list at the top of the page and the body of the page is accessed by scrolling down. No background, heading, limited formatting. Page does not appear as it looks when viewing in an Internet browser.

    Hi,
    If you're using a theme you can try to temporarily switch to the '''Default''' theme in Tools > Add-ons > Appearance. If the problem persists, please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]. Safe mode disables the installed '''Extensions''', and themes ('''Appearance''') in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons'''. Hardware acceleration is also temporarily disabled - the manual setting is '''Tools''' > '''Options''' > '''Advanced''' > '''General''' > [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u '''Use hardware acceleration when available''']. All these settings/options/add-ons can also be individually or collectively disabled/enabled/changed in Firefox normal mode to check if an extension, theme, option or hardware acceleration is causing issues. Disabling/enabling hardware acceleration, and some types of add-ons in normal mode may require a Firefox restart.
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.org/en-US/kb/Options%20window Options]

  • Endashes and quotes are not converted correctly when copying FM files by reference

    I'm using FM7 in the TCS1 in a Windows XP environment. I am copying FM books by reference into my RH project.
    I'm noticing that endashes (–) and quotation marks (") are not consistently coming across correctly in my RH project.  Instead, I am getting &endash; for the endash, and &rdquor: instead of a quote.  Note: it appears to be only the first quote that encloses text that doesn't convert; the closing quote converts.
    Any ideas?

    I have RoboHelp 7 and the patches won't install unless I do a complete reinstall.  Since I'm at the end of a release, that will have to wait.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Mary K. Greer
    Information Developer - Learning Management Solutions
    Intelligent Automation Solutions Client Services
    407.771.8187

Maybe you are looking for

  • Nomad Jukebox Zen Xtra - cannot install firmware - PC says device "not connected&qu

    Hi everyone,?Below is a message I've just sent to Customer Support, but I thought I'd also post it here in case anyone has any words of wisdom. Thanks in advance for your help. -- - Dear Madam or Sir,?Yesterday, I tried to connect my Zen Xtra to my P

  • To Find the path of the filename

    Hi Guys! Is it possible in D2K 2.1 to find the path of the filename entered by the user???? My problem is: I use DDE package funct DDE.APP_BEGIN to open a filename (e.g. in this case any HTML file) enterd by the user. But I do not know where the IEXP

  • Same send step for multiple receivers:   BPM scenario

    Hi forum, I have a file -BPM -file scenario, from the BPM i need to send the same message to multiple Business systems, so, i need to make receiver determinations in the IB_directory, but it allows me to have only 1 receiver determination for a set o

  • How to join internet on iMac G5 10.4

    I am trying to set up an iMac G5 10.4 to my wireless internet however, it is not capturing a wireless service.  Can anyone help?

  • Retention Tags/Policy Issues

    Hello, We are using Exchange 2010 sp3. The tags/policies don't seem to work. I can see the "assign policy" option in owa but not in outlook. I set one up to delete items in the deleted items folder every day. it didn't work. we are using office 2010