You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Martin Makundi <ma...@koodaripalvelut.com> on 2008/06/11 15:29:43 UTC

setRenderBodyOnly(true) - something more powerful?

Hi!

I have had to tweak some markup. I have complex tables so my markup is
as follows:

<table>
<thead.../>
<tbody wicket:id="radioGroup1"/>
<tbody wicket:id="radioGroup2"/>
<div wicket:id="rowListView">
<tr wicket:id="rowspanListView">
....
</// close tags ofcourse>

I would very much like to hide the excess <div> and <tbody> tags
completely from the markup seen by the browser. However, if I set
setRenderBodyOnly(true) for the specific components, the tags will be
visible as "<div>" and "<tbody>".

Only the attributes are not rendered.

Is there some way to hide completely the markup of the excess
elements? Hurts validation. I cannot just set visibility to false
because the elements are nested and I want the content to be visible
:)

**
Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: setRenderBodyOnly(true) - something more powerful?

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Done :)

2008/6/11 Igor Vaynberg <ig...@gmail.com>:
> it is a wiki....
>
> -igor
>
> On Wed, Jun 11, 2008 at 7:00 AM, Martin Makundi
> <ma...@koodaripalvelut.com> wrote:
>> Tnx! Good point: http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html
>>
>> I think this page should be strongly cross-referenced from markup
>> inheritance tutorial ;) There's a lot of useful stuff!
>>
>> **
>> Martin
>>
>> 2008/6/11 Alex Jacoby <ae...@isr.umich.edu>:
>>> Have you tried the <wicket:container> tag?
>>>
>>> On Jun 11, 2008, at 9:29 AM, Martin Makundi wrote:
>>>
>>>> Hi!
>>>>
>>>> I have had to tweak some markup. I have complex tables so my markup is
>>>> as follows:
>>>>
>>>> <table>
>>>> <thead.../>
>>>> <tbody wicket:id="radioGroup1"/>
>>>> <tbody wicket:id="radioGroup2"/>
>>>> <div wicket:id="rowListView">
>>>> <tr wicket:id="rowspanListView">
>>>> ....
>>>> </// close tags ofcourse>
>>>>
>>>> I would very much like to hide the excess <div> and <tbody> tags
>>>> completely from the markup seen by the browser. However, if I set
>>>> setRenderBodyOnly(true) for the specific components, the tags will be
>>>> visible as "<div>" and "<tbody>".
>>>>
>>>> Only the attributes are not rendered.
>>>>
>>>> Is there some way to hide completely the markup of the excess
>>>> elements? Hurts validation. I cannot just set visibility to false
>>>> because the elements are nested and I want the content to be visible
>>>> :)
>>>>
>>>> **
>>>> Martin
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: setRenderBodyOnly(true) - something more powerful?

Posted by Igor Vaynberg <ig...@gmail.com>.
it is a wiki....

-igor

On Wed, Jun 11, 2008 at 7:00 AM, Martin Makundi
<ma...@koodaripalvelut.com> wrote:
> Tnx! Good point: http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html
>
> I think this page should be strongly cross-referenced from markup
> inheritance tutorial ;) There's a lot of useful stuff!
>
> **
> Martin
>
> 2008/6/11 Alex Jacoby <ae...@isr.umich.edu>:
>> Have you tried the <wicket:container> tag?
>>
>> On Jun 11, 2008, at 9:29 AM, Martin Makundi wrote:
>>
>>> Hi!
>>>
>>> I have had to tweak some markup. I have complex tables so my markup is
>>> as follows:
>>>
>>> <table>
>>> <thead.../>
>>> <tbody wicket:id="radioGroup1"/>
>>> <tbody wicket:id="radioGroup2"/>
>>> <div wicket:id="rowListView">
>>> <tr wicket:id="rowspanListView">
>>> ....
>>> </// close tags ofcourse>
>>>
>>> I would very much like to hide the excess <div> and <tbody> tags
>>> completely from the markup seen by the browser. However, if I set
>>> setRenderBodyOnly(true) for the specific components, the tags will be
>>> visible as "<div>" and "<tbody>".
>>>
>>> Only the attributes are not rendered.
>>>
>>> Is there some way to hide completely the markup of the excess
>>> elements? Hurts validation. I cannot just set visibility to false
>>> because the elements are nested and I want the content to be visible
>>> :)
>>>
>>> **
>>> Martin
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: setRenderBodyOnly(true) - something more powerful?

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Tnx! Good point: http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html

I think this page should be strongly cross-referenced from markup
inheritance tutorial ;) There's a lot of useful stuff!

**
Martin

2008/6/11 Alex Jacoby <ae...@isr.umich.edu>:
> Have you tried the <wicket:container> tag?
>
> On Jun 11, 2008, at 9:29 AM, Martin Makundi wrote:
>
>> Hi!
>>
>> I have had to tweak some markup. I have complex tables so my markup is
>> as follows:
>>
>> <table>
>> <thead.../>
>> <tbody wicket:id="radioGroup1"/>
>> <tbody wicket:id="radioGroup2"/>
>> <div wicket:id="rowListView">
>> <tr wicket:id="rowspanListView">
>> ....
>> </// close tags ofcourse>
>>
>> I would very much like to hide the excess <div> and <tbody> tags
>> completely from the markup seen by the browser. However, if I set
>> setRenderBodyOnly(true) for the specific components, the tags will be
>> visible as "<div>" and "<tbody>".
>>
>> Only the attributes are not rendered.
>>
>> Is there some way to hide completely the markup of the excess
>> elements? Hurts validation. I cannot just set visibility to false
>> because the elements are nested and I want the content to be visible
>> :)
>>
>> **
>> Martin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: setRenderBodyOnly(true) - something more powerful?

Posted by Alex Jacoby <ae...@isr.umich.edu>.
Have you tried the <wicket:container> tag?

On Jun 11, 2008, at 9:29 AM, Martin Makundi wrote:

> Hi!
>
> I have had to tweak some markup. I have complex tables so my markup is
> as follows:
>
> <table>
> <thead.../>
> <tbody wicket:id="radioGroup1"/>
> <tbody wicket:id="radioGroup2"/>
> <div wicket:id="rowListView">
> <tr wicket:id="rowspanListView">
> ....
> </// close tags ofcourse>
>
> I would very much like to hide the excess <div> and <tbody> tags
> completely from the markup seen by the browser. However, if I set
> setRenderBodyOnly(true) for the specific components, the tags will be
> visible as "<div>" and "<tbody>".
>
> Only the attributes are not rendered.
>
> Is there some way to hide completely the markup of the excess
> elements? Hurts validation. I cannot just set visibility to false
> because the elements are nested and I want the content to be visible
> :)
>
> **
> Martin


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org