> that i want to have a [custom-file-name].pdf declared based on the pdf being
> generated dynamically, so if i mount a page with a certain name (i am not
> sure but) i would have to use the same name as specified for mounting isn't
> it ?

Try Ned's suggestion about using MixedParamUrlCodingStrategy instead.

> Secondly i have question that when u talk about downloading the contents
> from bookmarkable page, you would mean flushing/streaming the pdf contents
> in the constructor of the bookmarkable page is it ?  or am i missing
> something on this ?

The only thing that matters is that when you click the download link,
it points to an url that ends with your filename.

**
Martin


> Martin Makundi wrote:
>>
>>> The problem i am facing is with the usage of "File->SaveAs" or
>>> "Adobe-Toolbar - Save Icon" when trying to save the file. Basically on
>>> clicking any of the above the file-name shown by-default on the "Save-As
>>> dialog" box is the context-path (the part before the url-parameters) i.e.
>>> "mypage" in case the url is http://[host-name]/wap/mypage?id=123";.
>>
>> Exactly. Use a bookmarkable page to render your dynamic resource which
>> will give you an url
>>
>> http://[host-name]/wap/MyFilename.ext
>>
>> **
>> Martin
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Inline-pdf-generated-on-the-fly-using-DynamicWebResource---Showing-Custom-FileName-on-%22File--%3E-Save-As%22-tp19100081p19113506.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