You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "Artur W." <a_...@gazeta.pl> on 2008/11/05 09:41:37 UTC

pretty url resource, problem with colons

Hi!

I want to integrate FusionCharts with Wicket. I implement IResourceListener
the feed the chart
but this library reject urls which contain colons.

I know I can use some Filter that translate the address but maybe there is
some easier, wicket way to do it.

I need to translate wicket:interface/:28:t::IResourceListener::/ into
something like this wicket_interface/_28_t__IResourceListener__/

I do not want to change the coding strategy for the whole application, just
for this one resource.

Thanks,
Artur
-- 
View this message in context: http://www.nabble.com/pretty-url-resource%2C-problem-with-colons-tp20337880p20337880.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: pretty url resource, problem with colons

Posted by Igor Vaynberg <ig...@gmail.com>.
at this point you will have to rewrite webrequestcodingstrategy to use
_ instead of : and do some special escaping of actual _ values.

-igor

On Wed, Nov 5, 2008 at 12:41 AM, Artur W. <a_...@gazeta.pl> wrote:
>
> Hi!
>
> I want to integrate FusionCharts with Wicket. I implement IResourceListener
> the feed the chart
> but this library reject urls which contain colons.
>
> I know I can use some Filter that translate the address but maybe there is
> some easier, wicket way to do it.
>
> I need to translate wicket:interface/:28:t::IResourceListener::/ into
> something like this wicket_interface/_28_t__IResourceListener__/
>
> I do not want to change the coding strategy for the whole application, just
> for this one resource.
>
> Thanks,
> Artur
> --
> View this message in context: http://www.nabble.com/pretty-url-resource%2C-problem-with-colons-tp20337880p20337880.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


Re: pretty url resource, problem with colons

Posted by Igor Vaynberg <ig...@gmail.com>.
if its a shared resource it doesnt know about your form. you will have
to append those values to the url yourself after you generate the base
url for the resource.

-igor

On Wed, Nov 5, 2008 at 12:55 AM, Artur W. <a_...@gazeta.pl> wrote:
>
> One more thing. The resource returns dynamic xml and it depends on the form
> that was submitted by the user. So AFAIK I cannot use mountSharedResource
> which works for the whole application. Am I right?
>
> Artur
> --
> View this message in context: http://www.nabble.com/pretty-url-resource%2C-problem-with-colons-tp20337880p20338036.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


Re: pretty url resource, problem with colons

Posted by "Artur W." <a_...@gazeta.pl>.
One more thing. The resource returns dynamic xml and it depends on the form
that was submitted by the user. So AFAIK I cannot use mountSharedResource
which works for the whole application. Am I right?

Artur
-- 
View this message in context: http://www.nabble.com/pretty-url-resource%2C-problem-with-colons-tp20337880p20338036.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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


RE: WIcket 1.4 IndicatingAjaxFallbackLink

Posted by Stefan Lindner <li...@visionet.de>.
Yep! Thank you again!

Stefan

-----Ursprüngliche Nachricht-----
Von: Igor Vaynberg [mailto:igor.vaynberg@gmail.com] 
Gesendet: Donnerstag, 6. November 2008 00:02
An: users@wicket.apache.org
Betreff: Re: WIcket 1.4 IndicatingAjaxFallbackLink

woops i think i looked at fallbackbutton instead of link. svn up and
it will be generified.

-igor

On Wed, Nov 5, 2008 at 2:52 PM, Stefan Lindner <li...@visionet.de> wrote:
> I checked out trunk from http://svn.apache.org/repos/asf/wicket/trunk and IndicatingAjaxFallbackLink is still not generic. Am I using the wrong trunk URL?
>
> Stefan
>
> -----Ursprüngliche Nachricht-----
> Von: Igor Vaynberg [mailto:igor.vaynberg@gmail.com]
> Gesendet: Mittwoch, 5. November 2008 17:18
> An: users@wicket.apache.org
> Betreff: Re: WIcket 1.4 IndicatingAjaxFallbackLink
>
> it is generic in trunk.
>
> -igor
>
> On Wed, Nov 5, 2008 at 12:55 AM, Stefan Lindner <li...@visionet.de> wrote:
>> IndicatingAjaxFallbackLink is not generic. It extends AjaxFallbackLink
>>
>>        public abstract class IndicatingAjaxFallbackLink extends
>> AjaxFallbackLink
>>
>> which is generic
>>
>>        public abstract class AjaxFallbackLink<T> extends Link<T>
>> implements IAjaxLink
>>
>> I think IndicatingAjaxFallbackLink should be generic too.
>>
>> Stefan
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


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


Re: WIcket 1.4 IndicatingAjaxFallbackLink

