Commits

jcarreira  committed 496a87f

Fixing usages of test('key') to getText('key') in JSP tag attributes

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@322573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits a7e735d

Comments (0)

Files changed (4)

File src/webapp/examples/helloworld/brief/login.jsp

 </webwork:iterator>
 
 <FORM ACTION="helloworld.login.action" METHOD="POST">
-<ui:textfield label="text('name')" name="'name'"/> 
+<ui:textfield label="getText('name')" name="'name'"/>
 
-<ui:password label="text('password')" name="'password'" size="10" maxlength="15"/>
+<ui:password label="getText('password')" name="'password'" size="10" maxlength="15"/>
 
 <INPUT TYPE=submit VALUE=" Login " >
 </FORM>

File src/webapp/examples/helloworld/verbose/login.jsp

 <TABLE BORDER="1" BGCOLOR=lightyellow>
 <TR><TH COLSPAN=2><webwork:text name="'login'"/></TH></TR>
 
-   <ui:textfield label="text('name')" name="'name'"/>
+   <ui:textfield label="getText('name')" name="'name'"/>
 
-   <ui:password label="text('password')" name="'password'" size="10" maxlength="15"/>
+   <ui:password label="getText('password')" name="'password'" size="10" maxlength="15"/>
 
 <TR><TH COLSPAN=2><INPUT TYPE=submit VALUE="<webwork:text name="'login'"/>" ></TH></TR>
 </TABLE>

File src/webapp/examples/i18n/shop.jsp

    <webwork:text name="'cd.label'"/>:<webwork:include page="i18n.CDList.action"  />
 
 
-   <ui:textfield label="text('main.qtyLabel')" name="'quantity'" value="1" size="3"/>
+   <ui:textfield label="getText('main.qtyLabel')" name="'quantity'" value="1" size="3"/>
    <input type=submit name=Submit value="<webwork:text name="'main.addLabel'"/>">
    </form>
    </center>

File src/webapp/i18n/jsp/shop.jsp

    <webwork:text name="'cd.label'"/>:<webwork:include page="i18n.CDList.action"  />
 
 
-   <ui:textfield label="text('main.qtyLabel')" name="'quantity'" value="1" size="3"/>
+   <ui:textfield label="getText('main.qtyLabel')" name="'quantity'" value="1" size="3"/>
    <input type=submit name=Submit value="<webwork:text name="'main.addLabel'"/>">
    </form>
    </center>