[
https://issues.apache.org/jira/browse/OFBIZ-6941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rohit Koushal updated OFBIZ-6941:
---------------------------------
Attachment: Example.png
Hi [~pfm.smits],
I have checked layered-model links and it is working fine for menuItem
as well.
Below are steps that I performed:
1. Added a new menuItem in the ExampleMenus.xml#ExampleAppBar.
{code}
<menu-item name="LayeredModelMenuItem" title="Edit Example">
<link target="EditExampleLayer" link-type="layered-modal"><parameter param-name="foo" value="foo1"/></link>
</menu-item>
{code}
2. Added a field in the form ExampleForms.xml#EditExample
{code}
<field name="foo" title="FOO"><display/></field>
{code}
with this much changes we are able to get parameters on the layered model. I am attaching the screenshot for your reference.
If you are still facing this issue please let us know the step to regenerate.
> Layered-Modal link type doesn't work with parameters
> ----------------------------------------------------
>
> Key: OFBIZ-6941
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6941> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Trunk
> Reporter: Pierre Smits
> Assignee: Arun Patidar
> Labels: modalwindow, renderer
> Attachments: Example.png, OFBIZ-6941-Screenshot-1.png
>
>
> When having a link of type layered-modal it should with assocated parameters.
> However the parameters aren't passed to the modal window.
> Example code:
> {code}
> <link target="nProductionRunPartyAssocLayer" link-type="layered-modal" width="1000" height="400">
> <parameter param-name="productionRunId"/>
> </link>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)