[ 
http://issues.apache.org/jira/browse/OFBIZ-218?page=comments#action_12433771 ] 
            
Jacopo Cappellato commented on OFBIZ-218:
-----------------------------------------

Instead of using cookies as proposed, maybe a better solution is to use the 
'window' JavaScript element:
the name of a lookup window could be equal to the name of the screen, than we 
could pass the name of the caller window to the called lookup.

Something like: 
windowname.document.formname.fieldname

instead of:
document.formname.fieldname 
(as we have today)

Does it make sense? 

> Lookup buttons invoked from a lookup screen don't work because they return 
> the selected value to the main window (instead of to the first lookup window).
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-218
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-218
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>            Reporter: Jacopo Cappellato
>            Priority: Minor
>         Attachments: lookup.ftl
>
>
> If you open a lookup window and then in the lookup window's form there is a 
> new lookup link, that link will load a new lookup screen inside the same 
> popup windows: the system will try to assign the value you'll select there to 
> one of the fields of the main window (instead of one of the fields of the 
> first lookup form).
> To reproduce this:
> 1) Accounting app
> 2) Find Payments
> 3) Choose a payment that still has an amount left to apply
> 4) Application tab
> 5) lookup from the invoices Id field
> 6) on that popup lookup from the "From Party Id" field on that screen to a 
> lookup 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to