[JBoss JIRA] Created: (RF-3922) ajaxValidator: '@Pattern' annotation using leads to ajax hanging + validation has never passed.
by Mikhail Vitenkov (JIRA)
ajaxValidator: '@Pattern' annotation using leads to ajax hanging + validation has never passed.
-----------------------------------------------------------------------------------------------
Key: RF-3922
URL: https://jira.jboss.org/jira/browse/RF-3922
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: IE6, IE7, FF 3.0, Safari 3.1, Opera 9.5(3.2.2.BETA1)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
Step 1. Add intValue in "validator" bean following way:
@Pattern(regex="^\b1234\b*$")
private int intValue; + getter & setter.
Step 2. On the page validate input field with rich:ajaxValidator :
<h:panelGrid...
<h:outputLabel for="patternValue" value="Pattern(1234) validation:" />
<h:panelGroup>
<h:inputText value="#{validator.intValue}" id="patternValue">
<rich:ajaxValidator event="onchange"></rich:ajaxValidator>
</h:inputText>
<rich:message for="patternValue" showDetail="true" showSummary="true" />
</h:panelGroup>
</h:panelGrid>
Step 3. Navigate on the page, input "1234" into "Pattern(1234) validation:" field & click out the panelGrid.
Actual behavior:
Ajax status - "WORK" until submit. After submit following validation message appears: "must match "^1234*$""
For more info see attached screenshot.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 3 months
[JBoss JIRA] Created: (RF-3921) ajaxValidator: '@CreditCardNumber' validation failed in case "1234", but passed in case "abcdef".
by Mikhail Vitenkov (JIRA)
ajaxValidator: '@CreditCardNumber' validation failed in case "1234", but passed in case "abcdef".
-------------------------------------------------------------------------------------------------
Key: RF-3921
URL: https://jira.jboss.org/jira/browse/RF-3921
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: IE6, IE7, FF 3.0, Safari 3.1, Opera 9.5(3.2.2.BETA1)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
Step 1. Use ajaxValidator on the page following way:
<h:outputLabel for="creditValue" value="Credit card validation:" />
<h:panelGroup>
<h:inputText value="#{validator.creditValue}" id="creditValue">
<rich:ajaxValidator event="onchange"></rich:ajaxValidator>
</h:inputText>
<rich:message for="creditValue" showDetail="true" showSummary="true" />
</h:panelGroup>
Step 2. "validator" bean should contains 'creditValue' field:
...
@CreditCardNumber(message="Credit card validation failed!")
private String creditValue; + getter & setter for this field.
Step 3. On the page input "123" - validation message appears;
Step 4. Input "abcdef"
Actual behavior:
Validation message disappears. But "abcdef" isn't valid value for credit card number. So there is no checking about digits presence occurs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 3 months
[JBoss JIRA] Closed: (RF-187) Tree Tables : SubTables based on tree
by Tatyana Romanovich (JIRA)
[ https://jira.jboss.org/jira/browse/RF-187?page=com.atlassian.jira.plugin.... ]
Tatyana Romanovich closed RF-187.
---------------------------------
> Tree Tables : SubTables based on tree
> --------------------------------------
>
> Key: RF-187
> URL: https://jira.jboss.org/jira/browse/RF-187
> Project: RichFaces
> Issue Type: Feature Request
> Affects Versions: 3.0.1
> Reporter: Antoine Herzog
> Assignee: Nick Belaevski
> Fix For: Wishes
>
>
> Sorry if this compenent is yet in preparation, or provided through a tips on how to combine components.
> this component is for showing a tree in tables.
> the main table (main database table) show like dataTable.
> the subDataTable can be recursively added, following a tree data model.
> examples : customer, orders, details of orders (products and prices).
> or : some organisations, with their sub organisations (departements, subsidiaries,...), shown with 3, or 4 levels.
> can be usefull for showing a table, and the sub tables in relation with it, and sub sub tables.
> Thanks.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 3 months