I guess I should move this thread to dev:
Actually, just go to https://demo-trunk.ofbiz.apache.org:8443/example/control/main and you will see the "Setup" appearing in the menu :-)) but not in https://demo-trunk.ofbiz.apache.org:8443/partymgr/control/main no biggy, but it is a bit strange Thibault On Fri, May 11, 2012 at 2:17 PM, Thibault Saint-Marc <[hidden email]>wrote: > > Hi Deepak, > > app-bar-display is already "true", otherwise it is my own component that > doesn't appear in the menu, that's all :-)) > > my problem is different. it is the other component "Setup" that appears > (when I go in my component) or not (when I am in other components). It > looks like the condition for it to disappear (I guess triggered by the > setup being completed) doesn't work in a custom component... a bit strange. > > Thank you > > Thibault > > > On Fri, May 11, 2012 at 12:45 PM, Deepak Dixit < > [hidden email]> wrote: > >> Hi Thibault, >> >> app-bar-display attribute of webapp is used to show or hide the component >> in application menu bar, default value is true, >> Please cross check your webapp definition in ofbiz-component.xml, it >> might be possible that the value of app-bar-display is set to false. >> >> >> Thanks & Regards >> -- >> Deepak Dixit >> HotWax Media Pvt. Ltd. >> www.hotwaxmedia.com >> Contact :- +91-98267-54548 >> Skype :- deepakdixit >> >> On May 11, 2012, at 8:27 AM, Thibault Saint-Marc wrote: >> >> > Hi All, >> > >> > I am using 11.04 'release'. >> > >> > - I already did the Setup (did the 'set to complete') >> > - 'Setup' has disappeared from menu, as expected. >> > - then I create a new component with 'ant create-component' >> > - I go to that application in the browser >> > the Setup menu appears in the menu (I have the corresponding >> permissions) >> > if I go to any OOTB component (Catalog...), the 'Setup' disappears in >> the >> > menu :-) >> > >> > anything I have to declare in my component so that this doesn't happen ? >> > >> > Thanks >> > >> > Thibault >> >> > |
Hi Thibault,
Please refer ApplicationDecorator. <set field="layoutSettings.suppressTab" value="ofbizsetup"/><!-- diseable ofbiz setup by default --> Thanks & Regards -- Deepak Dixit HotWax Media Pvt. Ltd. www.hotwaxmedia.com Contact :- +91-98267-54548 Skype :- deepakdixit On May 11, 2012, at 12:27 PM, Thibault Saint-Marc wrote: > I guess I should move this thread to dev: > > Actually, just go to > https://demo-trunk.ofbiz.apache.org:8443/example/control/main and you will > see the "Setup" appearing in the menu :-)) > but not in https://demo-trunk.ofbiz.apache.org:8443/partymgr/control/main > > no biggy, but it is a bit strange > > Thibault > > On Fri, May 11, 2012 at 2:17 PM, Thibault Saint-Marc <[hidden email]>wrote: > >> >> Hi Deepak, >> >> app-bar-display is already "true", otherwise it is my own component that >> doesn't appear in the menu, that's all :-)) >> >> my problem is different. it is the other component "Setup" that appears >> (when I go in my component) or not (when I am in other components). It >> looks like the condition for it to disappear (I guess triggered by the >> setup being completed) doesn't work in a custom component... a bit strange. >> >> Thank you >> >> Thibault >> >> >> On Fri, May 11, 2012 at 12:45 PM, Deepak Dixit < >> [hidden email]> wrote: >> >>> Hi Thibault, >>> >>> app-bar-display attribute of webapp is used to show or hide the component >>> in application menu bar, default value is true, >>> Please cross check your webapp definition in ofbiz-component.xml, it >>> might be possible that the value of app-bar-display is set to false. >>> >>> >>> Thanks & Regards >>> -- >>> Deepak Dixit >>> HotWax Media Pvt. Ltd. >>> www.hotwaxmedia.com >>> Contact :- +91-98267-54548 >>> Skype :- deepakdixit >>> >>> On May 11, 2012, at 8:27 AM, Thibault Saint-Marc wrote: >>> >>>> Hi All, >>>> >>>> I am using 11.04 'release'. >>>> >>>> - I already did the Setup (did the 'set to complete') >>>> - 'Setup' has disappeared from menu, as expected. >>>> - then I create a new component with 'ant create-component' >>>> - I go to that application in the browser >>>> the Setup menu appears in the menu (I have the corresponding >>> permissions) >>>> if I go to any OOTB component (Catalog...), the 'Setup' disappears in >>> the >>>> menu :-) >>>> >>>> anything I have to declare in my component so that this doesn't happen ? >>>> >>>> Thanks >>>> >>>> Thibault >>> >>> >> |
Good shot ! Thanks !
<set field="layoutSettings.suppressTab" value="ofbizsetup" global="true"/> made it. Should it be added to the example(+ext) components as well as any new component ?? Since that line is not in the 'application' component, is it hardcoded somewhere that it shouldn't show up for those components ? On Fri, May 11, 2012 at 3:28 PM, Deepak Dixit <[hidden email]>wrote: > Hi Thibault, > > Please refer ApplicationDecorator. > > <set field="layoutSettings.suppressTab" value="ofbizsetup"/><!-- diseable > ofbiz setup by default --> > > > Thanks & Regards > -- > Deepak Dixit > HotWax Media Pvt. Ltd. > www.hotwaxmedia.com > Contact :- +91-98267-54548 > Skype :- deepakdixit > > On May 11, 2012, at 12:27 PM, Thibault Saint-Marc wrote: > > > I guess I should move this thread to dev: > > > > Actually, just go to > > https://demo-trunk.ofbiz.apache.org:8443/example/control/main and you > will > > see the "Setup" appearing in the menu :-)) > > but not in > https://demo-trunk.ofbiz.apache.org:8443/partymgr/control/main > > > > no biggy, but it is a bit strange > > > > Thibault > > > > On Fri, May 11, 2012 at 2:17 PM, Thibault Saint-Marc <[hidden email] > >wrote: > > > >> > >> Hi Deepak, > >> > >> app-bar-display is already "true", otherwise it is my own component that > >> doesn't appear in the menu, that's all :-)) > >> > >> my problem is different. it is the other component "Setup" that appears > >> (when I go in my component) or not (when I am in other components). It > >> looks like the condition for it to disappear (I guess triggered by the > >> setup being completed) doesn't work in a custom component... a bit > strange. > >> > >> Thank you > >> > >> Thibault > >> > >> > >> On Fri, May 11, 2012 at 12:45 PM, Deepak Dixit < > >> [hidden email]> wrote: > >> > >>> Hi Thibault, > >>> > >>> app-bar-display attribute of webapp is used to show or hide the > component > >>> in application menu bar, default value is true, > >>> Please cross check your webapp definition in ofbiz-component.xml, it > >>> might be possible that the value of app-bar-display is set to false. > >>> > >>> > >>> Thanks & Regards > >>> -- > >>> Deepak Dixit > >>> HotWax Media Pvt. Ltd. > >>> www.hotwaxmedia.com > >>> Contact :- +91-98267-54548 > >>> Skype :- deepakdixit > >>> > >>> On May 11, 2012, at 8:27 AM, Thibault Saint-Marc wrote: > >>> > >>>> Hi All, > >>>> > >>>> I am using 11.04 'release'. > >>>> > >>>> - I already did the Setup (did the 'set to complete') > >>>> - 'Setup' has disappeared from menu, as expected. > >>>> - then I create a new component with 'ant create-component' > >>>> - I go to that application in the browser > >>>> the Setup menu appears in the menu (I have the corresponding > >>> permissions) > >>>> if I go to any OOTB component (Catalog...), the 'Setup' disappears in > >>> the > >>>> menu :-) > >>>> > >>>> anything I have to declare in my component so that this doesn't > happen ? > >>>> > >>>> Thanks > >>>> > >>>> Thibault > >>> > >>> > >> > > |
Administrator
|
1st: well spotted!
This was not only in examples but in all framework components (example, examplext, webtools). I was just a matter of moving the line <set field="layoutSettings.suppressTab" value="ofbizsetup"/><!-- diseable ofbiz setup by default --> from ApplicationDecorator to GlobalDecorator screen Thanks for report Jacques From: "Thibault Saint-Marc" <[hidden email]> > Good shot ! Thanks ! > > <set field="layoutSettings.suppressTab" value="ofbizsetup" global="true"/> > made it. > > Should it be added to the example(+ext) components as well as any new > component ?? > Since that line is not in the 'application' component, is it hardcoded > somewhere that it shouldn't show up for those components ? > > > On Fri, May 11, 2012 at 3:28 PM, Deepak Dixit > <[hidden email]>wrote: > >> Hi Thibault, >> >> Please refer ApplicationDecorator. >> >> <set field="layoutSettings.suppressTab" value="ofbizsetup"/><!-- diseable >> ofbiz setup by default --> >> >> >> Thanks & Regards >> -- >> Deepak Dixit >> HotWax Media Pvt. Ltd. >> www.hotwaxmedia.com >> Contact :- +91-98267-54548 >> Skype :- deepakdixit >> >> On May 11, 2012, at 12:27 PM, Thibault Saint-Marc wrote: >> >> > I guess I should move this thread to dev: >> > >> > Actually, just go to >> > https://demo-trunk.ofbiz.apache.org:8443/example/control/main and you >> will >> > see the "Setup" appearing in the menu :-)) >> > but not in >> https://demo-trunk.ofbiz.apache.org:8443/partymgr/control/main >> > >> > no biggy, but it is a bit strange >> > >> > Thibault >> > >> > On Fri, May 11, 2012 at 2:17 PM, Thibault Saint-Marc <[hidden email] >> >wrote: >> > >> >> >> >> Hi Deepak, >> >> >> >> app-bar-display is already "true", otherwise it is my own component that >> >> doesn't appear in the menu, that's all :-)) >> >> >> >> my problem is different. it is the other component "Setup" that appears >> >> (when I go in my component) or not (when I am in other components). It >> >> looks like the condition for it to disappear (I guess triggered by the >> >> setup being completed) doesn't work in a custom component... a bit >> strange. >> >> >> >> Thank you >> >> >> >> Thibault >> >> >> >> >> >> On Fri, May 11, 2012 at 12:45 PM, Deepak Dixit < >> >> [hidden email]> wrote: >> >> >> >>> Hi Thibault, >> >>> >> >>> app-bar-display attribute of webapp is used to show or hide the >> component >> >>> in application menu bar, default value is true, >> >>> Please cross check your webapp definition in ofbiz-component.xml, it >> >>> might be possible that the value of app-bar-display is set to false. >> >>> >> >>> >> >>> Thanks & Regards >> >>> -- >> >>> Deepak Dixit >> >>> HotWax Media Pvt. Ltd. >> >>> www.hotwaxmedia.com >> >>> Contact :- +91-98267-54548 >> >>> Skype :- deepakdixit >> >>> >> >>> On May 11, 2012, at 8:27 AM, Thibault Saint-Marc wrote: >> >>> >> >>>> Hi All, >> >>>> >> >>>> I am using 11.04 'release'. >> >>>> >> >>>> - I already did the Setup (did the 'set to complete') >> >>>> - 'Setup' has disappeared from menu, as expected. >> >>>> - then I create a new component with 'ant create-component' >> >>>> - I go to that application in the browser >> >>>> the Setup menu appears in the menu (I have the corresponding >> >>> permissions) >> >>>> if I go to any OOTB component (Catalog...), the 'Setup' disappears in >> >>> the >> >>>> menu :-) >> >>>> >> >>>> anything I have to declare in my component so that this doesn't >> happen ? >> >>>> >> >>>> Thanks >> >>>> >> >>>> Thibault >> >>> >> >>> >> >> >> >> > |
Free forum by Nabble | Edit this page |