Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes s:hidden's   title attribute not rendering Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "s:hidden Watch "s:hidden New topic
Author

s:hidden's title attribute not rendering

kannan ind
Greenhorn

Joined: Apr 05, 2010
Posts: 5
Hi,

im trying to add value to title attribute of s:hidden tag,but in the rendered html page the title value is not displayed.
am i missing something?


i need that value in title ,so that in final rendered HTML page i can use javascript to access the title value from hidden field




im using struts 2.1.6

thanks,
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

My guess is that if you look at the template it doesn't render a title. Why do you need to access a hidden input element's title? Perhaps there's a different way to do what you're trying to do.

(And I'm not sure why you'd want to disable a hidden element; if you don't want it submitted just don't render it.)
kannan ind
Greenhorn

Joined: Apr 05, 2010
Posts: 5
Thanks David

i got it done with normal HTML tag

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: s:hidden's title attribute not rendering
 
Similar Threads
http 404 error in uploading the file
Problem with Hidden Tags
Passing arraylist as hidden variable in JSP Struts2 framework
Google Map Mashup in JSF
struts2 textfield tag not populating with correct value from action class