Re: [Wicket-user] value not getting set to the model when AjaxFormComponentUpdatingBehavior used.

2006-08-21 Thread Dipu



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.
form wicket:id="searchFilterForm" name="searchFilterForm" 
id="searchFilterForm"' (line 41, column 20) has a mismatched close tag at 
'/td' (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 trtd and 
/td/tr)  -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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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.

2006-08-21 Thread Frank Bille
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.
form wicket:id=searchFilterForm name=searchFilterForm 
id=searchFilterForm' (line 41, column 20) has a mismatched close tag at 
'/td' (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 trtd and 
/td/tr)  -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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] value not getting set to the model when AjaxFormComponentUpdatingBehavior used.

2006-08-18 Thread Dipu



Hi All,

I havethe following hierarchy 

Page 
 Panel
  
Form

And in side the form i havethe form 
components , and i have attached 
AjaxFormComponentUpdatingBehavior to one of thedropdowns to populate 
another.
And all that works fine, but when ido the 
submit, thefirst time the ajax populated field's value doesn't 
getset to the model object.
But it gets setthe 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.





ChoiceModel.java
Description: Binary data


ChoicePanel.java
Description: Binary data


HomePage.java
Description: Binary data


ChoiceForm.java
Description: Binary data
-
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=lnkkid=120709bid=263057dat=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.

2006-08-18 Thread Gwyn Evans
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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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.

2006-08-18 Thread Matej Knopp
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  trtd and /td/tr)

-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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user