Hi,

I would simply like to override Tapestry's BeanEditForm default submit
button.  I've searched the internet but not found example code to achieve
this.  Below is my template code, which is for a BeanEditForm component
with two added fields.  The submit tag is not having the desired effect. 
Of course, in addition to having my button appear, the default submit
button must not appear (I don't want two buttons).

Your help would be much appreciated.

Regards,

Chris.

[CODE]
    <form t:type="beaneditform" t:id="updateForm" object="user"
include="userName,firstName,lastName,phone,email,status"
add="passwordField,profileImage"
reorder="profileImage,userName,passwordField,firstName,lastName,phone,email,status"
t:submitLabel="message:title.updateUser">
        <p:passwordField>
            <label t:type="label" t:for="passwordField">Password</label>
            <t:passwordfield t:id="passwordField" value="password"
placeholder="*******"/>
        </p:passwordField>
        <p:profileImage>
            <label t:type="label" t:for="profileImage"/>
            <input t:type="upload" t:id="profileImage"
t:value="profileImage" placeholder="select profile image"/>
        </p:profileImage>
        <div>
            <input t:type="submit" value="${message:title.updateUser}"
class="button-user buttonGreen" />
        </div>
    </form>
[/CODE]


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to