[ 
https://issues.apache.org/jira/browse/OFBIZ-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrian Crum updated OFBIZ-633:
------------------------------

    Attachment: experimental_4.patch

experimental_4.patch builds upon experimental_3.patch. This patch will require 
an ant build in the framework/widget component.

I refactored the UI for the Party Manager "create new" screens - which utilize 
form widgets. So, I had to make some modifications to HtmlFormRenderer.java to 
clean up the messy markup it output. In this patch, the form widget uses the 
default styles in the new maincss.css file - which causes a slight change in 
layout. I'm thinking about making a formWidget CSS class that the form widget 
can default to - which will make the form appearance match a little closer. I 
also added some HTML comments and indentation to help make the markup easier to 
read. Those can be taken back out after the refactoring.

The createparty.ftl file was added to demonstrate what I talked about on the 
dev mailing list. The ftl code is smaller than the corresponding widget code, 
but it requires a new file - which contains the license, etc. I would really 
like to see the widgets support HTML "snippets" so that little HTML code 
fragments like the one in createparty.ftl can be put right in the widget.

As with the previous experimental_x patches, it's best to spend time playing 
with the UI on the refactored pages and look at the markup. Change your 
browser's default font, resize the browser window, etc to see how well the UI 
behaves.

URLs of the refactored pages:

https://127.0.0.1:8443/partymgr/control/findparty
https://127.0.0.1:8443/partymgr/control/createnew
https://127.0.0.1:8443/partymgr/control/editpartygroup?create_new=Y
https://127.0.0.1:8443/partymgr/control/editperson?create_new=Y
https://127.0.0.1:8443/partymgr/control/NewCustomer
https://127.0.0.1:8443/partymgr/control/NewProspect
https://127.0.0.1:8443/partymgr/control/NewEmployee

This latest patch demonstrates the direction I'd like to see things go in. I 
probably won't submit any more experimental patches unless I come across 
something truly noteworthy.


> Remove redunant style decarations from maincss.css
> --------------------------------------------------
>
>                 Key: OFBIZ-633
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-633
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Sub-task
>            Reporter: Chris Howe
>            Priority: Minor
>         Attachments: experimental_1.patch, experimental_2.patch, 
> experimental_3.patch, experimental_4.patch, maincss.css
>
>
> This will be used to contain comments regarding the consolidated maincss.css 
> file that are rather unrelated to the combining of maincss.css and 
> tabstyles.css

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to