ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Malin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-6404) Allow form/grid widget hyperlinks to be grouped into a single column
Date Fri, 22 May 2015 20:57:17 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-6404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14556816#comment-14556816
] 

Nicolas Malin commented on OFBIZ-6404:
--------------------------------------

Hey thanks Christian to open an issue with bits of my brain :) (just Nicholas is Russian name,
I'm French so Nicolas ;) )

My first idea on this issue is to add the possibility to call <include-menu> in the
grid/form or directly set the <menu> element for more visibility.

{code}
<grid>
    <field name="partyId">...
    <field name="partyName">...
    <include-menu menu-name="PartyActionList" ...>
</grid>
{code}
or 
{code}
<grid>
    <field name="partyId">...
    <field name="partyName">...
    <menu name="PartyActionList">
        <menu-item name="createNew" title="${uiLabelMap.AccountingBillingAccount}" >
            <condition>
                <if-service-permission service-name="acctgBasePermissionCheck" main-action="VIEW"/>
            </condition>
            <link target="/accounting/control/FindBillingAccount" url-mode="inter-app">
                <parameter param-name="partyId"/>
            </link>
        </menu-item>
        <menu-item name="PartyCommEvents" title="${uiLabelMap.PartyCommunications}" >
            <link target="ListPartyCommEvents">
                <parameter param-name="partyId"/>
            </link>
        </menu-item>
        <menu-item name="findRequest" title="${uiLabelMap.PartyPartyRequests}" >
            <condition>
                <if-has-permission permission="ORDERMGR" action="_VIEW"/>
            </condition>
            <link target="/ordermgr/control/FindRequest" url-mode="inter-app">
                <parameter param-name="lookupFlag" value="Y"/>
                <parameter param-name="fromPartyId" from-field="partyId"/>
                <parameter param-name="externaLoginKey" from-field="externalLoginKey"/>
            </link>
        </menu-item>...
    </menu>
</grid>
{code}

If some one have an other or better idea ! 



> Allow form/grid widget hyperlinks to be grouped into a single column
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-6404
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6404
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Christian Carlow
>
> This issue was created from a Nicholas Malin's suggestion in OFBIZ-6402 to support hyperlink
rendering similar to the original FTL that was replaced by the patch for that issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message