RE: php in XSL

2005-01-11 Thread Derek Hohls
As always, your questions (never mind headers) are short to the point of being cryptic ;-) You could try the XSLT document() function e.g. xsl:apply-templates select=document('/projects/www/templates/sites/home/slots/stockpda.html')/ (Note: this use is discouraged in Cocoon; there are

RE: php in XSL

2005-01-11 Thread Derek Hohls
Smith I really think you are better off using Cocoon's functionality to create compound documents eg. the xinclude transformer http://cocoon.apache.org/2.1/userdocs/transformers/xinclude-transformer.html This will allow clean separation between different aspects of your application, and help

Portal - how to restore a page display without a refresh?

2004-12-23 Thread Derek Hohls
Quick question (Cocoon 2.1.6) When a coplet inside a page with other coplets is maximised, it displays fine... but when the minimise button is clicked (which should, I assume, restore the coplet back to its 'normal' position and show its fellow coplets) all that happens is that the coplet content

Cocoon portal engine - customizing coplets for users by role

2004-12-23 Thread Derek Hohls
Could someone please give me an idea of how to customizing the portal engine so that different users with different roles see different views of things WITHOUT having to copy-and-paste all the coplet definitions from the various portal.xml files all over again; ie. I just want to add-in new

Re: Conditional Logic

2004-12-22 Thread Derek Hohls
Patrick You should be able to evaluate the form's content using the DOM API inside of flowscript... I'm still struggling with this myself (some earlier postings for help had the comment made that this was not a Cocoon issue...) - please look at the mail archive and see if any of the replies make

Re: Need A Better Understanding of XSP Role

2004-12-21 Thread Derek Hohls
I think there have already been some good replies to this; my 2c would be to look carefully at what dynamic aspects are required by your users. Remember in Cocoon the aim is the separation of concerns. The main reason that Cocoon is not just another templating framework is to avoid mixing up

Cocoon Portal Sample errors

2004-12-17 Thread Derek Hohls
I have noticed that when I click on the x button on one of the tabs on the Tab Demo 1 page, in the Cocoon Portal sample ie. http://localhost:8080/cocoon215/samples/blocks/portal/portal?cocoon-portal-action=2cocoon-portal-event=3 followed by

Cocoon Forms - Javascript errors

2004-12-14 Thread Derek Hohls
I am getting the following message from Cocoon when I attempt to delete repeater row data from a form (note that adding data in the same form works just fine!); this is from the handled-errors log: ERROR (2004-12-14) 16:20.55:811 [sitemap.handled-errors]

Re: Rép. : Forms in Cocoon

2004-12-13 Thread Derek Hohls
My 2c re disadvantage of use of Cforms in DB projects: * Ease of implementation - this is relative; the disadvantage of learning someone's approach is quickly balanced by the extra support you get for it; large-scale handmade applications are notoriously quirky and difficult to debug. An

Re: Browser-based XML document editing tool?

2004-12-13 Thread Derek Hohls
The only tool I have been able to find is, indeed, CForms... with the htmlArea for embedded formatting/styling (problem is that, as shipped, the htmlArea tags are not stored as XML but that's another issue...) I doubt there is an instant fix, but it would be interesting to hear what other apps

Re: Navigation problem

2004-12-10 Thread Derek Hohls
Oleksandr Have a look at Andreas Hartmann's Navigation Menus Tutorial at cocooncenter.de. http://www.cocooncenter.de/cc/documents/resources/navigation/index.html HTH Derek [EMAIL PROTECTED] 2004/12/08 12:04:59 PM Hello All! I have problem with navigation in my cocoon application. Let's

RE: Navigation problem

2004-12-10 Thread Derek Hohls
Please post this to the Cocoon website admin with a request for an update. [EMAIL PROTECTED] 2004/12/10 11:27:36 AM Thank you! But link is broken. Here is alive: http://www.cocooncenter.org/articles/navigation.html Best regards, Oleksandr Filatov -Original Message- From: Derek

Re: Navigation problem

2004-12-10 Thread Derek Hohls
Nope, just what I said. The link I originally posted was taken off the Cocoon website, so that's the one that needs changing. See: http://cocoon.apache.org/2.1/tutorial/index.html [EMAIL PROTECTED] 2004/12/10 12:36:54 PM Le 10 déc. 04, à 10:35, Derek Hohls a écrit : Please post

Re: Design Quandry (POST xml data to be handled by Cocoon)

2004-12-07 Thread Derek Hohls
David Normally XSP is used for generation, not processing. Its possible that XSLT could be used for processing, as a further step in the pipeline (the generation being the first step). This, of course, depends on what the output XML should be (and what type of processing is required). D Hohls

Re: Manipulating the DOM in flowscript

2004-11-29 Thread Derek Hohls
Great, thanks Tony for a positive contibution and good support! [EMAIL PROTECTED] 2004/11/29 11:57:40 PM Hi guys, I wrote a simple wiki page about creating and editing xml documents using flow: http://wiki.apache.org/cocoon/FlowBasedXMLEditor I attached a little flowscript file which exposes

Re: Manipulating the DOM in flowscript

2004-11-29 Thread Derek Hohls
Brent Thanks for the clarification on the syntax; as I did point out in the post where I stated the problem - that was just an *example* of something I had tried; not all the other attempts were in that format or with that specific DOM call or syntax but nothing I tried would work -

Re: Forms: how to apply modifications to forms-page-styling.xsl

2004-11-28 Thread Derek Hohls
Probably best to setup your own forms processing stylesheet, import the default one, and then write specific code for those templates whose behaviour you want to change. [EMAIL PROTECTED] 2004/11/27 08:50:33 PM Hi guys, I'm using the Cocoon Forms framework. All works well, except I need to

Re: Problem with xmlns in html output (problem is whitespace)

2004-11-28 Thread Derek Hohls
How (please dont forget to post solutions in case some one else faces the same problem...)? [EMAIL PROTECTED] 2004/11/26 03:29:51 PM Ah sorted! On 26 Nov 2004, at 12:24, Andrew M wrote: Ok, I have ascertained that the problem I am having is whitespace, so I have amended my xsl file as

Re: Manipulating the DOM in flowscript

2004-11-28 Thread Derek Hohls
question related to its use... just as we try to deal with simpler, XSL-related questions before referring folk (esp. newbies) to the XSL mailing list. Thanks Derek [EMAIL PROTECTED] 2004/11/26 03:23:21 PM Il giorno 26/nov/04, alle 13:45, Derek Hohls ha scritto: is valid, but a call like: var

Re: Using htmlArea 'output' with SVG

2004-11-26 Thread Derek Hohls
Ugo In your point 3, surely the alterations take place *before* the model is saved i.e. form.load(model); form.showForm(uri); //do the DOM manipulation of the form/model(?) form.save(model); Derek [EMAIL PROTECTED] 2004/11/26 10:23:23 AM Il giorno 26/nov/04, alle 08:41, Derek Hohls ha

Re: Using htmlArea 'output' with SVG

2004-11-26 Thread Derek Hohls
such a partial change? [EMAIL PROTECTED] 2004/11/26 01:14:33 PM Il giorno 26/nov/04, alle 10:47, Derek Hohls ha scritto: Ugo In your point 3, surely the alterations take place *before* the model is saved i.e. form.load(model); form.showForm(uri); //do the DOM manipulation of the form

Re: Using htmlArea 'output' with SVG

2004-11-26 Thread Derek Hohls
is it not possible to alter only one part, and why should everything be discarded by making such a partial change? [EMAIL PROTECTED] 2004/11/26 01:14:33 PM Il giorno 26/nov/04, alle 10:47, Derek Hohls ha scritto: Ugo In your point 3, surely the alterations take place *before* the model is saved

Manipulating the DOM in flowscript

2004-11-26 Thread Derek Hohls
Simple question; I need to extract/change data coming from a Cform after it has been updated, but before it is saved to file. So, typically, it looks like this: var document = loadDocument(documentID); form.load(document); form.showForm(mypipe); form.save(document); Now a call

Re: Using htmlArea 'output' with SVG

2004-11-25 Thread Derek Hohls
Ugo Thanks for the further, tantalizing hints... what would be an example of one the couple of flowscript lines that one would need to ensure that XML and not plain strings were sent through for storage? Thanks Derek [EMAIL PROTECTED] 2004/11/24 10:22:55 AM Derek Hohls wrote: I agree

Re: dynamic selection of stylesheet

2004-11-25 Thread Derek Hohls
Morus It seems you should be able to do element matching in your stylesheets, based on the doctype/namespace of the document itself - eg. see the oblique reference at: http://www.dpawson.co.uk/xsl/sect2/N2281.html#d3521e292 This would remove the need to do any kind of flowscript or pipeline

[SOLVED] Re: Premature end of file error with xinclude?

2004-11-25 Thread Derek Hohls
For the record, I have finally found the problem... turns out one of the XML files in the folder was only partly uploaded to the server, and thus could not be processed. It would be *very* nice if this type of error was more effectively reported i.e. saying there is a problem with line N of

[SOLVED] RE: htmlArea - inserting special characters

2004-11-25 Thread Derek Hohls
Message- From: Derek Hohls [mailto:[EMAIL PROTECTED] Sent: Thursday, 18 November, 2004 10:06 To: [EMAIL PROTECTED] Subject: htmlArea - inserting special characters Has anyone located and used a plugin that allows you to specify a custom set of special characters that can be displayed

Re: [SOLVED] Re: Premature end of file error with xinclude?

2004-11-25 Thread Derek Hohls
Ah, now I feel better! [EMAIL PROTECTED] 2004/11/25 10:25:18 PM On 25.11.2004 13:29, Derek Hohls wrote: It would be *very* nice if this type of error was more effectively reported i.e. saying there is a problem with line N of file ABC. It's the parser, so blame Xerces for it :-) Joerg

Re: Using htmlArea 'output' with SVG

2004-11-25 Thread Derek Hohls
in the saved document? Thanks Derek [EMAIL PROTECTED] 2004/11/25 05:02:18 PM Il giorno 25/nov/04, alle 11:36, Derek Hohls ha scritto: Thanks for the further, tantalizing hints... what would be an example of one the couple of flowscript lines that one would need to ensure that XML and not plain

Re: Using htmlArea 'output' with SVG

2004-11-25 Thread Derek Hohls
else can help. Thanks Derek [EMAIL PROTECTED] 2004/11/26 09:13:30 AM Il giorno 26/nov/04, alle 07:59, Derek Hohls ha scritto: How do I go about ensuring that the altered data from the fieldName entry is included in the saved document? I don't know, I have no idea how you are saving

RE: Using htmlArea 'output' with SVG

2004-11-24 Thread Derek Hohls
parses the code into a DOM-tree. Bye, Helma -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED] Sent: Wednesday, 24 November, 2004 08:56 To: [EMAIL PROTECTED] Subject: RE: Using htmlArea 'output' with SVG Brunor - I thought Ugo was the once who came up

Re: Using htmlArea 'output' with SVG

2004-11-23 Thread Derek Hohls
/23 09:59:37 AM Il giorno 23/nov/04, alle 07:31, Derek Hohls ha scritto: Thanks; are there any example demo'ing how this approach can be integrated into Cocoon... I'm afraid this hint is less than obvious to me, especially as it seem htmlArea is not producing tags at all... The simple class

Re: Using htmlArea 'output' with SVG

2004-11-23 Thread Derek Hohls
[EMAIL PROTECTED] 2004/11/23 03:10:59 PM Il giorno 23/nov/04, alle 13:11, Derek Hohls ha scritto: OK - so what needs to be done to integrate this into a Cocoon application? I assume this is a page generator of some sort (or is a new transformer?), but I have not customized Cocoon in this way

Re: Cocoon and Hibernate (connection-pool) ...since it is getting colder outside

2004-11-23 Thread Derek Hohls
Yup; this is an old ask (Hibernate and Cocoon) - I think the most up-to-date tutorial on getting started is on the wiki at: http://wiki.apache.org/cocoon/CocoonAndHibernateTutorial (author is Johannes Textor...) Others are apparently working on tutorials; until these are done, you will either

Re: Memory usage

2004-11-23 Thread Derek Hohls
Jan I am having the same problems when doing a refresh on a page that displays an SVG - I find after a few times I have to restart Tomcat. Any solutions to this would be welcome! (I don't have the chopping up option open to me, though) Derek [EMAIL PROTECTED] 2004/11/23 09:55:18 AM Hi,

Re: bored with *talks* about docs (was: New documentation project?)

2004-11-23 Thread Derek Hohls
And to view v10 requires: http://svn.apache.org/viewcvs.cgi/forrest/branches/FORREST_05_BRANCH/src/resources/schema/dtd/v10/document-v10.dtd?view=markup [EMAIL PROTECTED] 2004/11/23 11:03:04 AM On 23.11.2004 07:27, Derek Hohls wrote: Joerg Could you supply the actual URL of the DTD itself

Re: Reliable XML/XSL editors for Cocoon development ?

2004-11-23 Thread Derek Hohls
My 2c is that the *designers* should not be let loose anywhere near Cocoon - it is a development tool. The designers could be given template pages, for example, to work with. Depending on the complexities of your operation, you can easily get away with: sitemap match - generator(read file

Re: Using htmlArea 'output' with SVG

2004-11-23 Thread Derek Hohls
into the exisiting framework. To keep it really simple, you could refer to the Cocoon sample that uses (or could use) htmlArea ;-) e.g. samples/blocks/forms/form2xml.flowor samples/blocks/forms/htmlarea Thanks Derek [EMAIL PROTECTED] 2004/11/23 07:52:24 PM Il giorno 23/nov/04, alle 14:39, Derek Hohls

RE: Using htmlArea 'output' with SVG

2004-11-23 Thread Derek Hohls
. For now Reinhard is looking things over. Bye, Helma -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED] Sent: Tuesday, 23 November, 2004 14:39 To: [EMAIL PROTECTED] Subject: Re: Using htmlArea 'output' with SVG Ugo Well, all this may be clear to you

RE: Using htmlArea 'output' with SVG

2004-11-23 Thread Derek Hohls
Brunor - I thought Ugo was the once who came up with the code we were talking about - its called HTMLparser (was attached to a previous email) ... what is the difference between these two?? [EMAIL PROTECTED] 2004/11/24 08:33:27 AM Helma Isn't the problem though, that the htmlAtrea strings

Re: AW: question on xsl

2004-11-22 Thread Derek Hohls
Raffaele / Andreas I think the preferred way (ie. processor independant) is to use either the recursive loop concept or the Xpath pos() function given in previous replies. reply. Derek [EMAIL PROTECTED] 2004/11/22 11:38:53 AM Hi Andreas I you wish to set a new value to a xsl:variable/

HTMLarea and Tabbed layout

2004-11-22 Thread Derek Hohls
Its now been established that HTMLarea does *not* work under IE6 when using tables... see: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=109203952322577w=2 and that page layout needs to be achieved through div tags instead: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=109203952322577w=2

Re: HowTo pass cocoon variables into client-side javascript?

2004-11-22 Thread Derek Hohls
Andrew Maybe you should expand this a bit more; doesn't the ASP code you quote run on the server? If so, then there are obviously Cocoon equivalents. Secondly, the javascript code that runs on the client machine can be generated on the server - and at generation time (ie. just before the popup

RE: HTMLarea and Tabbed layout

2004-11-22 Thread Derek Hohls
this resulted in suggestions to modify the forms_onload handler to include your own modified HTMLarea loader function. I haven't yet thoroughly tracked all of them down, but I don't mind you beating me on this. :-) Bye, Helma -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED] Sent

