From: Jean-Marc C. (JIRA) <ji...@an...> - 2007-11-13 22:58:51
|
[ http://jira.andromda.org/browse/BPM-300?page=comments#action_15043 ] Jean-Marc Collin commented on BPM-300: -------------------------------------- OK my text was not clear ... In my 2 lasts comment, I wanted to say "plaintext" instead of "textfield". So with this replacement, we've got : "... The correct solution would be to not generate date verification for date field displayed as plaintext" for the 1rst comment, and "Same issue can be reproduce by specifying as readonly an attribute displayed as plaintext. So the correct correction should be to not generate any JS validation on plaintext attribute (and not only for date as explained above)." for the second comment. Sorry for this mistake. > Date struts validator failed when a datefield is displayed as a textfield > ------------------------------------------------------------------------- > > Key: BPM-300 > URL: http://jira.andromda.org/browse/BPM-300 > Project: Bpm4Struts Cartridge > Type: Bug > Environment: For version 3.3-SNAPSHOT > Reporter: Jean-Marc Collin > Assignee: Wouter Zoons > Attachments: validator-rules.xml > > The issue is the following : > When having a date attribute displayed as a Textfield, the Javascript generated by Andromda (or perhaps by Struts validator) try to verify this field. > Because this field doesn't exist (only a label is displayed and not an Html input), the Javascript validator fails and no validation are done. > I didn't find any workaround to make date field displayed as textfield not being verified. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |