The date picker currently does not 'contribute' to the header at all yet, but if it would, we would have double references. We're in the middle of trying JS support working at all; next step is how to filter out doubles.

In the case of the datepicker, there would never be any problem though, as it works with some static JS/CSS 'libraries', and a custom JS initialisation script. That initialization script is generated uniquely for each component, using references to it's path in the page, so there would be no conflicts.

Eelco


Jonathan Locke wrote:


seems reasonable.

does the date picker in particular work this way?

Johan Compagner wrote:

we agreed that our first implementation should support that directly
All javascripts that a component should have must not be tied to one instance if more of them can be on a page. So you have to write javascript that gets the this of the current triggering component in html. if there are multiply instances you only get one additions to the head of the page.

johan


Jonathan Locke wrote:


i haven't been paying enough attention to js/css work. does the date picker component support multiple instances on a page?



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to