new attributes for ofbiz-component.xml ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

new attributes for ofbiz-component.xml ?

Bilgin Ibryam
Hi all,

I'd like to add two new attributes to webapp element in ofbiz-component.xml
The first one is description and could be used for a longer (more detailed) title. Then it can be used for title attribute in the main menu link, so for example when the user moves the mouse on HR link, the title will appear like "Human Resource Application".

The second attribute is position (or sequence) and could be used for positioning the applications on the main menu. Then everyone can order the applications as needed(not only alphabetically). There was already someone asking about this feature if i remember right.

Is this a good idea and acceptable for OFBiz?

I'll appreciate comments from the community.

Bilgin
Reply | Threaded
Open this post in threaded view
|

Re: new attributes for ofbiz-component.xml ?

Sumit Pandit-3
Bilgin,
It is a great idea.
We can use Enumeration for second option.

Regards
Sumit Pandit.
Bilgin Ibryam wrote:

> Hi all,
>
> I'd like to add two new attributes to webapp element in ofbiz-component.xml
> The first one is description and could be used for a longer (more detailed)
> title. Then it can be used for title attribute in the main menu link, so for
> example when the user moves the mouse on HR link, the title will appear like
> "Human Resource Application".
>
> The second attribute is position (or sequence) and could be used for
> positioning the applications on the main menu. Then everyone can order the
> applications as needed(not only alphabetically). There was already someone
> asking about this feature if i remember right.
>
> Is this a good idea and acceptable for OFBiz?
>
> I'll appreciate comments from the community.
>
> Bilgin
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: new attributes for ofbiz-component.xml ?

Enrique Ruibal
Very good, common sense approach! +1

-Enrique R.

Sumit Pandit wrote:

> Bilgin,
> It is a great idea.
> We can use Enumeration for second option.
>
> Regards
> Sumit Pandit.
> Bilgin Ibryam wrote:
>> Hi all,
>>
>> I'd like to add two new attributes to webapp element in
>> ofbiz-component.xml
>> The first one is description and could be used for a longer (more
>> detailed)
>> title. Then it can be used for title attribute in the main menu link,
>> so for
>> example when the user moves the mouse on HR link, the title will
>> appear like
>> "Human Resource Application".
>>
>> The second attribute is position (or sequence) and could be used for
>> positioning the applications on the main menu. Then everyone can
>> order the
>> applications as needed(not only alphabetically). There was already
>> someone
>> asking about this feature if i remember right.
>>
>> Is this a good idea and acceptable for OFBiz?
>>
>> I'll appreciate comments from the community.
>>
>> Bilgin
>>
>>  
>
>

Reply | Threaded
Open this post in threaded view
|

Re: new attributes for ofbiz-component.xml ?

David E Jones
In reply to this post by Bilgin Ibryam

Another idea that has come up recently is to put certain of the menu  
items in the footer to help clean up and simplify the header, and  
allow the header to be more oriented to the main applications that non-
technical end-users would be interested in.

Some that would go in the footer include things like ebay, google  
base, ebay, BI, webtools, etc.

-David


On Mar 11, 2008, at 4:13 PM, Bilgin Ibryam wrote:

>
> Hi all,
>
> I'd like to add two new attributes to webapp element in ofbiz-
> component.xml
> The first one is description and could be used for a longer (more  
> detailed)
> title. Then it can be used for title attribute in the main menu  
> link, so for
> example when the user moves the mouse on HR link, the title will  
> appear like
> "Human Resource Application".
>
> The second attribute is position (or sequence) and could be used for
> positioning the applications on the main menu. Then everyone can  
> order the
> applications as needed(not only alphabetically). There was already  
> someone
> asking about this feature if i remember right.
>
> Is this a good idea and acceptable for OFBiz?
>
> I'll appreciate comments from the community.
>
> Bilgin
>
> --
> View this message in context: http://www.nabble.com/new-attributes-for-ofbiz-component.xml---tp15993451p15993451.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: new attributes for ofbiz-component.xml ?

