You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Julien Martin <ba...@gmail.com> on 2011/10/02 17:33:38 UTC

Tapestry component for input multiple=multiple

Hello,
I have the following html generated by a jQuery plugin i.e. FCBKComplete
(see below).

I am relatively new to Tapestry. Can any of you advise as to what Tapestry
component will properly map to the code below.

*<input id="postcodes" class=" hidden" multiple="multiple" name="postcodes">
*
*     <option id="opt_PlNkbq7QtHWoCwJRq9kH4HbFzAtlHhf1" class="selected"
selected="selected" value="4963">75003</option> *
*     <option id="opt_U64cITSzCTvpIHqpmwRZzCWVHQEDegK7" class="selected"
selected="selected" value="4962">75002</option>*
*    <option id="opt_2737KLtNiJUNMnJyRZybl52whdHA992t" class="selected"
selected="selected" value="4966">75006</option>*
*</input>*

Thanks in advance,

Julien Martin.

Re: Tapestry component for input multiple=multiple

Posted by Josh Canfield <jo...@gmail.com>.
Hi Julien.

Can you be more specific about what you are trying to do? What do you mean by
> what Tapestry component will properly map to the code below.

Josh

On Sun, Oct 2, 2011 at 8:33 AM, Julien Martin <ba...@gmail.com> wrote:
> Hello,
> I have the following html generated by a jQuery plugin i.e. FCBKComplete
> (see below).
>
> I am relatively new to Tapestry. Can any of you advise as to what Tapestry
> component will properly map to the code below.
>
> *<input id="postcodes" class=" hidden" multiple="multiple" name="postcodes">
> *
> *     <option id="opt_PlNkbq7QtHWoCwJRq9kH4HbFzAtlHhf1" class="selected"
> selected="selected" value="4963">75003</option> *
> *     <option id="opt_U64cITSzCTvpIHqpmwRZzCWVHQEDegK7" class="selected"
> selected="selected" value="4962">75002</option>*
> *    <option id="opt_2737KLtNiJUNMnJyRZybl52whdHA992t" class="selected"
> selected="selected" value="4966">75006</option>*
> *</input>*
>
> Thanks in advance,
>
> Julien Martin.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tapestry component for input multiple=multiple

Posted by Taha Hafeez Siddiqi <ta...@gmail.com>.
I think Julien wants to map a component generated by jQuery at the client side with a tapestry component at the server side.


On Oct 3, 2011, at 5:39 AM, Josh Canfield wrote:

> I don't understand, I must be missing something that is unspoken. Why can't
> you do this with a simple loop. When is the data for the HTML known?
> On Oct 2, 2011 8:56 AM, "Taha Hafeez Siddiqi" <ta...@gmail.com>
> wrote:
>> Hi Julien
>> 
>> As Tapestry's structure is not dynamic, you cannot map a dynamically
> generated html to Tapestry component.
>> 
>> What you can do is use a hidden component and update the component using
> javascript.
>> 
>> regards
>> Taha
>> 
>> On Oct 2, 2011, at 9:03 PM, Julien Martin wrote:
>> 
>>> Hello,
>>> I have the following html generated by a jQuery plugin i.e. FCBKComplete
>>> (see below).
>>> 
>>> I am relatively new to Tapestry. Can any of you advise as to what
> Tapestry
>>> component will properly map to the code below.
>>> 
>>> *<input id="postcodes" class=" hidden" multiple="multiple"
> name="postcodes">
>>> *
>>> * <option id="opt_PlNkbq7QtHWoCwJRq9kH4HbFzAtlHhf1" class="selected"
>>> selected="selected" value="4963">75003</option> *
>>> * <option id="opt_U64cITSzCTvpIHqpmwRZzCWVHQEDegK7" class="selected"
>>> selected="selected" value="4962">75002</option>*
>>> * <option id="opt_2737KLtNiJUNMnJyRZybl52whdHA992t" class="selected"
>>> selected="selected" value="4966">75006</option>*
>>> *</input>*
>>> 
>>> Thanks in advance,
>>> 
>>> Julien Martin.
>> 
>> 
>> ---------------------------------------------------------------------
>> 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: Tapestry component for input multiple=multiple

