Ugo Cei wrote:
B) possibly simpler:
var form = new Form("formdef.xml");
var list = hibernateSession.find("from ...");
form.lookupWidget("widget-id").setSelectionList(list, "id", "name");
form.showForm("form-template");
Or declare selection list as JXPath in scheme
value-path="id" label-path=
I have a CForms form with selection widget. The selection widgets gets
its data from JXPath. I flowscript I set :
form.getChild("city").setSelectionlist(cityList,"id","name");
where city list is the List of City bean (with properties int id and
String name).
Now i have client bean, which I bind t
I am site using ImageReader on my site to reduce my images size to have
width 150px. Sometimes the image width is smaller than 150px, in this
case I want to leave original width. Before migration to Cocoon 2.1.7 I
was setting simply allow-englare to no and everything was OK. After
migration the
Grzegorz TaĆczyk wrote:
Hello Jakub,
http://www.e-teatr.pl/en/redakcja/dane.html
I receive Cocoon error when I try to send message.
Thank's for information. After migration to Cocoon 2.1.7, I discover
many flows error, because in this version of Rhino FlowScript must be
declared with keywo
Because we recently presented english version to public(before was only
polish) i present link below
- http://www.e-teatr.pl/en/index.html
Solution -
Apache 2 + connectors + Java 1.5 + Jetty 4 + Cocoon 2.1.7 + PostgreSQL
(with OJB)
--
JD Daniels wrote:
I didn't see the need for a cocoon component. I looked again, but
still can't find the article that got me going... basically here is my
setup:
I use cocoon component put method, that gets JDBC connection from cocoon
pool.
My flow looks like described in article :
function ope
Brent Johnson wrote:
I searched the Wiki for "servletfilter", "servlet-filter", "servlet
filter" and didn't find anything. Is there an example of closing
Hibernate sessions using a servlet filter on the Wiki?
Here is the wiki article I mentioned before -
http://wiki.apache.org/cocoon/CocoonAnd
beyanet.com wrote:
I use hibernate within JBoss 4 as follows:
InitialContext ctx = new InitialContext();
sessionfactory =
(SessionFactory)ctx.lookup("java:/hibernate/SessionFactory");
session = sessionfactory.openSession(); transaction =
session.begin
beyanet.com wrote:
Brent,
the way I use hibernate with flowscript is to simply call the method
from flowscript and allow the java method to handle all
transaction-session open and closing processes. I place no hibernate
code in cocoon. All the hibernate code is self contained within the
java me
SOLVED, I simply didn't enabled uploads in web.xml, this also implicated
that simple parameters from multi part forms was not decoded.
J.K.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
Recently I upgraded Cocoon from 2.1.5 to 2.1.7. Most of things works
fine, except one FlowScript function.
I have this HTML form (hidden fields values are passed from flow) :
In FlowScript if I try to access my hidden fields
var action = cocoon.request.get("action");
I always receive null.
Is there possible to authenticate one pipeline, only when user have a
certain ROLE (ie. admin).
J.K.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have a org.w3c.dom.Document in my FlowScript and I want to send it to
pipeline. Is this possible with JXGenerator, or should I write a custom
generator?
J.K.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Uz.ytkownik Johnson napisa?:
>tks
>
>would you tell the cocoon bugzilla about this to solve it.
>
>
>
OK
>best regards
>
>johnson
>
>
Regards
J.Kaniewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
I investigated with those convertors I mentioned before and I discovered
that this wrong conversion is caused by IBM ICU4J classes.
This is the way to solve the problem
1) Delete /WEB-INF/lib/icu4j.jar
2) Download most recent version of this library from
http://oss.software.ibm.com/icu4j/downloa
Uz.ytkownik Johnson napisa?:
>Hi:
>
>I've the same problem too,I do some exam and found that's the daylight time
>problem in the date input in javascript
>
>1.if you input a summer time,the hour will -1 automatically,so your input
>1993-10-15,it must be 1993-10-15 0:00:00,be the system will -1 hou
n i autumn months.
I am using Cocoon 2.1.5, the error appears both on Windows and Linux
machine (JVM SUN 1.4.2).
Regars Jakub Kaniewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Uz.ytkownik Bartosz Zgodzinski napisa?:
Please tell mi where and how should I call function addRow();. In a form
definition I've got the definiton of my repeter (id="my_repeter"). Now I
want to add a row...
I have something like that in my project (embeeded into woody form
descriptor)
rpt=even
I have a problem with adding attribute value to the input tag.
I can't insert encoded with ISO-8859-2 text into this tag attributes
(value attribute). I always receive Xalan error (inproper integral value
etc.). There is no problem to insert encoded text anywhere else. My
coocoon i properly
I have problem with character encoding, when using standart Cocoon
database actions (like explained in tutorial action-set, that use class
org.apache.cocoon.acting.DatabaseAddAction). All my Cocoon engine i set
to encode in iso-8859-2 charset, I have no problem in fetching good
encoded record f
20 matches
Mail list logo