[ 
https://issues.apache.org/jira/browse/OFBIZ-10164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16343459#comment-16343459
 ] 

James Yong commented on OFBIZ-10164:
------------------------------------

Much appreciate the various feedbacks. 

The plan is to create splitter tag to aid in adding splitter(s) like those seen 
at https://nathancahill.github.io/Split.js/.
Having a fixed header & footer is one common requirement I have seen on the use 
of splitter, and made some effort to achieve that in the example at 
CommonScreens.xml.
As a result more changes is done than what a splitter should be doing.

The splitter can and should do more than just an horizontal split, and hope to 
explore more scenarios 1st. Hopefully I can standardise on the required CSS for 
the various possible splits. That said I am also fine with removing the 
splitter tag altogether if doing entirely in the theme make better sense. Maybe 
will explore these, next weekend.

If you got more time with the applied patch, can you look into the usability 
aspects of having fixed header and footer. 
Thinking if we can allow developer to turn on or off the fixed header / footer 
via a property.  Maybe another JIRA issue for this...

> Splitter Widget
> ---------------
>
>                 Key: OFBIZ-10164
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10164
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: James Yong
>            Assignee: James Yong
>            Priority: Minor
>             Fix For: Trunk
>
>         Attachments: OFBIZ-10164.patch, OFBIZ-10164.patch, OFBIZ-10164.patch, 
> horizontal.png, vertical.png
>
>
> A new splitter widget that will use a tag named 'splitter'.
> This splitter tag has the following attributes:
> a. sizes = [25, 75] where the containers within will be splitted with a ratio 
> of 25% and 75%
> b. parentId which is the ID of the parent container
> c. direction = vertical or horizonal (default)
> The splitter tag can only contains container(s) as immediate child.
> Using the library from http://nathancahill.github.io/Split.js/ which is 
> licensed under MIT license.
> Update on 20180128:
> 1) The patch comes with an example where you can view the splitter at 
> https://localhost:8443/catalog/control/main
> 2) No need to add square brackets when defining sizes.
> 3) parentId attribute is removed,



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to