Re: Send directly to printer....?

2003-01-18 Thread Antonio Gallardo
Hi Dale: Thanks for your explained answer. I will use all the tips you advised here. Its is a very fine description of the problem and your effort in this area. Surely it will save me many time trying it. Many thanks again. In my concrete case we can make use of some of the approach you suggested

Re: Send directly to printer....?

2003-01-18 Thread Dale Frye
A word of caution here: This will only work with some browsers: The problem I had (I can't remember if it was with IE 6 or Moz, but I think it was Moz) was that the print function would return immediately and the close function would then close the window before the window actually printed (the

Re: Flow questions

2003-01-18 Thread Miles Elam
Christian Haul wrote: Miles Elam wrote: Thanks, although now I'm a bit confused. I think you are assuming background information that most of us don't have. 1) What is the "modular" package? I was refering to org.apache.cocoon.acting.modular What CVS branch are you using? I've just pu

RE: Send directly to printer....?

2003-01-18 Thread Antonio Gallardo
I mean on the cliente. I was ”researching” and found a solution using javascript: newwindow.open() newwindow.print() newwindow.close() This are not the exactly commands, but it can work. I will try it. But if you know another solution, please let me know. :-) Best Regards, Antonio Gallardo G

Re: XSP : control structures

2003-01-18 Thread Pierrick Brihaye
Hi, Sorry, I have reordered your answer : > > Are there control structures in XSP ? Here is what I mean (taken from > > http://xml.apache.org/cocoon/userdocs/xsp/logicsheet.html) : > > No. :-( > For the example you gave, if msg has either an empty string value, or a > useful value (in other wor

Re: Flow questions

2003-01-18 Thread Christian Haul
Miles Elam wrote: Christian Haul wrote: Why don't you code this in a java class and just use it from flow? Why would you want to code that in javascript? Because JavaScript has no compile step and is simpler. Unless you are expecting a high load on a resource (content inserts and updates are

RE: XSP : control structures

2003-01-18 Thread Geoff Howard
> -Original Message- > From: Pierrick Brihaye [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 18, 2003 4:31 AM > To: [EMAIL PROTECTED] > Subject: XSP : control structures > > > Hi, > > Are there control structures in XSP ? Here is what I mean (taken from > http://xml.apache.org/cocoo

RE: Send directly to printer....?

2003-01-18 Thread Geoff Howard
Do you mean a printer on the client, or the server? > -Original Message- > From: Antonio Gallardo [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 18, 2003 2:55 AM > To: [EMAIL PROTECTED] > Subject: Send directly to printer? > > > Hi, > > Is there a way to send a document direct

XSP : control structures

2003-01-18 Thread Pierrick Brihaye
Hi, Are there control structures in XSP ? Here is what I mean (taken from http://xml.apache.org/cocoon/userdocs/xsp/logicsheet.html) : http://apache.org/xsp";> Hello, world! Got it ? The like for / , ... Such things would be useful, wouldn't hey ? Ch