these ideas are interesting, but i think there's enough problem surface area that 1.1 would be wiser here.
Eelco Hillenius wrote:
Regarding issue http://sourceforge.net/tracker/index.php?func=detail&aid=1091974&group_id=119783&atid=684978 (add support for javascript/css.
Just a quick thought and a clean thread...
I think ideally this would look/ work a bit like Chris's ComponentTagAttributeModifier in the sense that you can add contributers (I like that name in this respect btw) to HtmlComponents. Then, when rendering, they should behave like some kind of mix-in (AOP like) with the markup steam of the page.
Making sure that there are no naming collisions etc should be our second concern only, *if ever*. I'd prefer to have more responsibility put on the shoulders on the users that want to work with this for this for the sake of simplicity and performance. I could perfectly live with no checking/ parsing at all here. And hey, that's what we (or at least the developers that work with Javascript on a regular basis) are used to anyway.
If this can be done elegantly (and have the feeling it wouldn't be too hard for anyone having a good insight of Wicket's parsing/ rendering process), I'd not be agianst putting it in 1.0. I can't imagine this having a huge impact on the core framework/ API as a whole, do you?
Regards,
Eelco
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop
