|
Why would you do this?
cycle.getRequestContext().getParameter("myname");
Tapestry doesn't wall you off from Servlet API it
just makes Servlet API irrelevant.
----- Original Message -----
Sent: Wednesday, September 18, 2002 4:00
AM
Subject: [Tapestry-developer] Question
about form
Hi all,
A checkbox(<input type=checkbox>) is inerted into a
"Form" component by using "Insert" component instead of using
"Checkbox" component. The following is the involved code:
in .jwc:
<component id="dataItem"
type="Insert"> <binding name="value"
property-path="item"/> <field-binding name="raw"
field-name="Boolean.TRUE"/> </component>
in .java:
public
String getItem(){
return
"<input type=\"checkbox\" name=\"myname\" value=\"myvalue\"
/>"; }
My question
is the status of this checkbox(checked or unchecked) could be getted in the
listener mothod of the form.
Thanks.
|