Hi,

I think it a jQuery UI problem. can you test the version of the jQuery UI
you use. 1.8.* or 1.9.*. The parameters have changed between these 2
versions.

Can you also add a breackpoint on the client-side, in order to check if the
JSON is correct.

Thanks.

Manu


2012/11/29 rosecorp <rosecorp.soluti...@gmail.com>

> Hi Guys,
>
> I have a problem with height of first tab using tapestry-jquery accordion
> component. It always gets size of TitleB tab but when I click on TabB and
> back on TabA height of TabA is refreshed and height is rendered correctly.
> Below I've attached sample code how do I do it:
>
> java:
>
> @SetupRender
> public void setup() {
>       jsonObject = new JsonObject().put("clearStyle",
> "true").put("autoHeight","false")
> }
>
> tml:
>
>      <t:jquery.accordion t:id="newAdAccordion" t:panels="TitleA, TitleB"
>                         t:activeElementId="0" t:params="jsonObject">
>                         <p:TitleA>
> aa <br />
> aa <br />
> aa <br />
>                         </p:TitleA>
>                         <p:TitleB>
> bb <br />
> bb <br />
> bb <br />
> bb <br />
> bb <br />
> bb <br />
>                         </p:TitleB>
>
> Any ideas? :)
>
> Thanks in advance...
>
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/tapestry-jquery-accordion-height-problem-tp5718378.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
>
>


-- 
Emmanuel DEMEY
Ingénieur Etude et Développement
ATOS Worldline
+33 (0)6 47 47 42 02
demey.emman...@gmail.com
http://emmanueldemey.fr/

Twitter : @EmmanuelDemey

Reply via email to