I think I know what went
wrong, my EmployeeTree doesn’t have a EmployeeTree(String id)
constructor. (I mean a constructor with only a single argument, the id) If I try it with a Label
component it does initialize successfully because label does have a Label(String
id) constructor. Tom From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johan Compagner you should not look at
the markup exception but the cause of this because i see this line: On 3/21/06, Tom van
Zummeren <[EMAIL PROTECTED]>
wrote: Ok I am using Wicket for a few weeks now, and I gathered a lot of
information about it via the wicker website, wicket-wiki and this mailing list. During this gathering I discovered a lot of
wicket tags. Here is the list of tags I know how to use: <wicket:panel> <wicket:border> <wicket:child> <wicket:extend> <wicket:body> <wicket:head> <wicket:remove> <wicket:message> Now I found another tag called
<wicket:component>, I can't seem to make it work. I tried <wicket:component class=" jteam.wickettest.site.components.EmployeeTree"/>
but no success. Instead, I get the following exception: wicket.markup.MarkupException: Unable to create
Component from wicket tag: Cause:
jteam.wickettest.site.components.EmployeeTree.<init>(java.lang.String). What am I doing wrong here? And are there more tags than this in wicket? And can I create my own wicket tags? Tom |
- Re: [Wicket-user] Some wicket tag questions Igor Vaynberg
- RE: [Wicket-user] Some wicket tag questions Tom van Zummeren
- Re: [Wicket-user] Some wicket tag questions Johan Compagner
- RE: [Wicket-user] Some wicket tag questions Tom van Zummeren