Ok, here are new details for this.
I was using following form:
<from wicket:id="roleForm">
<input wicket:id="roleName">
<span wicket:id="palette>palette</span>
</form>
and java source
EditRoleForm(String str, Role role) {
super(str, new CompoundPropertyMode(role)); ***
add(new RequiredTextField("roleName");
add(new Palette(...);
}
and
class Role {
private int roleId;
private String roleName;
}
Found out that, if I use in line *** instead new PropertyModel(role,
"roleName") it works as before.
What I was doing wrong? And why old snapshot accepted my error?
I'm sorry, I did not get to debugging yet, as soon as I'll have some extra
time, I'll do so.
Of course, until someone says, hey it is not worth it ;)
Вы писали Saturday, June 16, 2007, 1:23:04 PM:
> On Fri, 15 Jun 2007, shumbola wrote:
>> A few days ago I've upgraded my project to the 1.3 snapshot from June 12.
>> Before I was using a one from May 10. Today I noticed that my page which
>> uses the Palette component stopped working. Anytime I launch that page it
> It's easier to diagnose your problem if you provide the
> complete source code and markup. But could it be that there
> has been a change in the component hierarchy of Palette, and
> your own markup is now incompatible with it?
> We always use a snapshot of the current day and have
> extensive JUnit tests (covering about 90% of the lines).
> This makes it a lot easier to notice and fix this kind of
> problems, as we can easily see from commits / dev / user
> mailing lists what is going on, and just diff the whole
> wicket source code when needed. A couple of days of diff is
> perfectly readable, but one month not.
> - Timo
--
shumbola mailto:[EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user