• 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

passing more than one parameter to html link tag

 
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Thank you for reading my post.
I am iterating over a collection and i need to pass more than one parameter based on my collection item property
one parameter is directly the value of a bean property
but the second is a combination of a property and some messages from my resource file.
I know how to pass one parameter to html:link tag
by using paramId , paramName ... - and i know how to read a message from the resource file
but i do not know how to pass more than one parameter to my link and worst is that second parameter is a combination of Bean property and some constant reading from the resource file.

can some one pleas help me ?
wheater it could be done by scriptlet or anything else ?

Thank you.
 
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can put the params in a map in the page context, the keys will be the paramId. For more details follow this link

http://www.jguru.com/faq/view.jsp?EID=877089
 
On my planet I'm considered quite beautiful. Thanks to the poetry in this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic