[richfaces-issues] [JBoss JIRA] (RF-13107) rich:message in tabPanel is not shown if other message is not rendered
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Thu Jul 25 10:18:26 EDT 2013
[ https://issues.jboss.org/browse/RF-13107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792938#comment-12792938 ]
RH Bugzilla Integration commented on RF-13107:
----------------------------------------------
Jonáš Trantina <jtrantin at redhat.com> made a comment on [bug 988401|https://bugzilla.redhat.com/show_bug.cgi?id=988401]
Description of problem:
We have a form with a tabPanel component with two tabs A and B. In A there is an input and its rich:message in B the same plus a button that submits and re-renders B. When B is opened (thus A is not rendered) and the form is submitted and validation fails, then no message is shown.
Note that:
1) switchType must be set to server to ensure the A's rich:message is really not on the page.
2) button in B must re-render only content of B
This is only a specific scenario, the issue might occur also in other situations (e.g. global messages tag outside of tabPanel is not rendered).
Please find the enclosed reproducer.
Version-Release number of selected component (if applicable):
RichFaces 4.3.2.Final
How reproducible:
Download reproducer and
1) mvn clean package and deploy on JBoss
2) go to http://localhost:8080/bug_reproducer/index.jsf
3) fill in surname longer that 10 chars & click-open the second tab
4) enter short name (shorter than 6)
5) click submit - no message is shown
Workaround:
1) Add ajaxRendered="false" to the first rich:message in index.xhtml.
2) follow the steps above
3) rich:message is shown
> rich:message in tabPanel is not shown if other message is not rendered
> ----------------------------------------------------------------------
>
> Key: RF-13107
> URL: https://issues.jboss.org/browse/RF-13107
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-validators
> Affects Versions: 4.3.2
> Reporter: Jonáš Trantina
> Attachments: bug_reproducer.zip
>
>
> We have a form with a tabPanel component with two tabs A and B. In A there is an input and its rich:message in B the same plus a button that submits and re-renders B. When B is opened (thus A is not rendered) and the form is submitted and validation fails, then no message is shown.
> Note that:
> 1) switchType must be set to server to ensure the A's rich:message is really not on the page.
> 2) button in B must re-render only content of B
> This is only a specific scenario, the issue might occur also in other situations (e.g. global messages tag outside of tabPanel is not rendered).
> Please find the enclosed reproducer.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list