if you implement your own request cycle processor you dont need to
mount anything, just check the url and resolve it to a request target
of your choice.

-igor

On Sun, Aug 31, 2008 at 2:47 PM, Ritesh Trivedi
<[EMAIL PROTECTED]> wrote:
>
> To implement resolve() for requestcycleprocessor, unfortunately I cannot get
> list of mounted pages to resolve them to respective requesttargets since
> IRequestTargetMountsInfo is optional and CryptedUrlWebRequestCodingStrategy
> doesnt implement it.
>
> Is there a way to get mount list which works no matter what
> requestcodingstrategy is? Note: my urls have to be
> http://domain.com/somestr_id.html and I have to use regular expressions to
> parse somestr_id to get the request target as there is no mount path. The
> only way I can do that (I think) is if I had access to all mounted pages
> with this url strategy.
>
>
> igor.vaynberg wrote:
>>
>> this is already possible, create your own irequestcycleprocessor
>>
>> -igor
>>
>> On Sun, Aug 31, 2008 at 10:16 AM, Ritesh Trivedi
>> <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi,
>>>
>>> As part of my requirement, I have to create a custom url coding strategy
>>> for
>>> bookmarkable pages. The URLs should be like e.g.
>>> http://domain.com/somestr_[id].html.
>>>
>>> The problem I am facing is all the bookmarkable pages need to have a
>>> static
>>> mount string, which makes the URL to be
>>> http://domain.com/mount/somestr_[id].html. This sort of dictates using
>>> some
>>> other solution such as (urlrewrite or apache mod_rewrite) on top of
>>> custom
>>> url coding strategy.
>>>
>>> Digging little into the code seems like it may be possible to relax the
>>> requirement of letting only 1 page be mounted on / and let the matches()
>>> and
>>> encode()/decode() methods of the coding strategy generate proper
>>> "internal"
>>> request target urls. Is this doable? Can this be added as a requirement
>>> to
>>> the future releases?
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Possibility-of-mounting-multiple-pages-on---and-Custom-URL-coding-strategy--tp19244108p19244108.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]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Possibility-of-mounting-multiple-pages-on---and-Custom-URL-coding-strategy--tp19244108p19246476.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]
>
>

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

Reply via email to