ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Crum <adrian.c...@yahoo.com>
Subject Re: Collapsible Panels using ftl
Date Sun, 09 Jan 2011 16:07:06 GMT
It might help to look at the request parameters and page markup of a collapsible screenlet
generated by the screen widget.

From what I recall, the intially collapsed state is controlled by the absence of the collapsed
parameter.

Why don't you convert the screenlets to widgets? That might make the process easier.

-Adrian

--- On Sun, 1/9/11, Shereen <sheri_ashraf@hotmail.com> wrote:

> From: Shereen <sheri_ashraf@hotmail.com>
> Subject: Collapsible Panels using ftl
> To: user@ofbiz.apache.org
> Date: Sunday, January 9, 2011, 4:45 AM
> 
> Hi All
> In the order view screen which includes:
> orderinfo.ftl
> ordershippinginfo.ftl
> ordercontactinfo.ftl  ..etc
> 
> I want to make these screenlets collapsible just like the
> ordershippinginfo.ftl
> 
> I've seen how it works and succeeded but my problem is how
> to make the
> default "Collapsible" not Expandable
> can anyone please help?
> this is the javascript function I use
>       <li class="expanded"> &nbsp;
> </li>
> 
> where order Action1 is the screenlet id
> I've tried to reverse the order of Expand and Collapse but
> nothing worked
> I've tried some things
> does anyone know how to make default collapsed and not
> expanded
> -- 
> View this message in context: http://ofbiz.135035.n4.nabble.com/Collapsible-Panels-using-ftl-tp3205860p3205860.html
> Sent from the OFBiz - User mailing list archive at
> Nabble.com.
> 


      

Mime
View raw message