Hi Johnson,
it's not possible to retrieve the LABEL of a selection list
(if not with an horrible and difficult trick :
widget.getSelectionList() to retrieve the selection list, the
selectionList.generateSaxFragment to stream the XML of the
selection list, then find the label inside
I have at least one contract position available for work on an internal
'document generation' app I'm putting together using Cocoon, Spring, and
iBATIS. Spring and iBATIS experience is nice, but what I could really
use is a little help with the Cocoon stuff (Cforms/libraries,
flowscript, and
Taken from: http://www.planetcocoon.com/node/2423#comment
Re: [CForms binding] access to model data from repeater row widg
Sylvain Wallez - June 21, 2005 - 06:50
Mark Lundquist wrote:
Hi,
Here is a scenario that I keep finding myself dealing with...
Some repeater is bound to a collection, and
I have a widget defined in a library and am able to use it inside a
repeater as you'd expect:
fd:repeater id=subjects
fd:widgets
fd:expand id=subj:name /
/fd:widgets
/fd:repeater
But when I try to extend the group instead of expand it, I'm greeted
with a NPE [1].
Hi, Dennis.
There are (many) others on this list that can better answer your
question, but I'll offer my $0.02 since nobody else has. Take it for
what it's worth.
Sure, you can build simple CRUD apps using Cocoon - there are umpteen
different 'built-in' ways to interact with your database
So... is there a reason this shouldn't be included with the default catalog?
-Original Message-
From: Bruyn Bill
Sent: Tuesday, March 21, 2006 3:29 PM
To: 'users@cocoon.apache.org'
Subject: RE: [forms libraries] connection timeout??
Finally had a chance to revisit this. Looks
I am trying to build forms dynamically from flowscript, and am able to
do so like this:
var form = new Form(cocoon:/forms/dynamic/model/ + name + .xml);
fd:widgets
fd:import prefix=lib uri=cocoon:/forms/library.xml/
fd:expand id=lib:owner/
/fd:widgets
Or like this:
var model =
with the default w3c/entities
catalog?
-Original Message-
From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 05, 2006 11:41 PM
To: users@cocoon.apache.org
Subject: Re: [forms libraries] connection timeout??
Le 5 mars 06 à 15:54, Bruyn Bill a écrit :
That's
Heymans
Sent: Sun 3/5/2006 3:37 AM
To: users@cocoon.apache.org
Subject: Re: [forms libraries] connection timeout??
Bruyn Bill wrote:
I get connection timeouts (stacktrace attached). I don't get it... Why
should this be happening? Cocoon 2.1.8, Java 1.5, Win XP
Title: [forms libraries] cocoon pseduo-protocol connection timeout?
I'm experimenting with the forms library a little bit, and ran into a problem I can't quite work out. At import
fd:form
fd:widgets
fd:import prefix="case" uri="cocoon:/forms/criminal-case.xml"/
fd:expand
it to.
Bruyn Bill wrote:
When a continuation is created by sendPageAndWait, where is it stored?
Can I access it with flowscript or in the sitemap?
I have a scenario similar to the 'flowscript continuation from external
reply' problem discussed recently. What I'm trying to do is iterate
over
(though I haven't gotten to try it yet)...
From: Leszek Gawron [mailto:[EMAIL PROTECTED]
Sent: Sat 3/4/2006 11:43 AM
To: users@cocoon.apache.org
Subject: Re: [FLOW] sendPageAndWait continuation storage
Bruyn Bill wrote:
Actually, I started that way
When a continuation is created by sendPageAndWait, where is it stored?
Can I access it with flowscript or in the sitemap?
I have a scenario similar to the 'flowscript continuation from external
reply' problem discussed recently. What I'm trying to do is iterate
over a list, and for each item in
.
Regarding bizdata, they are live only within the request, so once you
have serialized the page (or PDF or whatever else) they are lost, but
all you need is still in the flow, so once you get back there
using the
continuation id ...
Hope this helps,
Simone
Bruyn Bill wrote:
When
21, 2006 9:35 AM
To: users@cocoon.apache.org
Subject: Re: cinclude usage/alternatives
Bruyn Bill wrote:
For various reasons, I need to retrieve some markup from a remote
resource, and insert my jx result inline. e.g., I have some remote
file called wrapper.xhtml that looks like
Thanks, Lars (and Derek and Sylvain).
(Apologies to Bertrand - it was he who offered a response to my initial
post, not Sylvain.) :o|
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
...I end up with the cinclude element itself instead of the pipeline
results:
tdincl:cinclude src=the-pipeline//td
As if the cinclude transform never took place. What did I miss
there?...
Might be a wrong cinclude namespace, you should have
transformation worked
after the xslt transformation.
-Original Message-
From: Bruyn Bill [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 23, 2006 9:17 AM
To: users@cocoon.apache.org
Subject: RE: cinclude usage/alternatives
Thanks, Lars (and Derek and Sylvain).
In the end I
Thanks, Derek. That's what I thought exactly. But the aggregation step is the
cinclude, yes? Am I going about this the right way? I have something like the
following ATM: (and btw, any thoughts on the speed issue? I saw some posts
from you a while back on that...)
SITEMAP
Mm. I'd actually forgotten about map:aggregate. I'm not sure it fits this
use-case though... does it? In this case, the dynamic part is a rendered
CForm (via flowscript sendPageAndWait), but all markup application-wide should
be wrapped with this static content. So I thought I'd pull
For various reasons, I need to retrieve some markup from a
remote resource, and insert my jx result inline. e.g., I have some remote
file called wrapper.xhtml that looks like
?xml version="1.0"
encoding="UTF-8"?!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
Thanks, Jason. Yeah, I have that defined just as you've written it
there.
-Original Message-
From: Jason Johnston [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 14, 2006 11:15 AM
To: users@cocoon.apache.org
Subject: Re: [CFORMS] required fields error translation
For the
Title: Message
Bingo! Switching the order of the transforms seems to have done the
trick. For clarification, the matcher in question now
reads:
map:match pattern="forms/view/*.jx"
map:generate type="jx" src=""
label="content1" map:parameter name="locale"
value="{flow-attribute:locale}"/
/
fd:selection-list /
/fd:multivaluefield
BTW, the list contains some ListOption objects, whose method getId returns a
java.lang.Integer and getOptionLong returns a java.lang.String.
Thanks again for your time.
Bill
From: Bruyn Bill [mailto:[EMAIL
is not impossible but
requires some additional implementation effort).
The other stylings (listbox, checkboxes) do not reorder items AFAICS.
On Wed, 2006-02-01 at 11:48 -0700, Bruyn Bill wrote:
Is the problem statement clear? Is this the intended behavior, or am
I doing something wrong? I scanned
I have a multivaluefield with a selection list, bound with some
fb:javascript. The contents of the list are sorted the way I want them
when I obtain the list, but are rendered differently. Snippet follows:
fb:javascript id=languages path=languages direction=load
fb:load-form
I get the following error when I try to invoke methods on a POJO proxied
for Spring-managed transactions:
org.mozilla.javascript.EcmaError: selectListOptionsByName is not a
function.
Which, based on best-guess and a little Googling, seems to indicate that
the interpreter is looking for a
Doh!
My service object was no longer implementing an interface to proxy.
:o|
Fixed that up and all is well. Sorry for the noise, all.
Bill
-Original Message-
From: Bruyn Bill [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 26, 2006 11:48 AM
To: users@cocoon.apache.org
I'm just getting started with Cocoon myself, but FWIW if you were to use
an approach like
http://wiki.apache.org/cocoon/YourCocoonBasedProjectAnt16 on your
current project, your other sites could continue to run under 2.0.4
until you were able to migrate them one at a time...
HTH,
Bill
One more that I found useful for a similar (I think) problem that I had:
http://www.mail-archive.com/users@cocoon.apache.org/msg29569.html
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Edwin Kapauni
Sent: Thursday, December 15, 2005 5:50 AM
To:
I've been looking for a cforms schema (or dtd), but haven't been able to
find anything except a commitment from Max P. (here:
http://www.planetcocoon.com/node/3063#comment-6552) to contribute what
he had when it was more polished. Anybody know if that got included
with the form libraries (and if
The closest standard thing that we have is probably the
standalone-demo build, with all blocks disabled except what you
actually need.
It's more than 5MB (around 18MB IIRC), but I think several jars are
included but not used, so you should be able to trim it down (or try
with 2.2
Hi, all.
Newbie question, and I'm probably doing something really stupid here, I
know. But I've read everything I could find, and I still can't seem to
make a request attribute available to other resources in the pipeline
following the completion of my action. AFAIK, the following should work
-
protocol or from the file system just by specifying the location.
HTH.
Ralph
Bruyn Bill wrote:
Bump.
-Original Message-
From: Bruyn Bill
Sent: Friday, October 07, 2005 11:36 AM
To: 'users@cocoon.apache.org'
Subject: Configurable form / flow chains
Hello, list.
As I
Bump.
-Original Message-
From: Bruyn Bill
Sent: Friday, October 07, 2005 11:36 AM
To: 'users@cocoon.apache.org'
Subject: Configurable form / flow chains
Hello, list.
As I said separately the other day, I'm trying to put
together a proof of concept for a kind of document
Hello, list.
As I said separately the other day, I'm trying to put together a proof
of concept for a kind of document generation facility here. It feels
like Cocoon has all the pieces I would need, but I'm struggling a little
bit with which pieces I should be using and how they would work
Well, what you are proposing is an interesting usage of flow, but I'm
not sure it will work exactly the way you have described. The
interesting aspect of your design is that you have multiple requests
going on. Each interaction with the end user will be a new request
through the
IIUC steps 4,5,6 come later than 1,2,3, so the output of 1,2,3 should
be saved for a while?
Yes, I suppose that's how I'll have to go about it. I'm just not sure
how to wire the steps together.
If so, the easiest that comes to mind would be to create a temporary
directory (with a
Hi, all.
I've been reading documentation and poking around the sample bundle for
a few days now, and it seems like Cocoon should be a suitable framework
for my current project. I'm in research/proof-of-concept mode ATM
though, and have just found that the design I had in mind is probably
not
39 matches
Mail list logo