Stephen Rosman wrote:
There seems to have been some feedback about how hard cocoon 2.2 is
since it requires users to use assorted development and programming
tools when all they want to do is use sitemaps.
I've been working on creating a simple cocoon war file that you could
mount as a webapp
Has anyone tried 'selenium' to test their Cocoon application, and
should selenium tests be part of an 'examples' suite?
website
http://selenium-ide.openqa.org/
In an apache project:
-
http://shale.apache.org/shale-apps/selenium.html
screencast
---
Hi Ken,
yes, I do use selenium. I find it pretty hard to test any JavaScript driven
application without the executing browser !
Yes, it would make a good Cocoon example to see how things can be tested. I
guess many people shy away from testing because of a nice and simple example.
Proposal for
Ditto from me. Not a major Java user. XSLT + Flowscript + the standard
Cocoon components should handle 95% of all website needs. If I can use
C2.2 without major investment in learning new development and programming
tools, I will consider upgrading.
Suggest that, if possible, you get
Hi,
stupid as things are, I can not access external resource which are
outside of my cocoon block in the web-inf directory.
WEB-INF/
classes/
1.jpg
2.jpg
I want to access them by map:read in my sitemap by the default pipeline
for external resources. When I leave the resources in the
Hi Ken,
It depends which way I do things, but I am still having
problems with 'Your first Cocoon 2.2 Application'
because the Java Bean doesn't work.
Can anyone explain this behaviour, in terms that a
non-java-speaker might understand?
I think the problem is that the
On Pén, Július 18, 2008 5:44 pm, Grzegorz Kossakowski wrote:
Just use servicemanager.lookup('here.goes.spring.bean') method. The
Service Manager can be injected
into Avalon component by implementing Serviceable interface.
It was solved eventually, because I have figured out that in Cocoon
Molnar Peter pisze:
On Pén, Július 18, 2008 5:44 pm, Grzegorz Kossakowski wrote:
Just use servicemanager.lookup('here.goes.spring.bean') method. The
Service Manager can be injected
into Avalon component by implementing Serviceable interface.
It was solved eventually, because I have figured
On Ked, Július 22, 2008 2:12 pm, Grzegorz Kossakowski wrote:
We have a Avalon-Spring bridge that will pick up all Avalon components and
initialize them using
Spring so in a fact they are Spring beans.
That was made on purpose to make a transition from Avalon to Spring
smooth.
Does this
Hi all,
I use Cocoon 2.2, and I am trying to use servlet:... URLs in my XSL
templates the way they are used in the CForms example. I'm getting an
error unknown protocol: serlvet.
Is there a simple way to register such a resolver to the xslt transformer
to let these URLs work?
--
Peter Molnar
Hi Peter,
I'm getting an error unknown protocol: serlvet.
I'm hoping you did a cut 'n' paste in your email and the problem is
simply a typo servlet and not serlvet ?
David Legg
-
To unsubscribe, e-mail: [EMAIL
On Ked, Július 22, 2008 4:22 pm, David Legg wrote:
Hi Peter,
I'm getting an error unknown protocol: serlvet.
I'm hoping you did a cut 'n' paste in your email and the problem is
simply a typo servlet and not serlvet ?
No, it's a typo in the e-mail only.
--
Peter Molnar [EMAIL PROTECTED]
Peter Molnar pisze:
On Ked, Július 22, 2008 4:22 pm, David Legg wrote:
Hi Peter,
I'm getting an error unknown protocol: serlvet.
I'm hoping you did a cut 'n' paste in your email and the problem is
simply a typo servlet and not serlvet ?
No, it's a typo in the e-mail only.
Can you show
Molnar Peter pisze:
On Ked, Július 22, 2008 2:12 pm, Grzegorz Kossakowski wrote:
We have a Avalon-Spring bridge that will pick up all Avalon components and
initialize them using
Spring so in a fact they are Spring beans.
That was made on purpose to make a transition from Avalon to Spring
On Ked, Július 22, 2008 5:02 pm, Grzegorz Kossakowski wrote:
Can you show us how exactly the snippet where you use servlet: looks like?
Additionally, include the
whole stack trace.
Answering your question directly: no, there is no need to register
anything, it's done by default.\
My XSL
Peter Molnar pisze:
On Ked, Július 22, 2008 5:02 pm, Grzegorz Kossakowski wrote:
Can you show us how exactly the snippet where you use servlet: looks like?
Additionally, include the
whole stack trace.
Answering your question directly: no, there is no need to register
anything, it's done by
On Ked, Július 22, 2008 5:36 pm, Grzegorz Kossakowski wrote:
snip what=stack trace/
Then it looks you are right, the servlet: protocol really cannot be found.
What about your dependencies, do you have the dependency on
cocoon-servlet-service-components
artifact in your pom.xml?
Yes, I
Peter Molnar pisze:
On Ked, Július 22, 2008 5:36 pm, Grzegorz Kossakowski wrote:
snip what=stack trace/
Then it looks you are right, the servlet: protocol really cannot be found.
What about your dependencies, do you have the dependency on
cocoon-servlet-service-components
artifact in your
On Ked, Július 22, 2008 5:45 pm, Grzegorz Kossakowski wrote:
That's interesting.
What about constructing following simple pipe:
map:generate src=servlet:dojo11:/resource/internal/dojo-helper.xsl/
map:serialize type=xml/
In the same sitemap where pipeline using XSLT is placed. Does this
Peter Molnar pisze:
On Ked, Július 22, 2008 5:45 pm, Grzegorz Kossakowski wrote:
That's interesting.
What about constructing following simple pipe:
map:generate src=servlet:dojo11:/resource/internal/dojo-helper.xsl/
map:serialize type=xml/
In the same sitemap where pipeline using XSLT is
On Ked, Július 22, 2008 6:10 pm, Grzegorz Kossakowski wrote:
What about accessing this file directly from a browser?
Point browser to
http://localhost:/{mount_path}/resource/internal/dojo-helper.xsl
Where the mount_path is a mount path for dojo11 block (I guess it's simply
dojo11).
Peter Molnar pisze:
On Ked, Július 22, 2008 6:10 pm, Grzegorz Kossakowski wrote:
What about accessing this file directly from a browser?
Point browser to
http://localhost:/{mount_path}/resource/internal/dojo-helper.xsl
Where the mount_path is a mount path for dojo11 block (I guess it's
Is there an answer to this question ?
If more info is required please let me know.
Mansour Al Akeel wrote:
Thank you, I am trying it now, but getting errors. I think it's with
block communications.
When I put this in my site map:
map:aggregate element=root
map:part src=cocoon:/block1/
On Ked, Július 22, 2008 6:34 pm, Grzegorz Kossakowski wrote:
Peter, I guess I know the explanation:
If you depend on another block then Maven is going to pull it from its
local repository. You have
changed dojo11 block but you forgot to call mvn install so Maven can
install new snapshot of
Thankyou very much, David. I can confirm that the spring-bean now does
work properly.
How do we report this to the developers?
David Legg wrote:
Hi Ken,
It depends which way I do things, but I am still having
problems with 'Your first Cocoon 2.2 Application'
because the Java Bean doesn't
On 09.08.2007 14:14, Lincoln Mitchell wrote:
How do I create a jpeg from an SVG which has reference to a relative
external image?
In previous posts I read that you can't write...
xlink:href=image.jpg
... because the path CAN'T be relative. Is this true?
Yes, that's true. The SVG2JPEG
On 29.01.2008 01:20, Andy Stevens wrote:
I have a new requirement for one of our sites to allow the users to
upload some files. However, I read in the Cocoon docs/wiki that
switching on the enable-uploads init parameter will make it use the
multipart request factory etc. on all requests it
I remember a problem with exceptions/errors in flowscript swallowing the
actual exception just like
try {
...
} catch (Exception e) {
throw new Exception();
}
in Java.
Joerg
On 10.09.2007 13:18, Tobia Conforto wrote:
I'm currently experiencing an annoying problem where Cocoon does not
If you don't want to program it yourself you have to use the
infrastructure provided. In your case it's the servlet API as Andreas
pointed out.
Joerg
On 30.01.2008 14:40, Alessandro Vincelli wrote:
Thank you for this solution, but I want find a solution less inasive.
Andreas Kuehne ha
I agree with Boris. In Cocoon 2.2 the database block is kind of
obsolete. An application should rather be developed with more standard
means as provided by Spring. Cocoon was never very good at integrating
database stuff.
Joerg
On 06.06.2008 10:05, Johannes Hoechstaedter wrote:
I know,
On 26.02.2008 16:05, Stefan Ludwig wrote:
my problem is solved!
now i use the FileGenerator. configured like this:
map:generate type=file src={request-param:file}/
I'm really surprised this works. It seems to be a valid alternative to
upload protocol. But then I wonder why having the latter
I might be wrong but I don't think the cache-dir is created by Cocoon.
Joerg
On 16.08.2007 21:54, footh wrote:
The cache-dir in my cocoon app keeps adding about 4
megs of jar files every time I instantiate a certain
class.
The class in question is the ServiceClient class from
Axis2.
Simply
On 01.02.2008 20:43, Steven D. Majewski wrote:
So it appears that the continuation uri must resolve back to the same
sitemap that originated the initial flowscript call.
Yes, they have to. IIRC this feature was only introduced later on for
security reasons and not there from the beginning.
On 11.06.2008 15:00, Christoph Gaffga (triplemind.com) wrote:
What is the best practice on including another pipeline? Does SourceUtil
does use the pipeline cache also. And is IncludeCacheManager really
using the pipeline cache?
Somebody might correct me here, but I'm pretty sure ... Both
On 31.05.2007 09:20, Niels van Kampenhout wrote:
I have not seen anyone else pointing it out, but
after a day or two I was really struck by the fact that conceptually
pipelines are not pipelines in any common understanding of the term;
rather matchers are the pipelines!
I know what you mean,
My solution was to move this section of code into a Java class, and call the
method from flowscript. It seemed that my efforts to create a byte array in
flow would not satisfy the FileInputStream. This code can be ported directly
into Java, changing the vars to type declarations, making sure the
On 16.06.2008 23:10, Grzegorz Kossakowski wrote:
Situations like this are little bit worrying me but anyway standard
question: why do you want to cast to MultipartHttpServletRequest?
MultipartHttpServletRequest provides a method get(String) for access to
multiparts which can't be accessed in
Ken,
Thankyou very much, David. I can confirm that the spring-bean now does
work properly.
Thanks for confirming that.
How do we report this to the developers?
Normally, you would open a new item in the bugs database (called JIRA) [1].
However, I've just looked at the latest version of
Hi,
That's a good idea. I also thought on a small sample app. Perhaps with a sample
layout, menu concept to handle this in a generic way, security (possibility to
login), some sample Service Classes to get Data with java, ... but
unfortunately I didn't have the time till now :-(
Regards,
39 matches
Mail list logo