He could always opt for more beta functionality, a solution to his
particular problem is outlined here:

http://tapestry.apache.org/tapestry4.1/ajax/EventListener.html

On 8/15/06, James Carman <[EMAIL PROTECTED]> wrote:

But, the parameter is based on a form field (a drop-down).  So, wouldn't
he
have to submit the form to get the currently selected value?

-----Original Message-----
From: Chris Chiappone [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 15, 2006 3:13 PM
To: Tapestry users
Subject: Re: how can i solve this problem

If its a DirectLink or something similiar you need to pass parameters
instead of using getTutor.
For example your onClick() method would look like this:

pubilc IPage onClick(String tutor){
    etc...

}


On 8/15/06, zqzuk <[EMAIL PROTECTED]> wrote:
>
>
> Helllo, i have two pages, suppose Teacher.html and Rota.html.
>
> on Teacher.html, theres a dropdownlist where i can select a teacher's
> name,
> and a link which on click, needs to open up another window and pass the
> selected value to the page Rota.html. i tried something like the
followin
> to
> test whether it works, and it doesnt
>
> in Teacher.java
>
> public abstract String getTutor();
> abstract public void setTutor(String s);
> public IPropertySelection (){
> .....
> .....
> }
>
> public IPage onClick(){
>     Rota page = getRotaPage();
>     page.setSelectedTeacher("The selected value is " + getTutor());
>
> }
>
> and no matter what i select the value is always NULL. how comes the
> selected
> value is not passed over? what is the right way to do this please?
thanks!
>
> --
> View this message in context:
>
http://www.nabble.com/how-can-i-solve-this-problem-tf2110818.html#a5819804
> Sent from the Tapestry - User forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
~chris



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




--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Reply via email to