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

Jacques Le Roux commented on OFBIZ-3374:
----------------------------------------

To complete about the "lookups by name". There are essentially the same apart 
that they render not only one parameter but 2. ie the hyperlink instead of 
being for intance
   <hyperlink also-hidden="false" target-type="plain" description="${partyId}" 
target="javascript:set_value('${partyId}')"/>
is something like
   <hyperlink also-hidden="false" target-type="plain" description="${partyId}" 
target="javascript:set_values('${personName}','${partyId}')"/>

There is of course a row-actions block above to create the personName value
{code}
<row-actions>
    <entity-one entity-name="Enumeration" value-field="salutationDescription">
        <field-map field-name="enumId" from-field="salutation"/>
    </entity-one>
    <set field="personName" value="${salutationDescription.description} 
${firstName} ${middleName} ${lastName} ${suffix}"/>
</row-actions>
{code}

So it seems that there is something wrong when returning the second parameter 
(here partyId)

> UI upgrade, new lookups
> -----------------------
>
>                 Key: OFBIZ-3374
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3374
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Sascha Rodekamp
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: header_bg.gif, header_close_button.png, lookup.jpg, 
> lookup.jpg, lookup2.jpg, lookups-OFBIZ-3374.patch, lookups.patch, 
> lookups.patch, lookups.patch, lookups.patch, lookups.patch, lookups.patch, 
> lookups.patch, lookups.patch, lookups.patch, lookups.patch, lookups.patch, 
> lookups.patch, lookups.patch
>
>
> Hi,
> regarding to this articel: 
> [here|http://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document#NewFeaturesRoadmap-LivingDocument-Quickeranintuitiveaccesstobasicfunctionnalities%28creation,etc.%29]
>  I decided to improve the lookup fields.
> They shouldn't open in a page layer instead of a seperate windows. 
> My Patch contains a prototype (not a final patch), so what do you think about 
> the new lookup windows?
> Should i follow this idea, any suggestions?
> So long 
> Sascha

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to