Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
how struts property value to custom tag
Vicky Pandya
Ranch Hand
Posts: 148
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have custom tag, which has two parameters name param1 and param2
<myTag:compare param1="<bean : write " param2="<bean : write "
Above doesn't seem to work. I believe because it becomes nested tag. is there a way to resolve this without using scriptlet?
Merrill Higginson
Ranch Hand
Posts: 4864
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Generally speaking,it does not work to nest one custom tag inside another. If your web container supports
JSP
2.0, you could use an EL expression here:
<myTag:compare param1="${param.abc}" param2="${param.def}" />
Merrill
Consultant,
Sima Solutions
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
OR condition implementation using logic:equal
Taglib that translates into a series of other taglib calls
Custom Tag - XML way of coding JSP
custom import tag
Using Scriptlets in Custon Tags
More...