You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by gonzalomp87 <go...@gmail.com> on 2012/09/16 04:10:24 UTC
Problem with OnchangeValue
Hi!
I'm using a select component in my application. In this component I have a
list of study's id.
I'm using the function OnChangeValue for redirect to the page where I show
details of the study.
public Object onAction(Study study)
{
StudyDetalles.setStudyId(study.getStudyId());
return StudyDetails;
}
The problem is that the function only works when changes value.
If I have a studio just does not work.
There are other events that always work, for example by clicking though the
value does not change?
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-with-OnchangeValue-tp5716323.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Problem with OnchangeValue
Posted by Taha Siddiqi <ta...@gmail.com>.
Hi
You can use the client event 'onclick' along with ZoneUpdater.
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/onevent
regards
Taha
On Sep 16, 2012, at 8:40 AM, gonzalomp87 wrote:
> The problem I have is that the function OnValueChanged only works when I
> select a difeferent value.
>
> If my list of study's ID only has one ID when I click on it does not run
> OnValueChanged function because the value did not change.
>
> I want to know if there are other events, for example an event that works
> when I do click on an ID, without checking if the value change or not
>
>
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-with-OnchangeValue-tp5716323p5716325.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
Re: Problem with OnchangeValue
Posted by gonzalomp87 <go...@gmail.com>.
The problem I have is that the function OnValueChanged only works when I
select a difeferent value.
If my list of study's ID only has one ID when I click on it does not run
OnValueChanged function because the value did not change.
I want to know if there are other events, for example an event that works
when I do click on an ID, without checking if the value change or not
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-with-OnchangeValue-tp5716323p5716325.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Problem with OnchangeValue
Posted by Muhammad Gelbana <m....@gmail.com>.
Please explain more and in a clearer way.
On Sun, Sep 16, 2012 at 4:10 AM, gonzalomp87 <go...@gmail.com> wrote:
> Hi!
>
> I'm using a select component in my application. In this component I have a
> list of study's id.
> I'm using the function OnChangeValue for redirect to the page where I show
> details of the study.
>
>
> public Object onAction(Study study)
> {
> StudyDetalles.setStudyId(study.getStudyId());
> return StudyDetails;
>
> }
>
> The problem is that the function only works when changes value.
> If I have a studio just does not work.
>
> There are other events that always work, for example by clicking though the
> value does not change?
>
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Problem-with-OnchangeValue-tp5716323.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>