[JBoss JIRA] (RF-12754) rich:validator message cannot be customized when using bean validation (via javax.faces.validator.BeanValidator.MESSAGE property)
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12754?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-12754:
-------------------------------
Fix Version/s: 5-Tracking
> rich:validator message cannot be customized when using bean validation (via javax.faces.validator.BeanValidator.MESSAGE property)
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-12754
> URL: https://issues.jboss.org/browse/RF-12754
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-validators
> Affects Versions: 4.3.0.CR1
> Environment: Glassfish 3.1.2.2, jdk7u9
> Reporter: Nejc G
> Assignee: Brian Leathem
> Labels: testcase_provided
> Fix For: 5-Tracking
>
> Attachments: sample.rar
>
>
> rich:validator clientside validation is ignoring javax.faces.validator.BeanValidator.MESSAGE property for messages. Standard validation without rich:validator works fine. Problem is there is no way to customize error (show label) hence making bean validation using this path nearly useless.
> I have the aforementioned property in a property file, configured to be used through locale-config line in faces-config.xml. The line reads:
> javax.faces.validator.BeanValidator.MESSAGE={1}: {0}
> and as mentioned rich:validator only outputs {0} (that is msg from bean validation). Seems to me it doesn't behave as configured.
--
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
11 years, 4 months
[JBoss JIRA] (RF-12776) Nested rich:dataTable causes rows in parent rich:dataTable to not get displayed
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12776?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-12776:
-------------------------------
Fix Version/s: 3.Future
> Nested rich:dataTable causes rows in parent rich:dataTable to not get displayed
> -------------------------------------------------------------------------------
>
> Key: RF-12776
> URL: https://issues.jboss.org/browse/RF-12776
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 3.3.3.Final
> Environment: Machines: AIX 6100, Windows XP
> Application Server: WebSphere 8.0
> Jave EE: 1.6
> JSF: 1.2
> Reporter: Peter Hinds
> Labels: richfaces
> Fix For: 3.Future
>
>
> Deeply nested {{rich:dataTable}} can cause rendering issues in its parent {{rich:dataTable}}
> This is observed in richfaces 3.3.3, unfortunately the project I am working on is restricted to this version because we have to use jsf 1.2 due to a requirement to be able to run on a java 1.5 application server in future.
> For the following description please reference the code I have added to 'steps to reproduce' section.
> I created 4 nested datatables (see dataTableIssue.xhtml), where each datatable is used to display an object in the following hierarchy:
> {{Farm}}
> {{--Field}}
> {{ --Animal}}
> {{ --Tag}}
> Each item in the hierarchy has three children (so each farm has 3 fields, each field has 3 animals and each animal has 3 tags). From the code in dataTableIssue.xhtml, I would expect the tables to be displayed as follows:
>
> {{farm1}}
> {{--field1}}
> {{ --animal1}}
> {{ --tag1}}
> {{ --tag2}}
> {{ --tag3}}
> {{ --animal2}}
> {{ --tag4}}
> {{ --tag5}}
> {{ --tag6}}
> {{ --animal3}}
> {{ --tag7}}
> {{ --tag8}}
> {{ --tag9}}
> {{--field2}}
> {{ --animal4}}
> {{ --tag10}}
> {{ --tag11}}
> {{ --tag12}}
> {{ --animal5}}
> {{ --tag13}}
> {{ --tag14}}
> {{ --tag15}}
> {{ --animal6}}
> {{ --tag16}}
> {{ --tag17}}
> {{ --tag18}}
> {{--field3}}
> {{ --animal7}}
> {{ --tag19}}
> {{ --tag20}}
> {{ etc.}}
>
> However, what is actually rendered is the following (i.e. the animals in field1 are not listed):
> {{farm1}}
> {{--field1 (the animals are not listed for this field)}}
> {{--field2}}
> {{ --animal4}}
> {{ --tag10}}
> {{ --tag11}}
> {{ --tag12}}
> {{ --animal5}}
> {{ --tag13}}
> {{ --tag14}}
> {{ --tag15}}
> {{ --animal6}}
> {{ --tag16}}
> {{ --tag17}}
> {{ --tag18}}
> {{--field3}}
> {{ --animal7}}
> {{ --tag19}}
> {{ --tag20}}
> {{ etc.}}
>
> I can see from the debug that the backing bean has the correct data so I know it's not a data issue.
> If I remove the last nested dataTable from the jsf page (marked 'TROUBLESOME TABLE' in dataTableIssue.xhtml), then it will render correctly. For example it will display as:
>
> {{farm1}}
> {{--field1}}
> {{ --animal1}}
> {{ --animal2}}
> {{ --animal3}}
> {{--field2}}
> {{ --animal4}}
> {{ --animal5}}
> {{ --animal6}}
> {{--field3}}
> {{ --animal7}}
> {{ etc.}}
--
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
11 years, 4 months
[JBoss JIRA] (RF-12793) Photoalbum improvements
by Brian Leathem (JIRA)
Brian Leathem created RF-12793:
----------------------------------
Summary: Photoalbum improvements
Key: RF-12793
URL: https://issues.jboss.org/browse/RF-12793
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: examples
Reporter: Burr Sutter
Suggested improvements for the photoalbum demo, making it into an app that specializes in associating photos with an event:
* Event focused content
* Social login
* Small mobile app that allows for uploading of pictures taken during an event (in real-time).
* Sharing of photos with people at the same event
* Sharing of photos from Photoalbum to FB.
* Sharing of photos from Facebook to Photoalbum
--
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
11 years, 4 months