RogerV wrote:
> 
> 
> The first is a minor niggle. The default behaviour when the jsp is
> displayed for the first time is for the first accordionItem to be open.
> I'd like the initial state to be all closed.
> 

OK - setting <sj:accordion active="false" collapsible="true"/> seems to take
care of this one.


RogerV wrote:
> 
> The second is more of a problem. In the generated html, the tag is
> assigning a style="height:1068px" to each div which is far far too big.
> Where is this being set? Ideally, I'd like each div to size itself
> according to the size of the content (which in my case varies considerably
> from "tab" to "tab"). Is this possible?
> 

The autoHeight attribute seems relevant here, but doesn't appear to behave
any differently whether is set "true" or "false", all the panels are sized
the same size and way way too big. Anyone know what
I'm missing?



-- 
View this message in context: 
http://old.nabble.com/%3Csj%3Aaccordion%3E-tag-questions-tp28534558p28537341.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to