struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukasz.len...@googlemail.com>
Subject Re: ognl and getText for s:textfield/placeholder
Date Tue, 07 Jun 2011 09:57:59 GMT
2011/6/7 Stephen Ince <stephenpince@gmail.com>:
> <s:textfield dojoType="dijit.form.ValidationTextBox" theme="simple" placeholder="%{getText('placeHolder.Username')}"
id="j_username" name="j_username" cssStyle="width:180px" />

What is placeHolder, a bean or a resource key ?

If bean: "%{getText(placeHolder.Username)}"
If key: '%{getText("placeHolder.Username")}'


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message