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