I've been able to extend and customize the layout and order of a BeF using
the <parameter> element.  However, when I try and customize the Submit
button, the <parameter> element doesn't seem to work.  I've read/seen that
you can specify the label of the button via the submitlabel parameter of the
BeF, but I need to do more than just the label.
For example, how would I add an ActionLink component right beside the submit
button?  Below is my template for the beaneditform (v5.0.15):

<t:beaneditform t:id="loginForm" t:object="loginForm"
submitlabel="message:submit" >
  <t:parameter name="password">
    <label t:type="Label" for="password" style="width:110px;"></label>
    <input t:type="PasswordField" t:id="password"
t:value="loginForm.password"></input>
  </t:parameter>
  <t:parameter name="submit">
    <label t:type="Label" for="submit" style="display:none;"></label>
    <input t:type="Submit" value="message:submit" ></input>
    <t:actionlink t:id="switchDisplay" >${message:label-change}
Link</t:actionlink>
  </t:parameter>
</t:beaneditform>

Thanks,
Marcel S.
-- 
View this message in context: 
http://www.nabble.com/-T5--Customizing-BeanEditForm-Layout-tp20232850p20232850.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to