You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by resign <se...@yahoo.de> on 2013/01/22 09:29:03 UTC
T5.2.6 AJAX Select with 3 select lists
hi,
i have a problem to build following example page.
i have 3 select lists, which contains "COUNTRY", "CAR-BRAND", "CAR-MODEL".
With AJAX i want to build a kind of dynamic select.
* user selects "COUNTRY" - in the select list "CAR-BRAND" are some car brand
loaded.
* user selects "CAR-BRAND" - in the list "CAR-MODEL" are some models loaded.
Like this one:
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/select1
but with 3 select lists.
Is it possible?
I use Tapestry 5.2.6 with Tapestry5-jQuery
Thanks,
resign
--
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-2-6-AJAX-Select-with-3-select-lists-tp5719413.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: T5.2.6 AJAX Select with 3 select lists
Posted by resign <se...@yahoo.de>.
:-)
did i.
I took example from here:
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/select1
And copied it 1:1 into my page, as result the error message you see.
>> "The ... component must be enclosed by a Form component."
It looks like this:
.....
<t:fom .......>
<t:select id="FIRST_SELECT".... t:zone="zoneA" />
<t:zone t:id="zoneA">
<t:select id="SECOND_SELECT" ...... t:zone="zoneB" />
</t:zone>
<t:zone t:id="zoneB">
<t:select id="THIRD_SELECT" ...... />
</t:zone>
</t:form.......>
Following should work:
user changes value of FIRST_SELECT - SECOND_SELECT "reloads" with new
values
BUT IT DIDN'T!
:-(
greetings,
resign
Thiago H de Paula Figueiredo wrote
> On Thu, 24 Jan 2013 10:21:33 -0200, resign <
> sergejberg@
> > wrote:
>
>> Hi Geoff,
>>
>> how i wrote, i got an error:
>>
>>> "The ... component must be enclosed by a Form component."
>>
>> Ideas?
>
> Put a Form wrapping the component? ;)
>
> --
> Thiago H. de Paula Figueiredo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@.apache
> For additional commands, e-mail:
> users-help@.apache
--
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-2-6-AJAX-Select-with-3-select-lists-tp5719413p5719487.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: T5.2.6 AJAX Select with 3 select lists
Posted by Thiago H de Paula Figueiredo <th...@gmail.com>.
On Thu, 24 Jan 2013 10:21:33 -0200, resign <se...@yahoo.de> wrote:
> Hi Geoff,
>
> how i wrote, i got an error:
>
>> "The ... component must be enclosed by a Form component."
>
> Ideas?
Put a Form wrapping the component? ;)
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5.2.6 AJAX Select with 3 select lists
Posted by resign <se...@yahoo.de>.
Hi Geoff,
how i wrote, i got an error:
> "The ... component must be enclosed by a Form component."
Ideas?
Thanks,
resign
--
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-2-6-AJAX-Select-with-3-select-lists-tp5719413p5719481.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: T5.2.6 AJAX Select with 3 select lists
Posted by Geoff Callender <ge...@gmail.com>.
And here's an example for a more complex situation, where a Select's list depends on the value of two or more other values in the page:
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/selectdependency1
On 24/01/2013, at 10:31 PM, Geoff Callender wrote:
> Here's a fresh example.
>
> http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/selectmore1
>
> Cheers,
>
> Geoff
>
> On 24/01/2013, at 10:09 PM, Bob Harner wrote:
>
>> Yes.
>> On Jan 22, 2013 3:29 AM, "resign" <se...@yahoo.de> wrote:
>>
>>> hi,
>>> i have a problem to build following example page.
>>>
>>> i have 3 select lists, which contains "COUNTRY", "CAR-BRAND", "CAR-MODEL".
>>> With AJAX i want to build a kind of dynamic select.
>>>
>>> * user selects "COUNTRY" - in the select list "CAR-BRAND" are some car
>>> brand
>>> loaded.
>>> * user selects "CAR-BRAND" - in the list "CAR-MODEL" are some models
>>> loaded.
>>>
>>> Like this one:
>>> http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/select1
>>> but with 3 select lists.
>>>
>>> Is it possible?
>>>
>>> I use Tapestry 5.2.6 with Tapestry5-jQuery
>>>
>>>
>>> Thanks,
>>> resign
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://tapestry.1045711.n5.nabble.com/T5-2-6-AJAX-Select-with-3-select-lists-tp5719413.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
>>>
>>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5.2.6 AJAX Select with 3 select lists
Posted by Geoff Callender <ge...@gmail.com>.
Here's a fresh example.
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/selectmore1
Cheers,
Geoff
On 24/01/2013, at 10:09 PM, Bob Harner wrote:
> Yes.
> On Jan 22, 2013 3:29 AM, "resign" <se...@yahoo.de> wrote:
>
>> hi,
>> i have a problem to build following example page.
>>
>> i have 3 select lists, which contains "COUNTRY", "CAR-BRAND", "CAR-MODEL".
>> With AJAX i want to build a kind of dynamic select.
>>
>> * user selects "COUNTRY" - in the select list "CAR-BRAND" are some car
>> brand
>> loaded.
>> * user selects "CAR-BRAND" - in the list "CAR-MODEL" are some models
>> loaded.
>>
>> Like this one:
>> http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/select1
>> but with 3 select lists.
>>
>> Is it possible?
>>
>> I use Tapestry 5.2.6 with Tapestry5-jQuery
>>
>>
>> Thanks,
>> resign
>>
>>
>>
>> --
>> View this message in context:
>> http://tapestry.1045711.n5.nabble.com/T5-2-6-AJAX-Select-with-3-select-lists-tp5719413.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
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5.2.6 AJAX Select with 3 select lists
Posted by Bob Harner <bo...@gmail.com>.
Yes.
On Jan 22, 2013 3:29 AM, "resign" <se...@yahoo.de> wrote:
> hi,
> i have a problem to build following example page.
>
> i have 3 select lists, which contains "COUNTRY", "CAR-BRAND", "CAR-MODEL".
> With AJAX i want to build a kind of dynamic select.
>
> * user selects "COUNTRY" - in the select list "CAR-BRAND" are some car
> brand
> loaded.
> * user selects "CAR-BRAND" - in the list "CAR-MODEL" are some models
> loaded.
>
> Like this one:
> http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/select1
> but with 3 select lists.
>
> Is it possible?
>
> I use Tapestry 5.2.6 with Tapestry5-jQuery
>
>
> Thanks,
> resign
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/T5-2-6-AJAX-Select-with-3-select-lists-tp5719413.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: T5.2.6 AJAX Select with 3 select lists
Posted by Muhammad Gelbana <m....@gmail.com>.
Why should it not be possible ? Have you tried it and faced problems with
it ?
On Tue, Jan 22, 2013 at 10:29 AM, resign <se...@yahoo.de> wrote:
> hi,
> i have a problem to build following example page.
>
> i have 3 select lists, which contains "COUNTRY", "CAR-BRAND", "CAR-MODEL".
> With AJAX i want to build a kind of dynamic select.
>
> * user selects "COUNTRY" - in the select list "CAR-BRAND" are some car
> brand
> loaded.
> * user selects "CAR-BRAND" - in the list "CAR-MODEL" are some models
> loaded.
>
> Like this one:
> http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/select1
> but with 3 select lists.
>
> Is it possible?
>
> I use Tapestry 5.2.6 with Tapestry5-jQuery
>
>
> Thanks,
> resign
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/T5-2-6-AJAX-Select-with-3-select-lists-tp5719413.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
>
>