You could write a mixin to decorate the generated markup however you like
by implementing afterRender(MarkupWriter writer)

MarkupWriter has getElement() to get the current element and also
getDocument()

Cheers,
Lance

On Tuesday, 3 April 2012, pantera9 <eibon.d...@gmail.com> wrote:
> Is there any way at all to hide the DIVs with class t-beaneditor-row that
> only contains hidden input values? These rows are made by the excellent
> beaneditor in tapestry.
>
> The problem is that we style the class t-beaneditor-row with some padding,
> inline-block, width, etc. The rows with hidden fields will then look like
> this:
>
> http://zipdot.net/shared/annoyance.png <-- prettyy, prettyy annoying.
>
> Possible solutions could be:
> - Adding a class like this: <div class="t-beaneditor-row hidden-field">. I
> could then easily hide it with CSS.
> - Hide it with JS after each ajax request (ffffffuuuuuuuu!)
> - Make tapestry somehow _not_ wrap hidden fields with a <div
> class="t-beaneditor-row">
> - Change the class alltogether to 't-beaneditor-hidden' or something
> similar.
>
> FYI: the form uses ajax.
>
> Field reordering is not a fix ;)
>
> Any pointers would be greatly appreciated :) !
>
> --
> View this message in context:
http://tapestry.1045711.n5.nabble.com/Hide-remove-div-class-t-beaneditor-row-with-hidden-inputs-in-a-beaneditor-tp5614469p5614469.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to