Use widget.widget-name.setSelectionList(xml).
You can do construct the cml dynamically
using jx template and provide as a match like
widget.widget-name.setSelectionList(cocoon:/match-name)
Regards,
Baskar
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
Hi all,
I ma trying to use SQL Transformer to
execute a query from cocoon.
SQL Transformer seems to be working fine with
cocoon2.1.5 and when we port our application from 2.1.5 to cocoon2.1.7
We are getting the following exception.
SQLTransformer: Not expecting a start value
Thanks for the suggestion.
But the same seem to be working on cocoon2.1.5.
Ok even if I modify the jx as follows I am
getting the same exception
?xml version=1.0 encoding=utf-8?jx:template xmlns:jx=http://apache.org/cocoon/templates/jx/1.0 page
Thanks a lot Jason for considering this.
Here in {customer/name} customer is the object and the name is a
variable in it which will be stored at the beginning using the filters
before it reaches the xmap.
The following is defined in the cocoon.xconf to make the customer object
available :-
Hi All,
I am trying to add a static name other than the war name in
the URI.
It should be as follows:-
http://server-name:port-number/webapp-name/customer-name
And the above should be there always whenever the new
request is been served.
I am using cocoon2.1.7 and I use two
Hi All,
I am trying to add a static name other than the war name in
the URI.
It should be as follows:-
http://server-name:port-number/webapp-name/customer-name
And the above should be there always whenever the new
request is been served.
I am using cocoon2.1.7 and I use two
Hi All,
I am trying to add a static name other than the war name in
the URI.
It should be as follows:-
http://server-name:port-number/webapp-name/customer-name
And the above should be there always whenever the new
request is been served.
I am using cocoon2.1.7 and I use two
Hi All,
We are trying to migrate our application from cocoon2.1.5.1
to cocoon 2.1.7.
We are facing a problem with the locale.
We have defined an entry for locale as
map:action name=locale
logger=sitemap.action.locale src="">
!-- Creates a new session if
needed. Used with
Hi All,
We are trying to migrate our application from cocoon2.1.5.1 to
cocoon 2.1.7.
We are facing a problem with the locale.
We have defined an entry for locale as
map:action name=locale
logger=sitemap.action.locale
src="">
!-- Creates a new session if
needed. Used with
Hi All,
I want to know where I can get the cocoon 2.1.7 source to build.
Will v2 API work on cocoon 2.1.7 version?
If not any patches we can update to make v2 API work with the
cocoon 2.1.7 version.
Thanks and Regards,
Baskar
The information contained in this
Hi Simone,
The same stuffs seem to be working with cocoon2.1.5.
Anything we need to add with cocoon 2.1.7 to make this work.
Please suggest us something so that we go ahead and try out with cocoon
2.1.7.
Regards,
Baskar
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
Hi,
I want to display a pdf on the browser.
I have with me the byte stream, using which I need to display the pdf
directly on the browser.
Currently, I am storing it in my local file system by creating a file
output stream. But its taking a lot of time.
I don't want to create any intermediate
Hi all,
Can anyone help me out in
using fd:group instead of fd:struct?
While using fd:group I am
getting the following exception :-
org.apache.avalon.framework.CascadingException:
Unknown kind of widget 'group'
Does any namespace needs
to be declared on fd:form?
Basicaly I
Hi all,
We are facing a problem with fd:union
If we use fd:union then the fd:submit functionality seems to
be not working.
One more problem is if we mention fd:group then it is giving
the following exception
org.apache.avalon.framework.CascadingException:
Unknown kind of widget
HI Jason,
Is this option available with cocoon 2.1.5*?
Because we are getting the following error
/mc/Demo/groupTest
full exception chain stacktrace
Original Exception: java.lang.ClassNotFoundException: No ClassLoaders
found for: org.apache.cocoon.forms.formmodel.GroupDefinitionBuilder
Hi all,
Can anyone tell me how can we access the union widget from
the flowscript?
I have created a definition file as follows:-
fd:form xmlns=http://apache.org/cocoon/forms/1.0#definition
xmlns:i18n=http://apache.org/cocoon/i18n/2.1
Thanks Jason. I can able to access the widget now...
-Original Message-
From: Jason Johnston [mailto:[EMAIL PROTECTED]
Sent: Friday, September 09, 2005 7:14 PM
To: users@cocoon.apache.org
Subject: Re: Accessing the union type widget value
[EMAIL PROTECTED] wrote:
Hi all,
Can
Hi Daniel,
Thanks for your reply.
I am using cocoon 2.1.5 and I am facing a typical problem in this.
eval( 'temp + cocoon.session.getAttribute(object).getId()' );
The above mentioned one works fine.
But the problem is when iam getting the following expression
temp +
Hi all,
Can anyone suggest me why eval() function does not work in flow
script. If it wont work is there
any alternative for that?
Regards,
Baskar
Confidentiality Notice
The information contained in this electronic message and any attachments to this message are intended
Hi all,
I am facing a problem with required attribute with
multivalue field in cocoon.I have a multivalue field in my form as
fd:multivaluefield id=testMultiValue
required=true
fd:datatype base=string/
fd:selection-list /
/fd:multivaluefield
Referring to above definition I
Hi,
I want to validate all the field widgets with their 'required '
attribute set to true.
For that I have a fd:javascript snippet which calls a function written
in flowscript.
Following is the snippet in my form definition file: -
fd:submit id=submit action-command=submit form
Hi all,
I am trying to download a zip file via cocoon. I am having a
function in flowscript
function download() {
return function() {
cocoon.redirectTo(zip/test/test.zip);
}
}
Which I am calling in onActivate of a widget
formWidget.button.>
I am having a pipeline defined in
Title: Message
I want to display a
selection-list-B in a cocoon form on the submit of another
selection-list-A.Initially only selection-list-A is visible on the
page.
fi:styling
submit-on-change="true"/
goes to
:-
selection-list
item value="ABC" /item
value="DEF"/item
23 matches
Mail list logo