I'm still getting started with Tapestry by doing some stuff, but... many
questions.

This one is in regards to AJAX. It's a "How to" kinda question.

I Have a form like this in my page.tml:

<form t:type="form" t:id="registrationForm" clientValidation="false">
<t:label for="userName" />

<input t:type="TextField" t:id="userName" value="user.name"
t:validate="required,
maxlength=15, minLength=3" size="15" />
<t:zone t:id="userNameDuplicatedNotice">${userExistMessage}</t:zone>

<a t:type="actionlink" t:id="verifyDuplicatedUserName"
context="literal:testing"
href="#" 
t:zone="userNameDuplicatedNotice">${message:verify-username-duplicated-link}</a>

<input type="submit" value="${message:label.submit.create.user}" />

</form>

What I'm trying to figure out is: What is the best way to give the current
value of textfield "userName" to the context of the link
"verifyDuplicatedLogin"?

Let me try to express with a user story:

As a user I want to introduce a user name and click in a link to
 automatically(AJAX) receive a message informing me if the "userName" is
already taken or not



Thank you,

jp

Reply via email to