You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Vladimir Kovalyuk <ko...@gmail.com> on 2009/07/12 15:08:44 UTC

MixedHybridUrlCodingStrategy wanted

Is there a worked combination of HybridUrlCodingStrategy and
MixedParamUrlCodingStrategy? What is missed in the latter is ability to stay
bookmarkable after reaction on actions.

Re: MixedHybridUrlCodingStrategy wanted

Posted by Erik van Oosten <e....@grons.nl>.
Please do :)

    Erik.


Vladimir K wrote:
> Thanks very much!
>
> Why not suggest it as a patch to wicket core?
>
>
> Erik van Oosten wrote:
>   
>> Hi Vladimir,
>>
>> You are right. Now I look at it, it is clearly more complex then I 
>> remembered.
>>
>> You can get my version here: http://pastie.org/543892
>>
>> Regards,
>>     Erik.
>>
>>
>> Vladimir K wrote:
>>     
>>> I didn't find it easy to do it myself. By easy I mean what I can
>>> accomplish
>>> within 15 mins.
>>>
>>> From the first glance it looks just like a mix of two strategies but it
>>> actually does not. MixedHybridUrlCodingStrategy should handle all the
>>> parameters delimited by slashes and some of them have names omitted.
>>> Original Mixed strategy operates with regular parameters syntax. I
>>> believe
>>> it would take some hours to study what strategies do internally and
>>> implement and test mixed solution. I hoped someone have already tried
>>> that.
>>>
>>> Unfortunately I didn't find anything by google and nabble so I posted the
>>> question here. If you could point me some old discussion I'd appreciate.
>>>
>>>
>>> Erik van Oosten wrote:
>>>   
>>>       
>>>> It is fairly easy to construct it yourself. Just look at the code of 
>>>> MixedParamUrlCodingStrategy, copy it and replace the class you're 
>>>> extending to the corresponding HybridUrlCodingStrategy.
>>>>
>>>> Its also on the mailing list, search the archives. Lastly, the 
>>>> annotation based mounting project (forgot the name) contains it.
>>>>
>>>> Regards,
>>>>      Erik.
>>>>
>>>>
>>>>
>>>> Vladimir Kovalyuk wrote:
>>>>     
>>>>         
>>>>> Is there a worked combination of HybridUrlCodingStrategy and
>>>>> MixedParamUrlCodingStrategy? What is missed in the latter is ability to
>>>>> stay
>>>>> bookmarkable after reaction on actions.
>>>>>
>>>>>   
>>>>>       
>>>>>           
>>>> -- 
>>>> Erik van Oosten
>>>> http://www.day-to-day-stuff.blogspot.com/
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>
>>>>     
>>>>         
>>>   
>>>       
>> -- 
>>
>> Erik van Oosten
>> http://day-to-day-stuff.blogspot.com/
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>>     
>
>   

-- 

Erik van Oosten
http://day-to-day-stuff.blogspot.com/



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


Re: MixedHybridUrlCodingStrategy wanted

Posted by Vladimir K <ko...@gmail.com>.
Thanks very much!

Why not suggest it as a patch to wicket core?


Erik van Oosten wrote:
> 
> Hi Vladimir,
> 
> You are right. Now I look at it, it is clearly more complex then I 
> remembered.
> 
> You can get my version here: http://pastie.org/543892
> 
> Regards,
>     Erik.
> 
> 
> Vladimir K wrote:
>> I didn't find it easy to do it myself. By easy I mean what I can
>> accomplish
>> within 15 mins.
>>
>> From the first glance it looks just like a mix of two strategies but it
>> actually does not. MixedHybridUrlCodingStrategy should handle all the
>> parameters delimited by slashes and some of them have names omitted.
>> Original Mixed strategy operates with regular parameters syntax. I
>> believe
>> it would take some hours to study what strategies do internally and
>> implement and test mixed solution. I hoped someone have already tried
>> that.
>>
>> Unfortunately I didn't find anything by google and nabble so I posted the
>> question here. If you could point me some old discussion I'd appreciate.
>>
>>
>> Erik van Oosten wrote:
>>   
>>> It is fairly easy to construct it yourself. Just look at the code of 
>>> MixedParamUrlCodingStrategy, copy it and replace the class you're 
>>> extending to the corresponding HybridUrlCodingStrategy.
>>>
>>> Its also on the mailing list, search the archives. Lastly, the 
>>> annotation based mounting project (forgot the name) contains it.
>>>
>>> Regards,
>>>      Erik.
>>>
>>>
>>>
>>> Vladimir Kovalyuk wrote:
>>>     
>>>> Is there a worked combination of HybridUrlCodingStrategy and
>>>> MixedParamUrlCodingStrategy? What is missed in the latter is ability to
>>>> stay
>>>> bookmarkable after reaction on actions.
>>>>
>>>>   
>>>>       
>>> -- 
>>> Erik van Oosten
>>> http://www.day-to-day-stuff.blogspot.com/
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>>>     
>>
>>   
> 
> -- 
> 
> Erik van Oosten
> http://day-to-day-stuff.blogspot.com/
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/MixedHybridUrlCodingStrategy-wanted-tp24448528p24457377.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: MixedHybridUrlCodingStrategy wanted

