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

2006-08-21 Thread Dipu




here we go ..
wicket:panel

form wicket:id="searchFilterForm" id="searchFilterForm" name 
="searchFilterForm"
table width="100%" border="0" cellspacing="0" cellpadding="0" 
class="cc3_bg pad10_lr"
tr
td colspan="2"nbsp;/td
/tr
tr
td colspan="2"
table width="100%" border="0" cellspacing="0" 
cellpadding="0"
tr 
tdStatus/td
td
select wicket:id="status" id="status"
optionAll/option
optionLive/option
optionNot Live/option
/select
/td

tdSupplier/td
td
select wicket:id="supplier" id="supplier"
optionSupplier 1/option
optionSupplier 2/option
/select
/td

tdRank/td
td
select wicket:id="rank" id="rank"
optionAll/option
option1-9/option
/select
/td
/tr
/table
/td 
/tr

tr
td colspan="2"hr//td
/tr

tr
tdGeo Search Choice/td
td
select wicket:id="location" id="location""
optionlocation/option
optionposition/option
/select
/td
/tr

tr
td colspan="2"hr//td
/tr

tr
td colspan="2"span 
wicket:id="locpanel"location/position Panel/span/td
/tr

tr
td colspan="2"hr//td
/tr 

tr
tdSearch Choice/td
td
select wicket:id="searchChoice" id="searchChoice"
optionAll/option
optionName/option
optionAddress/option
/select
/td
/tr


tr
tdSearch Text/td
tdinput type="text" wicket:id="searchText" 
id="searchText"//td
/tr

tr
tdNumber of results Per Page/td
td
select wicket:id="paginationChoice" 
id="paginationChoice"
option25/option
option50/option
/select
/td
/tr

tr
td colspan="2"hr//td
/tr

tr
td align="left"
input type="submit" wicket:id="logout" value="Logout"/
input type="submit" wicket:id="clear" value="Clear 
Filters"/
/td
td align="right"
input type="submit" wicket:id="search" value="Search"/
/td
/tr

tr
td colspan="2"hr//td
/tr
/table
/form 
/wicket:panel

  - Original Message - 
  From: 
  Frank 
  Bille 
  To: wicket-user@lists.sourceforge.net 
  
  Sent: Monday, August 21, 2006 9:37 
  AM
  Subject: Re: [Wicket-user] value not 
  getting set to the model whenAjaxFormComponentUpdatingBehavior used.
  Can you paste the entire markup? - Frank
  On 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   
-

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

2006-08-18 Thread Dipu



I don't think so, because its not done in the 
examples.
And the samples files i sent was worked out from 
the example.

Thanks
Dipu

- Original Message - 
From: "Gwyn Evans" [EMAIL PROTECTED]
To: wicket-user@lists.sourceforge.net
Sent: Friday, August 18, 2006 12:58 PM
Subject: Re: [Wicket-user] value not getting set to 
the model whenAjaxFormComponentUpdatingBehavior 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=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
-
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 whenAjaxFormComponentUpdatingBehavior used.

2006-08-18 Thread Igor Vaynberg
argh! wtf!after an ajax update the browser doesnt POST the second select box. very very weird. works in IE - sad when IE works better then firefox.matej can you look into this a bit further? :))-Igor
On 8/18/06, Dipu [EMAIL PROTECTED] wrote:







I don't think so, because its not done in the 
examples.
And the samples files i sent was worked out from 
the example.

Thanks
Dipu

- Original Message - 
From: Gwyn Evans [EMAIL PROTECTED]

To: wicket-user@lists.sourceforge.net

Sent: Friday, August 18, 2006 12:58 PM
Subject: Re: [Wicket-user] value not getting set to 
the model whenAjaxFormComponentUpdatingBehavior 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=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

-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