Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What's your favourite...?  RSS feed

 
Matthew Webster
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!