Using htmlArea 'output' with SVG

2004-11-22 Thread Derek Hohls
I'd like to be able to use htmlArea to allow my users to create content that gets displayed in an SVG. Although they will only be given access to some buttons when creating text content, one fucntion required is that of subscripting. I can match on an sub element and create the necessary SVG

Re: HTMLarea and Tabbed layout

2004-11-22 Thread Derek Hohls
Thanks Gurss I have managed to create a custom forms-page-style-css.xsl; I guess I should post it on the Wiki in case anyone else needs it. Derek [EMAIL PROTECTED] 2004/11/22 03:40:05 PM Derek Hohls DHohls at csir.co.za writes: Before I tackle this myself, I wondered if anyone else had

Re: [OT] CSS resources (was: HTMLarea and Tabbed layout)

2004-11-22 Thread Derek Hohls
As is the Designing without Tables by Dan Shafer. [EMAIL PROTECTED] 2004/11/22 04:21:15 PM Le 22 nov. 04, à 14:00, [EMAIL PROTECTED] a écrit : ...If you have a nice CSS-based solution for this, I'd like to know. I'm currently *teaching* CSS (which is a great way of learning it ;-), at a

Re: [OT] User Preferences and Webapp Configs

2004-11-22 Thread Derek Hohls
/22 04:27:08 PM Derek, Users are able to make runtime changes. As far as CForms, I am unable to use it so it's a lost cause. Thanks for the help though, I appreciate it. Julian --- Derek Hohls [EMAIL PROTECTED] wrote: Julian I was assuming your users *were* likely to be making changes

