aspose file tools*
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
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to set title for s:textField using s property