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
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
::.
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
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
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.
html.xml
Does this file exist?
solprovider
On 10/9/08, Мария Григорьева <[EMAIL PROTECTED]> wrote:
> Here... the fragment from my Sitemap:
>
>
>
>
>
>
>
>
>
>
>
>
>
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, Мария Гри
, 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
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 =
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}
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
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
: 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..
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
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);
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?
On Sep 1, 2008, at 6:03 AM, Мария Григорьева wrote:
In sitemap I have the parameter:
true
In sitemap I have the parameter:
true
I need to pass it to the javaflow.
In flowscript I used : var id = cocoon.parameters.id;
cforms + javaflow + sitemap problem
Мария Григорьева wrote:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ……..
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ..
>
> In my flowscript
Hello, dear mailing-list!!!
Help please to solve the problem:
Sitemap:
::..
..
In my flowscript :
sendPage("form-template/experiment-template", new Var
Hello, dear mailing-list!!!
Help please to solve the problem:
Sitemap:
::..
..
In my flowscript :
sendPage("form-template/experiment-template", new Var
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?
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
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
Hello!!! I'm trying to update form data, using on-value-changed:
Плотность
var value = this.value;
var test =
c
I can't find jdo-1.01.jar to download for using it in cocoon 2.1.10
Please, help!!!
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???
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
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
Variable in the flowscript:
var composition_id = experiment.get("id_compositions");
And the widget:
Density
var value = this.value;
I have a repeater:
Types
Amount
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 =
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() 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 ???
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
35 matches
Mail list logo