This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Struts and the fly likes how to set title for s:textField using s property Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to set title for s:textField using s property" Watch "how to set title for s:textField using s property" New topic
Author

how to set title for s:textField using s property

suresh midde
Greenhorn

Joined: Aug 22, 2008
Posts: 25
Hi

I need to set title for the s:textfield component.

<s:textfield name="lp2" readonly="true" cssStyle="width:30px;" title='<s:property value="phaseId" />' / >

I am unable to get the evaluated value in the title.I tried replacing single quotes with double quotes, and even tried escape attribute but there is no luck.

Some one help me.

Regards
Suresh Midde
suresh midde
Greenhorn

Joined: Aug 22, 2008
Posts: 25
Hi,

This was fixed.

<s:textfield name="lp1" cssStyle="width:30px;" title="%{phaseId}" >

Regards
Suresh Midde
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to set title for s:textField using s property
 
It's not a secret anymore!