Hi Matthew,
It looks like you're on the right track.
I assume
map:match pattern=*.xls
Will be followed with something like
map:generate type=file src=content/{1}.xml /
So the wildcard is being used.
I don't know what your xml file looks like, but if it's only replacing
one lookup value for
Hi Grzegorz,
Apologies for cross posting; although it did finally yet me an answer
;-).
I'll take a look at the tutorial you posted. However, I have to agree
with the other's on this list. Having to go to your ide (eclipse),
re-package the block jar, and re-deploy it to the application server
If you try
map:generate type=newjx src=jx_test.xml
Do you get any value then?
Jasha Joachimsthal
www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
94952-3329 +1 (707) 773-4646
Andrew,
When you say incoropation of Spring MVC into Cocoon 2.2, and flowscript.
What elements of the MVC architecture are you trying to access in
flowscript? are you just trying to obtain a reference to your service
objects via flowscript, as they should be available by calling
Hallo,
How can I get a map parameter in JX template. I'm using cocoon 2.1.11. In
sitemap I have:
map:match pattern=AAA
map:generate type=jx src=jx_test.xml
map:parameter name=test value=testValue/
/map:generate
map:serialize
Different class
From the Cocoon 2.1.11 main sitemap:
map:generator label=content logger=sitemap.generator.jx name=jx
pool-max=${jx-generator.pool-max}
src=org.apache.cocoon.generation.JXTemplateGenerator/
map:generator label=content logger=sitemap.generator.jx
name=newjx pool-max=16
Yes, with newjx it is OK. What is the different between jx and newjx.
Thanks
Pavel
--
View this message in context:
http://www.nabble.com/get-map-parameter-in-JX-template-tp17596912p17597084.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.
Have to add in my 1/2c as well - as someone who has found 2.1 perfect
for development with (heavy duty) programming, and for whom issues like
packing, maintenance, asynchronous development, change management
control production environments have never actually been issues
(I am now wondering
Hi Grzegorz
Dominic, you would better have watched my video before posting
anything here. ;-)
Actually I have watched and, I know the plugin works and you have a
reloadable classloader to read modifications to a java classes. But, as
I did say in my post, you can't use jetty at times;
Hello,
I'm having a big issue that just appeared after a server crash, I don't know
why, either it's a configuration problem but now get the following error
when accessing some parts of the project.
From what I understand, it's an xml validation issue as apparently the
parser try to find an xml
Dominic Tootell wrote:
Hi Grzegorz,
Apologies for cross posting; although it did finally yet me an answer
;-).
I'll take a look at the tutorial you posted. However, I have to agree
with the other's on this list. Having to go to your ide (eclipse),
re-package the block jar, and re-deploy
Hello
I have a question about the optimal way (in respect of performance) of content
aggregation in Cocoon 2.1. In our current system we uses the sitemap aggregator
and a xsl-stylesheet to aggregate some xhtml-fragments. The xhtml-fragments are
generated in a plain xsp/xsl pipelines and
Hi,
I have a requirement for the following serializers in my cocoon project
1. swf
2. svg2jpeg
3. svg2png
I have tried to specify their dependency within my pom.xml file as follows:
dependency
groupIdorg.apache.cocoon/groupId
was 'Re: Cocoon 2.2 resources outside of a Block' in which
Grzegorz Kossakowski wrote:
Dominic Tootell wrote:
Hi Grzegorz,
snip
Dominic, you would better have watched my video before posting anything
here. ;-)
Actually, what you described above is what our RCL (Maven plug-in) does
In your sitemap add:
use-request-parameterstrue/use-request-parameters
ie.
map:match pattern=AAA
map:generate type=jx src=jx_test.xml
use-request-parameterstrue/use-request-parameters
map:parameter name=test value=testValue/
...
and near the top of the template use:
jx:set var=test
by the way - where i can find sample where xml transformed by xslt
generated by other xslt from some xml
(it is Schematron workflow)
with best wishes,
Slav
On Mon, Jun 2, 2008 at 4:11 PM, Ken Starks [EMAIL PROTECTED] wrote:
was 'Re: Cocoon 2.2 resources outside of a Block' in which
Grzegorz
Andrew Madu pisze:
Hi,
I have a requirement for the following serializers in my cocoon project
1. swf
2. svg2jpeg
3. svg2png
For svg you need:
dependency
groupIdorg.apache.cocoon/groupId
artifactIdcocoon-batik-impl/artifactId
version1.0.0/version
Many thanks, Zbigniew.
Andrew Madu pisze:
Hi,
I have a requirement for the following serializers in my cocoon project
1. swf
2. svg2jpeg
3. svg2png
For svg you need:
dependency
groupIdorg.apache.cocoon/groupId
artifactIdcocoon-batik-impl/artifactId
I am having a difficult time understanding what's going on inside my sitemap.
I made this XML file which is what I assume I would want passed through the
HSSF serializer:
main.xml:
?xml version=1.0?
Workbook xmlns=http://www.gnome.org/gnumeric/v7;
SheetNameIndex
SheetNameSheet1/SheetName
Hi,
Is it possible to use configuration properties defined in /META-INF/
cocoon/properties within a sitemap? Is there an input module that
does this, or can the new expression language block be used?
Thanks,
Robin
smime.p7s
Description: S/MIME cryptographic signature
Robin Wyles wrote:
Is it possible to use configuration properties defined in
/META-INF/cocoon/properties within a sitemap?
Yes.
Is there an input module
that does this, or can the new expression language block be used?
No input modules needed for this. It would be fine to use
I'm so close! I switched to the XML serializer to see what XML was going into
the HSSFserializer. (My produced excel document would crash.)
And here is what returns:
Workbook
SheetNameIndex
SheetNameSheet1/SheetName
/SheetNameIndex
Sheets
Sheet
NameSheet1/Name
Hi Matthew,
Good that you found out how to debug your pipeline. You'll need an extra XSL
transformation for that. Be aware of the amespace prefix of the SQL elements.
Regards,
Jasha
-Oorspronkelijk bericht-
Van: Matthew Monkan [mailto:[EMAIL PROTECTED]
Verzonden: ma 2-6-2008 22:04
It's that simple!
Do you know if this documented anywhere on the C2.2 website?
Thanks,
Robin
On 2 Jun 2008, at 21:01, Luca Morandini wrote:
Robin Wyles wrote:
Is it possible to use configuration properties defined in /META-
INF/cocoon/properties within a sitemap?
Yes.
Is there an input
Robin Wyles wrote:
It's that simple!
Indeed :)
Do you know if this documented anywhere on the C2.2 website?
Here, I guess:
http://cocoon.apache.org/2.2/core-modules/core/2.2/1261_1_1.html
Luca Morandini
www.lucamorandini.it
Dominic Tootell pisze:
Hi Grzegorz
Dominic, you would better have watched my video before posting
anything here. ;-)
Actually I have watched and, I know the plugin works and you have a
reloadable classloader to read modifications to a java classes. But, as
I did say in my post, you can't
26 matches
Mail list logo