Hi

like so:

class$innerclass.html

example

MyPanel$MyInnerPanel.html

Or just have the panels in their own classes...

If you take a look at the wizard example(wicket library) theres an example there on a wizard with panels..

miro 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 ?

--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to