classpath argument of the javac to reference to the avalong jar (in
/WEB-INF/lib, that's right).
usually you can't just unzip a jar and take one class file out, much too
much dependencies :-)
hth better :-),
tom
Thomas Lutz wrote:
this is a part of my build file which should fit your needs, t
this is a part of my build file which should fit your needs, too. (it's
a bit too much, as i use javaflow, just comment the not needed jars)
destdir="${build.server.war.ant.dir}" debug="on">
location="${lib.dir}/cocoon/avalon-framework-api-4.3.jar"/
ok, tried to dig in this issue "remote" (I am not working for the
company any more, where we had this problem, so no sources to try :-)).
obviously this error is not thrown by cocoon itself, but by the sax parser:
org.apache.cocoon.ProcessingException:
Failed to execute pipeline.:
java.lang.R
first thought:
i think we had this error message when using escaped utf-8 chars...
our source files are encoded in utf-8, and some guy inserted a escaped
" " in utf 8 with is in utf-8 ()
this crashed the forms. didn't figure out why, not enough time, just
threw out the escaped chars. but a
Well, I'll need this soon :-). I was thinking of some sort of grep
shellscript stuff, but this could be achieved with some java classes
using regular expressions too.
here you get a problem with regex when you have sth. like this:
Best would be to enable I18N Transformer to log the mis
Thomas Lutz wrote:
Jorg Heymans wrote:
http://issues.apache.org/bugzilla/show_bug.cgi?id=36781 to start.
If someone could add the Validation stuff that'ld be great, otherwise
i'll have a look at this myself later.
I'll give it a try next week...
should be worki
Philippe Guillard wrote:
I need this too. I would say the easiest way is to navigate in your
site and then see the core logs in debug mode, unfortunately i only
see the [core.i18n-bundles] catalog resolution messages, and not the
keys resolution...
Maybe the question could be transformed to :
Sorry for the noise,
I finally solved it and I think I am starting to get grey hair soon if
this goes on .-).
I got confused by the id's... my problem was that I tried to name the
groups nested in the union in my own way. But, the id of each nested
group has to be exact the same value as cas
Hi list !
I have repeaters nested in a union/group construct. Everything looks
fine, the only problem is that the repeater-action buttons do not work.
I think this is because the form engine does not notice I submitted the
form with these particular buttons because of some namespace issues.
Jorg Heymans wrote:
http://issues.apache.org/bugzilla/show_bug.cgi?id=36781 to start.
If someone could add the Validation stuff that'ld be great, otherwise
i'll have a look at this myself later.
I'll give it a try next week...
regards,
tom
-
Jorg Heymans wrote:
A few weeks ago I had the same need/idea, and hacked together a max-size
and min-size attribute for the repeater widget. If you want i can put it
in bugzilla so you can see if it helps your usecase.
If this is useful for other people as well we should nail down the
behavio
ays is time for new
resolution !!!
I think I'll have a look at bluexml.org this weekend :-) !
regards and a nice weekend :-),
tom
Jean-Christophe
Thomas Lutz a écrit :
Jean-Christophe Kermagoret wrote:
There might be some interesting code and documentation (I hope :-)
Grea
Jean-Christophe Kermagoret wrote:
There might be some interesting code and documentation (I hope :-)
Great work !
Your discussion is welcome, and, I will say more, awaited with great
enthousiasm :-)
I didn't have too much time to have a closer look at it yet, but :-),
one remark to the
Aurélien DEHAY wrote:
Hi.
Thomas Lutz a écrit :
What exactly does not work ?
The displayed date & the date in the input field are not consistant.
For example I'd like, in en locale, the following behaviour: the client
enter 01/13/2000 in the forms. When displaying in
What exactly does not work ?
I had problems with forms, dates and i18n, too.
With some debugging I figured out that the form engine took the hosts
locale as default, so no matter which locale I set in the browser, the
date formatter always took the hosts locale, so setting the locale for
the
Very interested :-) !
I tried to solve this repetitive tasks with intensive usage of metadata
information... basically everything is "configured" with metadata from
the database. So I only have on JavaFlow form handling function... which
is of course a rather complicated one, but does the job
Hi list !
Is there anything out there that generates CForms
-formdefinitions
-templates
-bindings
from Hibernate 3 metadata objects ?
Any help, snippet or ready-made-up framework welcome .-),
regards,
tom
-
To unsubscribe, e
Victoria Vitaver wrote:
Thanks, unfortunately this also doesnt work ... after experimenting a
little I have realised that my bindings seem to be completely ignored!
ie if I simply have xmlns:fb="http://apache.org/cocoon/forms/1.0#binding";
xmlns:fd="http://apache.org/cocoon/forms/1.0#defini
Are you sure your binding is correct ?
As far as I see your root fb:context binds to /, and the next binding
tag is a fb:set-attribute ?
Try moving the info of the second fb:context path into the root context.
HTH,
tom
Victoria Vitaver wrote:
Hi,
I am trying to create an input form, which
Maybe you'd be successfull with a small service pipeline, that uses
xml/xslt instead of jx.
I did this once, the basic idea was:
- writing a custom generator, that parsed the string to a DOM Document
(in your case I think this could be done by simply wrap your service
response with a tag). I
I
-created an empty project
-copied the cocoon sources into a dir in this project dir
-made another dir with my non cocoon librarier
-and then added the copied directories with new module to my project
-- although its "new" module, it detects your sources and imports them
(no copying like in ecli
template, otherwise the
forms-samples-styling.xsl won't be able to insert its stylings and js
stuff...
Thomas Lutz wrote:
Well, actually I don't have a Forms and a Other catalogue, I have:
src="org.apache.cocoon.transformation.I18nTransformer">
; catalogue, it translated fine. I pulled my
hair out for a while on that one.
--- Thomas Lutz <[EMAIL PROTECTED]> wrote:
Hi list !
I think I am missing something, but I can't figure
out where...
Short :-) description:
I add a ValidationError to a form widget in a custom
binding, thi
Hi list !
I think I am missing something, but I can't figure out where...
Short :-) description:
I add a ValidationError to a form widget in a custom binding, this is
done via (tErrorMessage is the message key, and yes, I double checked it
exists in my message catalogue :-) ):
((Fiel
Hi list !
I have quite a lot CForms in my application. All data is retrieved and
submitted to a middle tier using a xml document. For each field there is
an attribute containing an error status, empty string if there is no error.
Now, if I submit the form, it is validated by the middle tier, an
t really care.
Anyway, thanks for the tips. Based on your sitemap, I
think I can improve mine by consolidating some of my
pipelines.
Regards,
JF
--- Thomas Lutz <[EMAIL PROTECTED]> wrote:
yep, thats quite the same approach. there's only one
difference, my html
renderer takes ca
e variable was constructed gets lost
because I'm going several pipelines deep rather than
just directly using the form transformer. Is this
similar to what you are doing? Can you give me some
pointer as to how I might be able to fix this?
--- Thomas Lutz <[EMAIL PROTECTED]> wrote:
I had quite similar problems as you have, here's what I did:
-each request is handled by a javaflow function
-the request has some magic chars separating object from view type, so i
have something like person.form.edit.do
-so when i am in the right flow function, i prepare all data, do some
CFo
Where is your cocoon app running in ?
I've been using jboss 3.2.7 some time and had to put some libraries into
the lib/endorsed dir to get things working,
David wrote:
When I try to goto any of the java flow samples I get the error below.
I am using Cocoon 2.1.7. Thanks in advance for any he
Isn't there something like a fi:styling tag in the form template ? I
think I used this for some additional javascript hacks.. everything you
pass in the fi:styling is copied to the output tag...
footh wrote:
Hello,
I'm trying to add a class attribute to the tag
that gets generated from the
Copy of my answer to your previous posting:
I am using quite the same environment as you do...javaflow, jxtemplates,
some custom generators.
Looking around I found no application object, too, but :-) maybe the
this concept might help:
Create a "standalone" cocoon independent class, that is
I am using quite the same environment as you do...javaflow, jxtemplates,
some custom generators.
Looking around I found no application object, too, but :-) maybe the
this concept might help:
Create a "standalone" cocoon independent class, that is responsible for
building your items cache. If
onEvent);
}
}
}
public void handleValueChangedEvent(ValueChangedEvent
valueChangedEvent) {
// TODO Auto-generated method stub
}
Thomas Lutz schrieb:
Hi list !
I use java as flow language, not javascript. This forces me to use
java in all places, where
Hi list !
I use java as flow language, not javascript. This forces me to use java
in all places, where javascript is used in the samples, and my problem
are action event listeners. I managed to write a event listener in java,
accessing all the form elements via the event param, but...
How do
Hi list !
Is it possible to pass parameter to a java action event handler ? So I
could write a generic action event handler, that recieves two strings
with group id's... switching them from group state invisible to active
and vice versa ?
thanks,
tom
Hi list !
All my "sitemap flowscript" is written in javaflow. Now I am trying to
copy-paste some action event handler from the multi-page example, and do
not have access to the classes used..
The action event definition follows below, what I get is that
WidgetState is unknown. In the exmaple
That depends on the jBoss version you want to use.
I am currently using the 3.2.7 and all I had to do is to place some libs
in the endorsed directory.
So, step for step it would be:
o) place commons-collection*.jar (commons-collections-3.1.jar in my
env) from cocoon/lib in jboss/server/defa
Hi !
Sorry for the cross post, I was not sure wether all the dev readers
check the users group, too.
As I read the GT2005 announcements, I was wondering if there are some
cocooners at the WhatTheHack (http://www.whatthehack.org) in the end of
july. Maybe this would be a good chance for at le
38 matches
Mail list logo