To which component do I bind the ajax form submit behaviour and on which
event?  Perhaps the best approach would have been for the Palette to raise
some kind of event when the content of the Palette changes.


igor.vaynberg wrote:
> 
> have you tried to use a form submitting behavior?
> 
> the problem is that it is the recorder component that needs to be
> submitted
> - it is the hidden field that keeps track of the selection.
> 
> -Igor
> 
> 
> On 8/11/06, samyem <[EMAIL PROTECTED]> wrote:
>>
>>
>> I could not make this work. I tried to override
>> protected Component newSelectionComponent()
>>
>> and did:
>>
>> new AjaxFormComponentUpdatingBehavior("onsubtreemodified"){..}
>>
>> I tried a few variations and none of my effort was able to invoke any
>> kind
>> of event when the palette's content changed. Any ideas?
>>
>>
>>
>>
>> igor.vaynberg wrote:
>> >
>> > its because pallette is not a field it is a compound component. you
>> have
>> > to
>> > attach the behavior to one of palette's internal components. the
>> palette
>> > has
>> > factory methods for all its internal components so you probably have to
>> > add
>> > it to one of those...i havent looked at it so its just a guess.
>> >
>> > -Igor
>> >
>> >
>> > On 8/8/06, Samyem Tuladhar <[EMAIL PROTECTED]> wrote:
>> >>
>> >> How do I use AjaxFormComponentUpdatingBehavior with Palette ? There
>> seem
>> >> to be no effect using it the same way as with other text form fields.
>> >>
>> >> Thanks,
>> >>
>> >>
>> -------------------------------------------------------------------------
>> >> Using Tomcat but need to do more? Need to support web services,
>> security?
>> >> Get stuff done quickly with pre-integrated technology to make your job
>> >> easier
>> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> >> Geronimo
>> >>
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> >>
>> >> _______________________________________________
>> >> Wicket-user mailing list
>> >> Wicket-user@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >>
>> >>
>> >>
>> >
>> >
>> -------------------------------------------------------------------------
>> > Using Tomcat but need to do more? Need to support web services,
>> security?
>> > Get stuff done quickly with pre-integrated technology to make your job
>> > easier
>> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> >
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> > _______________________________________________
>> > Wicket-user mailing list
>> > Wicket-user@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Palette-AjaxFormComponentUpdatingBehavior-tf2075278.html#a5770553
>> Sent from the Wicket - User forum at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Palette-AjaxFormComponentUpdatingBehavior-tf2075278.html#a5778482
Sent from the Wicket - User forum at Nabble.com.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to