Sumit Pandit-3
In reply to this post by Enrique Ruibal
Yes, It will be great if user has choice to put his most usable menu
items in the header and remaining in footer. Also it will awesome if he
can move them via GUI (you can say drag n drop.)

- Sumit Pandit

David E Jones wrote:

>
> Another idea that has come up recently is to put certain of the menu
> items in the footer to help clean up and simplify the header, and
> allow the header to be more oriented to the main applications that
> non-technical end-users would be interested in.
>
> Some that would go in the footer include things like ebay, google
> base, ebay, BI, webtools, etc.
>
> -David


Enrique Ruibal A. wrote:

> Very good, common sense approach! +1
>
> -Enrique R.
>
> Sumit Pandit wrote:
>> Bilgin,
>> It is a great idea.
>> We can use Enumeration for second option.
>>
>> Regards
>> Sumit Pandit.
>> Bilgin Ibryam wrote:
>>> Hi all,
>>>
>>> I'd like to add two new attributes to webapp element in
>>> ofbiz-component.xml
>>> The first one is description and could be used for a longer (more
>>> detailed)
>>> title. Then it can be used for title attribute in the main menu
>>> link, so for
>>> example when the user moves the mouse on HR link, the title will
>>> appear like
>>> "Human Resource Application".
>>>
>>> The second attribute is position (or sequence) and could be used for
>>> positioning the applications on the main menu. Then everyone can
>>> order the
>>> applications as needed(not only alphabetically). There was already
>>> someone
>>> asking about this feature if i remember right.
>>>
>>> Is this a good idea and acceptable for OFBiz?
>>>
>>> I'll appreciate comments from the community.
>>>
>>> Bilgin
>>>
>>>  
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: new attributes for ofbiz-component.xml ?

Jacques Le Roux
Administrator
In reply to this post by Bilgin Ibryam
+1 !

Jacques

From: "Bilgin Ibryam" <[hidden email]>

>
> Hi all,
>
> I'd like to add two new attributes to webapp element in ofbiz-component.xml
> The first one is description and could be used for a longer (more detailed)
> title. Then it can be used for title attribute in the main menu link, so for
> example when the user moves the mouse on HR link, the title will appear like
> "Human Resource Application".
>
> The second attribute is position (or sequence) and could be used for
> positioning the applications on the main menu. Then everyone can order the
> applications as needed(not only alphabetically). There was already someone
> asking about this feature if i remember right.
>
> Is this a good idea and acceptable for OFBiz?
>
> I'll appreciate comments from the community.
>
> Bilgin
>
> --
> View this message in context: http://www.nabble.com/new-attributes-for-ofbiz-component.xml---tp15993451p15993451.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: new attributes for ofbiz-component.xml ?

Jacques Le Roux
Administrator
In reply to this post by Sumit Pandit-3
+1 !

Yes drag'n'drop would be great !

From: "Sumit Pandit" <[hidden email]>

> Yes, It will be great if user has choice to put his most usable menu
> items in the header and remaining in footer. Also it will awesome if he
> can move them via GUI (you can say drag n drop.)
>
> - Sumit Pandit
>
> David E Jones wrote:
>>
>> Another idea that has come up recently is to put certain of the menu
>> items in the footer to help clean up and simplify the header, and
>> allow the header to be more oriented to the main applications that
>> non-technical end-users would be interested in.
>>
>> Some that would go in the footer include things like ebay, google
>> base, ebay, BI, webtools, etc.
>>
>> -David
>
>
> Enrique Ruibal A. wrote:
>> Very good, common sense approach! +1
>>
>> -Enrique R.
>>
>> Sumit Pandit wrote:
>>> Bilgin,
>>> It is a great idea.
>>> We can use Enumeration for second option.
>>>
>>> Regards
>>> Sumit Pandit.
>>> Bilgin Ibryam wrote:
>>>> Hi all,
>>>>
>>>> I'd like to add two new attributes to webapp element in
>>>> ofbiz-component.xml
>>>> The first one is description and could be used for a longer (more
>>>> detailed)
>>>> title. Then it can be used for title attribute in the main menu
>>>> link, so for
>>>> example when the user moves the mouse on HR link, the title will
>>>> appear like
>>>> "Human Resource Application".
>>>>
>>>> The second attribute is position (or sequence) and could be used for
>>>> positioning the applications on the main menu. Then everyone can
>>>> order the
>>>> applications as needed(not only alphabetically). There was already
>>>> someone
>>>> asking about this feature if i remember right.
>>>>
>>>> Is this a good idea and acceptable for OFBiz?
>>>>
>>>> I'll appreciate comments from the community.
>>>>
>>>> Bilgin
>>>>
>>>>  
>>>
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: new attributes for ofbiz-component.xml ?

