You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by nn kk <in...@abv.bg> on 2014/12/02 01:59:50 UTC

problem with jquery.DialogAjaxLink

 I have the following code:

                        <t:jquery.DialogAjaxLink t:id="linkCreate"
				t:dialog="editDialog" t:zone="editZone" t:context="0">
				<img src="${asset:context:img/new-24.png}" />
			</t:jquery.DialogAjaxLink>


I have the zone and the dialog inside it... And everything works on my local, when I click the link I see the following request:
POST http://localhost:8080/MyPrj/mainadminpage.halfseasoneditcomponent.linkedit/2

The problem comes when I deploy the war on my prod env, and the domain is not localhost, but it still makes the same request to localhost, so I receive CORS.

Any ideas?!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: problem with jquery.DialogAjaxLink

Posted by Christian Riedel <cr...@googlemail.com>.
François just released 3.4.1 as a bugfix release!

Download: https://github.com/got5/tapestry5-jquery/releases

Maven:

    <dependency>
        <groupId>org.got5</groupId>
        <artifactId>tapestry5-jquery</artifactId>
        <version>3.4.1</version>
    </dependency>

> Am 02.12.2014 um 09:03 schrieb Ivano Luberti <lu...@archicoop.it>:
> 
> Does this affect also version 3.3.8?
> 
> Il 02/12/2014 08:38, Christian Riedel ha scritto:
>> Yes, there’s a bug in the version you use, which got fixed in 3.4.1-SNAPSHOT (3.4.1 will be released soon, I guess).
>> Use the SNAPSHOT version or a custom release based on its code. Check out the master-5.3 branch: https://github.com/got5/tapestry5-jquery/tree/master-5.3
>> 
>>> Am 02.12.2014 um 01:59 schrieb nn kk <in...@abv.bg>:
>>> 
>>> I have the following code:
>>> 
>>>                       <t:jquery.DialogAjaxLink t:id="linkCreate"
>>> 				t:dialog="editDialog" t:zone="editZone" t:context="0">
>>> 				<img src="${asset:context:img/new-24.png}" />
>>> 			</t:jquery.DialogAjaxLink>
>>> 
>>> 
>>> I have the zone and the dialog inside it... And everything works on my local, when I click the link I see the following request:
>>> POST http://localhost:8080/MyPrj/mainadminpage.halfseasoneditcomponent.linkedit/2
>>> 
>>> The problem comes when I deploy the war on my prod env, and the domain is not localhost, but it still makes the same request to localhost, so I receive CORS.
>>> 
>>> Any ideas?!
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>> 
>> 
> 
> -- 
> ==================================================
> dott. Ivano Mario Luberti
> Archimede Informatica societa' cooperativa a r. l.
> Sede Operativa
> Via Gereschi 36 - 56126- Pisa
> tel.: +39-050- 580959
> tel/fax: +39-050-9711344
> web: www.archicoop.it
> ==================================================
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: problem with jquery.DialogAjaxLink

Posted by Christian Riedel <cr...@googlemail.com>.
Yes, all versions < 3.4.1-SNAPSHOT

> Am 02.12.2014 um 09:03 schrieb Ivano Luberti <lu...@archicoop.it>:
> 
> Does this affect also version 3.3.8?
> 
> Il 02/12/2014 08:38, Christian Riedel ha scritto:
>> Yes, there’s a bug in the version you use, which got fixed in 3.4.1-SNAPSHOT (3.4.1 will be released soon, I guess).
>> Use the SNAPSHOT version or a custom release based on its code. Check out the master-5.3 branch: https://github.com/got5/tapestry5-jquery/tree/master-5.3
>> 
>>> Am 02.12.2014 um 01:59 schrieb nn kk <in...@abv.bg>:
>>> 
>>> I have the following code:
>>> 
>>>                       <t:jquery.DialogAjaxLink t:id="linkCreate"
>>> 				t:dialog="editDialog" t:zone="editZone" t:context="0">
>>> 				<img src="${asset:context:img/new-24.png}" />
>>> 			</t:jquery.DialogAjaxLink>
>>> 
>>> 
>>> I have the zone and the dialog inside it... And everything works on my local, when I click the link I see the following request:
>>> POST http://localhost:8080/MyPrj/mainadminpage.halfseasoneditcomponent.linkedit/2
>>> 
>>> The problem comes when I deploy the war on my prod env, and the domain is not localhost, but it still makes the same request to localhost, so I receive CORS.
>>> 
>>> Any ideas?!
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>> 
>> 
> 
> -- 
> ==================================================
> dott. Ivano Mario Luberti
> Archimede Informatica societa' cooperativa a r. l.
> Sede Operativa
> Via Gereschi 36 - 56126- Pisa
> tel.: +39-050- 580959
> tel/fax: +39-050-9711344
> web: www.archicoop.it
> ==================================================
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: problem with jquery.DialogAjaxLink

Posted by Ivano Luberti <lu...@archicoop.it>.
Does this affect also version 3.3.8?

Il 02/12/2014 08:38, Christian Riedel ha scritto:
> Yes, there’s a bug in the version you use, which got fixed in 3.4.1-SNAPSHOT (3.4.1 will be released soon, I guess).
> Use the SNAPSHOT version or a custom release based on its code. Check out the master-5.3 branch: https://github.com/got5/tapestry5-jquery/tree/master-5.3
>
>> Am 02.12.2014 um 01:59 schrieb nn kk <in...@abv.bg>:
>>
>> I have the following code:
>>
>>                        <t:jquery.DialogAjaxLink t:id="linkCreate"
>> 				t:dialog="editDialog" t:zone="editZone" t:context="0">
>> 				<img src="${asset:context:img/new-24.png}" />
>> 			</t:jquery.DialogAjaxLink>
>>
>>
>> I have the zone and the dialog inside it... And everything works on my local, when I click the link I see the following request:
>> POST http://localhost:8080/MyPrj/mainadminpage.halfseasoneditcomponent.linkedit/2
>>
>> The problem comes when I deploy the war on my prod env, and the domain is not localhost, but it still makes the same request to localhost, so I receive CORS.
>>
>> Any ideas?!
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

-- 
==================================================
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: problem with jquery.DialogAjaxLink

Posted by Christian Riedel <cr...@googlemail.com>.
Yes, there’s a bug in the version you use, which got fixed in 3.4.1-SNAPSHOT (3.4.1 will be released soon, I guess).
Use the SNAPSHOT version or a custom release based on its code. Check out the master-5.3 branch: https://github.com/got5/tapestry5-jquery/tree/master-5.3

> Am 02.12.2014 um 01:59 schrieb nn kk <in...@abv.bg>:
> 
> I have the following code:
> 
>                        <t:jquery.DialogAjaxLink t:id="linkCreate"
> 				t:dialog="editDialog" t:zone="editZone" t:context="0">
> 				<img src="${asset:context:img/new-24.png}" />
> 			</t:jquery.DialogAjaxLink>
> 
> 
> I have the zone and the dialog inside it... And everything works on my local, when I click the link I see the following request:
> POST http://localhost:8080/MyPrj/mainadminpage.halfseasoneditcomponent.linkedit/2
> 
> The problem comes when I deploy the war on my prod env, and the domain is not localhost, but it still makes the same request to localhost, so I receive CORS.
> 
> Any ideas?!
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org