You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Adrian Crum <ad...@sandglass-software.com> on 2011/06/02 02:18:44 UTC
How to get a simple popup lookup window
I need a simple popup lookup window that I can code from a Freemarker
template. With all of the JQuery stuff added, it's hard to tell which JS
function to call and what parameters to use.
Is there any documentation on this?
-Adrian
Re: How to get a simple popup lookup window
Posted by Sascha Rodekamp <sa...@googlemail.com>.
Hi Adrian,
when you say a "simple lookup" did you mean a static HTML Page (without
forms) Than try the "New Example" Button :
https://demo-trunk.ofbiz.apache.org/example/control/FindExample
The difference is that the "simple lookup" which you can call within the
screens do not support all the pagination / code loading stuff (it's smaller
and faster). You can define a simple link which points to your FTL the
simple lookup renders your code.
Just a lightway alternative to the form lookups.
If you need more help... just ask :)
Have a good day
Sascha
2011/6/2 Jacques Le Roux <ja...@les7arts.com>
> Yes, at some point the default turned to be "layer", window gives a popup
>
>
> Jacques
>
> From: "Adrian Crum" <ad...@sandglass-software.com>
>
>> Thanks Jacques!
>>
>> So, the answer to my question is:
>>
>> javascript:call_fieldlookup2(document.FormName.FieldName,
>> 'LookupScreenViewName', 'window');
>>
>> -Adrian
>>
>> On 6/2/2011 3:39 AM, Jacques Le Roux wrote:
>>
>>> Hi Adrian,
>>>
>>> In
>>> https://demo-trunk.ofbiz.apache.org/example/control/FormWidgetExamples1st of Lookup Fields (type popup)
>>>
>>> Jacques
>>>
>>> From: "Adrian Crum" <ad...@sandglass-software.com>
>>>
>>>> I need a simple popup lookup window that I can code from a Freemarker
>>>> template. With all of the JQuery stuff added, it's hard to tell which JS
>>>> function to call and what parameters to use.
>>>>
>>>> Is there any documentation on this?
>>>>
>>>> -Adrian
>>>>
>>>>
>>>
>
--
Sascha Rodekamp
Visit the new german OFBiz Blog: http://www.ofbiz.biz
Lynx-Consulting GmbH
Johanniskirchplatz 6
D-33615 Bielefeld
http://www.lynx.de
Re: How to get a simple popup lookup window
Posted by Jacques Le Roux <ja...@les7arts.com>.
Yes, at some point the default turned to be "layer", window gives a popup
Jacques
From: "Adrian Crum" <ad...@sandglass-software.com>
> Thanks Jacques!
>
> So, the answer to my question is:
>
> javascript:call_fieldlookup2(document.FormName.FieldName,
> 'LookupScreenViewName', 'window');
>
> -Adrian
>
> On 6/2/2011 3:39 AM, Jacques Le Roux wrote:
>> Hi Adrian,
>>
>> In
>> https://demo-trunk.ofbiz.apache.org/example/control/FormWidgetExamples
>> 1st of Lookup Fields (type popup)
>>
>> Jacques
>>
>> From: "Adrian Crum" <ad...@sandglass-software.com>
>>> I need a simple popup lookup window that I can code from a Freemarker
>>> template. With all of the JQuery stuff added, it's hard to tell which
>>> JS function to call and what parameters to use.
>>>
>>> Is there any documentation on this?
>>>
>>> -Adrian
>>>
>>
Re: How to get a simple popup lookup window
Posted by Adrian Crum <ad...@sandglass-software.com>.
Thanks Jacques!
So, the answer to my question is:
javascript:call_fieldlookup2(document.FormName.FieldName,
'LookupScreenViewName', 'window');
-Adrian
On 6/2/2011 3:39 AM, Jacques Le Roux wrote:
> Hi Adrian,
>
> In
> https://demo-trunk.ofbiz.apache.org/example/control/FormWidgetExamples
> 1st of Lookup Fields (type popup)
>
> Jacques
>
> From: "Adrian Crum" <ad...@sandglass-software.com>
>> I need a simple popup lookup window that I can code from a Freemarker
>> template. With all of the JQuery stuff added, it's hard to tell which
>> JS function to call and what parameters to use.
>>
>> Is there any documentation on this?
>>
>> -Adrian
>>
>
Re: How to get a simple popup lookup window
Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Adrian,
In https://demo-trunk.ofbiz.apache.org/example/control/FormWidgetExamples 1st of Lookup Fields (type popup)
Jacques
From: "Adrian Crum" <ad...@sandglass-software.com>
>I need a simple popup lookup window that I can code from a Freemarker
> template. With all of the JQuery stuff added, it's hard to tell which JS
> function to call and what parameters to use.
>
> Is there any documentation on this?
>
> -Adrian
>