Premature end of file error with xinclude?

2004-11-22 Thread Derek Hohls
I have an app that is tested and working on the development machine (Windows), but when I upload and run the production box (Unix) I get the following strange error: ERROR (2004-11-22) 12:32.14:117 [sitemap.transformer.xinclude] (/cocoon215/soc/indicators)

RE: HTMLarea and Tabbed layout

2004-11-22 Thread Derek Hohls
, but I don't mind you beating me on this. :-) Bye, Helma -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED] Sent: Monday, 22 November, 2004 08:06 To: [EMAIL PROTECTED] Subject: HTMLarea and Tabbed layout Its now been established that HTMLarea does

RE: HTMLarea and Tabbed layout

2004-11-22 Thread Derek Hohls
Helma Sorry, no 'instant solution'; unless you want to send me your layout to try and reproduce it - but I have found the designing without tables book (Dan Shafer) to be extremely useful in learning CSS layout techniques. Derek [EMAIL PROTECTED] 2004/11/22 03:00:46 PM I've been thinking

Re: [OT] User Preferences and Webapp Configs

2004-11-22 Thread Derek Hohls
is a proprietary solution and not yet released as part of a Cocoon Milestone. Conceptually...for future projects, it may be possible to use CForms. I would look forward to broad industry acceptance, but in the mean time I am stuck. HTH, Julian --- Derek Hohls [EMAIL PROTECTED] wrote: Julian What

