Form.js,
specifically on the following line:
defineClass("org.apache.cocoon.forms.flow.javascript.ScriptableWidget");
Fyi, if I run this directly from Tomcat, it works fine. Any suggestions on
what might be wrong? Thanks in advance.
Joel
java.lang.ClassCastException
When using an Ajax-enabled form, is there a way to specify in the model that
each widget should be validated as the user leaves the field and to use Ajax
to display the results without refreshing the entire page? Thanks.
joel
I'm new to cocoon. I'm trying to pass a parameter from flowscript into
a pipeline that calls an esql logicsheet and then access the parameter
from within the logicsheet to build a dynamic select statement. I can't
find any docs or examples that show how. Can someone point me to an
example?
hanks much.
joel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am getting SAXParseExceptions when using the wsproxy generator. Is
there some way to get a dump of the raw input coming into the parser so
I can see what's going on? FYI, I've set up the Log Transformer but
nothing interesting gets logged here. Tha
I am trying to use flowscript data passed into an XSP in the following way:
String s;
s =
This produces the error: "Type mismatch: cannot convert from Object to
String". Is there something wrong here or is there another way to do
this? Thanks in adva
thing wrong? Thanks.
Joel
// create an Object from jpath expression; should be String class
per javadocs
Object o = ;
String oClass = o.getClass().getName();
// create an Object from static String
Object oo = "Test 123";
String ooClass = oo.get
If I use the following statement:
String [] sArray = ;
I get the following compile-time error:
Type mismatch: cannot convert from Object to String[]
Any other ideas? Thanks for the quick response!
joel
Dan Alford wrote:
I'm not a cocoon expert but the Class type of your first obje
That did the trick! It's the simple things... Thanks much for the help.
joel
Dan Alford wrote:
Joel,
Try explicitly casting the object.
String [] sArray = (String[]) ;
If that doesnt work, you will probably need to find a cocoon expert
Dan
Joel McConaughy wrote:
If I use the foll
I ran into the same problem and ended up building the entire sql
statement in a String variable within an block. This
eliminated a number of parsing problems I was having and avoids having
to root thru the esql logicsheet to figure out exactly whats going on.
R Hunt wrote:
Thanks in advance
It WOULD be interesting if that's what I did. I actually didn't end up
using any bound parameters; just dynamically created the statement. Are
you required to use a prepared statement? If so, I'd be interested in
why -- it may be somethig I need to do with my app as well. Sorry I
can't be m
have tried many approaches to solve this
problem but nothing seems to work. Could someone give me some hints as to
what I am doing wrong? I am fairly new to Cocoon and I am currently using
Cocoon 2.1.3.
Thanks,
Joel
--
The information
7;directory for deploying new or customized
classes?
Thanks,
Joel
-Original Message-
From: Hildebrandt, Ole [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 10:16 AM
To: [EMAIL PROTECTED]
Subject: AW: Problems Loading Generator Component
Hi,
>From the stacktrace I would say that
"One ring to rule them all"
xml-form
[ ] keep it as deprecated in the 2.1 branch
[x] remove it with the next 2.1.5 release
[ ] remove it with the 2.1.6 release
[ ] remove it only in the 2.2 branch
jxforms
[ ] keep it as deprecated in the 2.1 branch
[x] remove it with the next 2.1.5 release
[ ] re
RL http://cocoonapp/image.jpg
xlink:href="context://image.pg"
Does anyone have some sage advice for how I can make this URL relative
to the current cocoon app directory? Thanks .
Joel
-
To unsubscribe, e-mail: [EMAIL PR
the way to define the SOAP Action header.
Cheer,
Joel
Jürg Hofer wrote:
Hi,
I'm trying to query a weather web service (GlobalWeather as described in
http://www.xmethods.com/ve2/ViewListing.po?key=uuid:A8847507-255F-0E18-
D814-78D18E6C32F6)
with the following XSP-script which I adopted fr
m flow for serialization (thanks Hugo for the samples!).
joel
Joel McConaughy
Managing Partner
Displayware
800 Fifth Ave., #101-316
Seattle, WA 98104-3191
206-300-4732 Direct
206-382-2188 Fax
[EMAIL PROTECTED]
Apache commons library does not support cross-host redirects. Solution
is to
use the httpClient library in an XSP to manually process the redirects
and then read the response and serialize into the stream.
Joel McConaughy
Managing Partner
Displayware
800 Fifth Ave., #101-316
Seattle, WA 98104
d. Thanks in advance.
Joel
Here's the offending code:
var factory =
cocoon.getComponent(Packages.com.displayware.hiblib.PersistenceFactory.ROLE);
var hs = factory.createSession();
var contacts = hs.find("from User");
cocoon.log.debug("contacts.size() = &quo
Mark,
Glad to hear from you! Here's the form template. Basically, a cut n
paste from Hugo's sample with a few things changed. If I comment out
the form.load() in the flow, this form displays fine (albeit empty).
joel
http://apache.org/cocoon/woody/template/1.0";
m.getModel() is called. So, I have
been trying to use this default binding as is, substituting the bean
created by hbm2java. In the form2bean sample, I can't even find a binding
file. Do I need one?
Joel McConaughy Managing Partner Displayware
800 Fifth Ave., #101-316 Seattle, WA 981
Title: Message
You're
on! The beer fridge is stocked...
Thanks
for the help.
Joel McConaughy Managing Partner Displayware
800 Fifth Ave., #101-316 Seattle, WA 98104-3191 206-300-4732 Direct 206-382-2188
Fax [EMAIL PROTECTED]
-Original Message-From: Mark Lund
I bet it uses the http-client library instead.
Joel McConaughy
Managing Partner
Displayware
800 Fifth Ave., #101-316
Seattle, WA 98104-3191
206-300-4732 Direct
206-382-2188 Fax
[EMAIL PROTECTED]
-Original Message-
From: Mark Lundquist [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 17
Hello users,
I'm trying to access DOC or PDF files using the ressource reader
component as described in the sitemap below and get the following error
only under Microsoft IE :
>>
Internet Explorer cannot download test.doc from localhost
Internet Explorer was not able to open this Internet
a.apache.org/bugzilla/show_bug.cgi?id=24647
Hope this helps.
-Mensaje
original-
De: Joel Reungoat
[mailto:[EMAIL PROTECTED]]
Enviado el: martes, 20 de abril de 2004 13:05
Para: [EMAIL PROTECTED]
Asunto: ressource reader bug with IE (linked to
caching)
Hello users,
I'm tryin
I'm trying to port my version of Hugo's Woody-Hibernate sample to
cfoms. When I add the following to cocoon.xconf:
I get the following error message:
"cannot create a quartz scheduler"
Has anyone encountered this be
/woody2.js", line
198: uncaught JavaScript exception: at simpleuseradmin
(file:/home/joel/jakarta-tomcat-5.0.19/webapps/cocoon/StorePortal/flow/useradmin.js,
Line 35) at
(resource://org/apache/cocoon/woody/flow/javascript/woody2.js, Line
198): org.apache.avalon.framework.CascadingRuntimeE
ase but doesn't seem to work.
IMHO, an out-of-the-box hibernate/cforms binding (or some other O/R
framework) should be a hard requirement -- otherwise where is the
productivity gain?
OK, I'll climb down from the soap box now ;)
Joel McConaughy
Managing Partner
Displayware LLC
800 Fifth
ow do I make thje corresponding change to the
hibernate collection?
Joel McConaughy
Managing Partner
Displayware LLC
800 Fifth Ave., #101-316
Seattle, WA 98104-3191
206-300-4732 Direct
206-382-2188 Fax
[EMAIL PROTECTED]
-Original Message-
From: Ugo Cei [mailto:[EMAIL PROTECTED]
Sent: Wedn
It is a simple CRUD tool and is a good example of what I believe is an
important use case. I documented the problem here:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg13665.html
Joel McConaughy
Managing Partner
Displayware LLC
800 Fifth Ave., #101-316
Seattle, WA 98104-3191
206-300-4732
Thanks much. I will give this a try and will document what I find.
I've never submitted a patch before but would be happy to do so if this
works.
Joel McConaughy
Managing Partner
Displayware LLC
800 Fifth Ave., #101-316
Seattle, WA 98104-3191
206-300-4732 Direct
206-382-2188 Fax
[
Is there a way to enable hibernate logging within cocoon? I've tried
putting log4j.properties in the classpath but get nothing. THanks.
joel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
How are you mapping/binding between hibernate persistent objects and the
flow model?
Joel McConaughy
Managing Partner
Displayware LLC
800 Fifth Ave., #101-316
Seattle, WA 98104-3191
206-300-4732 Direct
206-382-2188 Fax
[EMAIL PROTECTED]
-Original Message-
From: beyaNet Consultancy
Skipped over the rootLogger entry. As soon as I changed this to "file",
works fine. Thanks for the reply.
beyaNet Consultancy wrote:
Yep,
i have log4j-1.2.7.jar in both web-inf/lib and web-inf/classes
Peter
On 29 Apr 2004, at 23:53, Joel McConaughy wrote:
Is there a way to enable
Is there a delete equivalent to ? I'd like to pick up
the delete event and do some app-specific processing on the row before
it is removed from the repeater with but don't know
how to access the row. Thanks.
-
To unsubscribe
Peace, man!
Joel McConaughy
Managing Partner
Displayware LLC
800 Fifth Ave., #101-316
Seattle, WA 98104-3191
206-300-4732 Direct
206-382-2188 Fax
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
I need to do this as
each delete event is fired. However, I don't know how to access the row
inside the tag or how to call some external Java from
there.
May be there's an easier way to accomplish this?
Thanks for the response.
joel
Joel McConaughy
Managing Partner
Displayware LLC
See the page http://wiki.cocoondev.org/Wiki.jsp?page=BeginnerDefaultContext for
detailed instructions.
/Joel
- Original Message -
From: "Justin Makeig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 28, 2003 12:56 AM
Subject: Setting
ith these or is there
a simpler way that I'm missing?
Cheers,
Joel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> I tried this earlier with the URL Joel quoted and the RequestGenerator
> ignored the parameters completely. I took a quick look in the generator
> source code and saw that it dumped an Avalon "Parameters" object to the SAX
> stream: it called parameters.getNames() to g
I suspect we have a connection leak in our
application. There is a logAbandoned parameter for dbcp but I can figure
out how to configure it in cocoon 2.1.7/tomcat 5.5.9/mysql 4.1.11. The
documentation on this is "sparse".
Is there a better way to find connection
leaks?
Thanks.
joel
Title: [JOB] Cforms/Ajax expert needed
We are looking for a contract developer to help extend the Cforms framework with some new widgets and work towards getting these included in future cocoon releases. Our first project is to develop a replacement file upload widget that can handle multipl
/cocoon/forms/1.0#template";
xmlns:fi="http://apache.org/cocoon/forms/1.0#instance";>
myvalue=${myvalue}
continuation=${continuation.id}
Any ideas? Thanks in advance.
joel
-
To unsu
Then suddenly the light bulb went on
I figured out that there is a difference between the form's model data
and the bizdata passed from the flow. I simply added bizdata to
form.showForm("simpleform", bizdata) and viola, it worked.
joel
Joel McConaughy wrote:
I am unable
I want to create anchor tags in my form template that contain widget
values like the following:
This produces the following error:
The value of attribute "href" associated with an element type "a" must
not contain the '<' character
Is there a way to do this within the template itself of do I n
help.
Regards,
joel
Joel McConaughy
Managing Partner
Displayware LLC
800 Fifth Ave., #101-316
Seattle, WA 98104-3191
206-300-4732 Direct
206-382-2188 Fax
[EMAIL PROTECTED]
-Original Message-
From: Nick Van den Bleeken [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 17, 2004 1:02 PM
To: [
simple to do -- I'm hoping Ive overlooked something.
Thanks.
joel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have an XML-RPC based logging system. I would like to call this
within other pipelines to log certain application results. Ideally,
I'd like something like the following:
< /Pass logging xml to xml-rpc pipeline and filter out logging xml/>
Is there a way to do this? T
Title: Cforms: bean AND xml binding in a single form?
Is it possible to use both bean and xml binding in a single form? I'm using hibernate and the bean binding to access SQL data. One of the columns contains xml data that I would like to include in the form. Thanks.
Joel
There is a ValidationTransformer described in the wiki but no download
links that I can find. Is this code available somewhere? Thanks.
joel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I'm trying to insert some XML into a text column using the SQL
Transformer however the element tags are getting removed and only the
text elements are getting into the insert statement. Is there a way to
do this? Thanks.
space problem but I haven't been able
to figure it out. I've tried the following:
1. Put surrounding tag into a specified namesapce:
2. namespace qualify the generated root element:
Help would be greatly appreciated. I've been flailing on this for 2
days
ke this or do I just
following the wiki instructions? Thanks.
joel
Joel McConaughy wrote:
I'm trying to insert some XML into a text column using the SQL
Transformer however the element tags are getting removed and only the
text elements are getting into the insert statement
o get notified when the session gets invalidated so I can close the
hibernate session. Is there a way to do this? Thanks.
Joel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
#x27;t know how to access it from Flow.
This is one of those things that seems like it should be simple. Any
ideas? Thanks in advance.
Mark Lundquist wrote:
On Aug 3, 2004, at 6:20 PM, Joel McConaughy wrote:
I would like to open one hibernate session for each user session and
close it when
Millo Magnocavallo wrote:
Hi,
I wish to install cocoon-2.1.5.1 on my system and I'm running tomcat
4.1.27 however in the installation instructions there doesn't seem to
be anything related to installing for this tomcat version. It covers
the following versions:
# Installing on Tomcat 3.3.X
# Instal
am I doing wrong?
Cocoon 2.1.5, Tomcat 5.0.19
Thanks, joel
From flow:
cocoon.session.setAttribute('covers', 'sampledata/covers');
var s = cocoon.session.getAttribute('covers');
// At this point, s == 'sampledata/covers/'
From sitemap.xmap:
From c
I have database connections hanging under load (2.1.5.1, jdk1.4.2_05,
MySQL 4.0.18). I found a thread about updating
excalibur-datasource-1.1.1.jar to a later version to fix this. When I
upgrade to excalibur-datasource-1.2.0.jar, I get "cannot create a quaetz
scheduler". Has anyone seen this
ocoon' already
exists Exception
Has anyone seen this before? Thanks.
Joel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the following sitemap
fragment:
This does seem to stream as I can see the output however the jvm memory
allocation continues to grow along with the output. Is there a way to see
which component is holding on to memory?
Thanks,
J
ay to configure this
to stream the results?
Thanks, Joel
cocoon 2.1.7, jdk1.4.2_08, mysql4.1.11, mysql_connectorj3.1.10
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
growing to the size of the total result set.
- I can remove the stx transform and the xsp sill caches.
Is there any way to get more visibility on what is going on inside the xsp
generator?
Joel
Joel McConaughy
Managing Partner
Displayware LLC
800 Fifth Ave., #101-316
Seattle, WA 98104-3191
206-300
extension likely. If interested, please email info aaat displayware dddot cccom.
Thanks,
Joel
Alec, thanks for letting me know. Please keep me in mind in the future.
joel
On Thu, Feb 17, 2011 at 12:55 AM, Alec Bickerton wrote:
> Hi,
>
> Thanks for your responses. I now have enough to go through for the time
> being.
>
> Regards,
> Alec Bickerton.
>
> On 16/0
Hi,
There is a patch r1086733 to the cforms block that I would like to apply to
v2.2. I am using maven to build our application but do not know how to
update the local repository and apply these changes. Can anyone help point
me in the right direction? Thanks!
Joel
Are the build instructions at http://cocoon.apache.org/798_1_1.html still
valid? I am getting some basic dependency errors from maven and wanted to
see if there are updated instructions before I starting digging into the
problems. Here is the output of "mvn clean". Thanks.
joel
Unfortunately I am working on an app built on cocoon 2.2 so need to use
that version. Thanks for the quick reply though!
On Mon, Jul 9, 2012 at 1:00 PM, Reyes, Rafael wrote:
> Hi joel, i had the same trouble when i began with cocoon but I recommend
> that you download the cocoon`s .war p
> Could you please describe your use case in order to understand whether you
> absolutely need to build the 2.2 source tree?
>
> Regards.
>
>
> On 10/07/2012 10:42, Huib Verwey wrote:
>
> Hi Joel,
>
> i had the same troubles as well, asked about it in the mailing as
Peter,
Here's what I do which seems to work fine:
about:legacy-compat
UTF-8
true
Joel
On Wed, Jun 5, 2013 at 7:41 AM, Peter Sparkes wrote:
> Thank you Cédric and Thorsten
>
> However, I still can't get it working. Could you, please explain what I
> have to
Try this...
UTF-8
true
On Wed, Jun 19, 2013 at 7:53 AM, Mansour Al Akeel wrote:
> How do I remove the xml declaration and doctype from xml and html
> serializes ??
>
>
--
Joel McConaughy
206-300-4732
joelmcconau...@gmail.com
me alot of time!
Cheers,
Joel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
e
request string through the cocoon request object. But there isn't any
such method that I'm aware of :-(
Any help would be much appreciated!!
Thanks,
Joel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks Upayavira! Both those options work fine. I knew there must be a
simple
solution to it ;)
Thanks,
Joel
Upayavira wrote:
I'm pretty sure the following will work:
1) In the sitemap:
2) In flowscript:
var x = cocoon.request.getParameter("image.x");
var y = cocoon.reque
temap method, and make the flowscript retrieve the
x and y parameters using:
var x = cocoon.request.getParameter("x");
Any other ideas?
Thanks, Joel
Upayavira wrote:
I'm pretty sure the following will work:
1) In the sitemap:
2) In flowscript:
var x = cocoon.request.getParameter("image
specified as x and y.
Joel
Upayavira wrote:
(I'm away from my cocoon install currently so I'm working from memory
here.)
I did as David said, except that currently my image is unnamed. It is
just an img
element:
as I recall.
When I examine the XML returned by the RequestGenera
e user selects what
features to display). Maybe it is something to do with having an XSLT
produced
by another XSLT?
Any insights appreciated, because I truly am stuck otherwise.
Thanks,
Joel
-
To unsubscribe, e-mail: [EMAIL PRO
Hi Joerg,
You were right. My transformer wasn't generating the right events, the
main problem was
that the events were missing namespaces. Thanks for pointing me in the
right direction! :)
Joel
Joerg Heinicke wrote:
Hello Joel,
it seems to be a problem with the SAX events. The worki
77 matches
Mail list logo