RE: checking parameter in JXTemplates

2008-10-24 Thread Мария Григорьева
Thank you a lot! It works ) -Original Message- From: Andre Juffer [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 12:45 PM To: users@cocoon.apache.org Subject: Re: checking parameter in JXTemplates Мария Григорьева wrote: > Hello! > > > > I have the paramete

checking parameter in JXTemplates

2008-10-24 Thread Мария Григорьева
Hello! I have the parameter " ${data.get("length")} " in my JXTemplate. How to check it's value is it NULL or not ??? (the trouble in the quotes) no data ::.

RE: pass repeater to the database using javaflow

2008-10-10 Thread Мария Григорьева
By the way : I always access Repeater rows by: Repeater.RepeaterRow repeaterRow = (Repeater.RepeaterRow) repeaterObj.getRow(rowIndex); Works like a charm for me. Hope this helps, Chris Von: Мария Григорьева [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 10. Okto

pass repeater to the database using javaflow

2008-10-10 Thread Мария Григорьева
Hello! I need to pass the repeater params to the database. Here the function: public void addRepeater(RepeaterAsList repeater, int compositionID) throws SQLException { for (int i=0;i

RE: flowscript doesn't reach the continuation

2008-10-10 Thread Мария Григорьева
IL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, October 10, 2008 12:58 AM To: users@cocoon.apache.org Subject: Re: flowscript doesn't reach the continuation form.showForm("viewform-component-template.html"); Matches: Reads the file: pages/component-template.

RE: flowscript doesn't reach the continuation

2008-10-09 Thread Мария Григорьева
html.xml Does this file exist? solprovider On 10/9/08, Мария Григорьева <[EMAIL PROTECTED]> wrote: > Here... the fragment from my Sitemap: > > > > > > > > > > > > >

RE: flowscript doesn't reach the continuation

2008-10-09 Thread Мария Григорьева
8 12:58 AM To: users@cocoon.apache.org Subject: Re: flowscript doesn't reach the continuation form.showForm("viewform-component-template.html"); Matches: Reads the file: pages/component-template.html.xml Does this file exist? solprovider On 10/9/08, Мария Гри

RE: flowscript doesn't reach the continuation

2008-10-09 Thread Мария Григорьева
, 2008 8:20 PM To: users@cocoon.apache.org Subject: Re: flowscript doesn't reach the continuation On 10/9/08, Мария Григорьева <[EMAIL PROTECTED]> wrote: > I'm using the flowscript to input data into the database through the form. > Here is my code: > fun

flowscript doesn't reach the continuation

2008-10-09 Thread Мария Григорьева
Hello! I'm using the flowscript to input data into the database through the form. Here is my code: function inputPhisicalParams() { var id = cocoon.parameters.id; var form = new Form("form-definition/phisical-params.xml"); var formMap =

RE: cforms + javaflow + sitemap problem

2008-09-21 Thread Мария Григорьева
Index.xml And JX: http://www.w3.org/1999/XSL/Transform"; xmlns:jx="http://apache.org/cocoon/templates/jx/1.0";> Components: Name Amount ${comps}

RE: using OJB for multiple insert

2008-09-17 Thread Мария Григорьева
guess he means the exact line out of this snippet of code, so we can > pinpoint the problem. Exaclty Cheers. Carlos Chávez. > > Regards, > > Jeroen > > Мария Григорьева wrote: >> public class MyPersist extends AbstractContinuable { >> >> private tran

RE: using OJB for multiple insert

2008-09-17 Thread Мария Григорьева
users@cocoon.apache.org Subject: RE: using OJB for multiple insert Hi. What is in the MyPersist.java:80, line 80? Cheers. Carlos Chávez. Мария Григорьева Escribio :-) > Here is the stacktrace! > > java.lang.NullPointerException > at > org.apache.cocoo

RE: using OJB for multiple insert

2008-09-17 Thread Мария Григорьева
: Carlos Chávez [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2008 4:34 PM To: users@cocoon.apache.org; [EMAIL PROTECTED] Subject: RE: using OJB for multiple insert Hi. Please post the stacktrace. Cheers. Carlos Chávez. Мария Григорьева Escribio :-) > Hello, it doesn't work..

RE: using OJB for multiple insert

2008-09-17 Thread Мария Григорьева
TED] Sent: Wednesday, September 17, 2008 9:08 AM To: users@cocoon.apache.org Subject: Re: using OJB for multiple insert Мария Григорьева Escribio :-) > Hello! > > I'm using OJB!!! > > The problem is: > > I want to make a test on insert. > > > > Here is my s

using OJB for multiple insert

2008-09-16 Thread Мария Григорьева
Hello! I'm using OJB!!! The problem is: I want to make a test on insert. Here is my sample-function: public void doInsertTest() { Dept[] depts = null; for (int i = 0; i < 5; i++) { depts[i].setDeptno(i);

database connection using ComponentSelector

2008-09-12 Thread Мария Григорьева
Hello! I'm trying to connect to the database using JDBC and cocoon.xconf. import java.sql.*; import java.util.*; import javax.sql.DataSource; import org.apache.avalon.framework.component.ComponentException; import org.apache.avalon.framework.component.ComponentManager; import org.ap

RE: how to pass sitemap params to javaflow?

2008-09-01 Thread Мария Григорьева
Re: how to pass sitemap params to javaflow? On Sep 1, 2008, at 6:03 AM, Мария Григорьева wrote: In sitemap I have the parameter: true

how to pass sitemap params to javaflow?

2008-09-01 Thread Мария Григорьева
In sitemap I have the parameter: true I need to pass it to the javaflow. In flowscript I used : var id = cocoon.parameters.id;

RE: cforms + javaflow + sitemap problem

2008-09-01 Thread Мария Григорьева
cforms + javaflow + sitemap problem Мария Григорьева wrote: > > > > > > > > > > > > > > > > > > …….. > > > > > > > > > > > > > > > > > > .. > > In my flowscript

cforms + javaflow + sitemap problem

2008-08-31 Thread Мария Григорьева
Hello, dear mailing-list!!! Help please to solve the problem: Sitemap: ::.. .. In my flowscript : sendPage("form-template/experiment-template", new Var

cforms + javaflow + sitemap problem

2008-08-31 Thread Мария Григорьева
Hello, dear mailing-list!!! Help please to solve the problem: Sitemap: ::.. .. In my flowscript : sendPage("form-template/experiment-template", new Var

where to find jdori.jar ?

2008-08-25 Thread Мария Григорьева
I need jdori.jar to run samples OJB/JDO: I've found the jdo.jar version 1.0.1: can't find jdori!!! Need help!!! And one question: do I need to rebuild cocoon width jdo and jdori in lib/local to run the JDO samples or no?

RE: using fd:on-value-changed ???

2008-08-25 Thread Мария Григорьева
to:[EMAIL PROTECTED] Sent: Monday, August 25, 2008 1:40 PM To: users@cocoon.apache.org Subject: Re: using fd:on-value-changed ??? Hi, See http://ora-00904.ora-code.com/. It means that the settings are probably incorrect for the columns in the db. Regards, Jeroen R

RE: using fd:on-value-changed ???

2008-08-25 Thread Мария Григорьева
e); } -Original Message- From: Jeroen Reijn [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2008 1:40 PM To: users@cocoon.apache.org Subject: Re: using fd:on-value-changed ??? Hi, See http://ora-00904.ora-code.com/. It means that the settings are probably incorrect for the column

using fd:on-value-changed ???

2008-08-25 Thread Мария Григорьева
Hello!!! I'm trying to update form data, using on-value-changed: Плотность var value = this.value; var test = c

how to download jdo 1.01 ?

2008-08-24 Thread Мария Григорьева
I can't find jdo-1.01.jar to download for using it in cocoon 2.1.10 Please, help!!!

JDO + CForms

2008-08-07 Thread Мария Григорьева
I'm trying to execute the cocoon's ojb&jdo sample. But it doesn't work! (samples/block/ojb/forms) I get an exception: javax.jdo.JDOFatalUserException: No metadata has been registered for class org.apache.cocoon.ojb.samples.bean.Employee. What's the problem???

using OJB with Cocoon

2008-08-07 Thread Мария Григорьева
I'm using Cocoon 2.1.10. There I have db-ojb-1.0.4.jar (in WEB-INF/lib) So, I've found the resource http://www.guschtel.de/computer/cocoon-ojb-cforms.php?part=1. With an example of using JDO with Cocoon. But there is no sitemap example: And I can't execute program. I found the OJB-sa

hibernate example!!!

2008-08-07 Thread Мария Григорьева
Dear Mailing-list! I've found the resource with the sample of hibernate application. (http://wiki.apache.org/cocoon/CocoonAndHibernateTutorial) But at the stage of installing the filter, which is said to be situated above the Servlet Configuration part, I've got a mistake of cocoon (the

how to pass params from flowscript to the widget

2008-08-04 Thread Мария Григорьева
Variable in the flowscript: var composition_id = experiment.get("id_compositions"); And the widget: Density var value = this.value;

how to pass params to the repeater's selection list

2008-08-02 Thread Мария Григорьева
I have a repeater: Types Amount

pass repeater from database to the form

2008-08-01 Thread Мария Григорьева
I'm trying to pass the parameters from the database to the repeater in the form. var repeater=form.getChild("test"); for (var i = 0; i < comp_in_composition.size(); i++) { var row = repeater.getRow(i); var type =

using formMap.put()

2008-07-31 Thread Мария Григорьева
How to pass the repeater to the formMap.put ? I'm trying smth like this: formMap.put("test", comp_in_composition); But, only the null values returned. formMap = {test=[{type=null, amount=null, select=false}, {type=null, amount=null, select=false}, {type=null, amount=null, select=fa

how to use formMap.put() ?

2008-07-31 Thread Мария Григорьева
How to use formMap.put() to pass the parameters to the fromMap??? For example, var composit = dao.composition.get(experiment.get("id_compositions")); formMap.put(key, composit); But it doesn't work: How can I do it ???

how to get size of formMap ?

2008-07-27 Thread Мария Григорьева
var form = new Form("forms/components.xml"); var formMap = form.asMap(); var repeater = formMap.get("test"); form.showForm("viewform-component-template.html"); I need to know the size of formMap. How can I get it? Trying: var repeater_length = formMap.get("test").getSize(); - it does