Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

TagLib parameter problem  RSS feed

 
Mat Anthony
Ranch Hand
Posts: 262
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I currently have a taglib called person that takes in two parameters
screenID and personID. The personID is used inside the tag lib to
put the person name on the pageContext associated with the screenID
passed in.

I cant get the output of <bean:write name="RESULTS" property="personID" />
statement passed threw to the taglib parameter code. Can anybody help?

<bean:write name="RESULTS" property="personID" />
<staff:person id="screenID"
code=<bean:write name="RESULTS" property="personID" />>
<bean:write name="screenID" property="name"/>
</staff:person>
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66208
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First, let's discuss a few terminology issues that might prevent people from understanding your issue. Your first sentence should probably read:
I currently have a custom tag called person that takes in two attributes
screenID and personID.


Secondly, as you are interacting with Struts tags, I've moved this along to the Struts forum.
[ September 10, 2008: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!