Hi,
Is it possible to modify tag attribute (eg. add a CSS class) of
component which has set renderBodyOnly flag to true?
When using component.add(new AttributeModifier(...)) it has no effect,
because a tag in which this class attribute is appended is not
rendered in HTML (because of
Hi,
So you want to not have a (because this is what
.setRenderBodyOnly(true) does) and in the same time you want to set a
class an that non-existing tag ?!
The easiest way is to remove the call to .setRenderBodyOnly(true).
On Wed, Feb 22, 2012 at 11:38 AM, Daniel Stoch daniel.st...@gmail.com
No. I want to have a. When you use this LinkContainer from my
example in HTML like:
div wicket:id=link
/div
It will be rendered as:
a wicket:id=link.../a
So any attributes modified using behavior will disappear.
But if LinkContainer will not have setRenderBodyOnly(true), the the
corresponding
On Wed, Feb 22, 2012 at 12:01 PM, Daniel Stoch daniel.st...@gmail.com wrote:
No. I want to have a. When you use this LinkContainer from my
example in HTML like:
div wicket:id=link
/div
It will be rendered as:
a wicket:id=link.../a
So any attributes modified using behavior will disappear.
On Wed, Feb 22, 2012 at 12:11 PM, Martin Grigorov mgrigo...@apache.org wrote:
On Wed, Feb 22, 2012 at 12:01 PM, Daniel Stoch daniel.st...@gmail.com wrote:
No. I want to have a. When you use this LinkContainer from my
example in HTML like:
div wicket:id=link
/div
It will be rendered as:
a
On Wed, Feb 22, 2012 at 12:31 PM, Martin Grigorov mgrigo...@apache.org wrote:
On Wed, Feb 22, 2012 at 12:20 PM, Daniel Stoch daniel.st...@gmail.com wrote:
On Wed, Feb 22, 2012 at 12:11 PM, Martin Grigorov mgrigo...@apache.org
wrote:
On Wed, Feb 22, 2012 at 12:01 PM, Daniel Stoch