You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Patrik Westlund <pa...@nescit.com> on 2003/11/03 23:40:49 UTC
Palette + PropertySelection problem
Hi all,
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.
Aren't they supposed to be hilited when submitting via the
PropertySelection too? Or have I missed something?
Thanks,
Patrik
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Palette + PropertySelection problem
Posted by Patrik Westlund <pa...@nescit.com>.
That was my suspicion too...
Bug is filed.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24377
/Patrik
Howard M. Lewis Ship wrote:
> Sounds like the <form>'s onsubmit event handler is not firing. Sometimes I hate HTML ... please add
> a bug about this until I have time to check into it.
>
> --
> Howard M. Lewis Ship
> Creator, Tapestry: Java Web Components
> http://jakarta.apache.org/tapestry
> http://jakarta.apache.org/commons/sandbox/hivemind/
> http://javatapestry.blogspot.com
>
>
>>-----Original Message-----
>>From: news [mailto:news@sea.gmane.org] On Behalf Of Patrik Westlund
>>Sent: Monday, November 03, 2003 5:41 PM
>>To: tapestry-user@jakarta.apache.org
>>Subject: Palette + PropertySelection problem
>>
>>
>>Hi all,
>>
>>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.
>>Aren't they supposed to be hilited when submitting via the
>>PropertySelection too? Or have I missed something?
>>
>>Thanks,
>>Patrik
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
RE: Palette + PropertySelection problem
Posted by "Howard M. Lewis Ship" <hl...@comcast.net>.
Sounds like the <form>'s onsubmit event handler is not firing. Sometimes I hate HTML ... please add
a bug about this until I have time to check into it.
--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry
http://jakarta.apache.org/commons/sandbox/hivemind/
http://javatapestry.blogspot.com
> -----Original Message-----
> From: news [mailto:news@sea.gmane.org] On Behalf Of Patrik Westlund
> Sent: Monday, November 03, 2003 5:41 PM
> To: tapestry-user@jakarta.apache.org
> Subject: Palette + PropertySelection problem
>
>
> Hi all,
>
> 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.
> Aren't they supposed to be hilited when submitting via the
> PropertySelection too? Or have I missed something?
>
> Thanks,
> Patrik
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org