[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-1204) Can't submit form when use addValidator method for UIFormMultiValueInputSet

Minh Hoang TO (JIRA) jira-events at lists.jboss.org
Thu May 13 22:33:26 EDT 2010


    [ https://jira.jboss.org/jira/browse/GTNPORTAL-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12530643#action_12530643 ] 

Minh Hoang TO commented on GTNPORTAL-1204:
------------------------------------------

Could u attached the exception?  The UIFormMultiValueInputSet is not used in GateIn, but after viewing the code I guess it is an ArrayIndexOutOfBound exception

      Class[] classes = constructor_.getParameterTypes();
      Object[] params = new Object[classes.length];
      for (int i = 0; i < classes.length; i++)
      {
         if (classes[i].isPrimitive())
         {
            if (classes[i] == boolean.class)
               params[i] = false;
            else
               params[i] = 0;
         }

> Can't submit form when use addValidator method for UIFormMultiValueInputSet
> ---------------------------------------------------------------------------
>
>                 Key: GTNPORTAL-1204
>                 URL: https://jira.jboss.org/jira/browse/GTNPORTAL-1204
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.0.0-GA
>            Reporter: Chien Nguyen
>            Assignee: Minh Hoang TO
>            Priority: Critical
>         Attachments: bugs.gif
>
>
> When our forms has addValidator method for UIFormMultiValueInputSet component.
> Bugs see attach file 
>  

-- 
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

        


More information about the gatein-issues mailing list