Menu and submenu widget

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

Menu and submenu widget

G.Ben
Hi,

I'm looking for help about creating menus and submenus widget.
please can you tell me all the steps to follow detailed.

Thank you for your help.

Regards.

G.Ben.
Reply | Threaded
Open this post in threaded view
|

Re: Menu and submenu widget

Nick Rosser
If you're looking to implement an eCommerce site then our open source
OFBiz-based solution has this functionality built-in. Check it out at
http://bigfish.salmonllc.com -- check out the demos and the download page.

Best Regards,

Nick Rosser
[hidden email]
O: 516.742.7888 x221
C: 516.901.1720


On 5/31/2012 11:45 AM, G.Ben wrote:

> Hi,
>
> I'm looking for help about creating menus and submenus widget.
> please can you tell me all the steps to follow detailed.
>
> Thank you for your help.
>
> Regards.
>
> G.Ben.
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Menu-and-submenu-widget-tp4632872.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Menu and submenu widget

Pravin Patil
In reply to this post by G.Ben
Hi G.Ben,

I think this link will help you to creat menu step by step...
https://cwiki.apache.org/OFBIZ/ofbiz-tutorial-a-beginners-development-guide.html#OFBizTutorial-ABeginnersDevelopmentGuide-Creatingthewebapp
  Go to part 2 -> point No. 2.


Kind Regards
Pravin Patil
HotWax Media


On 05/31/2012 09:15 PM, G.Ben wrote:

> Hi,
>
> I'm looking for help about creating menus and submenus widget.
> please can you tell me all the steps to follow detailed.
>
> Thank you for your help.
>
> Regards.
>
> G.Ben.
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Menu-and-submenu-widget-tp4632872.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Menu and submenu widget

G.Ben
Hi,

Thank you Nick Rosser for your help, but I'm actually developping a RH application.

Thank you Pravin Patil I've already tried the tutorial, but I don't know why the menu item "main" doesn't appear with the others !!

Thank you again for your help.

Regards.

G.Ben.
Reply | Threaded
Open this post in threaded view
|

Re: Menu and submenu widget

dhiraj.g
In reply to this post by G.Ben
Hi Ben,
Menus are define in XXXMenus.xml of any component
For Example xxx/widget/xxxMenus.xml
sub menus are also define in  XXXMenus.xml but it displays through CommanDecorator.


Thanks
Dhiraj Gupta
9990220686







Dhiraj Gupta
Reply | Threaded
Open this post in threaded view
|

Re: Menu and submenu widget

Jay Jain
In reply to this post by G.Ben
Hi Ben,
The menu item "main" does not appear till you will not add your
application into application in the app bar, if u want to appear
item "main" before to add application into app bar, use following line
and change it main to main1 and change it again after add it to
application tab bar
Try to use it
<menu-item name="main1" title="Main"><link target="main"/></menu-item>


Regards
Jay Jain


On 06/01/2012 01:09 PM, G.Ben wrote:

> Hi,
>
> Thank you Nick Rosser for your help, but I'm actually developping a RH
> application.
>
> Thank you Pravin Patil I've already tried the tutorial, but I don't know why
> the menu item "main" doesn't appear with the others !!
>
> Thank you again for your help.
>
> Regards.
>
> G.Ben.
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Menu-and-submenu-widget-tp4632872p4632901.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Menu and submenu widget

G.Ben
Thank you for your help :)
It did work with my application.

Regards.

G.Ben.
Reply | Threaded
Open this post in threaded view
|

Re: Menu and submenu widget

G.Ben
Hi,

