Maybe try this:
xsp:logic
String Test = request.getParameter(EMP_DEP);
if (Test != null)
{
xsp:content
Your esql ...
xsp:content
}
/xsp:logic
-Ursprüngliche Nachricht-
Von: Gustavo Mejia [mailto:[EMAIL PROTECTED]]
Gesendet am: Dienstag, 19. Juni 2001
Hi,
have you checked the logfile (by default it is
cocoon/WEB-INF/logs/cocoon.log)?
I am also wondering how I can extract the exception from an esql query?!?!
Mariano
I am trying to get the sample sql link from welcome
page work..the esql link works fine ... but the sql
link throws
Hi
I had this problem. That's seem to be due to old xerces and xalan library in
my path when loading tomcat
- Original Message -
From: Tobias Florek [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 18, 2001 10:28 PM
Subject: RE: C2 problem
Johnny wrote:
blahblahblah
I am new to C2 too, but keeping that in mind ... I always get this message,
when I did an inpropriate change to sitemap.xmap. Sometimes I also get this
message, when launching cocoon, but it goes away after it is started properly.
If there is a syntax error in your sitemap.xmap, the log will
Uff...
sorry all. I got the wrong reply address and sent the list a mail with a
question in Spanish to someone in particular.
Won't
happen again,
Gustavo Wolf
-Message d'origine-De: Wolf Gustavo (SGC-EXT)
[mailto:[EMAIL PROTECTED]]Envoy: lundi, 18. juin 2001
18:23:
Paul Nock a écrit :
Hmmm...
Is your patch correct?
I see it's changed to...
private boolean isValidName (String name) {
if (name != null) {
return false;
}
.
I found my stylesheets no longer had xsl:params working properly with the
The compilator say:
java.lang.Exception: XSP Java Compiler: Compilation
failed for _index.java
2385: Undefined variable: u
xspExpr(formatDate(u,1,viewer),document)
.
End the code is:
xsp:logic
thresholdlabelThresholds:/label
I don't know for sure, but I believe that the xsp:content tag is the
cause. Try...
for(int u = 0; u lt; u++){
xsp:content
value
datexsp:exprformatDate(u,1,viewer)/xsp:expr/date
pre-alarmxsp:exprformatDate(u,2,viewer)/xsp:expr/pre-alarm
A xsp:logic is missing before your java code.
- Original Message -
From: Morrison, John [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 19, 2001 9:54 AM
Subject: RE: which is the problem?
I don't know for sure, but I believe that the xsp:content tag is the
cause. Try...
if i write the same code without for and with variable the compiler says the
same things
int u = 10;
xsp:content
value
datexsp:exprformatDate(u,1,viewer)/xsp:expr/date
pre-alarmxsp:exprformatDate(u,2,viewer)/xsp:expr/pre-alarm
Hello
How can I turn off caching of my xsp-pages? in
my current status of developing xsp-pages with
esql i need no caching. I have to resart my
tomcat everytime i change my xsp-file. otherwise
my changes wan't be recognized.
can somebody show me a workaround or is
there an option to switch?
Could you show us the corresponding sitemap snipped?
AFAIK serverpages are not cached by default.
(had no problems myself with that...)
Changes in the xsp file result in a recompilation...
--
Torsten
-Original Message-
From: Daniel Pfuhl [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June
Hi
here is the snipped from my sitemap:
map:match pattern=xsp/esql
map:generate type=serverpages
src=docs/samples/xsp/esql.xsp/
map:transform
src=stylesheets/myown/default.html.xsl
/map:transform
map:serialize/
/map:match
I also attached my xsp file and the xsl for
this.
Hm.. looks good to me... sure
it's no db caching? try a commit;
before your query.
Hi
here is the snipped from my sitemap:
map:match pattern=xsp/esql
map:generate type=serverpages
src=docs/samples/xsp/esql.xsp/
map:transform
src=stylesheets/myown/default.html.xsl
Hello again,
I don't think that's an db cahcing issue. because
i'm changing the structure of my xsp-file an this
will not be seen. i also can change the structure
to some not valid one and cocoon will serve the
old one without shouting at me :-(
maybe some tomcat related error?
daniel
---
Sorry, only experienced this in VERY old versions of cocoon.
Try to remove the file from the repository then...
--
Torsten
-Original Message-
From: Daniel Pfuhl [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 19, 2001 2:58 PM
To: [EMAIL PROTECTED]
Subject: RE: C2: xsp caching
java guru [EMAIL PROTECTED] writes:
The log file didnt show any error..or may be i am
missing it...
Anyway, I was using following code(note the
esql:error-results) for catching database exceptions..
esql:execute-query
esql:queryselect * from
department_table1/esql:query
OK, Kot, that's a good idea - to integrate XMLSpy with Xalan as
transformer - I din't know it's possible - I should try that.
Problems with XML Spy begin when you are editing XSP pages - you have to
write all that Java code as text and you have no syntax highlighting, no
code insight and all
hello,
I've a question concerning logicsheets and C2: what to put into the
cocoon.xconf for the logicsheet to work, cause I can't find it out :(.
Any help is welcome,
greg
-
Please check that your question has not already
Dear cocooners
I would like to find out if anyone had built a content editor for the
agregation and syndication of content in Cocoon. Any tips would be greatly
appreciated.
Thanks in advanced.
Regards,
Jessica
-
This mail sent through IMP:
At 05:13 PM 6/19/2001 +0400, you wrote:
Problems with XML Spy begin when you are editing XSP pages - you have to
write all that Java code as text and you have no syntax highlighting, no
code insight and all other things that makes Java programming easier with
IDEs.
Are there any editor which
On Tue, 19 Jun 2001, Zeljko Rajic wrote:
Hi,
I'm currently trying to find out how to set response headers within Cocoon,
respectively XSP in general. Reading the Cocoon respectively Cocoon's XSP
documentation and FAQs I couldn't find any information about this topic.
So I still got some
How can I change the encoding value produced by the i18n transformer (by
default UTF-8)?
In sitemap file I tried
map:transformer ...
encoding value=iso-8859-1
then
encodingiso-8859-1/encoding
then
map:parameter name=encoding value=iso-8859-1/
etc..
The attached file contains a simple taglib and includes full install
instructions. If someone from the development team would like to, please
feel free to add it to the distribution.
empty-taglib.xsl
Gary A. Clark
Systems Programmer
Software Services Group
JELD-WEN Information Systems
Something like this will set it up as a taglib. Put in the same section as
the rest of the builtin-logicsheet tags.
builtin-logicsheet
parameter name=prefix value=taglib/
parameter name=uri value=http://apache.org/empty-taglib/1.0/
parameter name=href
If you talk about i18nTransformer from latest C2 (which replaced the old
i18n transformer), then it is not intended to specify encodings. It uses
encodings from your files and simply replaces i18n text by values from the
dictionary.
If your XML file is in UTF-8 then the result will be also in
Marco
I think that the problem is javax.naming.* : where is this packge?
javax.naming is part of J2EE; you can get this from the Sun web site.
Of course, this is supplied if you are running EJB in an appserver.
HTH,
-Scott
I'm a relatively new to Cocoon and XSLT, but I've verified that this
problem is specific at least to Cocoon 2.1-dev (from the beginning of
June so forgive me if this has been fixed in the most recent CVS) by
doing a comparative test using the same XML and XSL files with the Perl
XML::LibXSLT
Hope I'm not wasting anyone's time with this, but I found the solution to my
question/problem and wanted to post it for the benefit of anyone who might be
struggling with this or a related issue. The answer was actually in the
sitemap documentation (my apologies for not reviewing it prior to
Hi everyone,
I got it, the problem was when I tried to compare with null, I don't
know why Cocoon doesn't recongnize the condition if (Test !=null),
could this be a bug ?, in other to make it works I change to:
xsp:logic>
String Test;
Test = request.getParameter("EMP_DEP");
if (Test.length()
hi
i'm trying to pass parameters from XML file to another
XML file, i've checked the FAQ, but all what i found
is to pass through URL,but i want to pass a lot of
parameters without using URL, please i need help in
how to do that, i'm using linux redhat 6.1, Cocoon
1.8.2, ApacheJServ/1.1 over
Hi.,
Anybody, luck with running c2 from linux box..with
svg...my server is complaining that it couldn't
connect to display:0.0..Someone suggested to run with
Xvfb..but it didnt help
Anyone succeeded with this please..step-by-step
details
Thanks
Hi all,
I installed Tomcat 3.2.2 and Cocoon2, the Tomcat works well
(http://localhost:8080) but Cocoon2 not, it gave me the error message of
The sitemap handler's sitemap is not available. I did delete jaxp.jar and
copied xerces-1.4.0.jar and changed parser.jar to zparser.jar as suggested.
When
Dear All,
I create a content management system using XSP, the
XML descriptor (I called this content descriptor) can
generate HTML form, try it. It is work in several
computer. I need a lot of contributor to test this.
This will be a serious project for me.
I need your feedback of my idea (XML
34 matches
Mail list logo