Using webwork tag libs with custom tag libraries.
"Jason Thorpe" <[email protected]> Wed, 06 Oct 2004 23:02:09 +0000
| Newsgroups | gmane.comp.java.open-symphony.cvs |
|---|---|
| Message-ID | <[email protected]> |
<html><div style='background-color:'><DIV class=RTE><FONT color=#000000>Hi, </FONT></DIV> <DIV class=RTE><FONT color=#000000></FONT> </DIV> <DIV class=RTE><FONT color=#000000>I have written a basic tag library to provide a simple calendar control on my website, however I would like to pass the value of a webwork property dynamically into my tag library. I can pass in static strings and have set the <FONT size=2>rtexprvalue to be true in my tld so can pass in a value from a scriptlet e.g:</FONT></FONT></DIV> <DIV class=RTE><FONT size=2></FONT> </DIV> <DIV class=RTE><FONT size=2><STRONG><da:calendar fieldName="calendar1" rawValue="<%= myVal %>"/></STRONG></FONT></DIV> <DIV class=RTE><FONT size=2></FONT> </DIV> <DIV class=RTE><FONT size=2>This is working fine, however I was wondering if there was a way to make something like this work: </FONT></DIV> <DIV class=RTE><FONT size=2><FONT size=2><STRONG><da:calendar fieldName="calendar1" rawValue="<ww:property value="dateAdded"/>"/></STRONG> </FONT></FONT></DIV> <DIV class=RTE><FONT size=2></FONT> </DIV> <DIV class=RTE><FONT size=2>If not could somebody possibly spare any ideas about how I can get a value from webwork into my custom Tag Handler class without a scriptlet or by using a very simple scriptlet.</FONT></DIV> <DIV class=RTE><FONT size=2></FONT> </DIV> <DIV class=RTE><FONT size=2>Kind regards</FONT></DIV> <DIV class=RTE><FONT size=2></FONT> </DIV> <DIV class=RTE><FONT size=2>Jason Thorpe</FONT></DIV> <DIV class=RTE><FONT size=2>Different Aspect Software Ltd.</FONT></DIV> <DIV class=RTE><FONT size=2>http://<A href="http://www.differentaspect.com">www.differentaspect.com</A></FONT></DIV></div><br clear=all><hr>STOP MORE SPAM with <a href="http://g.msn.com/8HMAEN/2728??PS=47575" target="_top">the new MSN 8</a> and get 2 months FREE*</html> ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl