Anders Forsgren wrote:
Hi all
I want to use a request param passed on as an argument to a transform.
The sitemap snippet looks like this:
map:match pattern=log
map:generate src=log/log.xml/
map:transform src=log/log2page.xsl
map:parameter name=start
Geoff Howard wrote:
snip
great!
My idea was to offer cocoon creator. It's a web application (at the of
this writing in PHP -- I will convert it to cocoon if the concept is
good enough) asking you some build-specific question (JDK to build,
Cocoon version, blocks to include). Based on this
Josep Riudavets wrote:
Hi Tony
But I need some Java code for insterting it into a xsp.
Thanks ...
Well, if you really feel like hardcoding it that way, just use some sort
of DOM API and load your xml config from your XSP, and traverse the DOM
tree. I'd think the use of transformers and
Josep Riudavets wrote:
Hi all ... it is not a really cocoon question ... but I think you will know how to solve it
It's very very simple ... but I have been trying to solve it all day...
I have and XML document, called cad.xml
cad
...
nserie34242342/nserie
...
/cad
I want to develop some
It's that time again: There's been a job posted for a contract position
for a Cocoon publishing project.
FYI: I'm not affiliated with anybody posting this job (or monster.com),
but I'm just doing this in case anyone's interested.
You can view the posting at:
Paul Crabtree wrote:
Hi,
I'm trying to get access to the real HttpServletRequest from inside Flow
because i need to suck in the contents of a post into a Document using
getInputStream().
There doesnt seem to be a cocoon equivalent and in the StreamGenerator,
which has similar functionality it
(I am bringing this thread over to -dev to ask the experts for help)
Kai Benndorf wrote:
Hi Tony,
i've opened the following bug:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25102
Best Regards
Kai
Alright, due to my limited knowledge of Avalon, and my brain being in a general state of
http://www.w3.org/TR/2003/WD-turingtest-20031105/
The W3C has a good writeup about image-based authentication (The Cocoon
samples have something like this which I implemented in Flow). They
also offer some good suggestions for alternatives to IBA.
At a former job, I had a coworker who was
Kai Benndorf wrote:
Hi all,
in my Cocoon application i process a HTML formular and request XML data
from an http request using the standard FileGenerator: Something similar
to:
map:generate
src=http://localhost/FMPRO?-db=KD_Produkt_DBamp;producer={raw-request-param:SEARCH-producer}
Tomas Marek wrote:
I tried to follow instructions at wiki.cocoondev.org describing how to
install Cocoon inside Tomcat. However, I think the info is out of date
'cos there is need of cocoon.war file insid cocoon_install dir. Using
2.1.3, I have no such a file in there so I'm clueless how to
I'm not affiliated with the people staffing this position, but it's one
of the few job postings on Monster.com that I've found in the US:
http://jobsearch.monster.com/getjob.asp?JobID=19940056AVSDM=2003%2D11%2D20+15%3A36%3A00Logo=1col=dltcicy=USbrd=1%2C1862%2C1863lid=316fn=q=cocoon
Job
Simon Hutchinson wrote:
This solution works until I try to generate a uri with an illegal
character ie a space.
It appears that the request-param is (correctly) decoding the
parameter I am passing it but unfortunately this is not the behaviour I
require.
Is there any way that I can
Alex Romayev wrote:
Hi,
Sorry if this is not relevant.
I was contacted by a recruiter (who saw Cocoon on my
resume) for a position in Boston, MA which requires
the knowledge of Cocoon. Let me know if you're
interested and I'll put you in contact with him. Here
is the description:
I'm not
Alex Romayev wrote:
I have my resume on Monster.com, so I assume this is
where he found me.
From what I've seen from job postings in the US, it's
usually a nice to have skill listed together with
Struts and Velocity (don't ask me...) and after all
the core must have java skills have been
Stephan Michels wrote:
FYI, I found the following article on xml.com:
http://www.xml.com/pub/a/2003/11/12/cocoon-eai.html
Stephan.
Ahh, interesting...
The author mentions pipeline lock-in .. it sounds as if they haven't
heard of the Flowscript yet ;)
Always nice to read stuff someone else
Matthew Langham wrote:
The author mentions pipeline lock-in .. it sounds as if they haven't
heard of the Flowscript yet ;)
He mentions Flow at the end of the article:
Our form handling mechanisms are totally proprietary simply because
there were no satisfactory solutions in Cocoon. Cocoon
Ryan Hoegg wrote:
Bad? I can't imagine that, judging by my buying frequency... Reader's
advantage to the rescue.
But you are absolutely right. Take into consideration all the new
stuff in Cocoon and the timeframe for writing a new book (or expanding
on the given one) and someone needs to
Carmona Perez, David wrote:
Hi all,
Does anyone know how to get the diff tool to create patches?. I'm working under Windows.
David,
diff -u filename.java filename.diff
Should work
If you're using CVS, you can do:
cvs diff -u filename.java filename.diff
HTH,
Tony
McDonald, Bruce wrote:
Hey all,
Wonder if anyone could short-circuit my searching through the cocoon codebase (yes, I know, its good for me :).
I want to access a http request header variable (placed by siteminder) and use it in a transform stage. So, here my test pipeline:
!-- welcome
Oleg Dulin wrote:
Are there Coocon users in New York who'd be interested in starting a
users group along the lines of what the Zurich guys are doing ?
Ditto this, but for Minneapolis, St Paul MN :)
Perhaps we need a Wiki page for this.
Oleg
Tony
Lionel Crine wrote:
Hello,
I'm trying to get a string from a session parameter.
My transformer put it :
this.session.setAttribute(request, query);
then I have an xsp reading it :
xsp-session:get-attribute name=3Drequest as=3Dxml/
I believe what you need is the xsp-session:getxml/ tag:
Jorg Heymans wrote:
i think the problem here is that all exceptions are propagated, but not
all are caught by the handle:errors section.
It would be good to get a statement from an expert here on exactly what
exception to throw so they are guaranteed to be caught by the handle:error.
You can
Arje Cahn wrote:
Hi all,
I'm trying to display the Cocoon versionnumber in my XSL's. I've tried the following
method, using a Xalan extension call to the cocoon constants, but it doesn't work..
Any ideas?
Arje,
At first I thought there was an InputModule to do this, but apparently
there isn't.
I just found this interesting link:
http://www.x2ee.org/index.html
Check out the forrest skin! Cocoon is also mentioned.
Anyone know who's behind this all?
Tony
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Nick Smith wrote:
Well, the need is still there, and its sufficient that I'm prepared to
get my hands dirty with a bespoke component. Any pointers as to were I
should start? I'm guessing I need to write a new generator, but
HTTPGenerator doesn't seem to have access to the guts of the url
Brent L Johnson wrote:
I can't seen to do the pattern matching on a pipeline
to work when using authentication.
I successfully got the Authentication Framework working
properly (thanks Laurent Trillaud for the link to the
mailing list archive).
Here is the match:
map:match pattern=info/*.html
[EMAIL PROTECTED] wrote:
Hi,
I want to use the request-param input module on the sitemap to define a
parameter's value. My question is: is it possible to initialize this
parameter with an default value? I saw something in the documentation under
modules for xsp but not for the sitemap:
...
Geoff Howard wrote:
Joerg Heinicke wrote:
Should be possible if an action handles the file upload, stores the
file on the server, returns the position on the server to the sitemap.
The HTMLGenerator (yes it's the only possibility of pushing HTML
through the pipeline) reads it from there and
Joerg Heinicke wrote:
Oh no, I missed results of a POST request. I combined POST and HTML
and XML and thought file upload. Sorry for that.
As the HTML generator uses the httpclient package I think it could be
modified to do this, but I don't know for sure.
HTMLGenerator? Why it should use
[EMAIL PROTECTED] wrote:
hi
i try to catch a request parameter inside the sitemap and sent it as
parameter in a xslt transformation
something like
map:transform src=stylesheets/my.xsl
map:parameter name=your-parameter-name
value={request-param:my-parameter-value}/
/map:transform
but in
[EMAIL PROTECTED] wrote:
BUT i have to do this in 2.0.4 ???
Hmm, I was under the impression that we had InputModules in 2.0.4... perhaps I am wrong :/
Tony
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Oleg Dulin wrote:
Dear Distinguished Colleagues:
Does anybody know how to set a global sitemap parameter that I can
access across all pipelines ?
Yes! this is very easy! :)
in your sitemap, you will see something that looks like this:
map:component-configurations
global-variables
Lars Huttar wrote:
Internet Explorer will display XML in an indented, tree-like
style (if there is no attached stylesheet).
You can also look at the Pretty-printing XML FAQ at
http://www.dpawson.co.uk/xsl/sect2/pretty.html
By the way this is a topic for an XML or XSL list rather than Cocoon.
gerritjan wrote:
Hello,
Using the document() function for aggregation in Cocoon may break
Separation of Concerns (SoC). That is, the designers of Cocoon view
inclusion and transformation as different functions, best handled by
separate Cocoon components. Treating them separately allows you to
Lars Huttar wrote:
[snip]
I hope these changes can save others some time and effort
as they upgrade.
Lars,
Thanks for the suggestions-- I'll take a look at them when I have some
time.
In the future, please do not hesitate to file a bug in bugzilla against
the documentation, or even submit a
Josep Riudavets Aguilo wrote:
Depending the content of mail, a different code has to be executed
(HTML result will be different depending on mail content).
I don't know how to capture the mail tag from the xsp page. Out of
the xsl:when than, I use xsl:value-of select=mail/ ... but,
how can
Sonny Sukumar wrote:
snip;
Hmm, did you mean {request:requestURI} ? I did a quick Google search
and that's all I found. I know some of these input modules were renamed
within the past few months.
Well, I was specifically looking at this:
Sonny Sukumar wrote:
From: Horsfield, Peter A. [EMAIL PROTECTED]
Ok you're right; and Tony picked up on the right
solution as far as I can see, because you need to
target the URI as a whole and embed it inside a
document. Thats just the way cinclude works.
Yeah, so maybe the requestURI input
I heard a funny commercial in the radio on the way home tonight. It was
for a product called Cocooon GH, and it had an impressive list of
features:
quote from=website
Users report these age-reversing benefits: reduction of high blood
pressure, alleviation of depression, improved sex drive,
Sylvain Wallez wrote:
snip/
Oh my, what a pain! Why don't you _teach_ this class?
Definately possible. The teacher might not like being out of a job
though %-)
What does the HTML that Woody produces looks like? Will it validate?
To what extent?
Validate ? Sure: it's simply a bunch of
Markus Heussen wrote:
Hi all,
can someone give me a hint how I can call a rpc or document style based Axis
web service from a flowscript? Maybe there are useful descriptions somewhere
in the web?
Markus,
Have a look at the recent thread entitled, Flow and Web Services [1]
on the mailing list
Sylvain Wallez wrote:
snip/
You should check out the Woody samples (Various and Flowscript
pages) in the latest CVS : it includes tabbed forms, switching panels
with a popup to select the panel, etc. It's based on some high-level
grouping tags that automatically produce the needed HTML, CSS
Mustafa Ali, Halgurt wrote:
Hi,
I want to use the ImageReader, but I am getting an error:
Invalid system ID.
Is it working at all? Or how shall one use it?
Thanks,
Halgurt
Hello Halgurt,
How are you specifically using the reader in your sitemap?
Regards,
Tony
Javier Ramos wrote:
That's useful, thanks. Finally I found the information in the samples
enough to decide what to include. Except for that 'naming' blick, which
I still do not know what does.
It appears as if the naming block contains the LDAP Transformer.
Naming comes from the javax.naming.*
Geoff Howard wrote:
Werner Guttmann wrote:
And where could one possibly maybe find a complete description ?
Werner
Obviously its still a work in progress - if such a document existed you
would have found it by now or we would have sent you to it. I'd suggest
reviewing the samples for each
Reinhard Poetz wrote:
snip/
Yep, I was very impressed by that you showed me. It's also the first
business application that uses XUL. So the work of your company could
encourage many people using XUL - in the future XUL is an equivalent
possibility how to create the UI.
Hrmm... this makes me
Jeff Ramsdale wrote:
snip/
Actually, I figured that was probably the case. So Tony's example must have
been an error. I wanted to trust him! ;-)
Yes, I messed up.. all those 's should read as amp;. I was lazy and
stupid.
Anyway, the short of it is that the proxy takes the provided request
Jeff Ramsdale wrote:
snip/
It hadn't occured to me that this was a problem with wsproxy. I just thought
I needed to do something to convert the format. But then I realized that I
had to manually change my all my s to amp;s. Which format should the
user be expected to use for the src attribute of
Jeff Ramsdale wrote:
From: Tony Collen [mailto:[EMAIL PROTECTED]
snip/
Jeff,
Could you try the following test and tell me if you get search results?
Worked great! Thanks!
Yes, but I've re-opened the bug, because it really isn't re-encoding the
request parameters correctly. The WSProxy, along
Jeff Ramsdale wrote:
Tony ( others),
Is this the same problem we talked about last week on wsproxy parameter
encoding?
http://archives.real-time.com/pipermail/cocoon-users/2003-September/038837.h
tml
That thread was left hanging.
Hrm.. it seems similar, but I'm not too sure. As far as the
Jeff Ramsdale wrote:
I discovered that changing my search from johnny depp to depp returns a
list of results. The problem, then, would seem to be the encoding of spaces
in my request parameters. When I submit my search form it converts the space
to a + in my browser. Examining the logs I see that
Jeff Ramsdale wrote:
I discovered that changing my search from johnny depp to depp returns a
list of results. The problem, then, would seem to be the encoding of spaces
in my request parameters. When I submit my search form it converts the space
to a + in my browser. Examining the logs I see that
e nio wrote:
This wiki sample does not seem to work with the newest
cocoon-2.1 release. Maybe some typo? like the line
map:flow-interpreters default=JavaScript/ . Is it suppose
to be javascript like the Petstore samples? It seems it
matters with it being JavaScript the error it complains is of
Michael Wechner wrote:
I would like to try out the PhpGenerator and followed the Wiki step by step
http://wiki.cocoondev.org/Wiki.jsp?page=PHPGenerator
and everything worked fine, but when I request the php file, then
the browser just keeps browsing and the server doesn't really respond.
Well, I
Timothy Larson wrote:
How do you convert a string to a byte stream, such as
XMLByteStreamCompiler.getSAXFragment() produces?
All my attempts fail with
org.xml.sax.SAXException: End of input reached.
when the the byte stream is later interpreted.
I am just trying to encode a text node.
Hmm, well
Jonothan Stribling wrote:
Hi All,
This issue is not so much specifically a problem with Cocoon, it is more
an environmental issue.
We use mod_proxy and Apache HTTP Server and proxy requests to Cocoon on
port 8080. The problem is that we need to detect the Client IP address
from cocoon and using
Geoff Howard wrote:
Kind of ugly though (even if correct) because that would force you to
code towards mod_proxy. Can mod_proxy be configured to pass through the
real IP? I've been using mod_jk but wanting to switch to mod_proxy but
I have been holding off until I can test all these issues.
Hi everybody,
I dove into the scratchpad scheduler that Cartsten talked about earlier,
and a Wiki page came out of it.
You can check it out at http://wiki.cocoondev.org/Wiki.jsp?page=Scheduler
Input welcome, as are suggestions for additions to the docs (ie writing
your own target).
Tony
Robert Simmons wrote:
Greetings,
Is there a manual that describes all of what each block in cocoon 2.1 does ?
Perhaps I missed it.
Thanks
--Robert
Robert,
Check out http://wiki.cocoondev.org/Wiki.jsp?page=BlockDescriptions
There isn't a lot there, but it might be a useful jumping point.
Tony
Michael Wechner wrote:
Michael Wechner wrote:
How can I set the HTTP status code (e.g. 204) of a response within a
pipeline?
Is there a similar attribute as in handle-errors (e.g. type=500)?
map:serialize type=xml status-code=204/
what else could it have been ;-)
On a side note, is there
Reuben Christie wrote:
can somebody throw some light on it? it will be a great help to me.
NB: my Test.java and Test.class are both in the same folder with my xsp
page.
h i haven't done a ton with XSP but you might have to put the .class
file in the WEB-INF/classes/ directory for XSP to see
g4 wrote:
Is it possible to throw date functions from within the sitemap?
Jason,
Check the DateInputModule:
http://wiki.cocoondev.org/Wiki.jsp?page=InputModules
Tony
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Michael Wechner wrote:
Tony Collen wrote:
Mark Pilgrim has a CGI implementation [1] of the Atom API. How long
until we see a Cocoon implementation? :)
a couple of weeks ago I have started an Atom based blog publication
based on Lenya
http://article.gmane.org/gmane.comp.cms.lenya.user/378
Reuben Christie wrote:
public class Test{
Test(){
}
public String myFunc()
{
return hello world;
}
}
try making your constructor public.
Tony
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Mark Pilgrim has a CGI implementation [1] of the Atom API. How long until we see a Cocoon
implementation? :)
Just getting the gears turnin' :)
Tony
[1] http://diveintomark.org/archives/2003/08/18/atom_api_implementation
-
Geoff Deering wrote:
You might want to take a look at these URLs
http://archives.real-time.com/pipermail/cocoon-users/2003-March/030526.html
http://www.manero.org/weblog/archives/87.html
http://www.webweavertech.com/ovidiu/weblog/archives/11.html
Hi Everybody,
I just wrote up some docs for two InputModules that were previously (mostly) undocumented... the
GlobalInputModule and the RequestParameterModule. You can view them at the bottom of the wiki page
at http://wiki.cocoondev.org/Wiki.jsp?page=InputModules
Would it make sense to give
John Bresnik wrote:
can't seem to find anything in the docs that talks about use more than one parameter in your URL - i.e.
http://localhost/mypage.html?param1=fooparam2=bar
how can i access foo *and* bar in my sitemap [pipeline]? thanks
Hi John,
Try the request parameter input module:
John Bresnik wrote:
Then in your sitemap, you can use {request-param:foo} or
{request-param:bar} to get the values for
foo and bar as you previously described.
hey thanks for the help, i appreciate it - one more thing, could elaborate
on the preceeding example?
is this the correct sitemap
Erik Bruchez wrote:
OXF is an XML transformation framework built on top of J2EE
technologies.
snip/
Pardon my ignorance, but how is this Cocoon-related? Is this built on
top of Cocoon? Is it just a repackaged (and more expensive) Cocoon?
Tony
Lionel Crine wrote:
I found something working, but I think this is not clean!
For any Exception I throw a processingException.
Then the map:handle-errors gets it.
lionel
At 16:03 16/07/2003 +0200, you wrote:
Hi,
I'd the map:handle-error to handle my custom exception (not only the
404 and
Is anyone else getting messages from [EMAIL PROTECTED] that say something
like You message is being held until the list moderator can review it for approval. ?
I assume this is a side effect from the list changeover, but damn this is annoying to get whenever I
post.
Just wondering
Tony
Bertrand Delacretaz wrote:
Might have to do with viruses being sent with you address as the sender?
Happens a lot to me these days, but not from the address that you
mention (or I didn't notice).
Hum, I doubt it, but maybe. It only started up when the list switchover took effect.
(by the
101 - 173 of 173 matches
Mail list logo