Posted by Josh Canfield <jo...@gmail.com>.
I don't understand, I must be missing something that is unspoken. Why can't
you do this with a simple loop. When is the data for the HTML known?
On Oct 2, 2011 8:56 AM, "Taha Hafeez Siddiqi" <ta...@gmail.com>
wrote:
> Hi Julien
>
> As Tapestry's structure is not dynamic, you cannot map a dynamically
generated html to Tapestry component.
>
> What you can do is use a hidden component and update the component using
javascript.
>
> regards
> Taha
>
> On Oct 2, 2011, at 9:03 PM, Julien Martin wrote:
>
>> Hello,
>> I have the following html generated by a jQuery plugin i.e. FCBKComplete
>> (see below).
>>
>> I am relatively new to Tapestry. Can any of you advise as to what
Tapestry
>> component will properly map to the code below.
>>
>> *<input id="postcodes" class=" hidden" multiple="multiple"
name="postcodes">
>> *
>> * <option id="opt_PlNkbq7QtHWoCwJRq9kH4HbFzAtlHhf1" class="selected"
>> selected="selected" value="4963">75003</option> *
>> * <option id="opt_U64cITSzCTvpIHqpmwRZzCWVHQEDegK7" class="selected"
>> selected="selected" value="4962">75002</option>*
>> * <option id="opt_2737KLtNiJUNMnJyRZybl52whdHA992t" class="selected"
>> selected="selected" value="4966">75006</option>*
>> *</input>*
>>
>> Thanks in advance,
>>
>> Julien Martin.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>

Re: Tapestry component for input multiple=multiple

Posted by Julien Martin <ba...@gmail.com>.
Thanks Taha.
Do you know when Tapestry will support this html5 component?
Regards,
Julien.

2011/10/2 Taha Hafeez Siddiqi <ta...@gmail.com>

> Hi Julien
>
> As Tapestry's structure is not dynamic, you cannot map a dynamically
> generated html to Tapestry component.
>
> What you can do is use a hidden component and update the component using
> javascript.
>
> regards
> Taha
>
> On Oct 2, 2011, at 9:03 PM, Julien Martin wrote:
>
> > Hello,
> > I have the following html generated by a jQuery plugin i.e. FCBKComplete
> > (see below).
> >
> > I am relatively new to Tapestry. Can any of you advise as to what
> Tapestry
> > component will properly map to the code below.
> >
> > *<input id="postcodes" class=" hidden" multiple="multiple"
> name="postcodes">
> > *
> > *     <option id="opt_PlNkbq7QtHWoCwJRq9kH4HbFzAtlHhf1" class="selected"
> > selected="selected" value="4963">75003</option> *
> > *     <option id="opt_U64cITSzCTvpIHqpmwRZzCWVHQEDegK7" class="selected"
> > selected="selected" value="4962">75002</option>*
> > *    <option id="opt_2737KLtNiJUNMnJyRZybl52whdHA992t" class="selected"
> > selected="selected" value="4966">75006</option>*
> > *</input>*
> >
> > Thanks in advance,
> >
> > Julien Martin.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: Tapestry component for input multiple=multiple

Posted by Taha Hafeez Siddiqi <ta...@gmail.com>.
Hi Julien

As Tapestry's structure is not dynamic, you cannot map a dynamically generated html to Tapestry component.

What you can do is use a hidden component and update the component using javascript.

regards
Taha

On Oct 2, 2011, at 9:03 PM, Julien Martin wrote:

> Hello,
> I have the following html generated by a jQuery plugin i.e. FCBKComplete
> (see below).
> 
> I am relatively new to Tapestry. Can any of you advise as to what Tapestry
> component will properly map to the code below.
> 
> *<input id="postcodes" class=" hidden" multiple="multiple" name="postcodes">
> *
> *     <option id="opt_PlNkbq7QtHWoCwJRq9kH4HbFzAtlHhf1" class="selected"
> selected="selected" value="4963">75003</option> *
> *     <option id="opt_U64cITSzCTvpIHqpmwRZzCWVHQEDegK7" class="selected"
> selected="selected" value="4962">75002</option>*
> *    <option id="opt_2737KLtNiJUNMnJyRZybl52whdHA992t" class="selected"
> selected="selected" value="4966">75006</option>*
> *</input>*
> 
> Thanks in advance,
> 
> Julien Martin.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org