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
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)
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
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
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
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).
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
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);
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
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
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
> 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
-
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
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
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'
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
16 matches
Mail list logo