Re: Switch generate type to serverpage returns a blank page

2006-07-26 Thread Basil Moser
I have tried this. After setting the serializer to xml only the java code is displaye which should be executed. But without sucess. Have anyone a simle example where he handles xml, xsl sheets with java source code insight? Thanks a lot Basil On Jul 21, 2006, at 12:09 PM, Andrew Stevens wrote

Re: Xhtml and Ajax...no go!!

2006-07-26 Thread Mark Lundquist
On Jul 26, 2006, at 3:53 AM, Andrew wrote: from where do I get rid of it from? I removed the declaration from my xsl stylesheet, but still it remains. You gots ta have the XML declaration in your stylesheet, otherwise the XSLT transformer can't parse it... I checked the map:serializer sect

Re: fd:output widget of type="hidden|

2006-07-26 Thread Andrew
Marco,that did the trick! ;-) Many thanks for your help.regardsAndrewOn 26/07/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:Hi Andrew, I guess 'Invisible' is what you are looking for.See: http://cocoon.apache.org/2.1/userdocs/widgetconcepts/widgetstates.html Marco2006/7/26, Andrew <[EMAIL PROTE

RE: Performance and Sitemaps

2006-07-26 Thread Ard Schrijvers
> Hi there, > > I've been trying to increase the performance of my cocoon > deployment and the profiler has shown me that the pipeline > seems quite fast but the over all time is much slower than > the time in each of the components in the pipe. When I was > playing with a different bit of th

Auth Problem

2006-07-26 Thread Manuel Ottaviano
Hello Cocoon developers, I've problems with the authentication framework. I use the example in "samples/blocks/authentication-fw/login" I want to authenticate against a mysql. I've create a specific pipeline process that works correctly and generates an authentication file: First I've define

Re: fd:output widget of type="hidden|

2006-07-26 Thread 321los
Hi Andrew,I guess 'Invisible' is what you are looking for.See: http://cocoon.apache.org/2.1/userdocs/widgetconcepts/widgetstates.html Marco2006/7/26, Andrew <[EMAIL PROTECTED]>: Hi,is it possible to make a widget, specified as fd:output, hidden? I have tried to specify type="hidden" on the widget i

fd:output widget of type="hidden|

2006-07-26 Thread Andrew
Hi,is it possible to make a widget, specified as fd:output, hidden? I have tried to specify type="hidden" on the widget itself but the widget is still displayed.regardsAndrew

Performance and Sitemaps

2006-07-26 Thread Stewart, Gary
Hi there, I've been trying to increase the performance of my cocoon deployment and the profiler has shown me that the pipeline seems quite fast but the over all time is much slower than the time in each of the components in the pipe. When I was playing with a different bit of the site I noticed

Re: Where I can find Action Logs?

2006-07-26 Thread Omar Adobati
Where I can find a patern reference to manage what I want in my log? %23.23{time:-MM-dd' 'HH:mm:ss.SSS} %5.5{priority} %40.40{category} (%{host}%{uri}) %{thread}/%{class:short}: %{message}\n%{throwable} Thank you very much Omar --

Re: Re: Where I can find Action Logs?

2006-07-26 Thread Omar Adobati
Thhks for your answer too, but what I'd like to have is just a log about what I'm sending. I would like to be able to log what the sendmail do. Omar On 7/26/06, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: On 7/26/06, Omar Adobati <[EMAIL PROTECTED]> wrote: > ...But now, how I can log the m

RE: Weird Javascript error in continuations