Bilgin Ibryam
In reply to this post by Sumit Pandit-3
Sumit,

Can you clarifdy how to use Enumeration for second option please?
 
Bilgin
Reply | Threaded
Open this post in threaded view
|

Re: new attributes for ofbiz-component.xml ?

Bilgin Ibryam
In reply to this post by David E Jones
The new position attribute could be used for that.
For example the positions betweem 1 - 101 could be placed on the main menu, and position from 101 up to the footer menu?
Reply | Threaded
Open this post in threaded view
|

Re: new attributes for ofbiz-component.xml ?

Adrian Crum
I would prefer something more semantic - like primary navigation and
secondary navigation.

-Adrian

Bilgin Ibryam wrote:
> The new position attribute could be used for that.
> For example the positions betweem 1 - 101 could be placed on the main menu,
> and position from 101 up to the footer menu?
>
Reply | Threaded
Open this post in threaded view
|

Re: new attributes for ofbiz-component.xml ?

Adrian Crum
In reply to this post by Bilgin Ibryam
Bilgin Ibryam wrote:
> I'd like to add two new attributes to webapp element in ofbiz-component.xml
> The first one is description and could be used for a longer (more detailed)
> title. Then it can be used for title attribute in the main menu link, so for
> example when the user moves the mouse on HR link, the title will appear like
> "Human Resource Application".

A tooltip attribute would be appropriate for that.

-Adrian
Reply | Threaded
Open this post in threaded view
|

Re: new attributes for ofbiz-component.xml ?

Adrian Crum
In reply to this post by David E Jones
David E Jones wrote:
> Another idea that has come up recently is to put certain of the menu
> items in the footer to help clean up and simplify the header, and allow
> the header to be more oriented to the main applications that
> non-technical end-users would be interested in.
>
> Some that would go in the footer include things like ebay, google base,
> ebay, BI, webtools, etc.

I've been considering restyling the main navigation so that it is a list
in the left column. The current number of applications breaks the
tab-like layout, so I was thinking a list would be a better choice.

-Adrian
Reply | Threaded
Open this post in threaded view
|

Re: new attributes for ofbiz-component.xml ?

Bilgin Ibryam
In reply to this post by Adrian Crum
On Wed, 2008-03-12 at 07:40 -0700, Adrian Crum wrote:
> I would prefer something more semantic - like primary navigation and
> secondary navigation.

Adrian,

do you mean to add one attribute for positioning and one more to
indicate primary/secondary navigation? (I like these names)

Reply | Threaded
Open this post in threaded view
|

Re: new attributes for ofbiz-component.xml ?

Adrian Crum
Yes. Something like:

<webapp name="accounting"
     title="Accounting"
     tooltip-property="AccountingMainTooltip"
     navigation="primary"
     navigation-sequence="1"
     server="default-server"
     location="webapp/accounting"
     base-permission="OFBTOOLS,ACCOUNTING"
     mount-point="/accounting"/>

or something similar. Naming these things has never been one of my
strengths, but that's the general idea.

-Adrian

Bilgin Ibryam wrote:

> On Wed, 2008-03-12 at 07:40 -0700, Adrian Crum wrote:
>> I would prefer something more semantic - like primary navigation and
>> secondary navigation.
>
> Adrian,
>
> do you mean to add one attribute for positioning and one more to
> indicate primary/secondary navigation? (I like these names)
>
>
Reply | Threaded
Open this post in threaded view
|

