Hi All!
        Kindly help me if anybody can..
        I have a .html file where I have a username text field. I have a
link near that to check the uniqueness of the username.
        I have done something like this but am facing a problem in passing
the parameter "username" in the DirectLink.

        .html

<td><input type="text" jwcid="username" size="30"/></td>
<td><a href="#" jwcid="@DirectLink" listener="listener:checkUniqueUser"
parameters="ognl:username"><font color="white" size="4" ><u>Check uniqueness
</u></font></a></td>

         In .java I have a listener method ChequeUniqueUser. I am trying to
print the username to see if I am getting it or not... but am not getting
it!!

public void checkUniqueUser(IRequestCycle cycle,String username) {
                String name = username;
                System.out.println("Username="+username);
            return;
         }
         return;
    }









Thanks & Regards
-----------------------------
Ananya Goswami
Software Developer

-----------------------------
mail: [EMAIL PROTECTED]
mob: 09886886320
ph: 080-57561000
extn:3720
 


Reply via email to