You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Stef <st...@inbox.com> on 2008/04/04 21:16:14 UTC
Re: T4.1.5: Fill the autocompleter field from a popup window
Hi!
I now found this:
https://issues.apache.org/jira/browse/TAPESTRY-1450
Didn't only I found this problem :(
Best regards,
Stef
> -----Original Message-----
> From: stefhun@inbox.com
> Sent: Fri, 28 Mar 2008 13:50:12 -0800
> To: users@tapestry.apache.org
> Subject: Re: T4.1.5: Fill the autocompleter field from a popup window
>
> Hi!
>
> Thank you the advice but it is not solved my problem and make an another
> problem: user can type invalid value into the field.
>
> Any advice? :)
>
> Best regards,
> Stef
>
>> -----Original Message-----
>> From: andreoua@gmail.com
>> Sent: Fri, 28 Mar 2008 21:58:22 +0200
>> To: users@tapestry.apache.org
>> Subject: Re: T4.1.5: Fill the autocompleter field from a popup window
>>
>> Probably you need to change the forceValidOption parameter of
>> http://tapestry.apache.org/tapestry4.1/components/dojo/autocompleter.html
>>
>>
>>
>> On Sat, Mar 22, 2008 at 9:27 AM, Stef <st...@inbox.com> wrote:
>>> Dear All!
>>>
>>> I upgraded my webapp from T4.0.2 to T4.1.5 and I have a problem with
>>> the autocompleter.
>>> I created a popup window for each autocompleter field but from version
>>> 4.1.5 isn't works well.
>>>
>>> I used this javascript in the popup window for transfer the selected
>>> data:
>>>
>>> function closePopup(stringValue,formId,columnId){
>>> if (columnId == 1) {
>>> window.opener.document.forms[formId].fizikaiHelyseg.value =
>>> stringValue; }
>>> if (columnId == 2) {
>>> window.opener.document.forms[formId].levelezesiHelyseg.value =
>>> stringValue; }
>>> if (columnId == 3) {
>>> window.opener.document.forms[formId].szuletesiHelyseg.value =
>>> stringValue; }
>>> window.close();
>>> return false;
>>> }
>>>
>>> HTML:
>>> <a href="javascript:closePopup('Szigetmonostor 2015',
>>> 'szemelyForm',1)">2015</a>
>>>
>>> --------------------------
>>>
>>> The effect is the autocompleter field didn't accept the data. If I
>>> typed manually is OK.
>>> If I insert a value from clipboard to the empty autocompleter filed,
>>> don't accept this value but it is a correct value. The value is
>>> inserted
>>> but about 2 seconds after the field drop my inserted data and show
>>> nothing...
>>>
>>> My question is how can I fill the autocompleter field from a popup
>>> window in version 4.1.5. The autocompleter field why not accept the
>>> selected value? The filed why drop the value that i insert from the
>>> clipboard?
>>>
>>>
>>> Thanks for any advice!
>>>
>>>
>>> Best regards,
>>> Stef
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>>
>>
>>
>> --
>> Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
>> Tapestry / Tacos developer
>> Open Source / JEE Consulting
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>
> ____________________________________________________________
> GET FREE 5GB EMAIL - Check out spam free email with many cool features!
> Visit http://www.inbox.com/email to find out more!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org