You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Arie Fishler <ar...@gmail.com> on 2009/03/02 18:42:49 UTC

Browser opens a dialog box for text/html Resource

Hi,

I am integrating some reports using the JasperReports integration classes
found in the Wicket stuff.

Basically I have a class that extends  DynamicWebResource

It is linked using a ResourceLink that triggers its output.

Content type is returned as text/html.

Why is the browser asking me before opening it? I want it to automatically
open in a new window just as it dows when I approve the dialog box.

On another level, as I specified the output is triggered using a
ResourceLink on the page. How do I trigger the output when I want to put a
form and a submit link on the page. This means I want to create the Resource
on submit and trigger its output based on the form selections not as a
direct link on the pgae.

Thanks,
Arie

On Mon, Mar 2, 2009 at 5:48 PM, shetc <sh...@bellsouth.net> wrote:

>
> I just want to take a moment to thank you all. With your support, my
> colleagues and I were able
> to complete our first enterprise-wide Wicket-based application. I work for
> the Spherion Corporation,
> which provides staffing services. Our Wicket application is a web site
> where
> a newly hired employee
> completes all the forms required for starting a job (upwards of 15 per
> user). This replaces a
> paper-based manual system. We expect a large cost savings as recruiters can
> focus on placing
> candidates rather than pushing paper. The application went through a very
> successful pilot phase,
> and is now in general use for the whole company.
>
> Once again, many thanks -- we couldn't have done it without your help!
>
> Steve
> --
> View this message in context:
> http://www.nabble.com/Thank-you%21-tp22290605p22290605.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Browser opens a dialog box for text/html Resource

Posted by Arie Fishler <ar...@gmail.com>.
Got that figured out. Actually it is in the book. Using
RequestCycle.get().setRequestTarget(target); with a submit button. This also
opens it up with no dialog box.

On Mon, Mar 2, 2009 at 7:43 PM, Arie Fishler <ar...@gmail.com> wrote:

>  - Show quoted text -
>
>   Hi,
>>
>> I am integrating some reports using the JasperReports integration classes
>> found in the Wicket stuff.
>>
>> Basically I have a class that extends  DynamicWebResource
>>
>> It is linked using a ResourceLink that triggers its output.
>>
>> Content type is returned as text/html.
>>
>> Why is the browser asking me before opening it? I want it to automatically
>> open in a new window just as it dows when I approve the dialog box.
>>
>> On another level, as I specified the output is triggered using a
>> ResourceLink on the page. How do I trigger the output when I want to put a
>> form and a submit link on the page. This means I want to create the Resource
>> on submit and trigger its output based on the form selections not as a
>> direct link on the pgae.
>>
>> Thanks,
>> Arie
>>
>

Browser opens a dialog box for text/html Resource

Posted by Arie Fishler <ar...@gmail.com>.
>  Hi,
>
> I am integrating some reports using the JasperReports integration classes
> found in the Wicket stuff.
>
> Basically I have a class that extends  DynamicWebResource
>
> It is linked using a ResourceLink that triggers its output.
>
> Content type is returned as text/html.
>
> Why is the browser asking me before opening it? I want it to automatically
> open in a new window just as it dows when I approve the dialog box.
>
> On another level, as I specified the output is triggered using a
> ResourceLink on the page. How do I trigger the output when I want to put a
> form and a submit link on the page. This means I want to create the Resource
> on submit and trigger its output based on the form selections not as a
> direct link on the pgae.
>
> Thanks,
> Arie
>