Request local error and value with multiple forms

0 views
Skip to first unread message

Timur Izhbulatov

unread,
Oct 5, 2008, 3:44:07 PM10/5/08
to ToscaWidgets-discuss
Hi,

As Alberto mentioned in [1], currently all widgets on a page are
affected by request local error and value.

In my application I have two forms on a page, and when an invalid
input received from the first form and the page is redisplayed with
errors, the second form also gets request local error and value
objects because it is a root widget. These request local objects don't
make any sense for the second form but they override its original
value and error, and this results in an undesired behavior (e.g. an
option doesn't get selected).

My question is what would be the proper way to overcome this issue?

Thanks in advance.

[1] http://groups.google.com/group/toscawidgets-discuss/browse_thread/thread/d6e174af2acb3b0d/8132a2c4dc2600f9#8132a2c4dc2600f9
Reply all
Reply to author
Forward
0 new messages