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

Sascha Rodekamp commented on OFBIZ-4281:
----------------------------------------

Hi Leon,

the problem with i frames we got problems with the resizable functions. We 
tried that once but decided to use normal DIVs.

The best think would be to remove the complete parsing stuff and directly set 
the "OnEventUpdateArea" links when the result table is created. The problem is 
to tell the MacroFormRenderer that he is rendering a (i.e.) Pagination field 
for a lookup and not for a "normal" table. Currently i looking for a solution 
until i find one i commit your patch. 
If you have an idea let me know.

Have a good day Sascha


> parse javascript link wrongly in lookup layer dialog if there's slash '/' in 
> data
> ---------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4281
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4281
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Leon
>            Assignee: Sascha Rodekamp
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: fieldlookup.js.patch
>
>
> e.g. in lookup dialog (in layer mode), one href value of a link is 
> "javascript:set_value('123/ABC');", then the ofbiz framework will parse it to 
> "javascript:lookupAjaxRequest('ABC'');&presentation=layer')". It's wrong. 
> Correct one should be given href itself.
> to fix:
> judge whether the link contains "javascript:set_" before split it by slash 
> '/'.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to