Hi,

On Tue, Jan 24, 2012 at 9:37 AM, shayy <sha...@gmail.com> wrote:
> Hi,
>
> I'm trying to use @MountPath in conjunction with Wicket 1.5 but I'm
> encountering an issue.
>
> I've configured the following mount path on one of my page classes:
> @MountPath("/items/#{itemName}/#{itemNumber}/#{itemDate}/#{subItemName}")
>
> Requesting the following URL results in a 404 when using Firefox or IE and
> is in constant "loading" mode when using Chrome:
> host/items/itemName/381/2011-12-22T21:08:32.960+0200/sub.item:221

I think the + sign causes this. Try without it.

>
> But requesting the same URL with a trailing "/" works.
>
> I am thinking it might be a problem with the special characters, as the
> request succeeds with no trailing "/" if I substitue all values to simple
> strings:
> host/items/itemName/381/itemDate/subitemName
>
> Am I misconfiguring the mount path in any way?
> Could it be that the special characters are the cause of this behavior?
>
> Thanks,
> Shay
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Problems-with-requests-to-MountPath-and-optional-parameters-tp4323095p4323095.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

Reply via email to