It's me again, I'm trying to use a submenu but It's not working well,
when I click on the menu-item it leads me to another page where my submenu is there.
So the thing that I want is  : Once I click on the menu-item, the submenu will be displayed automatically near to it ( I've tried to do an horizontal menu but When searching about it, I found that I should do it with CSS)

So any help guys ??

Thank you.

Regards.

G.Ben.
Reply | Threaded
Open this post in threaded view
|

Re: Menu and submenu widget

matarazzo angelo
Hi G.Ben
unfortunately, I think you have to use css, infact in ofbiz the submenu doesn't appear close to menu-item clicked.
Regards
Reply | Threaded
Open this post in threaded view
|

Re: Menu and submenu widget

G.Ben
Hi,

Thanks a lot.

Regards.

G.Ben
Reply | Threaded
Open this post in threaded view
|

Re: Menu and submenu widget

brajeshpatel
In reply to this post by G.Ben
Hi Ben,

this is happening because you are extending commonmenu.xml

    <menu name="CommonAppBarMenu" default-menu-item-name="main"
id="app-navigation" type="simple" title="${applicationTitle}&amp;nbsp;"
        default-selected-style="selected" menu-container-style="button-bar
tab-bar" selected-menuitem-context-field-name="headerItem">
        <menu-item name="main" title="${uiLabelMap.CommonMain}">
            <condition><not><if-empty field="userLogin"/></not></condition>
            <link target="main"/>
        </menu-item>
    </menu>
and there condition of the userLogin.

so look again your code and confirm it.




On Fri, Jun 1, 2012 at 1:09 PM, G.Ben <[hidden email]> wrote:

> Hi,
>
> Thank you Nick Rosser for your help, but I'm actually developping a RH
> application.
>
> Thank you Pravin Patil I've already tried the tutorial, but I don't know
> why
> the menu item "main" doesn't appear with the others !!
>
> Thank you again for your help.
>
> Regards.
>
> G.Ben.
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Menu-and-submenu-widget-tp4632872p4632901.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>



--
Thanks
Brajesh Patel
Salmonllc.com
http://bigfish.salmonllc.com/bfDemo.html

skype: brajesh.patel11
Cell:- +91 8750709907
Reply | Threaded
Open this post in threaded view
|

Re: Menu and submenu widget

G.Ben
Hi  Brajesh Patel,
*
*
I solved the problem, thank you so much for your help.

Regards.

G.Ben

2012/6/4 Brajesh Patel <[hidden email]>

> Hi Ben,
>
> this is happening because you are extending commonmenu.xml
>
>    <menu name="CommonAppBarMenu" default-menu-item-name="main"
> id="app-navigation" type="simple" title="${applicationTitle}&amp;nbsp;"
>        default-selected-style="selected" menu-container-style="button-bar
> tab-bar" selected-menuitem-context-field-name="headerItem">
>        <menu-item name="main" title="${uiLabelMap.CommonMain}">
>            <condition><not><if-empty field="userLogin"/></not></condition>
>             <link target="main"/>
>        </menu-item>
>     </menu>
> and there condition of the userLogin.
>
> so look again your code and confirm it.
>
>
>
>
> On Fri, Jun 1, 2012 at 1:09 PM, G.Ben <[hidden email]> wrote:
>
> > Hi,
> >
> > Thank you Nick Rosser for your help, but I'm actually developping a RH
> > application.
> >
> > Thank you Pravin Patil I've already tried the tutorial, but I don't know
> > why
> > the menu item "main" doesn't appear with the others !!
> >
> > Thank you again for your help.
> >
> > Regards.
> >
> > G.Ben.
> >
> > --
> > View this message in context:
> >
> http://ofbiz.135035.n4.nabble.com/Menu-and-submenu-widget-tp4632872p4632901.html
> > Sent from the OFBiz - User mailing list archive at Nabble.com.
> >
>
>
>
> --
> Thanks
> Brajesh Patel
> Salmonllc.com
> http://bigfish.salmonllc.com/bfDemo.html
>
> skype: brajesh.patel11
> Cell:- +91 8750709907
>
liu
Reply | Threaded
Open this post in threaded view
|

Re: Menu and submenu widget

liu
org.ofbiz.widget.html.HtmlMenuRenderer process the menu xml