• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Tags don't see each other

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,

I am a newbie to JSTL and JSF. Seems to be i am trying to mix JSF an JSTL. I would like to have samething like:



It works if I change value="${person.id}" to a literal like value="12345" . Which means the bean method is triggered and the value can be found in the RequestParameterMap. Sure i would like to have a dynamic value wich can be found in person.id. The idea is to pass the id to the method to edit the list. But the tags don't "see" each other. Does anyone knows a workaround?

Thanks in advance

Ralf

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am facing a similar issue. Searched through many forums.It seems you should be careful while mixing JSTL tags with JSF tags.
I have tried to replace ${} with #{}, but of no use.However you can try this.
Also a few people were suggesting that we can not iterate through a non sequential collection and render JSF components. In my case I am using Set,I am going to replace it with an ArrayList.I guess in your case you are using a list already,rite ?

Please update this post ,if you got a solution

Shaiju
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic