[richfaces-issues] [JBoss JIRA] Commented: (RF-9920) a4jCommandButton does not load stylesheet on submit (only happens in IE)

Andrew Cheung (JIRA) jira-events at lists.jboss.org
Mon Dec 6 10:48:00 EST 2010


    [ https://jira.jboss.org/browse/RF-9920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567817#comment-12567817 ] 

Andrew Cheung commented on RF-9920:
-----------------------------------

I have tried using the <redirect/> tag in the navigation rule like the following in faces-config.xml:

<navigation-rule>
  <from-view-id>/pages/home.xhtml</from-view-id>
   <navigation-case>
   <from-outcome>goToTest</from-outcome>
   <to-view-id>/pages/test.xhtml</to-view-id>
  <redirect/>
  </navigation-case>
  </navigation-rule> 

However, this does not work in the GateIn Portal (my application is in a portlet). (It gives me a blank page)

The reason why I can't use the standard h:commandButton is because my application stops working in Firefox if I use the standard commandButton. (The sample code I posted for this bug is actually a simplified version of my application after I remove all the irrelevant parts and still get the problem).

Are they any workarounds regarding this giving the environment I use?

Thanks in advance for answering.

  -Andrew

> a4jCommandButton does not load stylesheet on submit (only happens in IE)
> ------------------------------------------------------------------------
>
>                 Key: RF-9920
>                 URL: https://jira.jboss.org/browse/RF-9920
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core
>    Affects Versions: 3.3.3.Final
>         Environment: -GateIn portal 3.1.0
> -JSF 1.2
> -Facelets 1.1.15.b1.jar
> -RichFaces 3.3.3Final
> -JBOSS Portlet Bridge 2.0.0
> -Browser: IE8
>            Reporter: Andrew Cheung
>            Assignee: Nick Belaevski
>              Labels: a4j_commandbutton, ie
>         Attachments: homeScreenshot.jpg, homeScreenshot_Firefox.jpg, testScreenshot.jpg, testScreenshot_Firefox.jpg
>
>
> There are 2 pages. Home.xhtml contains an a4j commandButton in an a4j form that goes to test.xhtml page. Both home page and test page contains a link to an external stylesheet.
> In IE only, when home.xhtml page is loaded, the styles in the stylesheet are applied. However, when the commandButton is clicked and test.xhtml loads, the styles are NOT applied.
> If I use Firefox and perform the same actions as above, the styles are applied to the test.xhml page.
> The code is in the "Steps to reproduce" section. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list