• 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

TagLib parameter problem

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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>
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic