Since the textfield is likely to be in a form you might want to make the
icon submit the form and then in the submit from your form open the
popup.
The trick will be however to update the mainpage without loosing any
data after you close the popup.

IMO it would be far easier to use one of the many fully javascripted
datepickers that open a floating div instead because you never have to
leave the page.

Maurice


-----Oorspronkelijk bericht-----
Van: Antonio Casula [mailto:[EMAIL PROTECTED] 
Verzonden: vrijdag 11 februari 2005 11:05
Aan: [email protected]
Onderwerp: [Wicket-user] onClick event

I have written a Calendar and a DatePicker components
for wicket without use javascript (almost) (btw how to
contribute them to the wicket community?) but
something is missed.
the datepicker component is composed by one textfield
and a link (a calendar icon actually).
I need to get the textfield value and send like
parameter to the calendar component (a popup WebPage)
when I click on icon.

Some suggestion?

Antonio


                
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to