(OFBIZ-10601)
To improve theme management and provide better tools for new themes, we implement a method to obtain the main menu of a webapp.
Instead of just managing a menu, we extend the functionality by offering a method to expose a summary of the webapp, to simplify the navigation.
For this we add a new attribute on webapp definition app-shortcut-screen :
<webapp name="mywebapp"
...
app-shortcut-screen="component://mycomponent/widget/CommonScreens.xml#ShortcutApp"
...
/>
The idea is to define a new purpose screen *Shortcut* that contains what defines a webapp when an action or navigation has been requested. With this screen you can load a menu, a search, a complex description and use all screen powerfulness to resolve what displaying and support by theming
<screen name="ShortcutApp">
<section>
<actions>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<decorator-screen name="ShortcutDecorator" location="component://common/widget/CommonScreens.xml">
<decorator-section name="body">
<include-menu name="MyShortcutAppBar" location="component://mycomponent/widget/CommonMenus.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
Each component are self-sufficient to define what shortcuts to display without framework change or knowledge about other component.
Each theme can implement and customize the display rendering at will.
To illustrate an example of implementation we set sub menu for each webapp defined on applications and exploit it on bluelight theme.
Thanks for Dennis Balkir, Jacques Leroux, Leila Mekika and Julien Nicolas for their involvement
(OFBIZ-11587)
Add <set field=helpAnchor... in CommonScreens for application where it's
not present. With this commit all OFBiz application help go to the html
generated from asciidoc files
This is the 2nd step: puts back the original names, so it will be transparent for remaining references in xml catalogs, Java code, etc.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749489 13f79535-47bb-0310-9956-ffa450edef68
This is a 1st step, in a 2nd I will put back the original names, so it will be transparent for remaining reference in xml catalogs, Java code, etc.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749488 13f79535-47bb-0310-9956-ffa450edef68
value(defaultOrganizationPartyId) before it is set. That variable was
being set by the decorator, which hadn't yet run when the initial
actions were being run for the main screens in these webapps.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918769 13f79535-47bb-0310-9956-ffa450edef68
Moved TabBar Menus from the "body" decorator-section to the "pre-body" decorator section.
This makes better the rendering of themes such as Dropping Crumbs.
Removed several redundant <section><widget> tags also
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883139 13f79535-47bb-0310-9956-ffa450edef68
Modify AR/AP main screen to be a portal page. Show list of "Past Due Invoices" and "Invoices Due Soon" in different portlets in AR/AP.
Thanks Anurag for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@880795 13f79535-47bb-0310-9956-ffa450edef68
Steps to generate error:
1) Go to AP/AR.
2) Select Invoice.
3) Search Invoices.
4) Select an Invoice.
5) Click on Acctg Trans Id
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829392 13f79535-47bb-0310-9956-ffa450edef68
For now jira issue is very slow so I am not able to assign this issue to myself since last 2 hours.
I will close issue by tomorrow.
Thanks Brajesh for your contribution on this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820259 13f79535-47bb-0310-9956-ffa450edef68
Following thing is covered in this patch:
-- functionality to cancel payment group and expire association with payment.
Thanks Awdesh & Rishi for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792526 13f79535-47bb-0310-9956-ffa450edef68
Following things are covered in this patch:
– Add new tab with name overview for payment group.
– Added forms on overview screen.
Thanks Awdesh for your contribution on this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792213 13f79535-47bb-0310-9956-ffa450edef68
Following things are covered in this section:
– Added running total functionality .
– Improvement in existing code and service logic
Thanks Awdesh, Rishi, Sumit & Anil for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791883 13f79535-47bb-0310-9956-ffa450edef68
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)
Of course this effort to remove trailing spaces has no functional implications.
Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {
So these changes are also in this commit, should not be a problem anyway.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68