File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes What's your favourite...? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "What Watch "What New topic
Author

What's your favourite...?

Matthew Webster
Ranch Hand

Joined: May 10, 2001
Posts: 51
Hello peeps, I was just wondering what the (no doubt many and varied) ways people are passing data/objects/thing-ummies-of-use to their custom tags are?
There are the obvious ones, of course, but does anyone use variations, slight modifications or just break the rules completely?
Feel free to note down your ideas here

Best regards,
Matt.


Matthew Webster - eudoxus@freeuk.com<br /><a href="http://www.matthewwebster.homeunix.net/" target="_blank" rel="nofollow">http://www.matthewwebster.homeunix.net/</a>
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1860
Currently I alternate between passing values as rtexprvalues (<%= myObject %> ) or just passing tags the name of scoped attributes that the tag handlers can use to lookup the object themselves. Or, of course, you can use the body content and/or nest tags.
Now with JSP 2.0 around the corner, we can finally (easily) use the expression language. Hurray!
Simon
[ January 23, 2003: Message edited by: Simon Brown ]
 
jQuery in Action, 2nd edition
 
subject: What's your favourite...?
 
Threads others viewed
Appletviewer without DOS-Window
Error with focus
Which framework is best for Java-Database integration?
naming convention
PDF USING JSF & FOP
developer file tools