Re: [Wicket-user] value not getting set to the model when AjaxFormComponentUpdatingBehavior used.
Can you paste the entire markup? - FrankOn 8/21/06, Dipu <[EMAIL PROTECTED] > wrote: Hi Matej, Thanks very much, it did help. I took the form declaratin out of the table and it worked. If i wrap the form declaration inside a cell, i get the follwoing parser error. ' (line 41, column 20) has a mismatched close tag at '' (line 41, column 102) Regards Dipu - Original Message - From: "Matej Knopp" <[EMAIL PROTECTED] > To: <wicket-user@lists.sourceforge.net > Sent: Friday, August 18, 2006 6:28 PM Subject: Re: [Wicket-user] value not getting set to the model when AjaxFormComponentUpdatingBehavior used. > It doesn't work in firefox because you placed the form directly to table.> This is not valid and firefox freaks out. You have to put it in table cell> (wrap the form in and )> > -Matej> > Dipu wrote:>> Hi All,>> >> I have the following hierarchy>> >> Page>> Panel>> Form>> >> And in side the form i have the form components , and i have attached >> AjaxFormComponentUpdatingBehavior to one of the dropdowns to populate >> another.>> And all that works fine, but when i do the submit, the first time the >> ajax populated field's value doesn't get set to the model object.>> But it gets set the second time onwards.>> >> Has anyone come accross this porblem.>> I am attaching the sample files.>> >> Kind Regards>> Dipu>> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> This example demonstrates a AjaxSelfUpdatingBehavior. This behavior can >> be attached to any component to make it update itself. The clock below >> is updated every five seconds.>> >> >> >> >> ->> 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 -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.nethttps://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
Re: [Wicket-user] value not getting set to the model when AjaxFormComponentUpdatingBehavior used.
Hi Matej, Thanks very much, it did help. I took the form declaratin out of the table and it worked. If i wrap the form declaration inside a cell, i get the follwoing parser error. ' (line 41, column 20) has a mismatched close tag at '' (line 41, column 102) Regards Dipu - Original Message - From: "Matej Knopp" <[EMAIL PROTECTED]> To: <wicket-user@lists.sourceforge.net> Sent: Friday, August 18, 2006 6:28 PM Subject: Re: [Wicket-user] value not getting set to the model when AjaxFormComponentUpdatingBehavior used. > It doesn't work in firefox because you placed the form directly to table.> This is not valid and firefox freaks out. You have to put it in table cell> (wrap the form in and )> > -Matej> > Dipu wrote:>> Hi All,>> >> I have the following hierarchy>> >> Page>> Panel>> Form>> >> And in side the form i have the form components , and i have attached >> AjaxFormComponentUpdatingBehavior to one of the dropdowns to populate >> another.>> And all that works fine, but when i do the submit, the first time the >> ajax populated field's value doesn't get set to the model object.>> But it gets set the second time onwards.>> >> Has anyone come accross this porblem.>> I am attaching the sample files.>> >> Kind Regards>> Dipu>> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> This example demonstrates a AjaxSelfUpdatingBehavior. This behavior can >> be attached to any component to make it update itself. The clock below >> is updated every five seconds.>> >> >> >> >> ->> 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 - 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
Re: [Wicket-user] value not getting set to the model when AjaxFormComponentUpdatingBehavior used.
It doesn't work in firefox because you placed the form directly to table. This is not valid and firefox freaks out. You have to put it in table cell (wrap the form in and ) -Matej Dipu wrote: > Hi All, > > I have the following hierarchy > > Page > Panel > Form > > And in side the form i have the form components , and i have attached > AjaxFormComponentUpdatingBehavior to one of the dropdowns to populate > another. > And all that works fine, but when i do the submit, the first time the > ajax populated field's value doesn't get set to the model object. > But it gets set the second time onwards. > > Has anyone come accross this porblem. > I am attaching the sample files. > > Kind Regards > Dipu > > > > > > > > > > > > > > > > > This example demonstrates a AjaxSelfUpdatingBehavior. This behavior can > be attached to any component to make it update itself. The clock below > is updated every five seconds. > > > > > - > 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
Re: [Wicket-user] value not getting set to the model when AjaxFormComponentUpdatingBehavior used.
Not 100% sure but don't you need to explicitly update the 2nd dropdown on the onUpdate - Compare with http://www.wicket-wiki.org.uk/wiki/index.php/DropDownChoice_Examples#Using_Ajax /Gwyn On 18/08/06, Dipu <[EMAIL PROTECTED]> wrote: > > > Hi All, > > I have the following hierarchy > > Page > Panel > Form > > And in side the form i have the form components , and i have attached > AjaxFormComponentUpdatingBehavior to one of the dropdowns > to populate another. > And all that works fine, but when i do the submit, the first time the ajax > populated field's value doesn't get set to the model object. > But it gets set the second time onwards. > > Has anyone come accross this porblem. > I am attaching the sample files. > > Kind Regards > Dipu > > > > > > > > > > > - > 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 > > > > -- Download Wicket 1.2.1 now! - http://wicketframework.org - 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