It is inpossible to help you without having a look into your
GroupableCheckbox.java and GroupableCheckbox.html
Please post it.

On 7/25/07, #Cyrille37# <[EMAIL PROTECTED]> wrote:

Igor Drobiazko a écrit :
> Cyrille,
>
> please provide your sources. Otherwise we have to use our glass sphere
:)
But I do not need to debug my source, I just need more memory ;-) I do
not remember some tapestry syntax.
I think I'm handsaking component's ids in my brain.

Is that syntax definition right ?
    <checkbox id="clientId" jwcid="[EMAIL PROTECTED]" />

Before kiuma's answer I tought :
    <checkbox jwcid="[EMAIL PROTECTED]" />
where Id should be used as clientId. but it's wrong, ins't it ?

thanks
cyrille
>
> On 7/25/07, #Cyrille37# <[EMAIL PROTECTED]> wrote:
>>
>> Andrea Chiumenti a écrit :
>> > ciao,
>> > the fact is that tapestry uses the form     form['componentname'] ,
so
>> > for
>> > Tapestry name is sufficient to specify ur id u should use
>> > id="clientId:yourComponentId".
>> But why the shortest way jwcid="[EMAIL PROTECTED]" does not create
>> a html element with a id="myCompId" ?
>>
>> Perhaps there are not same ids : clientId <> tapestryId ? Is that
>> right ?
>>
>> cyrille
>>
>> >
>> > Hope this helps.
>> >
>> > kiuma
>> >
>> > On 7/25/07, #Cyrille37# <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Hello
>> >> I'm writing my first "complex" component : GroupableCheckbox (not
>> same
>> >> behaviors as CheckboxGroup).
>> >>
>> >> The question is about the component id. To define the id of the
>> >> component I think to use the text before the @ in the jwcid but it
>> does
>> >> work, I had to add an id attribute :
>> >>
>> >> does not write my defined id :
>> >>     <input jwcid="[EMAIL PROTECTED]/GroupableCheckbox" value="L1" />
>> >> render is :
>> >>     <input type="checkbox" name="checkbox" checked="checked"
>> >> id="checkbox" />
>> >>
>> >> does works :
>> >>     <input id="ckL1" jwcid="@MyComps/GroupableCheckbox" value="L2"
/>
>> >> render is :
>> >>     <input type="checkbox" name="ckL1" checked="checked" id="ckL1"
/>
>> >>
>> >>
>> >> What the reason ? The theory ?
>> >> Thanks for your explanation.
>> >> cyrille
>> >>
>>
>



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


Reply via email to