Friday, August 10, 2012

Re: Too many parameters in a generated Java file for uibinder - One defect in uibinder generator

I think you simply can't have more than 255 method arguments in Java and the generator does not check this. Honestly I think it does not really make sense to have that many ui:fields in a single file. The input data is probably categorizable so I would create one UiBinder per data category. 

Splitting your UiBinder file in smaller parts to reduce the amount of ui:fields per UiBinder is the only simple solution for you now. Otherwise you have to patch the generator to respect the 255 argument limit and contribute the patch.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/mkpVzsLI6DgJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate