[ http://jira.andromda.org/browse/BPM-218?page=comments#action_11790 ]
     
Wouter Zoons commented on BPM-218:
----------------------------------

it seems that:

1. there is no default Javascript routine readily available for the validation 
of longs (we could reuse the one wrong integer though, what do you think?)

2. the long validation only considers primitives (same for int, double, byte, 
etc..)
http://struts.apache.org/api/org/apache/struts/validator/FieldChecks.html

> Long validation is ignored
> --------------------------
>
>          Key: BPM-218
>          URL: http://jira.andromda.org/browse/BPM-218
>      Project: Bpm4Struts Cartridge
>         Type: Bug
>     Reporter: stephane le peutrec
>     Assignee: Wouter Zoons
>     Priority: Minor
>  Attachments: testLong.zip
>
> The validator "long" doesn't seem to work correctly. Indeed when a field of 
> type Long is filled with a string, no error occurs and the field of the form 
> is null in the controller. (cf. 
> http://galaxy.andromda.org/forum/viewtopic.php?t=435&highlight=validation)

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-devel mailing list
Andromda-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to