[
https://issues.apache.org/jira/browse/OFBIZ-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14940982#comment-14940982 ]
Jacques Le Roux commented on OFBIZ-6327:
----------------------------------------
It works for me and I'm quite happy with it. There is just one thing I was unable to do: make the link as a button (using buttontext style). I wanted to add an example inside FormWidgetExampleForms.xml
{code}
Index: FormWidgetExampleForms.xml
===================================================================
--- FormWidgetExampleForms.xml (revision 1705973)
+++ FormWidgetExampleForms.xml (working copy)
@@ -231,6 +231,15 @@
</entity-options>
</drop-down>
</field>
+
+ <!-- ************************ -->
+ <!-- *** Layered-modal *** -->
+ <!-- ************************ -->
+ <field name="emptyField0" title=" "><display/></field>
+ <field name="newExample" title=" " widget-style="buttontext">
+ <hyperlink also-hidden="false" description="${uiLabelMap.ExampleNewExample}" target="EditExampleLayer" link-type="layered-modal"/>
+ </field>
+
{code}
I did not digg further in code than MacroFormRenderer.java. I guess we can do something from there though I wonder why linkStyle is no applied. I will maybe get back to it later...
> Make layered-window available in forms
> --------------------------------------
>
> Key: OFBIZ-6327
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6327> Project: OFBiz
> Issue Type: Sub-task
> Components: ALL COMPONENTS
> Reporter: Jacques Le Roux
> Assignee: Nicolas Malin
> Fix For: Trunk
>
> Attachments: OFBIZ-6327.patch, OFBIZ-6327.patch
>
>
> I don't see a need for menus, but could be. Relates also to OFBIZ-6034
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)