Re: bored with *talks* about docs (was: New documentation project?)

2004-11-22 Thread Derek Hohls
Joerg Could you supply the actual URL of the DTD itself... all I could find pages discussing changes to the DTD. [EMAIL PROTECTED] 2004/11/23 12:05:03 AM On 22.11.2004 22:43, [EMAIL PROTECTED] wrote: OK, I'll sing a chorus. As it happens, I spent the weekend constructing documentation on

Re: Using htmlArea 'output' with SVG

2004-11-22 Thread Derek Hohls
Ugo Thanks; are there any example demo'ing how this approach can be integrated into Cocoon... I'm afraid this hint is less than obvious to me, especially as it seem htmlArea is not producing tags at all... Thanks Derek [EMAIL PROTECTED] 2004/11/22 04:56:10 PM Derek Hohls wrote: Does anyone

[SOLVED] Re: Extension functions in XSL (Saxon)

2004-11-21 Thread Derek Hohls
[EMAIL PROTECTED] 2004/11/19 02:00:49 PM Derek Hohls wrote: I am running Cocoon 2.1.5 under Windows XP, Java 1.4.2 I have the following test files: math.xml ?xml version=1.0 encoding=UTF-8? root number42/number /root math.xsl ?xml version=1.0? xsl:stylesheet xmlns:xsl=http://www.w3.org

Re: [OT] User Preferences and Webapp Configs

2004-11-21 Thread Derek Hohls
? Thanks again, Julian --- Derek Hohls [EMAIL PROTECTED] wrote: Julian You could use a combination of CForms and XML... you do not need to even have a database with this type of setup. Each user could have his/her own config file or you could just keep it all in one file, depending

Extension functions in XSL (Saxon)

2004-11-19 Thread Derek Hohls
I am running Cocoon 2.1.5 under Windows XP, Java 1.4.2 I have the following test files: math.xml ?xml version=1.0 encoding=UTF-8? root number42/number /root math.xsl ?xml version=1.0? xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:math=java:java.lang.Math

Re: How to retain the value of an input text field --- URGENT

2004-11-19 Thread Derek Hohls
Care to post the solution so that others could benefit? [EMAIL PROTECTED] 2004/11/19 12:51:14 AM Sorted thanks regards Andrew On 18 Nov 2004, at 22:13, Andrew M wrote: Hi, if anybody could point to any resource that can solve this problem in the next 30 minutes would be most

htmlArea - inserting special characters

2004-11-18 Thread Derek Hohls
Has anyone located and used a plugin that allows you to specify a custom set of special characters that can be displayed on a button bar (that the user will 'click on' to select and paste into the text), such degrees, plus-minus signs etc.? If so, I'd appreciate the URL. Thanks Derek -- This

Pesky memory problems (Tomcat/WindowsXP)

2004-11-18 Thread Derek Hohls
I know there have been a number of threads on this topic; but I am obviously missing something, well, obvious! I have set the CATALINA_OPTS variable as follows: -Xms64m -Xmx256m -Dfile.encoding=ISO-8859-1 -DproxySet=true -DproxyHost=http://my-proxy.com -DproxyPort=3128 Cocoon runs fine for a

Re: Pesky memory problems (Tomcat/WindowsXP)

2004-11-18 Thread Derek Hohls
Reinhard Thanks for the hints; unfortunately, in this app, I use neither cron jobs or JXTemplate macros. I guess this must be a more complex problem than it seemed? Derek [EMAIL PROTECTED] 2004/11/18 12:49:37 PM Derek Hohls wrote: I know there have been a number of threads on this topic