Posted by Igor Vaynberg <ig...@gmail.com>.
woops i think i looked at fallbackbutton instead of link. svn up and
it will be generified.

-igor

On Wed, Nov 5, 2008 at 2:52 PM, Stefan Lindner <li...@visionet.de> wrote:
> I checked out trunk from http://svn.apache.org/repos/asf/wicket/trunk and IndicatingAjaxFallbackLink is still not generic. Am I using the wrong trunk URL?
>
> Stefan
>
> -----Ursprüngliche Nachricht-----
> Von: Igor Vaynberg [mailto:igor.vaynberg@gmail.com]
> Gesendet: Mittwoch, 5. November 2008 17:18
> An: users@wicket.apache.org
> Betreff: Re: WIcket 1.4 IndicatingAjaxFallbackLink
>
> it is generic in trunk.
>
> -igor
>
> On Wed, Nov 5, 2008 at 12:55 AM, Stefan Lindner <li...@visionet.de> wrote:
>> IndicatingAjaxFallbackLink is not generic. It extends AjaxFallbackLink
>>
>>        public abstract class IndicatingAjaxFallbackLink extends
>> AjaxFallbackLink
>>
>> which is generic
>>
>>        public abstract class AjaxFallbackLink<T> extends Link<T>
>> implements IAjaxLink
>>
>> I think IndicatingAjaxFallbackLink should be generic too.
>>
>> Stefan
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


RE: WIcket 1.4 IndicatingAjaxFallbackLink

Posted by Stefan Lindner <li...@visionet.de>.
I checked out trunk from http://svn.apache.org/repos/asf/wicket/trunk and IndicatingAjaxFallbackLink is still not generic. Am I using the wrong trunk URL?

Stefan

-----Ursprüngliche Nachricht-----
Von: Igor Vaynberg [mailto:igor.vaynberg@gmail.com] 
Gesendet: Mittwoch, 5. November 2008 17:18
An: users@wicket.apache.org
Betreff: Re: WIcket 1.4 IndicatingAjaxFallbackLink

it is generic in trunk.

-igor

On Wed, Nov 5, 2008 at 12:55 AM, Stefan Lindner <li...@visionet.de> wrote:
> IndicatingAjaxFallbackLink is not generic. It extends AjaxFallbackLink
>
>        public abstract class IndicatingAjaxFallbackLink extends
> AjaxFallbackLink
>
> which is generic
>
>        public abstract class AjaxFallbackLink<T> extends Link<T>
> implements IAjaxLink
>
> I think IndicatingAjaxFallbackLink should be generic too.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


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


RE: WIcket 1.4 IndicatingAjaxFallbackLink

Posted by Stefan Lindner <li...@visionet.de>.
Great! Thank you!

-----Ursprüngliche Nachricht-----
Von: Igor Vaynberg [mailto:igor.vaynberg@gmail.com] 
Gesendet: Mittwoch, 5. November 2008 17:18
An: users@wicket.apache.org
Betreff: Re: WIcket 1.4 IndicatingAjaxFallbackLink

it is generic in trunk.

-igor

On Wed, Nov 5, 2008 at 12:55 AM, Stefan Lindner <li...@visionet.de> wrote:
> IndicatingAjaxFallbackLink is not generic. It extends AjaxFallbackLink
>
>        public abstract class IndicatingAjaxFallbackLink extends
> AjaxFallbackLink
>
> which is generic
>
>        public abstract class AjaxFallbackLink<T> extends Link<T>
> implements IAjaxLink
>
> I think IndicatingAjaxFallbackLink should be generic too.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


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


Re: WIcket 1.4 IndicatingAjaxFallbackLink

Posted by Igor Vaynberg <ig...@gmail.com>.
it is generic in trunk.

-igor

On Wed, Nov 5, 2008 at 12:55 AM, Stefan Lindner <li...@visionet.de> wrote:
> IndicatingAjaxFallbackLink is not generic. It extends AjaxFallbackLink
>
>        public abstract class IndicatingAjaxFallbackLink extends
> AjaxFallbackLink
>
> which is generic
>
>        public abstract class AjaxFallbackLink<T> extends Link<T>
> implements IAjaxLink
>
> I think IndicatingAjaxFallbackLink should be generic too.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


WIcket 1.4 IndicatingAjaxFallbackLink

Posted by Stefan Lindner <li...@visionet.de>.
IndicatingAjaxFallbackLink is not generic. It extends AjaxFallbackLink

	public abstract class IndicatingAjaxFallbackLink extends
AjaxFallbackLink

which is generic

	public abstract class AjaxFallbackLink<T> extends Link<T>
implements IAjaxLink

I think IndicatingAjaxFallbackLink should be generic too. 

Stefan

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