RE: Implementing JFreeChart through cocoon???and batik(dynamically generatedgraph) through cocoon???

2006-02-19 Thread Rob Gregory
It's already been on my list of @todo's in our own code base so I have no problem posting the mods to cvs or the fins newgroup? What's the best approach to take when I get the chance which hopefully will be in a couple of weeks? Cheers Rob Gregory -Original Message- From: news [mailto

RE: Implementing JFreeChart through cocoon???and batik(dynamically generatedgraph) through cocoon???

2006-02-17 Thread Rob Gregory
I used to use fins in Cocoon 2.1.3 but found it was not compatible with java 5 (only needed small mods to get it working) so I would be interested in knowing if this now supports Java 5? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 15 February 2006 10:18 To:

i18n - XML Resource Bundle - Parameters

2006-02-17 Thread Rob Gregory
Hello All, Im trying to reuse the i18n logic within Cocoon 2.1.7 so I can provide i18n translations from within our own core java classes. I have managed to get this working by implementing SourceResolver, Source, Logger ServiceManager and the plain translations are working fine.

RE: Sitemap/Input Module i18n guru req.

2006-01-26 Thread Rob Gregory
Hi Andreas I haven't had time to test Ralphs suggestion but if this work the result will be exactly what you need. I'll post some code once I have it working ;o) Rob -Original Message- From: Hochsteger Andreas (OIT V) [mailto:[EMAIL PROTECTED] Sent: 26 January 2006 10:20 To:

Calling i18n methods from java classes

2006-01-24 Thread Rob Gregory
Hi All, Is it possible to call the cocoon i18n code from outside of cocoon? I.e. I have a method that needs to translate certain texts but these do not reside within cocoon. I appreciate the lack of transformer stage outside of cocoon but can the lookup code be re-used outside of

RE: Sitemap/Input Module i18n guru req.

2006-01-23 Thread Rob Gregory
to implement a SourceFactory and a Source. Then in your Source have it return a systemid that varies depending on the request info (to insure caching works properly) and, of course, all the other methods should behave appropriately as well. Ralph Rob Gregory wrote: Hey Ralph, It sounds like you have

RE: Sitemap/Input Module i18n guru req.

2006-01-23 Thread Rob Gregory
that obtain their information in some other way and provide appropriate global values. You could use them if the I18nTransformer resolved them during setup instead of configure, but that isn't the way it behaves currently. Ralph Rob Gregory said: Again thanks Ralph ;o) I'm sure your pointers

RE: FOP pdf / gif image issue with Cocoon 2.1.8

2006-01-23 Thread Rob Gregory
Web.xml mime mappings sounds like a Tomcat issue rather than Cocoon one. I think you can also supply mime headers via Cocoon during your match but if it works... Does the FOP (PDF) still work as planned when a image is not used? Rob -Original Message- From: Jonas Lundberg [mailto:[EMAIL

RE: Sitemap/Input Module i18n guru req.

2006-01-23 Thread Rob Gregory
a similar effect by using location=prefs://catalog1. prefs is my own Source that locates the bundle using values at the time of the request - it returns a systemid that varies depending on request information so a different cached catalog can be used for each request. HTH, Ralph Rob Gregory wrote

RE: Content length exceeds maximum upload size.

2006-01-23 Thread Rob Gregory
-- ... /map:handle-errors /map:pipeline Does anyone see another way ? -Message d'origine- De : Rob Gregory [mailto:[EMAIL PROTECTED] Envoyé : mercredi 18 janvier 2006 22:57 À : users@cocoon.apache.org; [EMAIL PROTECTED

RE: Content length exceeds maximum upload size.

2006-01-23 Thread Rob Gregory
? For example a parameter for the upload directory ? 2. In case of cocoon upload support, what about if the file's size is greater than the authorised size ? Best regards. Bertrand Goetzmann. -Message d'origine- De : Rob Gregory [mailto:[EMAIL PROTECTED] Envoyé : mercredi 18 janvier 2006 22

Sitemap/Input Module i18n guru req.

2006-01-22 Thread Rob Gregory
Hello Cocoon Supporter; o) I have a problem with i18n support within Cocoon but suspect the issue can be resolved via the sitemap (which is so flexible) and as such the question is more of an InputModule usage than a problem with i18n Basically the i18n support within Cocoon is

RE: Sitemap/Input Module i18n guru req.

2006-01-22 Thread Rob Gregory
Thank you AS, Although its the location of the catalogue I need to be dynamic not the catalogue name which I still need to use i18n logic to degrade across country/language/variant etc. The current cocoon i18n transformer allows multiple locations to be specified which will be

RE: Sitemap/Input Module i18n guru req.

2006-01-22 Thread Rob Gregory
at the time of the request - it returns a systemid that varies depending on request information so a different cached catalog can be used for each request. HTH, Ralph Rob Gregory wrote: Hello Cocoon Supporter; o) I have a problem with i18n support within Cocoon but suspect the issue can

RE: Dyamic datasource configuration (2.1.7) is this possible? [JNDI]

2006-01-18 Thread Rob Gregory
Thanks for the advice Geert and for taking it the time to provide a complete solution/example for others to follow. Unfortunately, with the exception of the flowscript I have been doing this approach from the start with the exception of duplicating database connection details in both cocoon and

RE: Content length exceeds maximum upload size.

2006-01-18 Thread Rob Gregory
client using the commons file upload support The html form requires an enctype=multipart/form-data and a method=post for it to contain input name=myFile type=file/ elements. @authorRob Gregory @version

RE: Dyamic datasource configuration (2.1.7) is this possible?

2006-01-17 Thread Rob Gregory
Rob Gregory wrote: Hello People, thanks in advance for any assistance. I am running Cocoon 2.1.7 under Tomcat 5.5.9 and have a desperate requirement to provide the database (datasources/connection pools) dynamically aka 'on-the-fly'. After 'Googling' for about six months now

RE: Help finding dbcp connection leaks

2006-01-17 Thread Rob Gregory
Hi Joel, A good bit of software for this is Borland Server Trace BUT they got greedy and the last time I checked Borland wanted about 50K for a single user license!!! After that I dumped Jbuilder (at over 1k per developer) for Eclipse and we have NEVER looked BACK which is prob why they

RE: 65K limitation

2004-05-09 Thread Rob Gregory
No I think it means that the method can only return less than 65k. I don't think there is a max size for an xml document? -Original Message- From: Nils [mailto:[EMAIL PROTECTED] Sent: 07 May 2004 14:33 To: [EMAIL PROTECTED] Subject: 65K limitation Does that mean, that a

Sitemap Auto-Mount challenge

2004-05-07 Thread Rob Gregory
Hi People I have a requirement to automount sub sitemaps but don't want sub sites! To explain a little I have a single application that is growing very large day by day and the sitemap has been divided into multiple sub-sitemaps currently using the map:mount approach as follows:- !-- map

RE: cocoon dont define class in XSP

2004-03-04 Thread Rob Gregory
This error usually means you have not imported the class into the xsp using !-- java imports for any classes we depend on -- xsp:structure xsp:includejava.util.Vector/xsp:include /xsp:structure Or the imported class can't be found - make sure the jar is in your WEB-INF/lib

RE: cocoon protocol not available

2004-03-02 Thread Rob Gregory
Not sure I really understand the question but your error message suggests you are using cocoon:/ as far as I remember I have previously used this but with a double slash i.e. cocoon://bf_orders_actions_show May be wrong but worth a try... Regards Rob Hi, where is the reason that the

RE: logic question...

2004-03-02 Thread Rob Gregory
Is this a JSP or an XSP?? Can you post the complete page so we can help further... Regards Rob Greetings all, Realitivly new to the cocoon/xsp world, so please keep that in mind. Here is my problem: test.jsp (using map:generate type=serverpages) jdk 1.3 weblogic 7.0 tab name=a

RE: [POLL] which Cocoon version / JDK version / Servlet Container are you using ?

2004-03-02 Thread Rob Gregory
COCOON : 2.0.3 in production 2.1.4 in development JDK : 1.4.1 CONTAINER : Tomcat/Catalina 4.1.24 in production 5.0.18 in development (optional) PRO/CON 1.4 requirement for 2.2 : PRO Regards Rob Thread http://marc.theaimsgroup.com/?l=xml-cocoon-devm=107820594521924w=2 discusses wheter jdk

RE: logic question...

2004-03-02 Thread Rob Gregory
guessing that as you are using aggregate the session probably doesn't contain the object you require if this is the case expand on your problem... Regards Rob Gregory Cocoon 2.0 running on weblogic 7 with struts thrown in the mix, although I dont see how that could be effecting anything

RE: Best Books

2004-03-02 Thread Rob Gregory
To narrow down your problem try something like the following:- Schedule shedX = (Schedule) session.getAttribute(patSchedule); if (shedX == null) System.out.println(shedX was null); You can also do a session.toString() to check you are dealing with the same session as the one logged? Hope any

esql:use-limit-clauseoracle/esql:use-limit-clause

2004-02-28 Thread Rob Gregory
Hi All I have been looking into the issue of EQSL paging no longer working with Oracle since upgrading Cocoon from 2.0.3 to 2.1.4 and although I can't see any direct reason in the code for this problem I have noticed that if I use jdbc as the limit clause instead of our default setting of auto

RE: Can anyone explain this

2004-02-18 Thread Rob Gregory
the sitemap, I simply delete a file which is in a directory that cocoon ought not even to be accessing at this point, and all is well. Can anyone explain this? On Sun, 15 Feb 2004 00:13:48 -, Rob Gregory [EMAIL PROTECTED] said: Are you getting the resource not found error from

RE: [ESQL] esql:more-results seems broke with Oracle

2004-02-16 Thread Rob Gregory
very much for the pointer I will help as much as I can to help resolve this for all if it's not just my problem. Much appreciated Rob Gregory wrote: Please could anyone confirm that they are using Oracle with ESQL on Cocoon 2.1+ with the esql:more-results tag working?? Thanks

ESQL logicsheet Problem with Pagination since Cocoon 2.1+

2004-02-14 Thread Rob Gregory
Title: Message esql:more-resultsnolongeroutput! Hi people I have been using Cocoon since version 2.0.3 and have used the ESQL logicsheet from within XSP and all was fine until I recently upgraded to Cocoon version 2.1.3. Since the upgrade the esql queries etc still work and produce results

RE: Can anyone explain this

2004-02-14 Thread Rob Gregory
Are you getting the resource not found error from Cocoon or from your sevlet container? Sounds like the request is not getting as far as cocoon... //Post My setup is Windows/Tomcat5.0.18/Cocoon2.1.3 and some really weird things are

[ESQL] esql:more-results seems broke with Oracle

2004-02-14 Thread Rob Gregory
Title: Message Using Cocoon 2.1++ the esql logic sheet seems to have stopped working with an Oracle database?!? Code that has been working fine under C2.0.3 no longer generates any content for the esql:more-results although the previous-results tag still works ok. I have googled for a week

XSP could not be preloaded

2003-08-08 Thread rob . gregory
Hi, does anyone know what this error means ? ERROR (2003-08-05) 14:06.27:937 [core.program-generator] (/cocoon/ebiz/projfiledata/application/projfiledata.html) HttpProcessor[80][3]/ProgramGeneratorImpl: The serverpage [file:/D:/opt/ebiz/projfiledata/application/xsp/projfiledata.xsp] could