Re: [OT] User Preferences and Webapp Configs

2004-11-18 Thread Derek Hohls
Julian You could use a combination of CForms and XML... you do not need to even have a database with this type of setup. Each user could have his/her own config file or you could just keep it all in one file, depending on number of user and number of config options. Derek [EMAIL PROTECTED]

Re: Pesky memory problems (Tomcat/WindowsXP)

2004-11-18 Thread Derek Hohls
Thanks, I have Tomcat started as a service under WindowsXP; how would I be able to tell whether or not this is using catalina.bat ? Derek [EMAIL PROTECTED] 2004/11/18 04:38:02 PM Hi Derek Derek Hohls wrote: I know there have been a number of threads on this topic; but I am obviously

Re: Pesky memory problems (Tomcat/WindowsXP)

2004-11-18 Thread Derek Hohls
that this is the file generator). Derek [EMAIL PROTECTED] 2004/11/18 07:23:14 PM Hi Derek: Wich Cocoon version are you using? BTW, See this: http://issues.apache.org/bugzilla/show_bug.cgi?id=31760 Can this be your problem? Best Regards, Antonio Gallardo Derek Hohls dijo: I know

Re: Large XML transformations in Cocoon.

2004-11-18 Thread Derek Hohls
OK, I'll bite here, as my curiosity is aroused (and, lets face it, as XML gets wider use, its likely that file sizes will get larger) You say XSLT isn't that appropriate for that sort of thing; I thought XSLT was *the* preferred way for processing XML?! Second; what are the

Intermittent error: page stops loading

2004-11-17 Thread Derek Hohls
I have a problem that I think might relate to memory. but cannot track down how and where to solve it. I have a page that loads fine for a while.. it results from a pipeline that works with a number of other components; e.g. reading files from disk. The page works fine for a while but suddenly,

Generic questionaire forms processing

2004-11-16 Thread Derek Hohls
I would like to be able to offer my colleagues the ability to rapidly develop on-line questionaires and process the results. Has anyone developed any algorithms - preferably using simple forms and XSLT that handles this type of use case... or has seen any related articles? Thanks Derek. --

Re: Breadcrumb trail creation?

2004-11-12 Thread Derek Hohls
Upayavira A genius in your own lunchtime (well, my lunchtime, actually!) Thanks! Derek [EMAIL PROTECTED] 2004/11/12 12:27:45 PM Derek Hohls wrote: Does anyone know of a relative simple mechanism for creating a breadcrumb trail for a website i.e. a way to track which pages a user has selected

Re: HELP: servlet path

2004-11-12 Thread Derek Hohls
You can access these in the sitemap and pass them as parameters to, say, a transformation step: map:parameter name=contextPath value={request:contextPath}/ map:parameter name=servletPath value={request:servletPath}/ map:parameter name=sitemapURI value={request:sitemapURI}/ [EMAIL PROTECTED]

Re: [OT] This is quite disappointing...

2004-11-11 Thread Derek Hohls
rupees On 11 Nov 2004, at 06:17, Derek Hohls wrote: Brent Sure. Even good documentation will never substitute for being able to ask a guru and, as I said originally, the Cocoon community is one of its key strengths. Its just that to get people over the initial learning hurdle takes guidance

Re: Tracking changes made to XML docs

2004-11-11 Thread Derek Hohls
Antonio, As I said, I do not want the overhead of having to deal with a CMS, but its good to know that Lenya can handle this... maybe next time. [EMAIL PROTECTED] 2004/11/12 12:58:31 AM Derek Hohls dijo: I am presently using CForms to allow users to update XML documents... the client has

Re: [OT] This is quite disappointing...

2004-11-11 Thread Derek Hohls
/flow/sitemaps first and once they have mastered that then to investigate xsp should they require it use. regards Andrew On 11 Nov 2004, at 10:08, Derek Hohls wrote: Well, strictly speaking there is no absolute need for XSP; you can either use JXTemplate and/or FlowScript plus the various

Breadcrumb trail creation?

2004-11-11 Thread Derek Hohls
Does anyone know of a relative simple mechanism for creating a breadcrumb trail for a website i.e. a way to track which pages a user has selected and display them (say, the last 10) - typically in a row at the top of the page : page1 page2 page3 Any hints or pointers also welcome! Thanks.

Re: XML error.

2004-11-11 Thread Derek Hohls
This error typically occurs when you have an XML doc that looks like: ?xml version=1.0? page /page other /other ie. there is not one root tag for the page. [EMAIL PROTECTED] 2004/11/12 09:39:28 AM I have an XSL to generate an XML. However the following error was seen. What does this error