Posted by Erik van Oosten <e....@grons.nl>.
Hi Vladimir,

You are right. Now I look at it, it is clearly more complex then I 
remembered.

You can get my version here: http://pastie.org/543892

Regards,
    Erik.


Vladimir K wrote:
> I didn't find it easy to do it myself. By easy I mean what I can accomplish
> within 15 mins.
>
> From the first glance it looks just like a mix of two strategies but it
> actually does not. MixedHybridUrlCodingStrategy should handle all the
> parameters delimited by slashes and some of them have names omitted.
> Original Mixed strategy operates with regular parameters syntax. I believe
> it would take some hours to study what strategies do internally and
> implement and test mixed solution. I hoped someone have already tried that.
>
> Unfortunately I didn't find anything by google and nabble so I posted the
> question here. If you could point me some old discussion I'd appreciate.
>
>
> Erik van Oosten wrote:
>   
>> It is fairly easy to construct it yourself. Just look at the code of 
>> MixedParamUrlCodingStrategy, copy it and replace the class you're 
>> extending to the corresponding HybridUrlCodingStrategy.
>>
>> Its also on the mailing list, search the archives. Lastly, the 
>> annotation based mounting project (forgot the name) contains it.
>>
>> Regards,
>>      Erik.
>>
>>
>>
>> Vladimir Kovalyuk wrote:
>>     
>>> Is there a worked combination of HybridUrlCodingStrategy and
>>> MixedParamUrlCodingStrategy? What is missed in the latter is ability to
>>> stay
>>> bookmarkable after reaction on actions.
>>>
>>>   
>>>       
>> -- 
>> Erik van Oosten
>> http://www.day-to-day-stuff.blogspot.com/
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>>     
>
>   

-- 

Erik van Oosten
http://day-to-day-stuff.blogspot.com/



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


Re: MixedHybridUrlCodingStrategy wanted

Posted by Vladimir K <ko...@gmail.com>.
I didn't find it easy to do it myself. By easy I mean what I can accomplish
within 15 mins.

>From the first glance it looks just like a mix of two strategies but it
actually does not. MixedHybridUrlCodingStrategy should handle all the
parameters delimited by slashes and some of them have names omitted.
Original Mixed strategy operates with regular parameters syntax. I believe
it would take some hours to study what strategies do internally and
implement and test mixed solution. I hoped someone have already tried that.

Unfortunately I didn't find anything by google and nabble so I posted the
question here. If you could point me some old discussion I'd appreciate.


Erik van Oosten wrote:
> 
> It is fairly easy to construct it yourself. Just look at the code of 
> MixedParamUrlCodingStrategy, copy it and replace the class you're 
> extending to the corresponding HybridUrlCodingStrategy.
> 
> Its also on the mailing list, search the archives. Lastly, the 
> annotation based mounting project (forgot the name) contains it.
> 
> Regards,
>      Erik.
> 
> 
> 
> Vladimir Kovalyuk wrote:
>> Is there a worked combination of HybridUrlCodingStrategy and
>> MixedParamUrlCodingStrategy? What is missed in the latter is ability to
>> stay
>> bookmarkable after reaction on actions.
>>
>>   
> 
> 
> -- 
> Erik van Oosten
> http://www.day-to-day-stuff.blogspot.com/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/MixedHybridUrlCodingStrategy-wanted-tp24448528p24457097.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: MixedHybridUrlCodingStrategy wanted

Posted by Erik van Oosten <e....@grons.nl>.
It is fairly easy to construct it yourself. Just look at the code of 
MixedParamUrlCodingStrategy, copy it and replace the class you're 
extending to the corresponding HybridUrlCodingStrategy.

Its also on the mailing list, search the archives. Lastly, the 
annotation based mounting project (forgot the name) contains it.

Regards,
     Erik.



Vladimir Kovalyuk wrote:
> Is there a worked combination of HybridUrlCodingStrategy and
> MixedParamUrlCodingStrategy? What is missed in the latter is ability to stay
> bookmarkable after reaction on actions.
>
>   


-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


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