Hi Mark,
I would guess that that's an internal Sun class not distributed with
every JDK version. Googling for JPEGImageDecoderImpl shows a few hits,
mostly on Linux JDKs.
John
Mark Lundquist wrote:
Hi,
When I try to use the ImageReader, I get
java.lang.NoClassDefFoundError
at
sun.awt
Hi Sonny,
The only other thing I can suggest trying is to reproduce the bug with
an alternate matcher, using different redirect resources and a different
action. If the bug doesn't happen then, try swapping in your actual
resources one at a time, and then your action. Something like:
John L. Webber wrote:
Hi Mark,
I would guess that that's an internal Sun class not distributed with
every JDK version. Googling for JPEGImageDecoderImpl shows a few hits,
mostly on Linux JDKs.
Are you running your JVM in headless mode? Otherwise AWT won't work.
Start your JVM with -Djava.*awt*.*
Is it possible to validate an XML document using a DTD / W3C Schema (for development
work only) ?
If so can anyone give a simple example
regards
GeorgeS
On Wed, 2004-07-28 at 10:38, Gunter D'Hondt wrote:
> I've got the following binding definition but the save-form and
> load-form is never triggered (or is doesn't have any effect anyway):
>
>
>
>
>
> var appValue = jxpathPointer.getValue();
>
The xsl below never managed to get to the external script add.js
The reason why .. a sitemap error.
The pattern following the comment was the problem, as
it came BEFORE the css / js stuff.
The wildcard forced cocoon to load index no matter what! So it was an order issue
many thanks to matt
On Wed, 2004-07-28 at 15:38, Brent Johnson wrote:
> I'm running a production site using Tomcat 5.0.18 with Cocoon 2.1.4.
> In the past, after some period of time (around a month or more) the
> site would start returning a blank page.
>
> I then upped all the pool sizes in cocoon.xconf, upped the
On Thu, 2004-07-29 at 01:47, Phil Snowdon wrote:
> I'm putting together a large project that uses the cocoon forms
> with a significant amount of flowscript. Is there any
> documentation for the Java/Javasctipt API?
>
> I've gone through all the samples, and also gone through the
> source code, b
Hi Jeff,
The source resolving mechanism is for you :).
SourceResolver resolver = null;
Source source = null;
try {
resolver = (SourceResolver) manager.lookup(SourceResolver.ROLE);
processor =
(XPathProcessor) manager.lookup(XPathProcessor.ROLE);
source = reso
Hi,
Is there a better way to implement a SOAP-based web service in Cocoon
but using AxisRPCRouter? What does not suit me is the need to reissue
HTTP requests from the web service implementation to Cocoon server
located within the same web application. Is it possible to make such
interaction usi
On Thu, 2004-07-29 at 07:09, Scott Yeadon wrote:
> Hi,
>
> Is there a way of determining how many items are in a selection-list
> widget via Java? I have list that is sourced from a cocoon pipeline, the
> number of items then governs the initial size of a repeater so I need to
> be able to get
Hi George,
This is more a general XML parser question.
You'll find what you want here :
http://xml.apache.org/xerces2-j/
HTH,
--
Olivier Billard
George Singer wrote:
Is it possible to validate an XML document using a DTD / W3C Schema (for development work only) ?
If so can anyone give a simple e
I've removed the value binding and just put a _javascript_-binding
inside my repeater but still no action is triggered (only the other value
bindings are logging). I've got other bindings where the _javascript_ inside
the value binding does work; like this one:
Hi,
I've got a strange problem with repeater
binding. I'm doing the following:
this.binding.loadFormFromModel(form,
doc);
// no changes are made to the form
this.binding.saveFormToModel(form,
doc);
// no problem here (all values are
correctly bind back)
// save back doc to webservice
// ...
// s
Sorry, I meant is it possible to validate an XML document using a DTD / W3C Schema
in COCOON *
(for development work only) ?
If so can anyone give a simple example
regards
georges
<>-
To unsubscribe, e-mail: [E
George Singer wrote:
Sorry, I meant is it possible to validate an XML document using a DTD / W3C Schema
in COCOON *
But Cocoon uses Java :)
More precisely, if you want to validate a pipeline, [1] is for you.
But in java code (Action, flowscript, and so on), the other link is valid
[1] :
George Singer wrote:
> Sorry, I meant is it possible to validate an XML document using a DTD / W3C Schema
>
> in COCOON *
>
> (for development work only) ?
>
> If so can anyone give a simple example
Cocoon is not an xml validation system. You should use
external validation tools. I
Jan Hoskens wrote:
To solve the first problem use the Web Service proxy generator in the
Proxy block:
Isn't it only for xml content?
Tom
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
On Thu, 2004-07-29 at 10:37, Gunter D'Hondt wrote:
> I've removed the value binding and just put a javascript-binding
> inside my repeater but still no action is triggered (only the other
> value bindings are logging). I've got other bindings where the
> javascript inside the value binding does wor
Consider this issue solved; apparently if value binding
and _javascript_ binding is performed on the same formfield (or binding field)
then a subnode is made; so the result is:
...
Regards,
Gunter
Gunter D'Hondt <[EMAIL PROTECTED]>
29/07/2004 10:37
Please respond to
[EMAIL P
Gunter D'Hondt wrote:
Hi,
I've got a strange problem with repeater binding. I'm doing the following:
why do you find this to be an error?
// the following error occurs:
InsertNodeJXPathBinding: done registered factory for inserting node --
InsertNodeJXPathBinding [for nested template]
InsertNodeJ
Sorry forgot to copy the exception:
org.apache.commons.jxpath.JXPathException:
Exception trying to create xpath node[1]; Factory could not create a child
node for path: /data/Set[1]/node[1]
The other was indeed the binding logging;
but just don't get why the binding wants to insert a new node si
I am receiving out of memory errors when I try and build the release
version of Cocoon 2.1.5, details are as follows:
OS: Redhat 7.3
RAM: 512mb (approx 400mb free)
JDK: 1.4.0_01
I have tried altering the -Xms and -Xmx (lowering -Xmx to be within my
free memory) in build.sh, but it makes no dif
Ben Pope писал(а):
Hi,
I don't seem to be able to get my head around binding cross-referenced data
I purpose you to try this approach.
Use xinclude (or cinclude) transformer:
Lounge
href="#xpointer(/project/people/person[2])"/>
href="#xpointer(
Hi,
I have 2 selection lists. one is static and the other dynamic.
Actually, the users make his choices in the first one and then, after
clicking on a action-button the secon list is updated.
But it's also possible that the user changes his choices on the first one
and submit the form. this way th
Title: Cocoon 2.0.4 with Tomcat 5.0.27
Hi,
I couldn't find any instructions for installing cocoon 2.0.4 with Tomcat version 5.x so I followed the same instructions as Tomcat 4.0.3.
My war unpacks ok and the sitemap .java and .class files are generated OK.
However, when I try to open a w
Hi all,
I try to use cinclude:cached-include without a luck - content is not cached.
Cocoon-2.1.5
in sitemap:
in test.xml:
http://apache.org/cocoon/include/1.0";>
You're right, you can use it on any url but it does need valid xml as
response.
Kind Regards,
Jan
taabpr wrote:
Jan Hoskens wrote:
To solve the first problem use the Web Service proxy generator in the
Proxy block:
Isn't it only for xml content?
Tom
hi, and thanks for intentions to help me
Those chars (3D) what you asked for don't exists in my sitemap, they arrived
during copy/paste opperation from my text editor,
I don't know why.
I'm enclosing stacktrace, as you asked.
Best regards
Piotr Jabłczyński
> hi Poitr:
>
> Can you post the ful
Hi All!
i have XML markup String in XSP page. I need to transform it by xslt and get
string type result in same or other xsp action.
How i can do it more simple?
Thanks for your help
-
To unsubscribe, e-mail: [EMAIL PROTECTE
Has anybody used Woody submitwidgets
yet and got it working under Netscape 4.7x?
Only thing that I do is submit my form
(post) thru a wd:action widget and process it and I'm getting this issue
out of it:
java.lang.IllegalStateException: SubmitWidget
can only be set once.
at org.apache.co
I upgraded to the latest Java SDK and it solved this, but it would be
interesting to know why it was happening...
On 29 Jul 2004, at 13:16, Robin Wyles wrote:
I am receiving out of memory errors when I try and build the release
version of Cocoon 2.1.5, details are as follows:
OS: Redhat 7.3
R
Hi all,
I'm trying to use XPathDirectoryGenerator but as soon as I insert a
xslt-transformer into the pipeline I get a runtime error.
I have already consulted the mailing list archive and other cocoon
related sites - but without success.
I'm using cocoon 2.1.5 under Windows XP and I start it via
"c
Hi
I have a big problem concerning submitting form-data when using POST and
enctype="multipart/form-data".
I have a simple form with method="post" and enctype="multipart/form-data".
But when I submit the form data, Cocoon receives no request parameters. I
can se that clearly by looking at the log-
Hi all
I was previsouly running under Cocoon 2.1.2 and eXist 0.9.2 and all worked fine.
I have recently change the 2 versions with cocoon2.1.5 stable and eXist 1.0b1.
In my application, I use two methods to update my eXist database. xUpdate for some functions, and xmldb in XSP for the others. Wit
Scott,
I used the widget.setValue("selectedValue"), but what's shown in the form
is still the default value. this setValue works for other fields, but
obviously it doesn't work for fields with a selection list
Thanks
Christina
- Original Message -
From: "Scott Yeadon" <[EMAIL PROTECTE
On Thu, 2004-07-29 at 16:22, Armaz Mellati wrote:
> Hi
>
> I have a big problem concerning submitting form-data when using POST and
> enctype="multipart/form-data".
> I have a simple form with method="post" and enctype="multipart/form-data".
> But when I submit the form data, Cocoon receives no re
On Thu, 2004-07-29 at 01:18, Scott Yeadon wrote:
> Hi,
>
> I have written a Listener in java, but I want to make it more generic
> and pass parameters to it.
> Am I able to pass parameters to the Listener class from the
> element - the examples indicate is an empty element with a single
> at
Hi,
I need to obtain a part of a value of a request parameter (a string
before a '#'-character), and use it in a sitemap. JXPathMetaModule should
do the job, I think. But I cannot find any examples of configuration or
sitemap usage for this. Anyone?
Thanks,
Tuomo
---
I followed the information contained in the wiki page and it now works.
Thanks for the assistance.
Gary T. Schultz
Web Technical Administrator / GIS Coordinator
Wisconsin Department of Commerce
6th Floor
P.O. Box 7970
Madison, WI
1-608-266-1283
-Original Message-
From: Litrik De Roy [ma
I have 2.0.5dev running with tomcat 5.x. Did you take care of the
endorsed lib problem (search wiki)
Laoise Murphy wrote:
Hi,
I couldn't find any instructions for installing cocoon 2.0.4 with Tomcat
version 5.x so I followed the same instructions as Tomcat 4.0.3.
My war unpacks ok and the sit
I tried to use if () inside like
this:
if (true) {
...
}
but every time there is error message on this "if",
it is ok if I delete everything before and after the nested
tag.
So cannot work inside of
? or I did something wron
Hi!
I'm having some trouble with authentication and pattern matchers. Is there
some reason as to why this works:
.. but this does not:
In the lower non-working version I'm getting errors a
Christina,
I can't explain why that doesn't work, but I've never tried it. You could do it
this way, though:
SELECT foo FROM bar
WHERE baz = ( (test) ? "quux" : blort.someMethod()
)
In other words, replace the "if (test)" statement with the equivalent "(test) ?
expr1 : expr2" expression
Isn't standard out redirected in Tomcat to
TOMCAT_HOME/logs/catalina.out? I may be wrong about this. I did
check that file just in case and I'm not seeing much of anything. One
thing I see there are some repeated BindingExceptions which is odd.
But since this is stdout there are no timestamps s
I'm not sure if its allowed or not. But I generally do my Java logic
prior to the esql tags. For example.. instead of what you posted I
usually do something like:
String newvar = null;
if (myvar) {
newvar = "thisval";
} else {
newvar = "thatv
Hey John,
Thanks for the advice. I didn't get it to work, but I *did* spend a few
hours on it and discovered something interesting. Here's the steps I
followed:
1.) I first introduced new internal redirects, commenting out the old ones:
This actually works on the first
Christina,
I suspect the problem could be that you need to force a redisplay of the
page for the value to be shown - in all the instances I set selection
list values, the form always gets re-displayed. Depending on your
application you could do this via an action or specifying
submit-on-change=
Hi Robin
I have upgraded to JDK1.4.2_05 (on Linux) and at first glance I am noticing
improved performance.
The problem is most likely in the garbage collection, to monitor this add
the following parameters to CATALINA_OPTS
-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps
-XX:+PrintGCApplic
Hi,
I still don't seem to be able to get the binding to work, or understand how
it is supposed to work. My data now looks like this:
http://www.w3.org/2001/XInclude";>
Me
You
Him
Hi, Jeff,
that is a good idea. But what if I have another "for" loop inside of the
"if"?
What I really want to do is take a list from the request attribute and
query every entry in that list.
also i don't know the length of the list beforehand. so I need an "if"
for the first entry (encas
Hi, Scott,
> var form new Form(FormDefinitionURI);
> var widget = form.lookupWidget("mySelectionListFieldWidget");
> widget.setValue("InitialSelectedValue");
> form.showForm("my-display-pipeline");
does this work for you? I did exactly the samething, but it doesn't work.
Thanks!
- Original Mes
Yes, works fine. The entire flowscript file is as follows:
cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/Form.js");
function batchUpload() {
var formDefinitionURI = cocoon.parameters["form-definition"];
var form = new Form(formDefinitionURI);
var loadTypeWidget = form.loo
Yes - try running your loop outside the esql tags (as I suggested
before). Build your SQL statement as a String then just do:
mySqlStatement
Just a suggestion.
- Brent
On Thu, 29 Jul 2004 21:03:04 -0700, Christina <[EMAIL PROTECTED]> wrote:
> Hi, Jeff,
> that is a good idea. But what if I
Brent,
what if there is some special character inside the string, for example
some " or ',
if I just wrap them up as a string, error might happens during the query,
you know mysql might throw an error if your query is
select user_id from users where user_name="";
- Original Message -
Try {../1} with the second one (don't know if your locale parameter
needs this too, where does it come from? Needs to be {../../locale} if
it comes from the same level as the "1")
This "../" is needed whenever you have an extra level in your pipeline.
The action is such a level so use "../".to
Have you tried another action? Is it possible that the action doesn't
return a success/failure value?
You may want to try an easy XSP action to verify that success/failure works:
http://apache.org/xsp";
xmlns:action="http://apache.org/cocoon/action/1.0";
Kind
57 matches
Mail list logo