[ http://galaxy.andromda.org:8080/jira/browse/BPM-153?page=history ]
Wouter Zoons closed BPM-153:
----------------------------
Resolution: Fixed
It should be fixed now, no need for tagged values. The cartridge now adds a
message for each 'validwhen' parameter (search for resource keys ending with
'_validwhen'), there is a default message: {0} is only valid when <condition>
where {0} is a runtime substitution of the parameter name (in fact the value
corresponding to the resource key listed one line up)
you can always override this message value of course
I tested it with the online-store's "confirm password" field and for some
reason only the server-side validation is showing the correct message, the
client-side javascript is not showing (and no javascript error is being
reported), when I look into the HTML code I see the default error message
instead of the new one in validation.xml
> Changing the default validator message
> --------------------------------------
>
> Key: BPM-153
> URL: http://galaxy.andromda.org:8080/jira/browse/BPM-153
> Project: Bpm4Struts Cartridge
> Type: Improvement
> Versions: 3.0 M3
> Reporter: Walter Itamar MourÃo
> Assignee: Wouter Zoons
> Priority: Minor
> Fix For: 3.0 RC1
>
> It could be good to have a way to change the default validator message. As an
> example, the validwhen validation raises the same message as the required
> validation, but it's much more flexible.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://galaxy.andromda.org:8080/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel