ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien NICOLAS <julien.nico...@nomaka.fr>
Subject Re: Get the menu list from component
Date Wed, 14 Oct 2015 16:27:52 GMT
No they don't... It's always the 1st level (application) that is made by 
ftl.

But maybe a summary screen exist but I never found it.

Perhaps I'm on a track, I continue in this way and if it work, I'll 
share it.

Anyway, thank you for your help Adrian :)

Julien.


Le 14/10/2015 17:56, Adrian Crum a écrit :
> Maybe you could try looking through the Tomahawk and Bizzness Time 
> themes. They do what you describe.
>
> Adrian Crum
> Sandglass Software
> www.sandglass-software.com
>
> On 10/14/2015 7:39 AM, Julien NICOLAS wrote:
>> I want to provide a home menu for the solution like this
>> https://flic.kr/p/yPFAHq
>>
>> In the dark blue, the application menu, then in the same line the 2nd
>> level menu linked to the application.
>>
>> If you clic on the application, you are redirect to the application main
>> screen (like the application menu), if you clic on the 2nd level link,
>> you are redirect to the application on the specific screen selected.
>>
>> Seems quite simple to do, but a nightmare for real :'(
>>
>> Julien.
>>
>>
>>
>> Le 14/10/2015 16:10, Adrian Crum a écrit :
>>> If you could provide a simple example using the current applications,
>>> that would help me understand what you are trying to do.
>>>
>>> Adrian Crum
>>> Sandglass Software
>>> www.sandglass-software.com
>>>
>>> On 10/14/2015 6:52 AM, Julien NICOLAS wrote:
>>>> Thanks for the fast answer Adrian.
>>>>
>>>> The main menu is the Application level menu, but my goal is to get the
>>>> second level menu. In the 13.07, there is no freemarker file for this
>>>> level. It's a java renderer file for this level and the other lower 
>>>> one.
>>>>
>>>>
>>>>
>>>> Le 14/10/2015 15:08, Adrian Crum a écrit :
>>>>> Try looking in the header FreeMarker templates. They call a static
>>>>> Java method to get information for the main navigation. There is no
>>>>> menu widget for main navigation.
>>>>>
>>>>> Adrian Crum
>>>>> Sandglass Software
>>>>> www.sandglass-software.com
>>>>>
>>>>> On 10/14/2015 5:55 AM, Julien NICOLAS wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I'm fighting with the 13.07 to get the 2nd level menu list.
>>>>>> I want to make a summary menu that show menu for all applications.
>>>>>> This
>>>>>> is a pity that it's a nightmare to get the link from a component
>>>>>> that is
>>>>>> not the current one.
>>>>>>
>>>>>> I'm lost in the ModelMenuItem and other WidgetWorker. I know that
my
>>>>>> list (including the precious menu link) could be find in the
>>>>>> renderSimpleMenuString but all is stored in a Appendable variable
>>>>>> (called writer) that I don't know how to use...
>>>>>> Impossible for me to extract the link from the list created from

>>>>>> menu
>>>>>> location.
>>>>>>
>>>>>> Is anybody have a clue on how to extract the link (not only the
>>>>>> URI, the
>>>>>> complete link).
>>>>>>
>>>>>> I continue to dig so, if I finally found something, l'll send the
>>>>>> solution or the give up message here.
>>>>>>
>>>>>> Thanks in advance for your help,
>>>>>>
>>>>>> Julien.
>>>>>>
>>>>>>
>>>>>>
>>>>
>>


Mime
View raw message