Jeremy Thomerson-5 wrote:
> 
> So, your web.xml must be mounting your application on /pcr/* right?
> 
> This is standard behavior for Wicket - it generates form post URLs to the
> root of the application generally, although if I recall correctly, there
> are
> some optional url strategies that might change that.  Perhaps hybrid?  I
> can't remember off the top of my head.
> 
> Is the form working?  What is the problem with the generated URL?
> 
> -- 
> Jeremy Thomerson
> http://www.wickettraining.com
> 
> 
> On Thu, Aug 14, 2008 at 2:34 PM, miro <[EMAIL PROTECTED]> wrote:
> 
>>
>> I am using this prefix /secure/index.jas/   to mount my pages .
>>
>> mountBookmarkablePage("/secure/index.jas/create",foo.class);
>> mountBookmarkablePage("/secure/index.jas/view",foo1.class);
>>
>> both of these classes have form.
>> so the html i am using   <form wicket:id="movementAuthorizerForm"> and
>> this
>> is the generated html
>>
>> <form
>>
>> action="../../?wicket:interface=:3:movementAuthorizerPanel:movementAuthorizerForm::IFormSubmitListener::"
>> method="post" id="movementAuthorizerForm6">
>>
>> so when I click the submit button  the url in browser get replaced with
>>
>>
>> http://localhost/pcr/?wicket:interface=:3:movementAuthorizerPanel:movementAuthorizerForm::IFormSubmitListener
>> ::
>>
>> not clear why this is happening ?It works fine If I mapped my pages just
>> with "create"  or "view".
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/%3Cform-wicket%3Aid%3D%22movementAuthorizerForm%22%3E--getting-replaced-by----%3Cform-action%3D%22..-..--wicket%3Ainterface%3D%3A3%3A.......-tp18988229p18988229.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 


when I post to the genrated url   wicket filter is not getting called   and
index.jsp is called becasue url    is pcr/? ......  
 
-- 
View this message in context: 
http://www.nabble.com/%3Cform-wicket%3Aid%3D%22movementAuthorizerForm%22%3E--getting-replaced-by----%3Cform-action%3D%22..-..--wicket%3Ainterface%3D%3A3%3A.......-tp18988229p18988391.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to