2006-07-26 Thread Ard Schrijvers
Hello Simone, talking about continuations, did you already find a solid way to handle high traffic sites with many concurrent continuations and memory useage? It bothers me a little that when building sites, we have to keep track of the number of continuations (we had a large site with many vis

Re: Re: Where I can find Action Logs?

2006-07-26 Thread Bertrand Delacretaz
On 7/26/06, Omar Adobati <[EMAIL PROTECTED]> wrote: ...But now, how I can log the mail I'm sending?... It would probably be useful to spy the network traffic between your application and your mail server, see http://marc.theaimsgroup.com/?t=11428652402&r=1&w=2 -Bertrand ---

Re: Where I can find Action Logs?

2006-07-26 Thread Omar Adobati
Extending the SendMAilTransformer was my original idea, but I'' try to change the log level... thanks again for your time On 7/26/06, Ard Schrijvers <[EMAIL PROTECTED]> wrote: Set the sendmail category logging to DEBUG, and see what gets logged. If you get what you want, try if INFO level also

RE: Where I can find Action Logs?

2006-07-26 Thread Ard Schrijvers
Set the sendmail category logging to DEBUG, and see what gets logged. If you get what you want, try if INFO level also gives you what you want (better then DEBUG ofcourse) But, I doubt wether the SendmailTransformer logs all these things you want to see. Then, you could extend/replace the Send

Re: Where I can find Action Logs?

2006-07-26 Thread Omar Adobati
it works pretty nice! Thanks a lot! But now, how I can log the mail I'm sending? I need to modify anything? I just like to know that at certain time an e-mail was sended. I'd like to know the from and the to fileds and maybe the subject (and, of course, the time). Could you help me here to? Omar

Re: Weird Javascript error in continuations

2006-07-26 Thread Simone Gianni
Hi Toby, I think you are right. What a continuation does (should do) is dump the local variables and restore them before restarting the flow. This means that if you write var a = 1; then create a continuation, when you return to that continuation a should be 1 again, even if in other continuations

Re: Xhtml and Ajax...no go!!

2006-07-26 Thread Andrew
Hi,I got the following information from the wikipedia (http://en.wikipedia.org/wiki/XHTML)The following is an example of XHTML 1.0 Strict. " http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">http://www.w3.org/1999/xhtml" xml:lang="en"> XHTML 1.0 Example This is a tiny example of an

Re: Weird Javascript error in continuations

2006-07-26 Thread Toby
Jason Johnston wrote: > First you assign the 'useless' variable a String value, then you > create the continuation. When you resume the continuation the first > time, you re-assign the 'useless' variable so that it now holds an > Array value (String.split() returns an Array). When you resume the

Re: Xhtml and Ajax...no go!!

2006-07-26 Thread Andrew
Hi,in fact the document will not even load without the xml declaration in the page. If you remove it you get the following error message:Invalid byte 1 of 1-byte UTF-8 sequence.regardsAndrew On 26/07/06, Andrew <[EMAIL PROTECTED]> wrote: Philip,from where do I get rid of it from? I removed the decl

Re: Xhtml and Ajax...no go!!

2006-07-26 Thread Andrew
Philip,from where do I get rid of it from? I removed the declaration from my xsl stylesheet, but still it remains. I checked the map:serializer section of the sitemap and there is nothing there either. I thought I might have a caching issue on my server so I restarted it, still no go. regardsAndrew

RE: Where I can find Action Logs?

2006-07-26 Thread Ard Schrijvers
> > > Good Morning, > > I know it would be a silly question, but I'm still new here... > I have configured my sitmap for SendMail action adding > > >src="org.apache.cocoon.acting.Sendmail"/> > This logger says, it will first try to log to sitemap/action/sendmail, if this is n

RE: Xhtml and Ajax...no go!!

2006-07-26 Thread fhagen
Hi Andrew, i had the same error and nearly got insane but now my app is running in ajax - mode. Here is what i did: I added some js-files to my stylsheet: dojo.addOnLoad(forms_onload); dojo.require("cocoon.forms.*"); xsl:template match="fi:form-template|fi:form-generated"

RE: Xhtml and Ajax...no go!!

2006-07-26 Thread Fennell, Philip
Andrew, Although I cannot comment on your stated problem I was drawn to reply because I noticed that your example XHTML output had an XML declaration at the start: If you want the web pages you are generating to render as best as possible across all browsers then you need to drop the XML decl

Xhtml and Ajax...no go!!

2006-07-26 Thread Andrew
Hi,can someone please tell me why when setting ajax="true" in my CForm and serializing the document as xhtml (Strict) the following line in the xhtml output should break the page?: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">.
Where I can find Action Logs?
Good Morning, I know it would be a silly question, but I'm still new here... I have configured my sitmap for SendMail action adding and I suppose that the logger attribute is about a logging function. Am I wrong? If not, where I can find the log? And, If I'm wrong, how I can set-up