hi,
i am trying to write something similar to the date picker - i have an input
field and a javascript needs to write to it. therefore, when generating the
javascript, i want to give it the field's id.
so, creating this MyDatePicker component, i pass to it the other component in
the ctor. then, it uses otherComponent.getPath() to get the id the component
will be rendered with.
my problem is that i saw that if in the html i give an id to the input field,
then that id is retained, and then using getPath() doesn't work.
so, in one component, how can i reliably get the html id of another, and where
in the code?
thanx,
ittay
--
===================================
Ittay Dror
Chief architect, openQRM TL,
R&D, Qlusters Inc.
[EMAIL PROTECTED]
+972-3-6081994 Fax: +972-3-6081841
http://www.openQRM.org
- Keeps your Data-Center Up and Running
-------------------------------------------------------
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