Bootstrap Initiative (was: Ofbiz Menu widget)

2014-10-31 Thread Adrian Crum
I think we got disconnected somehow. The Visual Themes list can be displayed with a form widget (used as a list) - so we don't need a menu widget for that. Regarding the main navigation - Due to its unique nature, I think we should create a widget for it: main-navigation/ The widget model

Re: Bootstrap Initiative (was: Ofbiz Menu widget)

2014-10-31 Thread Gavin Mabie
Hi Adrian, Julien All I think we got disconnected somehow. The Visual Themes list can be displayed with a form widget (used as a list) - so we don't need a menu widget for that. No doubt, its doable. I'm sure you would agree that using form widget lists as menus (in the strict sense of the

Re: Bootstrap Initiative (was: Ofbiz Menu widget)

2014-10-31 Thread Gavin Mabie
BTW I find that loading macroLibraries as visual theme resources significantly slows down pageloading! Maybe caching can deal with this problem. Gavin On Fri, Oct 31, 2014 at 3:06 PM, Gavin Mabie kwikst...@gmail.com wrote: Hi Adrian, Julien All I think we got disconnected somehow. The

Re: Bootstrap Initiative (was: Ofbiz Menu widget)

2014-10-31 Thread Gavin Mabie
Adrian Also with regards to using macroLibraries, I find that the htmlScreenMacroLibrary.ftl only works with well-defined screen definitions. I elements such as screenlet-headers/bodies are created in ftl files, then using the htmlScreenMacroLibrary.ftl is insufficient as it get overridden by

Re: Bootstrap Initiative

2014-10-31 Thread Adrian Crum
The visual theme selection screen is not a menu - it is a list of themes that describes details about each theme. It is no different than any other list of items found in OFBiz. The existing menu widget is somewhat dynamic in that you can place conditions on the display of each menu element.

Re: Bootstrap Initiative

2014-10-31 Thread Adrian Crum
Once the code is committed, we can look at fixing the page loading time. Adrian Crum Sandglass Software www.sandglass-software.com On 10/31/2014 1:11 PM, Gavin Mabie wrote: BTW I find that loading macroLibraries as visual theme resources significantly slows down pageloading! Maybe caching can

Re: Bootstrap Initiative

2014-10-31 Thread Adrian Crum
I don't understand what you mean, sorry. Could you state it another way please? I think you mean this: If we create Bootstrap-specific markup using replacement macro libraries, then screens that use FreeMarker templates (instead of screen widgets) will break the Bootstrap layout with their

Re: Bootstrap Initiative

2014-10-31 Thread Julien NICOLAS
Le 31/10/2014 17:08, Adrian Crum a écrit : I don't understand what you mean, sorry. Could you state it another way please? I think you mean this: If we create Bootstrap-specific markup using replacement macro libraries, then screens that use FreeMarker templates (instead of screen widgets)

Re: Bootstrap Initiative

2014-10-31 Thread Gavin Mabie
That's exactly what I meant. Thanks for the prompt replies. On Fri, Oct 31, 2014 at 6:08 PM, Adrian Crum adrian.c...@sandglass-software.com wrote: I don't understand what you mean, sorry. Could you state it another way please? I think you mean this: If we create Bootstrap-specific markup