Re: window.print() in Tapestry?

2006-10-24 Thread James Carman

You can use a @Script component to set up some JavaScript to run onload, I
believe.

On 10/24/06, Dennis Sinelnikov <[EMAIL PROTECTED]> wrote:


Thank you for your reply, Roberto.  That is what I figured as well.

-Dennis

Roberto Ramírez Vique wrote:
> About the onLoad, not sure but i don't know any component that does this
> ...  From my point of view, is supose to be like this because this is
just
> client side stuff and tapestry works for server side stuff.
>
> Also the same reply (as far as I know) about the restrictions with the
> printers. It's a very client side information, that tapestry shouldn't
take
> care of.
>
>
> On 10/23/06, Dennis Sinelnikov <[EMAIL PROTECTED]>
wrote:
>>
>> Dear fellow tapestriers  :) ,
>>
>> I have a requirement where I need to automatically show a print window
>> once a page is loaded.  After doing a little bit of googling, I came
>> across onLoad="window.print()" function call using Javascript.  Is
there
>> similar functionality available to me via tapestry 4.0 framework?
>> Moreover, is there a way to restrict the list of allowed printers to
>> only local printer?
>>
>> Any suggestions are much appreciated!
>>
>> Dennis
>>
>>
>> -
>> 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]




Re: window.print() in Tapestry?

2006-10-24 Thread Dennis Sinelnikov

Thank you for your reply, Roberto.  That is what I figured as well.

-Dennis

Roberto Ramírez Vique wrote:

About the onLoad, not sure but i don't know any component that does this
...  From my point of view, is supose to be like this because this is just
client side stuff and tapestry works for server side stuff.

Also the same reply (as far as I know) about the restrictions with the
printers. It's a very client side information, that tapestry shouldn't take
care of.


On 10/23/06, Dennis Sinelnikov <[EMAIL PROTECTED]> wrote:


Dear fellow tapestriers  :) ,

I have a requirement where I need to automatically show a print window
once a page is loaded.  After doing a little bit of googling, I came
across onLoad="window.print()" function call using Javascript.  Is there
similar functionality available to me via tapestry 4.0 framework?
Moreover, is there a way to restrict the list of allowed printers to
only local printer?

Any suggestions are much appreciated!

Dennis


-
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]



Re: window.print() in Tapestry?

2006-10-24 Thread Roberto Ramírez Vique

About the onLoad, not sure but i don't know any component that does this
...  From my point of view, is supose to be like this because this is just
client side stuff and tapestry works for server side stuff.

Also the same reply (as far as I know) about the restrictions with the
printers. It's a very client side information, that tapestry shouldn't take
care of.


On 10/23/06, Dennis Sinelnikov <[EMAIL PROTECTED]> wrote:


Dear fellow tapestriers  :) ,

I have a requirement where I need to automatically show a print window
once a page is loaded.  After doing a little bit of googling, I came
across onLoad="window.print()" function call using Javascript.  Is there
similar functionality available to me via tapestry 4.0 framework?
Moreover, is there a way to restrict the list of allowed printers to
only local printer?

Any suggestions are much appreciated!

Dennis


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





--
Robert Ramírez Vique
Computer Science Engineer


window.print() in Tapestry?

2006-10-23 Thread Dennis Sinelnikov

Dear fellow tapestriers  :) ,

I have a requirement where I need to automatically show a print window 
once a page is loaded.  After doing a little bit of googling, I came 
across onLoad="window.print()" function call using Javascript.  Is there 
similar functionality available to me via tapestry 4.0 framework? 
Moreover, is there a way to restrict the list of allowed printers to 
only local printer?


Any suggestions are much appreciated!

Dennis


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



window.print() in Tapestry?

2006-10-23 Thread Dennis Sinelnikov

Dear fellow tapestriers :),

I have a requirement where I need to automatically show a print window 
once a page is loaded.  After doing a little bit of googling, I came 
across onLoad="window.print()" function call using Javascript.  Is there 
similar functionality available to me via tapestry 4.0 framework? 
Moreover, is there a way to restrict the list of allowed printers to 
only local printer?


Any suggestions are much appreciated!

Dennis


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