• 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

hot to get javascript value in icefaces tag

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
my code is -


my problem is i am not getting the value os s_CSS.
 
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I see no icefaces tags in your code so in what way is this a icefaces problem?

When you say "i am not getting the value" then what do you get instead. What is generated? Or does loading the page end in error? What kind of error?
 
sa sam
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i got the blank value when i run the page & by the way, this is small part of the icefaces code
 
Ilari Moilanen
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The topic of this thread is
"hot to get javascript value in icefaces tag"

So one would expect that you are talking about javascript AND icefaces tags. But there is NO javascript in your code example and there is no icafaces tags on your code example.

I am sorry if I keep on insisting on this matter but if you do not know what you are really asking it is not possible to answer your question! So is your question about icefaces and javascript or about your code example?

In your other question you asked about how to get the user agent with facelets tags and when you solve that question then you do not need to use the JSP scriptlets you use in your code above. Using scriptlets is considered bad coding practice. I personally would put all the code you have here to a backing bean and then just use the property of the backing bean to set the correct css filename. But if you do not want to do that then the second approach would be to use the facelets tags.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic