using Cocoon for any
content presentation.
I've only been using Cocoon (2.0.4) for a couple of months, so if
there's a better way of doing this, I'm all ears. While the redirect
after the serialization isn't critical, it'd certainly be nice.
cheers,
neil.
-Original Me
Is there actually a working TextParserGenerator? I've not seen any
examples of anyone using it on the web.
I can't get Cocoon to recognise it in the sitemap decleration.
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
Is there a detailed exception in the logs under WEB-INF/logs/*.log ?
(Perhaps you must set the log level higher)
With this exception I can only draw the conclusion, that the generator
have problems with the configuration within the components section.
Stephan.
Okay. I have looked at the error.lo
Apologies if this has been answered previously but I'm a relative newbie to Cocoon2.
I have a structured text file which is exported from a database (non SQL, a complete mess so there's no chance of using standard xsl logic to extract data) and need to convert it into ead-xml.
I am trying to
ocoon) when I also tried -Dexclude.deprecated=yes).
Cheers,
Neil Bacon
-Original Message-
From: Geoff Howard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 26 March 2003 3:06 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Cocoon-2.1-dev build fails
Neil, I can't repr
Re: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=104862608911688&w=2
I like the way the build tries to let you include just what you want, but there
are a few little problems with it. Yesterday I checked out the CVS HEAD and now
using jdk-1.4.1, windows2000/cygwin ...
1.
I tried excluding b
In reply to: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=104725042020751&w=2
Although gnumeric xml allows any colour to be specified, excel only has a 56 colour
palette.
This page shows excel's default palette (some details depend on the version):
http://www.mvps.org/dmcritchie/excel/col
The new implementation for and
in
src/java/org/apache/cocoon/components/language/markup/xsp/AbstractEsqlConnection.java
is pretty neat, especially for oracle.
1) Unfortunately, Sybase Adaptive Server Enterprise does not support "select TOP",
only Sybase Adaptive Server Anywhere. Both use url
People generating dynamic Excel data and using MS IIS may hit this problem. I've
posted it because it affects cocoon users, even
though its not really anything to do with cocoon.
Environment
---
MS IIS v5 web server with dynamic content redirected to tomcat/cocoon.
Problem
---
Some
Problem: IE not recognizing Excel data generated by cocoon as being an Excel
spreadsheet.
1) This is due to a bug in HSSFSerializer.java, where the mime-type is hardcoded as
"vnd.ms-excel"
(the correct mime-type for Excel is "application/vnd.ms-excel"). Once this is fixed
it works fine
wi
Yes I've got cocoon-2.0.3_branch and 2.1-dev working in both jetty-4.2.2 and
tomcat-4.1.12 with no hassles
(but I'm not using JSP or jboss). I do get this exception when jetty starts - maybe
its related to your problem:
10:20:42.207 WARN!!
org.mortbay.util.MultiException[java.lang.ClassNotFoundE
"Andrew C. Oliver" <[EMAIL PROTECTED]> wrote:
> IIRC this is configurable...
> neil wrote:
>> The HSSFSerializer hardcodes the mime-type as "vnd.ms-excel" whereas I think it \
>> should be "application/vnd.ms-excel" (at lease that works better
The HSSFSerializer hardcodes the mime-type as "vnd.ms-excel" whereas I think it should
be "application/vnd.ms-excel"
(at lease that works better for me). Without this I got erratic behavior with IE/Excel
- sometimes the spreadsheet would
appear inside the IE window (excel inside IE) and othertime
Since the 2.0.3 release there have been fixes applied to esql in the
cocoon_2_0_3_branch (that's a CVS tag). These fixes are for
stored procedure support, so I suggest you try them. I've been using them with stored
procs in Oracle 8i, SQL Server (7 & 2000),
Sybase (ASA & ASE) and it works great.
to return org.apache.cocoon.caching.DeltaTimeCacheValidity(30, 0) to cache for
30 mins.
Is there a new substitute for this or do I have to write my own?
P.S. I like the look of the XForm & flow stuff and the performance of xsltc!
Cheers
Actions can't seem to read or transform the pipeline xml, they can only
read and act on request parameters. XSLT transformers can't create
sitemap parameters. So I'm a bit stuck. Can anyone fill in the gap?
Thanks,
Neil.
On Saturday, November 9, 2002, at 03:23 AM, Art
o use.
Can anyone help us both?
Thanks,
Neil.
On Friday, November 8, 2002, at 09:41 AM, Witold TreliĆski wrote:
Hi!
I have a question. How to make o redirection in XSP from one page to
other
depeneding on some code in ? I tried
url="any"/> and it
In cocoon.xconf, the oradb attribute in
select 1 from dual
If you don't specify it defaults to "select 1", which seems to be OK for
everything
except Oracle.
-Original Message-
From: neil [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 10 September 2002 3:23 PM
To:
|
!fred.equals(response.encodeURL(fred)) ) {
then it works for this page too. Maybe there's a neater way to do the same thing?
Without this fix a workaround would be to create the session when the login form is
generated
instead of when its posted.
Hi,
Has anyone using oracle already solved this one?
Although my app works OK, I'm getting debug messages (shown below) indicating that the
database "ping" fails
so cocoon is dicarding the connection and creating a new one.
I guess its going slower than it could due to this.
I do have
-EsqlQuery.getType("")
+
+
Types.
-Original Message-----
From: neil [mailto:[EMAIL PROTECTED]]
Sent: Monday, 19 August 2002 9:57 AM
To: '[EMAIL PROTECTED]'; Cocoon-Users (E-mail)
Subject: RE: esql patch for paging and ResultSets from Oracle stored
procs
I woul
class.
SQLTransformer has to use reflection because its acting as an interpreter and
executing the queries directly rather than generating
code to do so.
Regards,
Neil.
-
Please check that your question has not already
ogged, and
something else thrown).
Also, I don't think paging works within esql:call-results/esql:use-results e.g.:
sessionData.getRow() -
1
sessionData.getRowsPerPage()
I'll look into this one next week.
Regards,
Neil.
-
escription applies:
With EsqlQuery.position initialised to -1:
I asked for 3 rows starting at 1 and got 4 rows starting at 1
I asked for 3 rows starting at i > 1 and got 3 rows starting at i + 1
with position initialised to 0 it works as expected.
This was without any .
The "else"
e's version CVS Id: XSPRequestHelper.java,v
1.11 2002/02/27 05:33:50 vgritsenko Exp
* @version CVS $Id: XSPRequestHelper.java,v 1.1 2002/06/04 04:52:31 neil
Exp $
*/
public class XSPRequestHelper {
@@ -278,15 +289,18 @@
String[] values = request.getParameterValues(name);
eak;
This allows you to reuse the same if you want to.
Likewise for and .
Its not "difficult to work with" and I think its an option worth having even
though its not strictly necessary.
Cheers,
Neil.
-
Please
Please
> > read the javadoc carefully any try experimenting with a simple
standalone
> > test programme.
>
> Neil, please look at the actual code. EsqlQuery.getMoreResults() does a
lot
> more than Statement.getMoreResults().
OK. I didn't spot that your change depends on updates to
Re: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102165197728849&w=2
> note that you are always calling getUpdateCount on the same statement.
will
> it's state be changed?!? That would be indeed a ugly behaviour...
The code I included in the original post is abridged working code that
corre
Hi,
it seems that a few cocoon users like me, are hacking about with esql to get
it to do what we need. I'm working on the change shown below and am happy to
share it if anyone wants it.
JDBC can handle a sequence of values returned from a stored procedure, where
the values can be update counts a
Has anyone come up with a reasonably rigorous DTD for the sitemap? I know
its been talked about at various times, but I haven't found one yet.
I've cobbled together the following DTD, which I find handy with emacs xml
(psgml) mode. It handles the cocoon-2.0.2 sitemap OK and should be handy
with ot
I've been load testing my cocoon app with jmeter and I think I've found a
SQLTransformer bug.
My (MS SQL Server) JDBC driver was complaining about attempts to use various
objects after they had been closed (Connections, ResultSets and Statements).
In Query.execute() I think this bit should be rem
In a dos box:
set PATH=C:\WINNT\system32;C:\WINNT
set CLASSPATH=
build clean
build
First error:
C:\Neil\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\language\
mark
up\xsp\EsqlConnection.java:66: class
org.apache.cocoon.components.language.marku
p.xsp.EsqlConnection must be
path already or if
anyone has any views. I am very new to cocoon and am in search of the right
platform for this venture.
Many regards
Neil Ellis
-
Please check that your question has not already been answered in the
tomcat 4.0.1
>
> Ellis, Neil (FNB) wrote:
> > Hi I've just installed cocoon on a linux box redhat 7.1 with sun jdk,
> tomcat
> > 4.0 and got this ... I've searched the web to no avail... any ideas?
> > I got a 500 error with:
> > javax.servlet.Servl
Hi I've just installed cocoon on a linux box redhat 7.1 with sun jdk, tomcat
4.0 and got this ... I've searched the web to no avail... any ideas?
I got a 500 error with:
javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw
exception
at
org.apache.catalina.core.StandardW
I'm using instead of IN parameters:
{ ? = call sp(
'',
) }
The MS JDBC driver had trouble parsing a query with new lines in it,
but at least it gets by with one long line.
In reply to:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101429060624988&w=2
ease share any improvements you may have.
Cheers,
Neil.
Subject: Calling MS SQL stored procedure
From: "Miller, Grant" <[EMAIL PROTECTED]>
Date: 2002-02-20 15:45:47
Hi,
I'm having a problem calling an ms sql server stored procedure with the sql
transf
I'm trying to get large PDF reports streaming to the browser so that:
1. not too much memory is used (we can support multiple users doing reports)
2. we can support arbitrarily large reports
3. the user sees data dribbling onto their screen rather than being left to
wonder
if anything is happen
e?
3. Has anybody got a better way of doing it?
Cheers,
F\lib\AAnewstuff.jar and cocoon picks it
up from there.
Cheers,
Neil.
Result of: LC_ALL=C TZ=UTC0 diff -Naurb SQLTransformer-1.24.java
SQLTransformer.java
--- SQLTransformer-1.24.javaThu Feb 7 01:23:52 2002
+++ SQLTransformer.java Fri Feb 8 05:25:10 2002
@@ -35,7 +35,7 @@
* @author m
Wouldn't it be easier to compute the row number in the stylesheet instead of
XSP?
I think will give you the 1 based index
of the current element
e.g.
which might be what you need. Otherwise you could define a variable and
increment it to count the rows.
Great XSLT examples are a
I've got something working with (from sitemap.xmap):
but if I change the "2" to a "1" I get (amongst heaps of other stack trace
lines):
original exceptionOriginal exception :
java.lang.ArrayIndexOutOfBoundsException
at
org.apache.xalan.serialize.SerializerToHTML.endEleme
42 matches
Mail list logo