Re: new attributes for ofbiz-component.xml ?

Jacopo Cappellato
In reply to this post by Bilgin Ibryam
Based on this interesting thread, I'd suggest the following three new
attributes (but the names can be improved):

description
menu-name
position

For example:

description="Accounting Application"
menu-name="main"
position="3"

description="Webtools Application"
menu-name="secondary"
position="1"

etc...

Menu items are grouped together by menu-name (this will leave open the
opportunity to add new groups, such as a list of minor applications that
we could put in a drop down box) and then sorted by position.

Jacopo


Bilgin Ibryam wrote:
> The new position attribute could be used for that.
> For example the positions betweem 1 - 101 could be placed on the main menu,
> and position from 101 up to the footer menu?
>

Reply | Threaded
Open this post in threaded view
|

Re: new attributes for ofbiz-component.xml ?

Jacques Le Roux
Administrator
+1

Jacques

From: "Jacopo Cappellato" <[hidden email]>

> Based on this interesting thread, I'd suggest the following three new
> attributes (but the names can be improved):
>
> description
> menu-name
> position
>
> For example:
>
> description="Accounting Application"
> menu-name="main"
> position="3"
>
> description="Webtools Application"
> menu-name="secondary"
> position="1"
>
> etc...
>
> Menu items are grouped together by menu-name (this will leave open the
> opportunity to add new groups, such as a list of minor applications that
> we could put in a drop down box) and then sorted by position.
>
> Jacopo
>
>
> Bilgin Ibryam wrote:
>> The new position attribute could be used for that.
>> For example the positions betweem 1 - 101 could be placed on the main menu,
>> and position from 101 up to the footer menu?
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: SPAM* LOW * [***SPAM*** Score/Req: 8.0/5.5] Re: new attributes for ofbiz-component.xml ?

Marco Ruocco
+1

Marco

Jacques Le Roux ha scritto:

> +1
>
> Jacques
>
> From: "Jacopo Cappellato" <[hidden email]>
>> Based on this interesting thread, I'd suggest the following three new
>> attributes (but the names can be improved):
>>
>> description
>> menu-name
>> position
>>
>> For example:
>>
>> description="Accounting Application"
>> menu-name="main"
>> position="3"
>>
>> description="Webtools Application"
>> menu-name="secondary"
>> position="1"
>>
>> etc...
>>
>> Menu items are grouped together by menu-name (this will leave open
>> the opportunity to add new groups, such as a list of minor
>> applications that we could put in a drop down box) and then sorted by
>> position.
>>
>> Jacopo
>>
>>
>> Bilgin Ibryam wrote:
>>> The new position attribute could be used for that.
>>> For example the positions betweem 1 - 101 could be placed on the
>>> main menu,
>>> and position from 101 up to the footer menu?
>>>
>>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: new attributes for ofbiz-component.xml ?

Bilgin Ibryam
In reply to this post by Bilgin Ibryam
Thanks everyone for your feedback on this.

Based on the comments I created an jira issue OFBIZ-1714
It is working but probably needs some review and modifications.
I added all the 3 attributes as optional, and if they are not used, the app menu appears as it was till now.
You can check and comment on the jira.

Thanks all,
Bilgin Ibryam

Reply | Threaded
Open this post in threaded view
|

Re: new attributes for ofbiz-component.xml ?

guo weizhan
+1

Weizhan Guo

2008/3/20, Bilgin Ibryam <[hidden email]>:

>
>
> Thanks everyone for your feedback on this.
>
> Based on the comments I created an jira issue OFBIZ-1714
> It is working but probably needs some review and modifications.
> I added all the 3 attributes as optional, and if they are not used, the
> app
> menu appears as it was till now.
> You can check and comment on the jira.
>
> Thanks all,
> Bilgin Ibryam
>
>
>
> --
> View this message in context:
> http://www.nabble.com/new-attributes-for-ofbiz-component.xml---tp15993451p16168532.html
>
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>
>