You seem to be asking the same question (or very similarly-related questions) over and over again. How about if you just explain your situation/problem to the group and see if they can help you come up with the best approach? It appears as if you might be spinning your wheels here.
On Fri, Oct 10, 2008 at 10:07 AM, miro <[EMAIL PROTECTED]> wrote: > > I have custom components > > protected class CustomMenuComponent extends Panel { > private String headerlabel; > private RepeatingView repeatingView = new > RepeatingView("repater"); > > public CustomMenuComponent() { > super("custmenu"); > add(repeatingView); > } > > protected void addCustomLink(CustomLinkComponenet > customLinkComponenet){ > repeatingView.add(customLinkComponenet); > } > > protected Label getHeader(){ > return new Label("hl",headerlabel); > } > } > > protected class CustomLinkComponenet extends Panel { > String displayName; > Class clazz; > public CustomLinkComponenet(String displayName, Class clazz) { > super("customlink"); > this.displayName=displayName; > this.clazz=clazz; > add(getBookmarkablePageLink()); > add(getDisplayNameLabel()); > } > > protected BookmarkablePageLink getBookmarkablePageLink(){ > return new BookmarkablePageLink("link", clazz); > } > > protected Label getDisplayNameLabel(){ > return new Label("lbl",displayName); > } > } > html for component CustomMenuComponent > > <span-TAG wicket:id="custmenu"> > <ul-TAG> > <li-TAG wicket:id="repater"></li-TAG> > </ul-TAG> > </span-TAG> > html for component CustomLinkComponenet > > <span-TAG wicket:id="customlink"> > <A-TAG href="#" > wicket:id="link"> > <label-TAG > wicket:id="lbl"></label-TAG> > </A-TAG> > </span-TAG> > please help me with the options of specifying this html for the components > . I want to tie html along with the components in the java file itself is > it possible ? > -- > View this message in context: > http://www.nabble.com/html-along-with-the-component-tp19918507p19918507.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]