Re: HybridPageParamter encoder

2012-10-30 Thread Martin Grigorov
When decoding the parameters set a flag in the request cycle's
metadata that defines where the request parameters came from (path or
query string).
Later when encoding in the same request cycle use that flag to decide
where to put the parameters.

On Tue, Oct 30, 2012 at 9:39 PM, vinitty vini...@gmail.com wrote:
 I tried a lot of ways but i am not able to support both without redirect


 Please help me



 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/HybridPageParamter-encoder-tp4653279p4653464.html
 Sent from the Users forum mailing list archive at Nabble.com.

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




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Re: HybridPageParamter encoder

2012-10-30 Thread vinitty
Thanks Martin for checking this ,

Actually in my system they want to support both in single request like

/mounturl/param1/param2?q=1

is this possible ?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/HybridPageParamter-encoder-tp4653279p4653467.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: HybridPageParamter encoder

2012-10-30 Thread Martin Grigorov
Check http://wicketinaction.com/2011/07/wicket-1-5-mounting-pages/

On Tue, Oct 30, 2012 at 11:54 PM, vinitty vini...@gmail.com wrote:
 Thanks Martin for checking this ,

 Actually in my system they want to support both in single request like

 /mounturl/param1/param2?q=1

 is this possible ?



 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/HybridPageParamter-encoder-tp4653279p4653467.html
 Sent from the Users forum mailing list archive at Nabble.com.

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




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Re: HybridPageParamter encoder

2012-10-30 Thread vinitty
Thanks 
But sorry to bother you again and again,

If wicket can ignore the ?param1=value1 , and do not use them as parameters
my problem will be solved 


but wicket should not changed the url in browser

Thanks
Vinit




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/HybridPageParamter-encoder-tp4653279p4653470.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: HybridPageParamter encoder

2012-10-24 Thread Martin Grigorov
Hi,

Write your own IPageParametersEncoder which does what you need.
Use the implementations provided by default in Wicket for inspiration.

On Tue, Oct 23, 2012 at 10:13 PM, vinitty vini...@gmail.com wrote:
 Hi
 I am using wicket 1.5.7 and i want my url to be formed as

 /mf/landing/param1/value1/param2/value2

 and if i am hitting /mf/landing/?param1=value1param2=value2  then
 it should also work and url in the browser should remain same.

 Which is not happening when i am using HybridPageParamterEncoder , it is
 redirecting again by changing the format

 Please help me



 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/HybridPageParamter-encoder-tp4653279.html
 Sent from the Users forum mailing list archive at Nabble.com.

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




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



HybridPageParamter encoder

2012-10-23 Thread vinitty
Hi 
I am using wicket 1.5.7 and i want my url to be formed as 

/mf/landing/param1/value1/param2/value2

and if i am hitting /mf/landing/?param1=value1param2=value2  then
it should also work and url in the browser should remain same.

Which is not happening when i am using HybridPageParamterEncoder , it is
redirecting again by changing the format 

Please help me 



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/HybridPageParamter-encoder-tp4653279.html
Sent from the Users forum mailing list archive at Nabble.com.

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