File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply 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://zeroturnaround.com/jrebel
 
subject: how to set title for s:textField using s property
 
Similar Threads
Struts2 - jquery Plugin - Fieldset
<s:it test with a name value
Scriptlet in STRUTS 2
Setting the value in <s:textfield from request scope
Struts 2.0.11 <s:textfield> label alignment issue.