Re: Street performers (was: [OT] This is quite disappointing...)

2004-11-10 Thread Derek Hohls
pet projects - this should happen via normal workplace employment methods! [EMAIL PROTECTED] 2004/11/10 10:20:38 AM Le 10 nov. 04, à 08:45, Derek Hohls a écrit : ...I if had the odd, spare $10k or even $100k lying around the first thing I would do is offer to hire some people (tech expert

Re: [OT] This is quite disappointing...

2004-11-10 Thread Derek Hohls
out in a non ad-hoc way. [EMAIL PROTECTED] 2004/11/10 11:33:53 AM Derek Hohls wrote: Ralph Yup. I am not envious of any other open source package ito community support and the intrinsic capability of the system but I if had the odd, spare $10k or even $100k lying around the first thing

Re: [OT] This is quite disappointing...

2004-11-10 Thread Derek Hohls
was learning how to use Hibernate I frequently searched their forums for more obscure questions/answers than reviewing the documentation. Just my 2 cents. - Brent On Wed, 10 Nov 2004 09:45:16 +0200, Derek Hohls [EMAIL PROTECTED] wrote: Ralph Yup. I am not envious of any other open source

Re: retrieving number of affected rows in a sql query

2004-11-09 Thread Derek Hohls
(the one i'm using this time) does not give any tuple out. So the nrofrows is 0. I've already tried with that , but with no success. On Tue, 09 Nov 2004 08:36:56 +0200, Derek Hohls [EMAIL PROTECTED] wrote: Try using: map:transform type=sql map:parameter name=use-connection value=your

Re: Cocoon Forms and Data binding

2004-11-09 Thread Derek Hohls
Angelo From my experience (started in the last few months with CForms) I would say its extremely useful ito updating XML pages. Getting it to work with a database will certainly take some programming (but maybe less than you think). The benefit is separating logic vs content vs layout in the

Re: [OT] This is quite disappointing...

2004-11-09 Thread Derek Hohls
such members in the community it will help raise the profile, attract more developers, more momentum etc. etc. But I guess we should be careful what we wish for.. Derek [EMAIL PROTECTED] 2004/11/09 07:18:13 PM Derek Hohls wrote: I received a promotional email from Javalobby.org

Re: [OT] This is quite disappointing...

2004-11-09 Thread Derek Hohls
is actually what it takes to get something like this together. [EMAIL PROTECTED] 2004/11/10 08:54:17 AM Derek Hohls wrote: I guess my 2c is that I do think Cocoon remains obscure. There seem to be lots of people doing lots of good things with it, but its never promoted [read - not discussed

Re: Running a sequence of SQL queries with a single result

2004-11-08 Thread Derek Hohls
select * from sometable /esql:query /esql:execute-query esql:execute-query esql:query select * from othertable /esql:query /esql:execute-query HTH Markus On Mon, 08 Nov 2004 13:44:56 +0200, Derek Hohls

Re: Continuations and cleaning up

2004-11-04 Thread Derek Hohls
Lezek Do you know of any sample code that shows how the someService code could be implemented? [EMAIL PROTECTED] 2004/11/04 12:41:15 PM Smith, Lee [OS-IE] wrote: Hey All, New user to cocoon here, and I've got a question about the use of continuations in flow scripts. I'll explain my

Re: Continuations and cleaning up

2004-11-04 Thread Derek Hohls
PM Derek Hohls wrote: Lezek Do you know of any sample code that shows how the someService code could be implemented? For my business logic I started to use Spring framework. It has very good hibernate support along with declarative transaction management. I will post a wiki tutorial on how

Re: Continuations and cleaning up

2004-11-04 Thread Derek Hohls
A quick look at the book reviews for the Expert One-on-One J2EE Development without EJB shows that nearly *all* of them complain about lack of code samples!! [EMAIL PROTECTED] 2004/11/04 01:17:42 PM Derek Hohls wrote: Lezek Do you know of any sample code that shows how the someService

Re: Finally figured out the memory settings for Windows server

2004-11-02 Thread Derek Hohls
:42, Derek Hohls wrote: Being the eternal optimist, I would like to ask if anyone know how to do this for Tomcat 4.x there is no Configure Tomcat on the Windows menu? It's a while since I ran Tomcat under Windows, but I believe you can set the JAVA_OPTS environment variable by editing

Re: Zip component question

2004-11-01 Thread Derek Hohls
David Possibly this is a memory problem with Java settings - I have not had this specific problem before, but I have had memory related problems processing other large files with other components. Derek [EMAIL PROTECTED] 2004/11/01 11:28:31 AM I have a problem with the zip component in

Re: svg2png question

2004-11-01 Thread Derek Hohls
and get the same result. - Original Message - From: Derek Hohls [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 31, 2004 11:52 PM Subject: Re: svg2png question Craig The problem is likely to be that your SVG is not in a sub-directory of your working app - I like to think

Re: svg2png question

2004-10-31 Thread Derek Hohls
pattern=SVG/*.gif !-- can get static files from the folder with this -- map:read src=SVG/{1}.gif mime-type=image/gif/ /map:match I really appreciate your help on this, thank you. Craig - Original Message - From: Derek Hohls [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday

Re: svg2png question

2004-10-29 Thread Derek Hohls
pattern=SVG/*.svg map:read src=SVG/{1}.svg mime-type=image/svg+xml/ /map:match At this point a am just going to have two image folders, one for svg and the other for png to draw on. I would like to just have the svg folder and - Original Message - From: Derek Hohls [EMAIL PROTECTED

Re: PDF without Images

2004-10-28 Thread Derek Hohls
You should not have to change the source file - simply run through it a simple XSL transformation that replaces inlinegraphic fileref=XYZ/ with inlinegraphic fileref=http://localhost:888/images/XYZ; / (where, of course, http://localhost:888/images/; is a param supplied to the stylesheet, and

Re: Transforming gzipped xml in mysql to html.

2004-10-28 Thread Derek Hohls
Bent You're free to ignore this reply if you get a better one from a more knowledgeble Cocoon developer ... but if I was stuck on a desert island and had no one to ask, I think would go with trying to develop a customer generator that talks to the database, gets the zipped data, does the

Re: svg2png question

2004-10-27 Thread Derek Hohls
(url=http://localhost:9080/SVG/wire.svg;). map:serializer logger=sitemap.serializer.svg2png mime-type=image/png name=svg2png src=org.apache.cocoon.serialization.SVGSerializer/ - Original Message - From: Derek Hohls [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 12

RE: pdf output in IE

2004-10-26 Thread Derek Hohls
method for serving static content outside of Cocoon. Gary T. Schultz Web Technical Administrator / GIS Coordinator Wisconsin Department of Commerce 6th Floor P.O. Box 7970 Madison, WI 1-608-266-1283 -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED] Sent: Friday, October 22

Re: pdf output in IE

2004-10-21 Thread Derek Hohls
Gunter I have always just add the .pdf to the URI that Cocoon uses; remember this URI is the one thing that *is* under your control ... unless there is some really unavoidable reason to use report and not report.pdf then this is the simplest and most hassle-free way to go. Derek [EMAIL

Re: pdf output in IE

2004-10-21 Thread Derek Hohls
AM That's what I'm also doing but was just wondering if Cocoon has some workaround since Cocoon doesn't force you into using file extensions in your URIs... they might just advise to use Mozilla instead of IE Gunter Derek Hohls [EMAIL PROTECTED] 21-10-2004 11:46 Please respond to [EMAIL

Re: xsl

2004-10-13 Thread Derek Hohls
I assume you mean using XSL outside of Cocoon, in which case you would first need to convert the text into some kind of XML structure, using a parser of your choice, before you could use an XSLT stylesheet to process it. Inside of Cocoon, this is a relatively trivial task... ;-p [EMAIL

Re: How to face a project in Cocoon

2004-10-13 Thread Derek Hohls
Roberto Not sure from this message what your technical knowledge and background is, or if you have Cocoon installed or not. See: http://cocoon.apache.org/2.1/userdocs/index.html for some assumptions about who you are and what you know. A quick getting started article is at:

Re: multivalue list - set a value greater than 1000

2004-10-10 Thread Derek Hohls
Paul You need to overwrite the default behaviour on the binding which inserts a ',' as the separator for each set of a thousand in the number e.g. 15,000,000 for fifteen million. The *only* solution I have found (and I have had this problem twice now) is to have: fb:value id=my-big-integer

Re: populating selection list from database

2004-10-10 Thread Derek Hohls
Andrew I assume you are familar with the essentials of setting up a mySQL connection to Cocoon... you will then need a few parts to assemble this. 1. An entry in the form definition: fd:field id=special fd:labelMy Field Label/fd:label fd:datatype base=string/ !-- from

<    2   3   4   5   6   7   8   9   10   11   >