You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2018/01/17 17:23:00 UTC

[jira] [Resolved] (ISIS-1824) menubars.layout.xml vs Wicket Viewer annotations

     [ https://issues.apache.org/jira/browse/ISIS-1824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood resolved ISIS-1824.
-------------------------------
    Resolution: Fixed

questions answered in comments.  If nec we can move back to open if an implementable proposal is suggested.

> menubars.layout.xml vs Wicket Viewer annotations
> ------------------------------------------------
>
>                 Key: ISIS-1824
>                 URL: https://issues.apache.org/jira/browse/ISIS-1824
>             Project: Isis
>          Issue Type: Question
>          Components: Core: Viewer: Wicket
>    Affects Versions: 1.16.0
>            Reporter: Smitha Neeliagari
>            Priority: Major
>             Fix For: 1.16.1
>
>
> I am trying to use menubars.layout.xml in combination with annotations. I tried to add another primary menu to the simpleApp archetype. I added them as annotations in actions rather than in the maenubars.layout.xml. This doesnot work. The application always picks up what is available in the layout xml and the annotations added in the action are ignored. Is it ot possible to use a combination of menubars.layout.xml and annotations in action files together? I dont find much information in the documentation for this particular scenario.  SO my questions are:
>   1. Could you please clarify if we can use either the layout xmls or the annotations and not both at the same time?
> 2. Are there any other scenarios where these combinations of xml files and annotations dont work together?
> 3. I tried removing the layout file and try working with only annotations, but that didnt work too. So is it a mandate that we have to use menubars.layout.xml? Cannot we use annotations alone to define the menu layout? 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)