WebWorkActions |
|
Your trail: |
Difference between
version 18
and
version 17:
At line 282 removed 15 lines. |
Now let's clean up the generated personForm.jsp by making the "id" property a hidden field. Remove the following code block from web/pages/personForm.jsp: |
|
[{Java2HtmlPlugin |
|
<ww:textfield label="%{getText('person.id')}" name="person.id" |
value="%{person.id}" required="true"/> |
}] |
|
And add the following before the <table> tag: |
|
[{Java2HtmlPlugin |
|
<ww:hidden name="person.id" value="%{person.id}"/> |
}] |
|
At line 303 changed 1 line. |
Now if you execute __ant db-load deploy__, start Tomcat and point your browser to [http://localhost:8080/appfuse/editPerson.html?id=1], you should see something like this: |
Now if you execute __ant db-load deploy__, start Tomcat and point your browser to [http://localhost:8080/appfuse/editPerson.html?id=1], you should see something like this, with focus given to the first field in the form. |
Back to WebWorkActions,
or to the Page History.
|