Hi,
Jones A wrote:
> I have a jar file \"test.jar\" which i have placed in the WEB-INF/ lib directory.
>
> The jar contains a class com/test/mail/send.class
>
> How can this class be used in xsp?
>
http://apache.org/xsp";>
com.test.mail.send
...
> Is it necessary to include the name of the j
Hi Steve,
It seems to be due to different web application's contexts. You can try to
use {realpath:/}../a/templates/ - it should always to be the
.../webapps/a/tempates
Roman
Steve Butcher wrote:
> Ack. I sent the last one with the wrong email...I'm not sure if it will
> go through or not. I ap
I have a jar file \"test.jar\" which i have placed in the WEB-INF/ lib directory.
The jar contains a class com/test/mail/send.class
How can this class be used in xsp?
Is it necessary to include the name of the jar file in the xsp ?
Hi all
In sample of Portal-fw I
see the tools for Portal ahd User Administration
but don't find its in Portal engine.
In Portal engine this tools everybody
must develop himself ?
What advantage have Portal
engine above Portal-fw ?
Thanks advance.
VL
In this case i cannot change the input.
ie the parameters are passed from the url and it contains the keyword along with 2 other parameters.
The keyword can be login,read,reply,send etc...
Therefore the only access i have to the keyword is through the url. So i do something like
or
hi
My problem is to move file from one location to
other.
WebDAV uses source writing transform.My problem is
how can i move from one place to other plz give me one example
__
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phon
At 8/25/2004 12:18 PM, you wrote:
This is sort of how I worked it before.
> In both cases you should use the XConfToolTask to patch cocoon.xconf and
> the main sitemap as necessary.
I know, I know, I'm just one of those spoon-feeding-dependent goofballs,
but are there any docs on that (besides Yo
Hi All,
Has anyone here integrated Oracle 10g XDB functionality with Cocoon?
I'd be keen to talk to you off-list if possible about your specific
implementation.
Thanks,
Corin
CAUTION: This e-mail and any attachment(s) contains
Hi guys,
I sent Eric my function off list but I'll add the contents and serving
suggestion to the Wiki.
Stand by
Tony
[EMAIL PROTECTED] wrote:
its an interesting point
can you create a wiki page?
-- stavros
On Wed, 25 Aug 2004, JACOB, ERIC wrote:
Hi Tony,
I can't attest as to its effi
Ack. I sent the last one with the wrong email...I'm not sure if it will
go through or not. I apologize if it duplicates.
Dear all,
I'm using Cocoon 2.1 and Tomcat 5.
I have two webapps running in tomcat 5, A and B. Webapp A works as an
independent webapp however I am including the functionality
On Tue, 2004-08-24 at 17:44, Ralph Goers wrote:
> There are several methods that I've seen. Here are 2 I know of:
> 1. Package your stuff as a block. Move it into Cocoon's directory and use
> the Cocoon build process to build it.
Are there docs on so packaging? I can try to adapt an existing block
its an interesting point
can you create a wiki page?
-- stavros
On Wed, 25 Aug 2004, JACOB, ERIC wrote:
> Hi Tony,
>
> > I can't attest as to its efficiency but it seems to go OK so far. I've
> > got a whole bunch of other functions to add, move, copy nodes and
> > attribute etc.
> > If yo
try:
delFile["delete"];
oceatoon wrote:
Hi every one
I have been using the java.io.File class to manipulate uploads in the flow,
every thing was fine till now as I need to use the delete() method on my
object. I get
Message: missing name after . operator
Description: org.apache.avalon.framewor
I'd like to look at the scheduler features included with Cocoon
but I'm having some trouble getting started.
I've looked at http://wiki.apache.org/cocoon/Scheduler and the list
archives. It seems like there's nothing that matches recent Cocoon
setups. I can not find the strings exclude.webapp.scr
Hi,
I created a pipeline for a document that grabs one news item out of a
database. The actual news content has HTML tags in it that I need to
have displayed, not escaped. When using:
It escapes everything for you, so that the HTML tags actually display
on the screen. So, to combat this, I
In 2.1.3, this used to work:
While in 2.1.5 it gives:
<<
Message: Failed to load sitemap from
file:/c:/web/noria/noriadev215/sitemap.xmap
Description: org.apache.cocoon.ProcessingException: Failed to load
sitemap from file:/c:/web/noria/noriadev215/sitemap.xmap:
org.apache.avalon.framework.conf
Hi every one
I have been using the java.io.File class to manipulate uploads in the flow,
every thing was fine till now as I need to use the delete() method on my
object. I get
Message: missing name after . operator
Description: org.apache.avalon.framework.CascadingRuntimeException: missing
name
Hi,
I'm looking for a way to allow user selection of an XML fragment (with a
couple of fragments to choose between), with this fragment then being
incorporated into the returned output document. At its simplest, this is
a selection widget of some kind, depending on the selection I'll see one
of
Timur Izhbulatov wrote:
Jorg Heymans writes:
is
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=109231177110588&w=2
of any help to you?
Thanks you. Now I know the cause.
However, I have just tried Jetty. When I start it with "java -jar
start.jar" the whole thing works just like it does with T
Timur Izhbulatov wrote:
Jorg Heymans writes:
strange, i start jetty from cygwin with (all on one line)
java -Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
-Dorg.mortbay.util.URI.charset=UTF-8 -jar start.jar etc/custom.xml
and it works fine.
I mean Jetty itself works, but -
Hi Andreas,
In fact, here the full picture:
The first transformer gets the node I want to update, then modify (increment
by 1) and insert it in the source:fragment element... Maybe there is another
way to do this? But you're right: I'm trying to write to the same file I'm
reading f
You have to create fo (formatted objects) xml input instead of html for
fo2pdf serializer.
Roman
Matt Rich wrote:
> Hello!
>
> I'm trying to export in pdf the result of an SQL request
> that has been passed through a chain of transformers like this:
>
>
>
>
>
>
there is a way of doing this in flow if you're interested.
var resolver =
cocoon.getComponent(Packages.org.apache.excalibur.source.SourceResolver.ROLE);
var source = resolver.resolveURI("URI for your modifiable source");
var outputstream = source.getOutputStream();
cocoon.processPipelineTo("page",
Jorg Heymans writes:
strange, i start jetty from cygwin with (all on one line)
java -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
-Dorg.mortbay.util.URI.charset=UTF-8 -jar start.jar etc/custom.xml
and it works fine.
I mean Jetty itself works, but -Dorg.mortbay.util.UR
Hello!
I'm trying to export in pdf the result of an SQL request
that has been passed through a chain of transformers like this:
-
Calling "result2pdf" from the resulting hml page should give a
JACOB, ERIC wrote:
Hi,
It seems that I cannot use the SourceWritingTransformer to write document
that is in use by the pipeline.
I get the following error:
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
java.lang.RuntimeException: org.apache.cocoon.ProcessingException: Could no
strange, i start jetty from cygwin with (all on one line)
java -Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
-Dorg.mortbay.util.URI.charset=UTF-8 -jar start.jar etc/custom.xml
and it works fine.
Timur Izhbulatov wrote:
Jorg Heymans writes:
is
http://marc.theaimsgroup.com
KOZLOV Roman writes:
Hi Timur,
You can use SetCharacterEncodingAction.
I have tried this approach and it doesn't work. Jorg Heymans (thanks Jorg!)
has pointed me to
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=109231177110588&w=2. Now I
know that the reason was in container.
BTW, using
smith
why use key as a parameter... if you make it part of
the uri, you can setup different matches for it,
each of which could be calling the same generator
or
etc.
The XSP can access the parameters 'ud' and 'pwd'
as per normal.
Think outside the box... think Cocoon!
>>> [EMAIL
Hi Tony,
> I can't attest as to its efficiency but it seems to go OK so far. I've
> got a whole bunch of other functions to add, move, copy nodes and
> attribute etc.
> If you need any of this, let me know and I'll send it to you.
I would be interested by your "flowscript" functions. I need to
Jorg Heymans writes:
is http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=109231177110588&w=2 of
any help to you?
Thanks you. Now I know the cause.
However, I have just tried Jetty. When I start it with "java -jar start.jar"
the whole thing works just like it does with Tomcat. But when I try
i stumbled accross this behaviour as well. Even though you're not
uploading anything, if your form has set the enctype and uploads is not
enabled then the parameters are lost.
I don't know if this is desired behaviour. Maybe cocoon could still
accept the form but reject the uploaded files?
Fee
Thanks Tony. It helps a lot!
Eric
-Original Message-
From: Tony Edwards [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 6:51 PM
To: [EMAIL PROTECTED]
Subject: Re: Flow Control - XML Editing
Hi Eric,
I had a brief mail exchange with Mark Lundquist on the 5th August
outlining my
Hi,
It seems that I cannot use the SourceWritingTransformer to write document
that is in use by the pipeline.
I get the following error:
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
java.lang.RuntimeException: org.apache.cocoon.ProcessingException: Could not
process your d
I found it!!!
Need to enable uploads in web.xml!!
enable-uploads
true
..I think it was working before upgrading the cocoon...
Cheers, Juha
Juha Muilu wrote:
Hi
Sorry to bother this can be something trivial...
For some reason I cannot get request parameters in flowscript when
su
Hi everybody,
I'm facing a problem with cocoon 2.1.5.1: it cannot create any pdf file.
It's currently running inside tomcat 5.0.27 on a Gentoo Linux, and has
been deployed into tomcat as a war file. Everything work fine for xml ->
xhtml but not for pdf generation. Here is the error message in th
Hi
Sorry to bother this can be something trivial...
For some reason I cannot get request parameters in flowscript when
submitted form has
enctype="multipart/form-data" -definition. only null is returned (and
getParameterNames returns empty list)
When I remove the def then the cocoon.request.get
i have a file read.xsp which is called for the url
http://xx/mail?key=login&ud=user&pwd=pass
ie read.xsp is the generator.
3 parameters are passed in the url.
Now from the xsp, is it possible to redirect to another url based on the value of parameter 'key'.
However the parameters 'ud' and 'pwd'
Hello,
I have a short question regarding jx template macros.
Is there some problem with calling a macro from within the body of
another macro?
Example:
Output something
regards,
Thomas Kjeldahl Nilsson
Oslo, Norway
-
T
Hi,
did you try to use the startPrefixMapping Method.
There are some examples in the source classes of Cocoon.
See fragmentExtractorGenerator for example.
Lionel
Perez Carmona, David wrote:
Sorry, maybe I used the wrong term...
Here an example:
public class CustomTransformer extends AbstractSAXTran
Hi,
For my part, sometimes I use the DOMBuilder which I serialize with
XMLUtils.serializeNode() to get a String.
I also have created a transformer which get a W3C DOM from a database.
Here is a sample, It may be useful :
/** Create the resulting Document */
Document docResult = DOMUtil.createDocu
Robby
It should be possible to use java.util.Random class
to generate numbers and then use this to create
a string of, say, 8 alpha-numeric characters, using
a loop to pick each character from the base string.
If your password is case sensitive, this gives you
62 characters in the base string t
Hi,
I have a problem when I call the Cocoon welcome page on my localhost after I
have installed it.
I get this error:
org.apache.cocoon.ProcessingException: Failed to generate program code (this
may happen if you use Xalan in incremental processing mode). Please check
log file and/or console for
Hi robby,
You can write one java program which genrates new password
import java program into xsp
I hope this solves yr problem.
Thanks & Regards
Sud[EMAIL PROTECTED] wrote:
Hi,i would like to write an xsp that generates random passwords with some kindof algorithm... Anyone any ideas on
hi,
> I want to access the client browser's IP in my action class.
> I want to retrieve country name based on the IP
> and return it as output parameter and finally pass this parameter to my
> xsl where the country specific information will be displayed.
you should do something like this in yo
Hi,
i would like to write an xsp that generates random passwords with some kind
of algorithm... Anyone any ideas on this topic?
Kind regards,
Robby
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
I want to access the client browser's IP in my action
class. Can anyone
help me out with this? I want to retrieve country name based on the IP
and return it as output parameter and finally pass this parameter to my
xsl where the country specific information will be displayed.
regards
Pratik
If anyone out there is is running this setup:
OS X Server 10.3.5 using Cocoon 2.1.5
please drop me a line... we are trying to
solve a particularly strange bug with it...
Thanks
Derek
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Rick Wayne wrote:
1) The process isn't at all automated, and can't be reliably regenerated
from scratch.
Yes, and it looks like it's going to stay that way for a while: "In the
future there may be a skeletal distribution such as I have shown here.
It is on the rather lengthy 'to do' list for the
Thanks, I've got it working using unions and structs now. :)
-Original Message-
From: Stephane Delort [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 5:36 PM
To: [EMAIL PROTECTED]
Subject: Antwort: Forms with "conditional" parts
Hi Bart,
I guess you should have a look at clas
Hi
I've written a java application, using the JavaMail api, with which I
can send emails. I'm trying to use the sendmail logicsheet to send an
email but I get the following error:
An error occurred: Sending failed; nested exception is: class
javax.mail.MessagingException: Could not connect to SM
rw
I would go with forms - I think there are some tricky issues
as your forms get more complex (witness a lot of traffic in
the last few months) but, in general, they should be able to
handle all the use cases you describe here.
Start with the samples in the Cocoon distro, including the
hyperson
52 matches
Mail list logo