You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Johnson <jo...@soho.club.tw> on 2005/03/17 17:20:35 UTC
DList in flow script
Hi!
How to define a DList in flow script.
I try
a=new org.odmg.DList()
or
a=new net.sf.hibernate.odmg.Implementation.newDList()
both error.
best regards
Johnson
Re: DList in flow script
Posted by Johnson <jo...@soho.club.tw>.
tks, the same still.
I know the problem I've,do not need this coding line,tks.
Best Regards
Johnson
----- Original Message -----
From: "Joerg Heinicke" <jo...@gmx.de>
To: <us...@cocoon.apache.org>
Sent: Sunday, March 20, 2005 3:53 AM
Subject: Re: DList in flow script
> On 18.03.2005 02:02, Johnson wrote:
>> I try
>> var abean = new Packages.org.odmg.Implementation.newDList();
>
> "new" is to be used with constructors like in Java. newDList() is no
> constructor I assume, but a static method. So what about
> var abean = Packages.org.odmg.Implementation.newDList(); ??
>
> Joerg
>
>> and here the error
>> Java class "org.odmg.Implementation" has no public instance field or
>> method named "newDList".
>> but I see the java doc
>>
>> org.odmg.Implementation has a method
>>
>> public DList newDList()best regardsjohnson
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: DList in flow script
Posted by Joerg Heinicke <jo...@gmx.de>.
On 18.03.2005 02:02, Johnson wrote:
> I try
> var abean = new Packages.org.odmg.Implementation.newDList();
"new" is to be used with constructors like in Java. newDList() is no
constructor I assume, but a static method. So what about
var abean = Packages.org.odmg.Implementation.newDList(); ??
Joerg
> and here the error
> Java class "org.odmg.Implementation" has no public instance field or
> method named "newDList".
> but I see the java doc
>
> org.odmg.Implementation has a method
>
> public DList newDList()best regardsjohnson
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: DList in flow script
Posted by Johnson <jo...@soho.club.tw>.
I try
var abean = new Packages.org.odmg.Implementation.newDList();
and here the error
Java class "org.odmg.Implementation" has no public instance field or method
named "newDList".
but I see the java doc
org.odmg.Implementation has a method
public DList newDList()best regardsjohnson
----- Original Message -----
From: "Mark Leicester" <ma...@efurbishment.com>
To: <us...@cocoon.apache.org>
Sent: Friday, March 18, 2005 12:40 AM
Subject: Re: DList in flow script
> Hi Johnson,
>
> Have you seen this page?
> http://wiki.apache.org/cocoon/JavascriptForJavaProgrammers
>
> Take a look at section 7: Using Java Objects
>
> Hope this helps,
> Mark
>
> On 17 Mar 2005, at 16:20, Johnson wrote:
>
>> Hi!
>> ?
>> How to define a DList in flow script.
>> I try
>> a=new org.odmg.DList()
>> or
>> a=new net.sf.hibernate.odmg.Implementation.newDList()
>> both�error.
>> ?
>> best regards
>> Johnson
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: DList in flow script
Posted by Mark Leicester <ma...@efurbishment.com>.
Hi Johnson,
Have you seen this page?
http://wiki.apache.org/cocoon/JavascriptForJavaProgrammers
Take a look at section 7: Using Java Objects
Hope this helps,
Mark
On 17 Mar 2005, at 16:20, Johnson wrote:
> Hi!
>
> How to define a DList in flow script.
> I try
> a=new org.odmg.DList()
> or
> a=new net.sf.hibernate.odmg.Implementation.newDList()
> both error.
>
> best regards
> Johnson
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: DList in flow script
Posted by Joerg Heinicke <jo...@gmx.de>.
On 17.03.2005 17:20, Johnson wrote:
> Hi!
>
> How to define a DList in flow script.
> I try
> a=new org.odmg.DList()
> or
> a=new net.sf.hibernate.odmg.Implementation.newDList()
> both error.
I don't know how much has changed since the last time I tried it out
(2.1.6, still with old Rhino), but at this time it was
new Packages.your.java.package.Class()
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org