This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes hot to get javascript value in icefaces tag Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "hot to get javascript value in icefaces tag" Watch "hot to get javascript value in icefaces tag" New topic
Author

hot to get javascript value in icefaces tag

sa sam
Ranch Hand

Joined: Mar 01, 2009
Posts: 46
my code is -


my problem is i am not getting the value os s_CSS.
Ilari Moilanen
Ranch Hand

Joined: Apr 15, 2008
Posts: 197
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

Joined: Mar 01, 2009
Posts: 46
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

Joined: Apr 15, 2008
Posts: 197
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: hot to get javascript value in icefaces tag
 
Similar Threads
changing filename after uploading image
StringTokenizer error on JSP
request.getParameter() from same page as HTML FORM
blank page - Action is not called
how to change content type from multipart/form-data to text/html