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

Bilgin Ibryam commented on OFBIZ-1714:
--------------------------------------

Jacques, thanks for your interest in this issue.

When I prepared this patch, I wasn't ready with description(can be used also as 
tooltips) labels and that's why added only one label for testing - 
HumanResourceApplication label. But when the patch got committed the 
description field wasn't added (missed) to humanres ofbiz-component.xml file. 
That's why right now all the tooltips are the same as title attribute.
I can add description labels, and the description attributes, but then someone 
with framework access has to commit it.(This is the reason for me, later not to 
add the labels).

If you want to add tooltip for HR component, here is the snippet from the patch 
for it:

Index: applications/humanres/ofbiz-component.xml
===================================================================
--- applications/humanres/ofbiz-component.xml   (revision 638810)
+++ applications/humanres/ofbiz-component.xml   (working copy)
@@ -33,6 +33,7 @@
     
     <webapp name="humanres"
         title="HR"
+        description="HumanResourceApplication"
         server="default-server"
         location="webapp/humanres"
         base-permission="OFBTOOLS,HUMANRES"

Yes, ofbiz-component.xsd should be updated, but I think that I don't have 
permissions there.

You can use the position attribute with numbers/indexes and this way it should 
work the same for other languages.
If the position attribute is not used, the applications are sorted by title 
label key (not name) .

P.S. If we put position attribute for all the applications, their order will 
not change for different languages.

> New attributes to ofbiz-component.xml
> -------------------------------------
>
>                 Key: OFBIZ-1714
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1714
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Bilgin Ibryam
>            Assignee: Jacopo Cappellato
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: menu.patch
>
>
> Hi,
> The discussion about this issue is here: 
> http://www.nabble.com/new-attributes-for-ofbiz-component.xml---to15993451.html
> This is already working but needs some style improvements for the footer menu.
> Please test and review. Comments are  welcome.
> Thanks,
> Bilgin

-- 
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