\webapps\cocoon\servername\sharename\path). I could get it to
work by changing the code, but I'm wondering if there's a better way ...
Sounds like a reasonable case for a patch to the DirectoryGenerator.
Anyone fancy creating one?
Regards, Upayavira
Apologies Stephanie for hijacking
nowledge' of different parts of the XML structure that could
be difficult to implement in STX. But then, I might be wrong.
Regards, Upayavira
[EMAIL PROTECTED] 2004/11/19 09:09:18 AM >>>
Tom Bloomfield wrote:
I'm planning to do xml -> text transformations (for ta
session:
cocoon.session.setAttribute("user", userObject);
Then, every time you need it you can get it out of the session:
var user = cocoon.session.getAttribute("user");
Too simple?
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
if you can
manage your transformations with that. This is "streaming"
transformations for XML, i.e. it is designed for streaming, and thus
should be able to handle large datasets.
Regards, Upayavira
-
To unsubscribe, e-mail
Juvvadi, Venugopal (ELS) wrote:
I am looking for something more than Xalan like multiple transformations on
XML and something similar to Orbeon.
The CocoonBean has a method to generate a page from a URL and write it
to an output stream. That might do it.
Upayavira
-Original Message
the right syntax. Is
there any reason not to use that approach?
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jorg Heymans wrote:
have a look at [1], maybe you can apply it to your local sourcetree.
Voting for this bug in bugzilla might also help to increase its
visibility for the developers.
More likely to work is providing a patch that takes Sylvain's concerns
into account :-)
Regards, Upayavi
beya! wrote:
Hi,
stupid question maybe, but is there anyway we can mask the flow
continuation id from appearing in the url?
Pass it in via a hidden form field. See:
http://marc.theaimsgroup.com/?t=10963838791&r=1&w=2
Regards, U
Have you declared the jx namespace at the top of your JXTemplate file?
Starting the file with something like:
http://apache.org/cocoon/templates/jx/1.0";>
Does that sort it?
Regards, Upayavira
Christian Rosenberger wrote:
Hi,
have a strange problem in accessing a list via JXTemplateGener
more we'll see happen.
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ll it
needs is people like you on board!
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
to work on improving our documentation.
Consensus being one part of a meritocratic society, but not one that
need be frightening. Consensus often involves thos that don't do being
pleased and willing to accept the opinions and choices of thos
David Leangen wrote:
Hi, Upayavira.
First, I want to express my thanks for all your efforts, and those like you.
You have always been very active on this list and have helped me on several
occasions. Thanks!
Second, I want to stress that my post was in NO WAY intended to be negative
towards
I'd certainly be willing to participate. I've done a few
documentation projects, so I could help contribute some ideas and direction
to the process.
So you don't feel up to taking the lead, but do feel up to helping.
Do others out t
like that. Not sure about the exact syntax, but it is more or
less there I guess. All you're doing is storing an ArrayList in your
session, and each time a page is viewed, add the URL to your array list.
Then this array list is passed into the JXTemp
Norman Barker wrote:
Many Thanks,
I will try both of these solutions. I was a bit daunted about mod_jk2
so that is great.
Actually, if you're using mod_rewrite, or mod_proxy, you're not using
mod_jk2, so the workers.properties files are redundant.
Regards, Upayavira
Norman
beyaNet wro
fields to your form, you don't have
to change the code here.
And then use the FormTransformer to put values into the form given
entries in your template.
Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
beyaNet wrote:
Upayavira,
thanks for your reply. I'm not sure I quitefollow you as this whole
Apache RewriteRule business is new to me. Could you possible give me
an example of what you mean?
Sorry for the delay. I missed your message.
Take this:
user goes to www.yoursite.com:80/hello.html
or virtual hosting, I have Jetty match on virtual host names, so
webapps are mounted based upon the domain names, rather than based upon
folders.
Hope that makes sense.
Upayavira
beyaNet wrote:
Hi,
it seems the cause of my problem is the RewriteRule lines I have
specified in my Apache http.con
his case from a jar file. It is therefore embedded within
the cocoon-forms.jar file (I suspect). Otherwise, you'll find it in
/src/blocks/forms/java/org/apache/cocoon/forms/flow/javascript/Form.js
Regards, Upayavira
-
To unsubs
n the Jetty-extra package, not sure. It is in the extra\win32 folder
called Wrapper.exe. Don't know the licence on it, but you can use it to
start any Java app as a service.
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL
I don't have an
immediate answer, I'm afraid.
The other thing to be wary of here is that, if you give people the
freedom to put what they want into a box like that, they can go breaking
things quite badly if you don't validate the input that they are putting in.
Sorry I can'
Wild guess here (never done it myself):
Could your editBean.note_with_href return a DOMFragment or DomNode? I
think the latest Cocoon in SVN might have code to handle this properly
in JXTemplate.
Regards, Upayavira
Paul Joseph wrote:
Hi,
i have a requirement that the user should be able to
vn
- makes the job a lot easier for Windows users.
Regards, Upayavira
Michael J. Sherman wrote:
Hi everyone;
I grabbed down Cocoon CVS from 11am EDT Oct 15. I have ant 1.6.2 and
Java JDK 1.5.0.
When I attempt a './build.sh' in the cocoon-2.1/ dir, I e
may not be used as an identifier”).
I believe that was fixed yesterday! You'll need to check out Cocoon from
Subversion in order to get that.
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
n attribute...?
See above. I presume, if you're using XSP, you're not afraid of Java.
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
a webapp with:
/
d:/documents/cocoon/mysite/cocoon-2.1/build/webapp/
mysite.com
www.mysite.com
Does that make sense?
Regards, Upayavira
-
You send me a patch, I'll commit it. How's that sound?
Glad it helped! The stream generator is much underrated I think - has
helped me in a number of situations.
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTE
equestHeaders, requestParameters, and so on but nowhere does the
above XML data show up. The Request InputModule has get methods for request
body (content) length and type, but I don't see how to get the content
itself.
StreamGenerator.
Upayavira
--
Surely you can do the following (add a while loop with a boolean 'confirmed' variable?
Won't that work?
Upayavira
function registration() {
var form = new Form("forms/registration.xml");
var confirmed = false;
while (!confirmed) {
form.showF
fically for snippets
of SVG images. You could probably fashion something using flow and
storing content in the session too.
Remember, these difficulties are inherent in HTTP, this would, I think,
be difficult in most web scenarios.
Hope that helps,
Regards
Nandakumar Mounasamy wrote:
Thanks */Upayavira !/*
*/Wondering if anyone at least got the "offline page generation"
working on cocoon 2.1.5. If yes, can you post sample logkit.xconf and
cli.xconf?/*
*/Also, are the xsp pages expected to be compiled every time pages are
generated (
7;s a special tag,
something like that you can put into your
template. Then, in your sitemap, you can do something like:
Sound reasonable?
Regards, Upayavira
-
To unsubscribe, e
[EMAIL PROTECTED] wrote:
Hi,
I have XSP-precompilation working reliable with Cocoon 2.1.3, this is how
my ant target looks like:
Yes, it works on 2.1.3. I believe it is broken on 2.1.5 (or should I say
'I broke it' on 2.1.5 :-(
Regards,
have
time to look into it at the moment, but intend to work through all CLI
bugs during the hackathon/gettogether (11/12 Oct). I'll have time then.
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
Jetty 5.0, which I suspect is a part of
JBoss4. A problem to do with logging. I'd suggest mentioning it on the
dev list, but do quote a full stack trace, as that will help a lot.
My solution I'm afraid was to go back to Jetty 4.2.
Reg
and how you might use Cocoon within your own projects,
then come along to the GetTogether.
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
into a different location in the bean" ?
I believe there is a direction option available in the binding definition.
Bind the widget twice, once for load, once for save.
That should do it.
Regards, Upayavira
-
To unsubsc
hacking and less talking.
Whilst it is for developers, as far as I am concerned, would-be
developers are just as welcome. It is simply by participating that
people themselves become developers anyway. So if you want to come, and
to participate in the development of Cocoon, then please sig
x27;t
the culprit :-)
True!
I have a fontdirectorygenerator feeding font family names into a
listbox widget. I think the culprit is right here :
Font f = Font.createFont(Font.PLAIN, new FileInputStream(path));
Upayavira: do you know of any other dependencies then?
Anything that uses AWT ;-)
The pri
4)
at Form (resource://org/apache/cocoon/forms/flow/javascript/Form.js,
Line 47):
java.lang.InternalError: Can't connect to X11 window server using
':0.0' as the value of the DISPLAY variable.
the form works when i do the -Djava.awt.headless trick.
Is this a known dependency
, something like: file://x:/stylesheets/etc
Upayavira
Jorg
[EMAIL PROTECTED] wrote:
Hello List,
I m using Cocoon in Apache Tomcat/5.0.25 on a Windows 2003 server
system.
In on of my piplines I need to get access to net devices of the
server. It
is not for internet use, so I don'nt need a super s
hearing about a bug somewhere
in the JPEG code used by the ImageReader. (Can't remember which version
fixed the bug though:-(
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
,
then there's Jython. Otherwise, you're stuck with what you've got.
Regards, Upayavira
Willy Reinhardt wrote:
Thanks Upayavira,
This is my current solution but I was looking for a more portable
solution because we are many developpers some use Weblogic others use
JBoss with or witho
I am unaware of a Java perl implementation.
Your best bet if you must use Perl is to use proxying. Set up Apache
httpd to run your perl. Even configure Apache to only accept requests
from localhost. Then simply use the file generator:
http://localhost/cgi-bin/test.pl"/>
Regards, Upayavi
/abc/index.pdf
Anyone else encountered this?
Works in FireFox but not in IE. Can you post sitemap snippets that work
and don't work? Seems like a mime-type problem to me.
Regards, Upayavira
-
To unsubscribe, e-mail: [
Regards, Upayavira
Adriano Smith wrote:
Is there any html parser in cocoon that can strip a html page of all
the tags and return only text content? I want to read a mail,
and print only the text contents and avoid all the html content.
how can this be done?
<http://ads.sify.com/Re
an XML document in
Cocoon, and then write this to a file. Is this possible ?
The above (Cforms) wouldn't require any Java (and only a bit of
cut-and-paste javascript).
Regards, Upayavira
-
To unsubscribe, e-mail: [
I had a similar problem and sorted it by using C3P0.
Put the following, or equivalent, into your properties file:
2
10
5000
100
false
And c3p0 will be used instead.
Regards, Upayavira
On Thu, 02 Sep 2004 14:53:38 +0200, "Johannes Textor&quo
y like
to understand how the LinkRewriter helps in these scenarios.)
Regards, Upayavira
Olivier Lange wrote:
> Interesting. But if I set my browser's locale to French, that
isn't taken into account, is it?
Indeed, it is a static publication, all done with the CLI (many
thanks Upa
Olivier Lange wrote:
> Interesting. But if I set my browser's locale to French, that isn't
taken into account, is it?
Indeed, it is a static publication, all done with the CLI (many thanks
Upayavira!), there are no locale matchers.
:-)
It is my intention to change the CLI so tha
wser locale, and the rest
are served as en/page.html, fr/page.html, etc.
Hmm.
Upayavira, who is a complete newbie when it comes to i18n.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
is in your XMLDB.
Then if you have your bound object as a DOM, you can say
cocoon.sendPage("your-url", {myDom: dom}); and then in JXT say #{myDom}
should show the XML of that DOM object.
Isn't that straightforward enough
gards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Carl Yestrau wrote:
Hello all,
I am encountereing the following exception when using the CLI:
"Java.io.IOException: Bad File descriptor"
Can you give more info? What OS are you using? What version of Cocoon?
Can you give a stack trace?
Regards,
is an extremely
useful feature that has saved me stacks of debugging time.
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Djava.*awt*.*headless*=true, and it should work.
Regards, Upayavira
John
Mark Lundquist wrote:
Hi,
When I try to use the ImageReader, I get
java.lang.NoClassDefFoundError
at
sun.awt.image.codec.JPEGImageDecoderImpl.getDecodedColorModel(JPEGImageD
ecoderImpl.java:293)
I'm running un
Christina wrote:
> For example, send out an http get request to an url?
> Totally have no idea how.
> Would any one throw me a light on it?
http://foo.com/foo"/>
Upayavira
-
To unsubscribe, e-mail: [EMA
r the moment. I'd suggest you use
cocoon.processPipelineTo() from within flowscript. Then,
cocoon.sendPage() will run the actual presentation pipeline.
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
Zidarics Zoltan wrote:
2004. július 22. 08.21 dátummal Upayavira ezt írta:
Have you set the encoding in the definition of your serializer (at the
top of the sitemap)?
yes:
src="org.apache.cocoon.serialization.HTMLSerializer">
UTF-8
true
If that doe
Lionel Crine wrote:
This is what I did but I thought already exist.
All you really need is an XSLT with a single match:
It is an 'identity' transform, but it excludes the
processing-instruction() test, which means they won't get into the output.
Regards, Upayavira
Lesz
like to see cocoon.redirectAndWait(), which would
allow you to change the browser's URL, display a page, and then carry on
where you left off. With this, and a flow CForms that doesn't require
continuations, you've got a lot of power.
Regards, Upayavira
taabpr wrote:
Hi all,
I cann
egard.
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Alexander Beening wrote:
Hi, Matthew and Upayavira
Thanks for the feedback. Matthew is right. A midlet sits in the mobile
phone and uses the J2ME platform, which is a very thin JRE when you
only have kilobytes of memory available.
I could send the data as XML, but how to receive it in the phone
code? How would you generate a midlet from an
XML stream?
Regards, Upayavira
Alexander Beening wrote:
Good morning,
My name is Alexander Beening, R&D director of the Telecommunications
Service of the Principality of Andorra (STA).
Three weeks ago, I began exploring Cocoon with the intention to
, consider providing
a patch to add them. Let us know here what features you'd like it to have,
(other questions already answered...)
Regards, Upayavira
Hmm. Basically, the URLSource can handle FTP, but not writable. So, you
need to add something like:
into your cocoon.xconf, before the sim
Ugo Cei wrote:
Thomas Kjeldahl Nilsson wrote:
Make that instead:
What am I missing or misunderstanding? :)
A backreference to the matched substring ;-).
Or use the jxTemplateTransformer?
Upayavira
URLSource can handle FTP, but not writable. So, you
need to add something like:
into your cocoon.xconf, before the similar definition of the URLSource,
which has name="*"
Does that make sense?
Regards, Upayavira
which by looking at the source code is thrown when the source is not
#x27;t work. We need to move the link out of the heading, I'm afraid
(AFAIK)
Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ocoon/Embedding_5fSVG_5fFonts
Rather, move the content to wiki.apache.org/cocoon/EmbeddingSvgFonts.
Follow the CamelCase approach, and it'll make life so much easier. On
the old page, put a link to the new one.
Regards, Upayavira
Then it will appear the way you want to see it with _, not %.
Mark
On 9 Ju
simulating JSPWiki). What doesn't work about attachments?
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Copy lib/optional/servlet_2_2.jar into build/webapp/WEB-INF/lib. This
should fix this problem. This is a known bug that needs to be fixed.
Copying servlet.jar fixes it for now, although this is a workaround.
Regards, Upayavira
Christina wrote:
> I just tried the cocoon command line, wh
it!
Regards, Upayavira
Joerg
On 07.07.2004 09:20, David Crossley wrote:
I just switched on the "bang_meta" option.
So if you do not like the way that Moin automatically
turns things into Wiki links then you can prevent it
with ... !NoWikiName
-
David Crossley wrote:
I just switched on the "bang_meta" option.
So if you do not like the way that Moin automatically
turns things into Wiki links then you can prevent it
with ... !NoWikiName
Er, thought that already worked! At least, the conversion assumed that
it did!
Regards,
Derek Hohls wrote:
Upayavira
Uh, I wasn't really serious here, you know.
I didn't! Thanks for clarifying!
But I think its good that people do know the
benefits of the move... perhaps, as always,
good comms around this change will help
raise awareness and block any (temporary
Antonio Gallardo wrote:
Upayavira dijo:
Alan wrote:
I'm wondering if there is a way to cache JXTemplate, or any
ordinarily uncachable pipeline, maybe from flowscript, by teling
Cocoon that for this URL this pipeline will not change.
I have a JXTemplate that generates some XML
given query string, it will always produce
the same XML output.
Thank You.
JXTemplateGenerator in CVS is cachable now.
See:
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=108607750303449&w=2 for
the original 'spec' that is what I believe has been implement
ctively
working on the Apache Wiki, and of those, two are Cocoon people, and one
is a frequent Cocoon visitor. So we are well set to lead.
Regards, Upayavira
Derek
[EMAIL PROTECTED] 2004/07/05 02:56:45 PM >>>
Jan Hoskens wrote:
David Crossley wrote:
Stephan Michels wrote
Friday.
Where some tasks are better done with scripts, Apache committers will be
able to run scripts on the server to update pages. If a non-committer
wanted to craft a script, I'd happily send them a tarball of the wiki
for them to use to develop their script.
Regards, Upayavira
[EMAIL PROT
Derek Hohls wrote:
Upayavira
So are you saying "tough, we have to fit into some
Apache 'corporate image' ?!"... ah, I already miss the
wild free days of the "Independant Cocoon Wiki" -
maybe a small group of rebels will start a new, hidden
site somewhere on the far
of Apache, not just Cocoon, as this new Wiki is a part of the Apache
wide wiki farm. So anything that is wrong on our wiki, will be wrong on
all Apache wikis.
In fact, ours already goes further than other Apache wikis, in that we
have authentication configured.
re lines.
See if you can work this out. If not, I'll dig out an example.
As to disabling, when I've done this, I've just passed everything
necessary to make the decision as to whether or not to show a widget on
into the stylesheet, so the stylesheet can then format the widget
ild/cocoon directory, and I see a .jar file, but not
a .war file. I've also done a full search on all other directories.
What could I be doing wrong?
Thanks,
David
Use the folder build/webapp.
Or I think you can do build war
Upayavira
--
Jeremy Quinn wrote:
On 1 Jul 2004, at 14:30, Peter Velychko wrote:
Hello Upayavira,
Thank you for your reply.
That could work, but it would be working round, rather than working
with, Cocoon. You would also be buffering your output, which is best
avoided.
Yes, this is workaround. But why whole DOM
Jeremy Quinn wrote:
On 1 Jul 2004, at 11:29, Upayavira wrote:
That could work, but it would be working round, rather than working
with, Cocoon. You would also be buffering your output, which is best
avoided.
The solution looks far more complicated than it needs to be, also it
makes lazy
, function(){session.close()});
But I think there are some issues with this approach, and I believe it
doesn't work with cocoon.sendPage.
Fancy doing some digging into Cocoon's internals?
Regards, Upayavira
Peter Velychko wrote:
Hello Upayavira,
May be it is off topic.
There was discussion o
Christian Mayrhuber wrote:
On Thursday 01 July 2004 10:03, Upayavira wrote:
Rui Alberto L. GonÃalves wrote:
Hi all,
I'm trying to use xmldb cocoon block. Things are ok while tomcat
is up, but after shutdown and restart tomcat, data inserted
in the database is lost. Directories stru
, you will find symptoms like you describe -
collections that you added disappearing, etc.
Hope that helps.
Upayavira
when in embedded mode must only
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
Stephan Coboos wrote:
Upayavira wrote:
This will not work.
Actions are used when building a pipeline, not when processing it. So
the action will take place before the view is processed, not after.
Oh, what a pitty. It's a little bit consfusing me why action is
executed b
g the view. A
pipeline fragment could be looked like the following:
This will not work.
Actions are used when building a pipeline, not when processing it. So
the action will take place before the view is processed, not after.
Upay
arch I haven't found his message I'm afraid.
Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ling to tell us your name, that would be nice!
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ly, and
others that are served dynamically via Cocoon. Setting up Cocoon there
isn't that hard either (ssh to server, download archive, unpack, build,
copy to relevant folder, restart webapp via control panel).
Regards, Upayavira
HTH
--Dale
On Tue, 22 Jun 2004 16:45:45 +0200, Derek Hohls
with something better, of course.
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Chris Wilder-Smith wrote:
I've been using the HTML Generator at the top of a pipeline to
dynamically reprocess some HTML. It turns out that an interaction
between JTidy and the DOM Streamer used in HTMLGenerator cause some
problems. JTidy treats the content of a
configfile.xml");
var color = jx.getValue("/params/color");
Regards, Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jose Antonio Reyes wrote:
A bit frustrated after an hour and a half trying to make cocoon compile with
jdk 1.5
Try Cocoon from CVS. I believe a fix was committed that helped it run
with 1.5. No idea whether that change was enough to make it run
completely, though.
Regards, Upayavira
re, or put servlet.jar (or variant) into WEB-INF/lib, to
sort that one.
Would there be a way of registering this as an RFE?
Let's talk more about what you're trying to achieve, because at the
moment, I'm not sure that it would give you
PersistenceFactory.class file in
the "htest" directory under WEB-INF/classes...
Presumably it is in the htest package then?
Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
eleaseComponent(factory);
}
}
How does yours match? Could you post it?
Regards, Upayavira
-Original Message-
From: Upayavira [mailto:[EMAIL PROTECTED]
Sent: 10 juin, 2004 14:50
To: [EMAIL PROTECTED]
Subject: Re: Flow + Hibernate and lazy initialization
Nicolas Bielza wrote:
Thanks
201 - 300 of 748 matches
Mail list logo