Hi there
First I would like to say that I think Wicket Rocks. I am an old struts
guy, so I can really see the
advantages over struts.
However some things are of course more easy to do with Struts than wicket.
In struts I have made a custom tag that gives me a panel with a headline
============================
| show/hide btn div |
============================
<div id="divId"> |
diff content that can be hided or |
shown. |
</div> |
============================
The show / hide functionality is implemented in javascript.
Now the difficult thing for me is that I also want to make such a
component in Wicket.
Can anybody tell me how I set the divId in the div? I want that when I
click show/hide button onclick="toogleShowHide(divId);"
The javascript I have just included in head tag. But I need to make sure
that the divIds are the same within the same panel.
Or am I doing it a wrong way? or perhaps a more easy way to do it?
Regards
Flemming Boller
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user