Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

do jstl tags play nicely with struts tags???

 
Matt Sloan
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to use jstl c ut tags to set the values for my html:multibox value attributes, but I keep getting a "Attribule ${attribute} has no value" error. Any ideas what's going on here and what I need to do to get this to work?
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sounds like a good question for Peter den Haan!
 
Matt Sloan
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
still trying to figure out a solution here...
 
Sheldon Fernandes
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you trying to do something like this
<html:multibox property="somProperty" value="<c: out value="${someEL}" />" ?

If so, then I don't think it will work. The value attribute can have
- static content OR
- JSP Expression <%= %>
Can it have another tag as its content?

[Edit] Try using a normal JSP Expression for the value attribute.
[ September 12, 2004: Message edited by: Sheldon Fernandes ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic