Bugs item #574181, was opened at 2002-06-26 13:09
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104754&aid=574181&group_id=4754

Category: Tapestry
Group: bug
>Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Matthias Ernst (tisi)
Assigned to: Howard Lewis Ship (hship)
Summary: ValidationDelegate should eval form name

Initial Comment:
Hi,

[Tapestry 2.0.5]

if you put a form into a ForEach, you will have several
renderings of its IFormComponent members, each *with
the same name*.

Since ValidationDelegate uses only the component's name
as a key to find out whether the field is in error, it
will mark all of these renderings as invalid.

Instead of component.getName(), a key like
component.getForm().getName()+"#"+component.getName()
should be used.

A not nicely refactored fixed ValidationDelegate comes
attached.

Cheers
Matthias

In case my email is not automatically attached:
[EMAIL PROTECTED]


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104754&aid=574181&group_id=4754


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Oh, it's good to be a geek.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to