You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/08/14 18:04:54 UTC
[jira] Closed: (TAPESTRY-94) PropertySelection does not submit Palette properly
[ http://issues.apache.org/jira/browse/TAPESTRY-94?page=all ]
Howard M. Lewis Ship closed TAPESTRY-94:
----------------------------------------
Fix Version: 4.0
Resolution: Fixed
The new, client-side infrastructure in Tapestry 4.0 makes this a snap.
The PropertySelection will now write
onchange="javascript:this.form.events.submit();"
when its submit on change parameter is true.
However, if you are building something with dependent fields, and want to bypass client-side validation, you should explicitly add
onchange="javascript:this.form.events.refresh();"
instead.
> PropertySelection does not submit Palette properly
> --------------------------------------------------
>
> Key: TAPESTRY-94
> URL: http://issues.apache.org/jira/browse/TAPESTRY-94
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 3.0
> Environment: Operating System: Windows XP
> Platform: PC
> Reporter: Patrik Westlund
> Assignee: Howard M. Lewis Ship
> Fix For: 4.0
>
> I'm having a page with a PropertySelection and a Palette component. The
> PropertySelection allows the user to select a subset of all items (about 400) to
> be displayed as available items in the palette. Selected items in the palette
> should remain selected when the subset is changed, if the selected items in fact
> are in that subset.
> I've set the PropertySelection to submitOnChange to let it submit the form and
> update the items in the palette. Works just fine. But the selected items don't
> stay selected when the subset is changed, unless they are selected (hilited)
> manually before the change. When I submit via the ok button (@Submit) the
> selected items hilite automagically and everything works.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org