Forum OpenACS Development: Re: nested group problem

Collapse
4: Re: nested group problem (response to 1)
Posted by Peter Alberer on
Unfortunately nesting group tags is currently not working. The fastest way to get what you want is probably to create the whole html-part in tcl. Of course you could take a look at the template-procs and try to get nested group tags working, but i think that could be rather difficult.
Collapse
5: Re: nested group problem (response to 4)
Posted by Gerald Stermsek on
Thanks for your comment, I already did it in tcl

Regards,
Gerald

Collapse
6: Re: nested group problem (response to 5)
Posted by Tilmann Singer on
Nested group tags work fine for me.

You propably meant that nested multirows don't work, which is true. They don't need to work either, that's what the group tag is for!

Collapse
7: Re: nested group problem (response to 6)
Posted by Gerald Stermsek on
tcl:
multirow create test a b c
multirow append test feedback shirt blue
multirow append test rating shirt blue

adp:
@test.a@<br>
<group column="a">
@test.b@<br>
<group column="b">
@test.c@<br>
</group>
</group>
</group>

delivers:

feedback
shirt
blue
blue

I want:

feedback
shirt
blue
rating
shirt
blue

when in <group column="b"> the template processer
does not recognize the change in column a and
prints two times column c

that's my problem.
I did it in tcl and passed it in onevalue, by the way

regards,
Gerald