There is an existing Issue about this.
You could "simulate" an initially visible block today:
..
..
The Delegate component can go anywhere in the page. The Delegate
component "delegates" its rendering to a Block, a Component or an
arbitrary Renderable object.
On Mon, Jun 9, 2008 at 3:27 A
thanks Robert, that it what i needed.
jm.
Robert Zeigler wrote:
>
>
>
> .java:
>
> @Inject
> private Block b1;
>
> @Inject
> private Block b2;
>
> public Bock getBlock() {
>if(true) {
> return b1;
>} else {
> return b2;
>}
> }
>
> Robert
>
> On Jun 9, 2008, at 6/95
.java:
@Inject
private Block b1;
@Inject
private Block b2;
public Bock getBlock() {
if(true) {
return b1;
} else {
return b2;
}
}
Robert
On Jun 9, 2008, at 6/95:51 AM , Janko Muzykant wrote:
hiding the blocks would be easy (excatly as you wrote - it's just
html :),
but i
hiding the blocks would be easy (excatly as you wrote - it's just html :),
but i would like one of the blocks to be _visible_ at the beginning.
unfortunately as for now they are even not rendered so there is no option to
change their styles. sorry for a little bit missleading topic.
jm.
nicho
style="display:none"
its just html / css
On Mon, Jun 9, 2008 at 11:27 AM, Janko Muzykant <[EMAIL PROTECTED]> wrote:
>
> hi, i have a couple of t:block components on my page:
>
> ..
> ..
>
> and i would like initially block "b1" to be visible. how may I do it?
>
> thanks,
> jm.
>
> --
> View
hi, i have a couple of t:block components on my page:
..
..
and i would like initially block "b1" to be visible. how may I do it?
thanks,
jm.
--
View this message in context:
http://www.nabble.com/T5-invisible-t%3Ablock-component-tp17730085p17730085.html
Sent from the Tapestry - User mai