RE: html code in component class

2008-10-10 Thread Seven Corners
Message- From: miro [mailto:[EMAIL PROTECTED] Sent: Fri 10/10/2008 12:20 AM To: users@wicket.apache.org Subject: Re: html code in component class here the html again spant wicket:id=custmenu ult lit wicket:id=repater

Re: html code in component class

2008-10-10 Thread James Carman
@wicket.apache.org Subject: Re: html code in component class here the html again spant wicket:id=custmenu ult lit wicket:id=repater /lit /ult /spant hml for repeater

Re: html code in component class

2008-10-09 Thread James Carman
Sure. Look at what the Label class does. It doesn't have an HTML template. On Thu, Oct 9, 2008 at 1:49 PM, miro [EMAIL PROTECTED] wrote: like I have very little html and I dont want a write a new .html file and just in my component i want to override some method which returns html as

Re: html code in component class

2008-10-09 Thread miro
the label appears complex i looking for a simple solution My custom componentuses wicket components internally here is an example protected class CustomLinkComponent extends WebMarkupContainer { String displayName; Class clazz;

Re: html code in component class

2008-10-09 Thread James Carman
What's wrong with using a panel? If this is to be done in only one class, have you thought about using a Fragment? On Thu, Oct 9, 2008 at 2:28 PM, miro [EMAIL PROTECTED] wrote: the label appears complex i looking for a simple solution My custom componentuses wicket components internally

Re: html code in component class

2008-10-09 Thread miro
Using panel I have to write a .html file which I dont want to do becasue my html code is very little just a line , next option is Fragment but this is not clear, neither the api doc nor the wicket examples please can you give me small example using fragment ? jwcarman wrote: What's

Re: html code in component class

2008-10-09 Thread Peter Ertl
If it's just a line use Label Am 09.10.2008 um 21:01 schrieb miro: Using panel I have to write a .html file which I dont want to do becasue my html code is very little just a line , next option is Fragment but this is not clear, neither the api doc nor the wicket examples please can

Re: html code in component class

2008-10-09 Thread miro
Its not just label here is the html ul li wicket:id=repater /li /ul hml for repeater

Re: html code in component class

2008-10-09 Thread miro
here the html again spant wicket:id=custmenu ult lit wicket:id=repater /lit /ult /spant hml for repeater spant

RE: html code in component class

2008-10-09 Thread Serkan Camurcuoglu
: miro [mailto:[EMAIL PROTECTED] Sent: Fri 10/10/2008 12:20 AM To: users@wicket.apache.org Subject: Re: html code in component class here the html again spant wicket:id=custmenu ult lit wicket:id=repater