aspose file tools*
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
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

 
Don't get me started about those stupid light bulbs.
 
subject: s:hidden's title attribute not rendering