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
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
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
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
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
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
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
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]
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
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
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
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
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
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
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
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 -
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
/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
[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
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
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,
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
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
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
.
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
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
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/
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
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
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
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
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
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
/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
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)
, 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
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
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
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
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
[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
?
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
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
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
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
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
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
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]
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
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
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
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,
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.
--
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
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]
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
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
/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
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.
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
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
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
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
(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
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
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
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
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
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
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
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
: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
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
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
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
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
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
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
(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
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
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
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
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
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:
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
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
601 - 700 of 1192 matches
Mail list logo