You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Tan CyberT@n" <qu...@gmail.com> on 2009/03/10 09:47:25 UTC
actionlink pass combobox value.
Hi all,
I have my a combo box. getCombovalue() always get null value when i clicked
on actionlink button.
( This is due to the form no post back that cause it retrieved a null
value.)
*remark this is using zone and block.
@injectpage
private SecondPage secondpage;
Object onActionFrombtnClick()
{
secondpage.setHeaderID("my combo value");
return secondpage
}
how am i going to get the combobox value when i click on actionlink button
without post back the form?
Thank you.
Regards,
Tan
Re: actionlink pass combobox value.
Posted by DH <ni...@gmail.com>.
Yes, that's it. I always learn from jumpstart.
Thanks
DH
----- Original Message -----
From: "Tan CyberT@n" Sent: Tuesday, March 10, 2009 8:11 PM
Subject: Re: actionlink pass combobox value.
> http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/input/linksubmits1
>
> On Tue, Mar 10, 2009 at 8:04 PM, Tan CyberT@n <qu...@gmail.com>wrote:
>
>> hi DH,
>>
>> Do you have any example?
>> Thank you
>>
>> Regards,
>> Tan
>>
>>
>> On Tue, Mar 10, 2009 at 7:50 PM, DH <ni...@gmail.com> wrote:
>>
>>> If you are not limited on actionlink, have a try with LinkSubmit
>>> component, it can post form.
>>>
>>> Or else you need js to help post the value back.
>>>
>>> Thanks
>>>
>>> DH
>>>
>>> Sent: Tuesday, March 10, 2009 4:47 PM
>>> Subject: actionlink pass combobox value.
>>>
>>>
>>> > Hi all,
>>> >
>>> > I have my a combo box. getCombovalue() always get null value when i
>>> clicked
>>> > on actionlink button.
>>> > ( This is due to the form no post back that cause it retrieved a null
>>> > value.)
>>> >
>>> > *remark this is using zone and block.
>>> > @injectpage
>>> > private SecondPage secondpage;
>>> >
>>> > Object onActionFrombtnClick()
>>> > {
>>> > secondpage.setHeaderID("my combo value");
>>> > return secondpage
>>> > }
>>> >
>>> > how am i going to get the combobox value when i click on actionlink
>>> button
>>> > without post back the form?
>>> > Thank you.
>>> >
>>> > Regards,
>>> > Tan
>>> >
>>>
>>
>>
>
Re: actionlink pass combobox value.
Posted by "Tan CyberT@n" <qu...@gmail.com>.
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/input/linksubmits1
On Tue, Mar 10, 2009 at 8:04 PM, Tan CyberT@n <qu...@gmail.com>wrote:
> hi DH,
>
> Do you have any example?
> Thank you
>
> Regards,
> Tan
>
>
> On Tue, Mar 10, 2009 at 7:50 PM, DH <ni...@gmail.com> wrote:
>
>> If you are not limited on actionlink, have a try with LinkSubmit
>> component, it can post form.
>>
>> Or else you need js to help post the value back.
>>
>> Thanks
>>
>> DH
>>
>> Sent: Tuesday, March 10, 2009 4:47 PM
>> Subject: actionlink pass combobox value.
>>
>>
>> > Hi all,
>> >
>> > I have my a combo box. getCombovalue() always get null value when i
>> clicked
>> > on actionlink button.
>> > ( This is due to the form no post back that cause it retrieved a null
>> > value.)
>> >
>> > *remark this is using zone and block.
>> > @injectpage
>> > private SecondPage secondpage;
>> >
>> > Object onActionFrombtnClick()
>> > {
>> > secondpage.setHeaderID("my combo value");
>> > return secondpage
>> > }
>> >
>> > how am i going to get the combobox value when i click on actionlink
>> button
>> > without post back the form?
>> > Thank you.
>> >
>> > Regards,
>> > Tan
>> >
>>
>
>
Re: actionlink pass combobox value.
Posted by "Tan CyberT@n" <qu...@gmail.com>.
hi DH,
Do you have any example?
Thank you
Regards,
Tan
On Tue, Mar 10, 2009 at 7:50 PM, DH <ni...@gmail.com> wrote:
> If you are not limited on actionlink, have a try with LinkSubmit component,
> it can post form.
>
> Or else you need js to help post the value back.
>
> Thanks
>
> DH
>
> Sent: Tuesday, March 10, 2009 4:47 PM
> Subject: actionlink pass combobox value.
>
>
> > Hi all,
> >
> > I have my a combo box. getCombovalue() always get null value when i
> clicked
> > on actionlink button.
> > ( This is due to the form no post back that cause it retrieved a null
> > value.)
> >
> > *remark this is using zone and block.
> > @injectpage
> > private SecondPage secondpage;
> >
> > Object onActionFrombtnClick()
> > {
> > secondpage.setHeaderID("my combo value");
> > return secondpage
> > }
> >
> > how am i going to get the combobox value when i click on actionlink
> button
> > without post back the form?
> > Thank you.
> >
> > Regards,
> > Tan
> >
>
Re: actionlink pass combobox value.
Posted by DH <ni...@gmail.com>.
If you are not limited on actionlink, have a try with LinkSubmit component, it can post form.
Or else you need js to help post the value back.
Thanks
DH
Sent: Tuesday, March 10, 2009 4:47 PM
Subject: actionlink pass combobox value.
> Hi all,
>
> I have my a combo box. getCombovalue() always get null value when i clicked
> on actionlink button.
> ( This is due to the form no post back that cause it retrieved a null
> value.)
>
> *remark this is using zone and block.
> @injectpage
> private SecondPage secondpage;
>
> Object onActionFrombtnClick()
> {
> secondpage.setHeaderID("my combo value");
> return secondpage
> }
>
> how am i going to get the combobox value when i click on actionlink button
> without post back the form?
> Thank you.
>
> Regards,
> Tan
>