Yes, the value of the checkbox doesn't matter, as long as the input name 
is unique.

Sven

Timo Stamm wrote:

>Johan Compagner schrieb:
>  
>
>>what whould happen if you have a checkgroup inside a listview again?
>>how would you differentiate the 2 or 3 checkgroups values?
>>    
>>
>
>You don't have to. The values are separate because they are sent using 
>the different input names of the checkgroups.
>
>I tripped over this, too :)
>
>
>Timo
>
>
>  
>
>>On 6/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>    
>>
>>>Hello,
>>>
>>>I'm working on some javascript functionality in conjunction with
>>>CheckGroup/Check components.
>>>
>>>For this I'd really appreciate if Check would render a 'shorter' value
>>>attribute, e.g. instead of:
>>>
>>>  <input value="2:form:bar:foos:0:select" type="checkbox">
>>>
>>>... just the relevant part of the path from the CheckGroup ("bar") to the
>>>Check:
>>>
>>>  <input value="foos:0:select" type="checkbox">
>>>
>>>Makes a leaner HTML with less details about the full component hierarchy.
>>>The change is trivial, just move the substring handling from CheckGroup
>>>into Check:
>>>
>>>CheckGroup.java, line 125:
>>>//path = path.substring(getPath().length() + 1);
>>>
>>>Check.java, line 91:
>>>tag.put("value", path.substring(group.getPath().length() + 1));
>>>
>>>I'm working with Wicket 1.2 and the same could be applied to
>>>RadioGroup/Radio as well.
>>>
>>>Thanks
>>>
>>>Sven
>>>
>>>
>>>_______________________________________________
>>>Wicket-user mailing list
>>>[email protected]
>>>https://lists.sourceforge.net/lists/listinfo/wicket-user
>>>
>>>      
>>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Wicket-user mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/wicket-user
>>    
>>
>
>
>
>_______________________________________________
>Wicket-user mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>  
>




_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to