Re: [Wicket-user] component ids in the html without output?

2005-07-23 Thread Erik van Oosten
It should be: listItem.setRenderBodyOnly(true); as the list items are the components that you are actually repeating / rendering. Eelco Ah yes, that works splendidly. Thanks, Erik. --- SF.Net email is sponsored by: Discover Easy L

Re: [Wicket-user] component ids in the html without output?

2005-07-22 Thread Eelco Hillenius
Erik van Oosten wrote: It does not work. I still see the spans in my output. Is it a bug? I am using wicket-kickstart 1.01. This is my code: ListView menuComponent = new ListView("menuItems", menuItems) { @Override protected void populateItem(ListItem listItem)

Re: [Wicket-user] component ids in the html without output?

2005-07-22 Thread Erik van Oosten
Igor Vaynberg schreef: In your MenuItems component call setRenderBodyOnly(true) Igor It does not work. I still see the spans in my output. Is it a bug? I am using wicket-kickstart 1.01. This is my code: ListView menuComponent = new ListView("menuItems", menuItems) { @Ov

Re: [Wicket-user] component ids in the html without output?

2005-07-22 Thread Erik van Oosten
Hmm.. why don't you use just _title The spans in the div are not necessary. I shortened the original HTML for the list. Forgot this one. --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple

Re: [Wicket-user] component ids in the html without output?

2005-07-22 Thread Matej Knopp
Eelco Hillenius wrote: I want to keep the children. Here is what I have: wicket:id="title">_title more stuff Hmm.. why don't you use just _title The spans in the div are not necessary. I think so, it's

Re: [Wicket-user] component ids in the html without output?

2005-07-22 Thread Eelco Hillenius
I want to keep the children. Here is what I have: wicket:id="title">_title more stuff Hmm.. why don't you use just _title The spans in the div are not necessary. I think so, it's the repeater (ListView).

RE: [Wicket-user] component ids in the html without output?

2005-07-22 Thread Igor Vaynberg
Glad to be of help. Back to meetings for me ;( Later Igor > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Eelco Hillenius > Sent: Friday, July 22, 2005 1:16 PM > To: wicket-user@lists.sourceforge.net > Subject: Re: [Wicke

RE: [Wicket-user] component ids in the html without output?

2005-07-22 Thread Igor Vaynberg
ts.sourceforge.net > Subject: Re: [Wicket-user] component ids in the html without output? > > Igor Vaynberg wrote: > > >>1) spans shouldn't normally mess up your layout. Afaik, > spans may not > >>effect layout unless you tell them to (like attaching a class);

Re: [Wicket-user] component ids in the html without output?

2005-07-22 Thread Matej Knopp
Eelco Hillenius wrote: Erik van Oosten wrote: I want to keep the children. Here is what I have: wicket:id="title">_title more stuff Hmm.. why don't you use just _title The spans in the div are not necessar

Re: [Wicket-user] component ids in the html without output?

2005-07-22 Thread Eelco Hillenius
Igor Vaynberg wrote: 1) spans shouldn't normally mess up your layout. Afaik, spans may not effect layout unless you tell them to (like attaching a class); Spans can effect your layout if you are using css selectors. Ie div.menu span { color: green; } Yeah, which is kind of telling

Re: [Wicket-user] component ids in the html without output?

2005-07-22 Thread Eelco Hillenius
Oh yeah. How could I forgot that; used it several times this week allready! Thanks Igor, Eelco Igor Vaynberg wrote: In your MenuItems component call setRenderBodyOnly(true) Igor --- SF.Net email is sponsored by: Discover Easy Linux M

RE: [Wicket-user] component ids in the html without output?

2005-07-22 Thread Igor Vaynberg
> 1) spans shouldn't normally mess up your layout. Afaik, spans > may not effect layout unless you tell them to (like attaching > a class); Spans can effect your layout if you are using css selectors. Ie div.menu span { color: green; } Igor -

RE: [Wicket-user] component ids in the html without output?

2005-07-22 Thread Igor Vaynberg
icket-user] component ids in the html without output? > > Eelco Hillenius schreef: > > >> I tried with > >> this.getSettings().setStripWicketTags(true); in the application > >> constructor. However, there is still a element rendered. I > >> want t

Re: [Wicket-user] component ids in the html without output?

2005-07-22 Thread Eelco Hillenius
Erik van Oosten wrote: I want to keep the children. Here is what I have: wicket:id="title">_title more stuff In the output I need to get rid of the span with wicket:id="menuItems". I do need to get the two divs i

Re: [Wicket-user] component ids in the html without output?

2005-07-22 Thread Erik van Oosten
Eelco Hillenius schreef: I tried with this.getSettings().setStripWicketTags(true); in the application constructor. However, there is still a element rendered. I want to get rid of those as well as it plays havoc with my css styles. Not sure whether I understand you, but you can 'turn off'

Re: [Wicket-user] component ids in the html without output?

2005-07-22 Thread Eelco Hillenius
Erik van Oosten wrote: How can I put a component id in the html file without rendering any output? I tried with this.getSettings().setStripWicketTags(true); in the application constructor. However, there is still a element rendered. I want to get rid of those as well as it plays havoc wit