Hi-
I've got an XSP page running under Cocoon 2.1 on a Linux machine that is
accessing a MySQL
database. I'm placing the query return values (the elements)
between hardcoded XML begin and end tags, forming an XML document. Although
I'm specifying:
-
http://apache.org/xs
I figured out the pure java way to accomplish this.
You can create a class that implements the
WidgetValidator interface. Then you do your
validation logic in the "validate" method.
To add the validator to a widget in your javaflow, you
use something like this:
fo
Hi All,
The small Sydney based web agency i work for is in need of an
experienced Lenya Developer, to assist in the production of a Lenya site
for a client. There is the opportunity for plenty more work for the
right person too!
I'm VERY new to Lenya. As the TD of this agency i was investi
oops... my brain was tired and I didn't look closely enough at your
post. Never mind... :-)
—ml—
On Aug 9, 2005, at 4:55 PM, Mark Lundquist wrote:
bah!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
On Aug 9, 2005, at 4:49 PM, footh wrote:
Actually, that's not true. I tried putting it in the
flows section of the sitemap, but an error occurs
because I already have a declaration for a javaflow.
For example, having this in your sitemap:
does not work. Depending on the order, I
Actually, that's not true. I tried putting it in the
flows section of the sitemap, but an error occurs
because I already have a declaration for a javaflow.
For example, having this in your sitemap:
does not work. Depending on the order, I get an error
that says the system can't find
Having a problem with serving out .pdf files to IE under 2.1.6 using
map:read. Have researched this extensively with Google and am getting some
indications that there was a bug in the resource reader that was actually
not in an earlier reader, at least one person said they rolled back to the
2.0.4
Il giorno 10/ago/05, alle 01:21, footh ha scritto:
According to Leszek's example, the call to the
javascript function is declared in the form
definition. So this function is sitting in a .js
file somewhere. How does the system know where to get
it? If it was a flowscript, I would declare it
Thanks Ugo, it's good to know I have options. But,
I'm wondering how I would make the framework aware of
this custom validator.
According to Leszek's example, the call to the
javascript function is declared in the form
definition. So this function is sitting in a .js
file somewhere. How does t
Yea, I believe that would bomb. I'm using javaflow,
which is a Java class with methods that are called
from the sitemap. It wouldn't even compile if I tried
that.
I believe the framework has a problem with a java flow
having a try-catch within a finally clause.
--- Ralph Goers <[EMAIL PROTECTED
Lars Huttar wrote:
Nathaniel Alfred wrote:
-Original Message-
From: Lars Huttar [mailto:[EMAIL PROTECTED]
Sent: Montag, 8. August 2005 19:21
To: users@cocoon.apache.org
Subject: Re: esql logicsheet sometimes fails to transform elements
If that is the case, try to refer to your log
How can that work? It isn't valid Java.
Ralph
Nick Goupinets wrote:
Hi footh,
You need to use JavaScript style of exception handling in the flow,
unless you are using Java interpreter
Try this:
if (conn != null)
try { conn.close(); } catch (e) { print(e) }
footh wrote:
In a javaflow
Il giorno 09/ago/05, alle 19:24, footh ha scritto:
Might anyone be able to point me in the right
direction of how to accomplish this with CForms? Do I
simply call form.show again?
Yes, you can call form.showForm in a loop and continue looping until
you determine that everything is OK and bre
Hi footh,
You need to use JavaScript style of exception handling in the flow,
unless you are using Java interpreter
Try this:
if (conn != null)
try { conn.close(); } catch (e) { print(e) }
footh wrote:
In a javaflow, I open a db connection. Then in a
finally clause, I have this code:
if
Title: [JOBS] Cocoon contractor, Seattle
Displayware is a Seattle-based software development company. We have immediate need for a contractor experienced with cocoon, cforms, flowscript, hibernate, mysql, java, cvs, and eclipse (in order of importance). Project runs through October with ext
Is it possible to do something like this in JXTempaltes?
${org.apache.commons.lang.StringEscapeUtils.escapeXml('test')}
If not what is the recommended way of doing something like this?
Also I tried the code above, it didn't do anything, but it aslo did not
error. Where should the error be show
In a javaflow, I open a db connection. Then in a
finally clause, I have this code:
if (conn != null)
try { conn.close(); } catch (Exception e) { }
This causes this error when I try to access any page:
Instruction ' 223: ret[169](2) 8' is part of more than
one subroutine (or of the top level a
Nathaniel Alfred wrote:
-Original Message-
From: Lars Huttar [mailto:[EMAIL PROTECTED]
Sent: Montag, 8. August 2005 19:21
To: users@cocoon.apache.org
Subject: Re: esql logicsheet sometimes fails to transform elements
If that is the case, try to refer to your logicsheet inside the X
Thanks, that helps a lot. My one question is: where
would I put the loginValiditor javascript? I've
successfully avoided having to use javascript up to
this point. Do I simply register the .js file in the
sitemap as a resource?
Thanks,
JF
--- Leszek Gawron <[EMAIL PROTECTED]> wrote:
> footh
footh wrote:
I know I probably could find the answer to this
question by going through docs and samples, but I've
been through that so much in the past couple weeks
that I was hoping I could play my "get out of jail
free" card.
I have a form that registers a user. Field validation
can be done e
I know I probably could find the answer to this
question by going through docs and samples, but I've
been through that so much in the past couple weeks
that I was hoping I could play my "get out of jail
free" card.
I have a form that registers a user. Field validation
can be done easily on the cl
David wrote:
Is it possible to do something like the following in jxtemplates:
${org.apache.commons.lang.StringEscapeUtils.escapeXml('test')}
use
${Packages.org.apache.commons.lang.StringEscapeUtils.escapeXml('test')}
BTW: there is no need to use xml escaping for strings in JXTG.
If not, what
:-) That sounds familiar to me.
This is the third version of my sitemap... and in between I rather had a
hard time :-).
Sometimes I am thinking of a diagram drawer for the sitemap... something
like a parser grepping all matchers and parsing the flow functions to
put together how a request is
Is it possible to do something like the following in jxtemplates:
${org.apache.commons.lang.StringEscapeUtils.escapeXml('test')}
If not, what is the recommended way of calling a static function on
something in JXTemplate?
2nd question. The example above doesn't work but I also do not get an
e
Thomas,
Thanks for the reply. The funny thing is, I stepped
away from it yesterday, then, last night I tried
everything from scratch and it suddenly all worked!
I can't figure out what went wrong before but at this
point I don't really care.
Anyway, thanks for the tips. Based on your sitemap,
> Also, deleting output folder is optional. But I have this
> setting to
> on, because if I delete something in the src folder, it is
> also deleted
> in the classes folder.
Where is this "delete output folder" setting?
I now use Eclipse 3.1 with MyEclipse4.0M2,
but have 3.0 with MyEclipse 3.8
Jonas Lundberg schrieb:
Hello,
> I also get that null pointer exception with the xmldb transformer and eXist.
You can avoid the NPE when you use:
instead of
Problem is, with the eXist XMLDB Transformer you can specify
user/password (see
http://exist.sourceforge.net/api/org/exist/cocoon/XMLD
By the way, where are you using xupdate? in xquery? in xsp?
Hans
On 8/9/05, Jonas Lundberg <[EMAIL PROTECTED]> wrote:
> I also get that null pointer exception with the xmldb transformer and eXist.
>
> Hans
>
> On 8/9/05, Christoph Hermann <[EMAIL PROTECTED]> wrote:
> > Christoph Hermann schrieb
I also get that null pointer exception with the xmldb transformer and eXist.
Hans
On 8/9/05, Christoph Hermann <[EMAIL PROTECTED]> wrote:
> Christoph Hermann schrieb:
>
> Hello,
>
> > did anyone get the xmldb transformer working?
> > I always get a NullPointerException when using it, no matter
Christoph Hermann schrieb:
Hello,
> did anyone get the xmldb transformer working?
> I always get a NullPointerException when using it, no matter what i do.
To specify this a little more precisely: I get an NPE when using the
Transformer from eXist, using the one with cocoon seems to work.
But i
Hello,
did anyone get the xmldb transformer working?
I always get a NullPointerException when using it, no matter what i do.
Christoph
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
Upayavira schrieb:
Christoph Hermann wrote:
Ralph Goers schrieb:
Hello,
I know IntelliJ won't mess with the contents of your project in
any way - it surprises me that Eclipse would.
I set the class output folder to WEB_INF\classes and when i do a "Clean
all" in eclipse (3.0.1) it delet
Upayavira schrieb:
Hello,
> However, why are you putting jars into
> WEB-INF/classes? If you jar up anything else and put it into
> WEB-INF/lib, and leave WEB-INF/classes just for the classes that Eclipse
> compiles, you'll be fine. Can you work with that?
I was wrong. My jars are in WEB-INF/lib
yep, thats quite the same approach. there's only one difference, my html
renderer takes care of both form and no form content. Here are some
fragments from my sitemap...
This intercepts all requests that result in a edit form. I have similar
matchers for views, detai
Christoph Hermann wrote:
Ralph Goers schrieb:
Hello,
I know IntelliJ won't mess with the contents of your project in
any way - it surprises me that Eclipse would.
I set the class output folder to WEB_INF\classes and when i do a "Clean
all" in eclipse (3.0.1) it deletes all jars and .class
Ralph Goers schrieb:
Hello,
> I know IntelliJ won't mess with the contents of your project in
> any way - it surprises me that Eclipse would.
I set the class output folder to WEB_INF\classes and when i do a "Clean
all" in eclipse (3.0.1) it deletes all jars and .class files under
WEB-INF\classes
Leszek Gawron wrote:
Antonio Gallardo wrote:
Here is another interesting link:
http://jakarta.apache.org/turbine/fulcrum/fulcrum-crypto/
Note there is md5 and sha1 algorithm. Sha1 is better it provides a
160-bit sum. ;-)
I am wondering if cocoon need to borrow this code from fulcrum. I
gu
Antonio Gallardo wrote:
Here is another interesting link:
http://jakarta.apache.org/turbine/fulcrum/fulcrum-crypto/
Note there is md5 and sha1 algorithm. Sha1 is better it provides a
160-bit sum. ;-)
I am wondering if cocoon need to borrow this code from fulcrum. I guess
a lot of people nee
38 matches
Mail list logo