esql

2001-06-18 Thread Oskar Werewka
Hi Cocooners How to stop ESQL inserting "null" ? I want to have an empty field where it is empty. Regards, Oskar Werewka -- Kamera wideo Sony, 5000 zl wygraj w konkursie eMarketu i Onet.pl [ http://konkursy.onet.

Re: How do you build your XSLs?

2001-06-17 Thread Oskar Werewka
I am using a king of notepad, but you would not be happy with this answer ;( >Yes, what you say makes lots of sense, but still doesn't answer the >question... :( >How exactly do you write your XSLT files?? > >Just a thought, though: the basic features of XSLT can be mastered by a >non-programmer

Re: java.lang.VerifyError

2001-06-12 Thread Oskar Werewka
check in repository the size of you generated class, java classes cannot be bigger than 64Kb - I didn't check if it is true, but read about it there. Oskar Werewka >Hello, > > This is in regard to java.lang.VerifyError . I am also experiencing it. >Scott Jones got

log files

2001-06-10 Thread Oskar Werewka
Hej cocooners, How can I use a log file, and which one? From cocoon or from tomcat? A bit of code, or a place where can I learn about it will be niece. Regards, Oskar Werewka -- Kamera wideo Sony, 5000 zl wygraj w konkursie eMarketu i Onet.pl [ http://konkursy.onet.pl/emarket

Re: Toy logic sheet sample?..

2001-06-10 Thread Oskar Werewka
I do not know if you want exactly this stuff, buy this is working logic sheet, not completely implemented. It is writing security roles to the System.out ... Oskar Werewka >I wish to factor out common stuff from my XSP pages to put in a common >library. >I'm under the impres

Re: session basic

2001-06-08 Thread Oskar Werewka
>Oskar, > >try this instead: > >Oskar >Werewka > > >If you look again at your generated code, you can see that it is setting >the value for "username" to "" in the call to setAttribute(). Thanks it is working now. Why did not I saw this?

session basic

2001-06-08 Thread Oskar Werewka
I have this: and I'm not getting any "Oskar Werewka" in the output? but why? When I looked at the generated java code, it seens to be OK: session.setAttribute( String.valueOf("username"), "" ); and:

Re: [new to cocoon] use of variable and like tag

2001-06-07 Thread Oskar Werewka
Sorry but I cannot understand what you are trying to do? You want this test in your style sheet or in a XSP page? >Hi, I'm new to Cocoon, but for over a year i work with a system (done within >my firm) that is really like cocoon structure. >In this tag language (not xml compliant and based on p

XSP life cycle

2001-06-07 Thread Oskar Werewka
doesn't have anything to do with the servlets live cycle? Thanks for writing an answer for me. Oskar Werewka -- Kamera wideo Sony, 5000 zl wygraj w konkursie eMarketu i Onet.pl [ http://konkursy.onet.pl/em

Re: Problems with turbine-pool

2001-06-07 Thread Oskar Werewka
Mayby this can help you, I was asking here about using Turbine, those fragments are not written by me. / one version // import org.apache.turbine.services.db.PoolBrokerService; import org.apach

Re: use connection pool in esql

2001-06-06 Thread Oskar Werewka
I have the same configuration, and it is working? Did you restart cocoon after hanging cocoon.properties? >Hi, I was trying to use connection pool in esql, but I still got error: >java.lang.RuntimeException: Could not open pooled connection: mypool > >In cocoon.properties, I add mypool definitio

RE: Turbine without ESQL

2001-06-06 Thread Oskar Werewka
place the following lines: > > org.postgresql.Driver > jdbc:postgresql://localhost/test > test > test > >with: > > mypool > > > >Gary A. Clark >Systems Programmer >Software Services Group >JELD-WEN Information Systems > > > -Original

Turbine without ESQL

2001-06-06 Thread Oskar Werewka
Can somebody just send me a fragment of code, which gets connections from Turbine pool? COCOON 1.8.2 It will be very niece for me ;) Thanks, Oskar Werewka -- Kamera wideo Sony, 5000 zl wygraj w konkursie eMarketu i Onet.pl [ http://konkursy.onet.pl/emarket

how to eliminate ......

2001-06-06 Thread Oskar Werewka
stuff like this: xspCurrentNode.appendChild( document.createTextNode("\n\t\t\t\t\t") ); from XSP source code? Is there a switch, or something to do it? Regards, Oskar Werewka -- Kamera wideo Sony, 5000 zl wygraj w konkursie eMarketu i Onet

Checking request parameters ....... planing architecture.

2001-06-06 Thread Oskar Werewka
I do not want to have java code in my xsp pages, therefore I want to write a taglibrary for checking request parameters. Examples of provided tags: the code for each tag will take the request parameter, check a condition and if it is wrong inserts a tag to the document, which will be dis

xsl include and performance

2001-06-05 Thread Oskar Werewka
Does the use of xsl include affects much performance? If it is used once COCOON will cache somehow the combined style sheet or will read the source files each time? Regards, Oskar -- Kamera wideo Sony, 5000 zl wygraj w konkursie eMarketu i Onet.pl [ http://konkursy.onet.pl/emarket ]

Re: esql connection basic

2001-06-01 Thread Oskar Werewka
gt;With connection pool I probably can solve this problem, am I right? >Where can I configure pooling for my esql logicsheets ? And how to >use it? (example or where can I find it?) > >Regards, >Oskar Werewka > > >>Oskar, >> >>would a connection pool not work fo

Re: esql connection basic

2001-06-01 Thread Oskar Werewka
configure pooling for my esql logicsheets ? And how to use it? (example or where can I find it?) Regards, Oskar Werewka >Oskar, > >would a connection pool not work for you? It is much easier than what you >want to do, and performance is better, too (since you don't wait to l

white spaces

2001-06-01 Thread Oskar Werewka
How to remove all white spaces from cocoon output? Regards, Oskar Werewka -- Kamera wideo Sony, 5000 zl wygraj w konkursie eMarketu i Onet.pl [ http://konkursy.onet.pl/emarket ] - Please check that your question

esql dynamic sql

2001-06-01 Thread Oskar Werewka
I need to include in my sql statement some parameters from request object and also from my java code. Example: "select * from users where userid = " How about PreparedStatement? "select * from users where userid = ?" Can I use it somehow? Thank again for your

esql connection basic

2001-06-01 Thread Oskar Werewka
one style sheet where can I define a database connection, how can I divide it? That means how can I divide query and connection definition. Thank you for help. Regards, Oskar Werewka -- Kamera wideo Sony, 5000 zl wygraj w konkursie eMarketu i Onet.pl [ http://konkursy.onet.pl/emarket

Re: Cocoon 1.8.2 taglibs

2001-05-30 Thread Oskar Werewka
You can also look for logicsheets in cocoon *.jar files where are the java classes. >Hi! >Where can I find info about the Cocoon 1.8.2 taglibs? (I believe util is one >of them but I can't find it anywhere) >TIA, >Navneet > > >Try this: {Cocoon-Home}\src\org\apache\cocoon\processor\xsp\library\j