You need to add the container to the panel:
add(postDomainContainer);
And you need to add the form to the container instead of the panel
itself:
postDomainContainer.add(commentForm);
Your component hierarchy must match the tag hierarchy.
Hope this helps
Carl-Eric
www.wicketbuch.de
On Sun,
Hi Martin,
Thank you for your help, but my problem is that i need to put my properties
file in folder that is not next to the HTML and Java files.
i need to change the look-up algorithm of wicket.
Any body know how to do it?
Thanks!
--
View this message in context:
I did...actually this is the code:
public SubmitCommentPanel(String id, final ListItemPostDomain listItem,
final UserDomain userDomain) {
super(id);
// defining container for refreshing list of posts
* final
Why do you need to change that? What is your usecase?
-Tom
On 20.05.2012 at 18:47 oliver.stef wrote:
Hi Martin,
Thank you for your help, but my problem is that i need to put my properties
file in folder that is not next to the HTML and Java files.
i need to change the look-up