Il giorno 18/giu/04, alle 07:48, Joerg Heinicke ha scritto:
On 17.06.2004 15:25, Willy Reinhardt wrote:
Hi,
I tried to pre-processed an xsp (to set default value according i18n
value) but I don't know how to link a serialized result to another
generator
The procedure I need is:
1) match an xsp
Hi
I try to caculate the widget value in repeter to another widget,the code is
fd:field id=test
fd:labeli18n:text key=testtest:/i18n:text/fd:label
fd:datatype base=decimal/
/fd:field
fd:repeater id=daily1List
fd:field id=amt
fd:labeli18n:text
On Fri, 2004-06-18 at 08:33, Johnson wrote:
Hi
I try to caculate the widget value in repeter to another widget,the code is
fd:field id=test
fd:labeli18n:text key=testtest:/i18n:text/fd:label
fd:datatype base=decimal/
/fd:field
fd:repeater id=daily1List
Hi Freddy,
If I understand correctly what you're trying to do, here is how you can
do it in an XSP:
xsp:structure
xsp:includeorg.apache.cocoon.components.flow.WebContinuation/xsp:include
xsp:includeorg.apache.cocoon.components.flow.FlowHelper/xsp:include
/xsp:structure
xsp:logic
It work,tks very much
Johnson
- Original Message -
From: Bruno Dumon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 18, 2004 2:46 PM
Subject: Re: the widget datatype question
On Fri, 2004-06-18 at 08:33, Johnson wrote:
Hi
I try to caculate the widget value in
Nick Van den Bleeken wrote:
On saturday I will start writing a sample using Ant, XDoclet, CForms and
Hibernate. Any suggestions on a good 'sample' where I can use basic
saves/loads and some searches. The sample should contain some one-to-many
and many-to-one relations, and maybe inheritance.
Nick,
Joerg Heinicke wrote:
On 17.06.2004 11:36, [EMAIL PROTECTED] wrote:
Removing the surplus namespace afterwards is what I am doing right now.
My idea was to avoid it by configuring CincludeTransformer instead of
having an extra step for just only stripping namespace after
transformation.
Though
I get the error invalid wml code when i tested it in the wap emulator available at
tagtag.com.On the mobile phone i get the error Unable to fetch response. I get no
error with the opera web browser though.
This is actual flow:
1. login page is displayed for mail/login.wml.
2. After logging in
Hi,
with map:handle-errors ... you can catch error, if it happens.. say
map:read won't find a file and 404 is returned.. But I don't seem to
find, how to throw 404 error from XSP?
Why I want to do that?
When I use xsp and esql to find file from database, putting error
throwing to
another familiar question
If I want to do the same sumary in the amt field I wrote
fd:on-value-changed
javascript
var dList = event.source.parent.lookupWidget(daily1List);
var testv=new Packages.java.math.BigDecimal(0);
for (var i = 0; i lt;
Hi Joose,
Have you tried response.setStatus(404);?
John
Joose Vettenranta wrote:
Hi,
with map:handle-errors ... you can catch error, if it happens.. say
map:read won't find a file and 404 is returned.. But I don't seem to
find, how to throw 404 error from XSP?
--
Le 18 juin 04, à 09:07, Ugo Cei a écrit :
...I am currently developing a version of the petstore block using
Hibernate, XDoclet and Spring
Yummy...do you think you will eventually be able to contribute it to
the project?
I assume there's a licence problem with Hibernate though.
-Bertrand
Hi,
with the help of cocoon it is very simple and comfortable to create a
form-handling web-publishing. Use cocoon-forms (cform). A description
and a how-to you can find at
(1) http://cocoon.apache.org/2.1/userdocs/forms/index.html
(2) http://wiki.cocoondev.org/Wiki.jsp?page=CocoonForms
I
Check your spelling
map:prameter name=use_connection value=DA/
It should be
map:parameter name=use_connection value=DA/
Regards
Scott Warren
Ocom Software
... Exceeding Quality.
web | ocom.com.au
-Original Message-
From: Fabio Duo [mailto:[EMAIL PROTECTED]
Sent:
Il giorno 18/giu/04, alle 10:19, Bertrand Delacretaz ha scritto:
Le 18 juin 04, à 09:07, Ugo Cei a écrit :
...I am currently developing a version of the petstore block using
Hibernate, XDoclet and Spring
Yummy...do you think you will eventually be able to contribute it to
the project?
I
Simple question, but can't find the answer anywhere.
I want to load an XML config file into memory, and then access its
element and attribute values from flowscript using XPath. It will be a
different file for each page request (these parameters will be used to
help create the response).
Charles F. Munat wrote:
Simple question, but can't find the answer anywhere.
I want to load an XML config file into memory, and then access its
element and attribute values from flowscript using XPath. It will be a
different file for each page request (these parameters will be used to
help
Thanks.
I was too stupid, sorry about this question.
Regards and Thanks
-Original Message-
From: Scott Warren [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Freitag, 18. Juni 2004 07:38
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: The url cannot be null
Check
Upayavira wrote:
Charles F. Munat wrote:
Simple question, but can't find the answer anywhere.
I want to load an XML config file into memory, and then access its
element and attribute values from flowscript using XPath. It will be a
different file for each page request (these parameters will be
Hi,
FWIW:
the large number.continue comes from the form you display (probably your
login screen). If the code doesn't go beyond that, there might be an error
in your form that prevents it from quitting.
What you could try is bypass the form and set the user in the flowscript,
then testing if
Hi Helma,
I tried to comment the form but it does not work.
The only wayto make things working correctly is to comment the line
var newUser = new Packages.com.myCompany.myProject.User();
and the ones which refer to the newUser objects.
Does my class needs to extend, implement special
Not really. I use home-made classes myself and that works ok. What exactly
does not work if you use my sample script?
Bye, Helma
-Original Message-
From: Stephane Delort [mailto:[EMAIL PROTECTED]
Sent: Friday, 18 June 2004 13:21
To: [EMAIL PROTECTED]
Subject: [flowscript]
Helma,
If I use your sample script I only have a white page with no code.
Also, I must say that I adapted your sample to my app :
cocoon.load(resource://org/apache/cocoon/forms/flow/javascript/Form.js);
importPackage(Packages.toto.titi);
function main()
{
//var form = new
Thanks a lot for your help. I was able to resolve that problem and it runs
without any error messages. However, I now have another problem. I am trying
to explicitly generate an html file from an xml one, but it's creating the
file as a directory with nothing in it :
-bash-2.05b$ ls -l
Note that you haven't added the user to the page (the viewdata construction)
in your script, so there is nothing to be displayed from the newUser object.
I suppose main() works, although I would avoid using 'main' as name to avoid
conflicts with assumptions elsewhere.
Bye, Helma
-Original
Hello,
I currently have to webapps running which are exactly the same. I've put
them in to different folders in the webapp folder of Tomcat.
Now I experienced some severe performance losses when running a third or
fourth application which are again only copies of the first one.
I did this
Bravo!
Here are two cases that seems to come up frequently:
1. One-row-at-a-time CRUD.
- A display page that lists the contents of a table, demonstrates paging
logic (prev/next page + page counter), provides a link for each row to
an update/delete page for that sepcific row, and includes a
On Fri, 18 Jun 2004 08:30:41 -0400
Riddim Dread [EMAIL PROTECTED] wrote:
Thanks a lot for your help. I was able to resolve that
problem and it runs without any error messages. However, I
now have another problem. I am trying to explicitly
generate an html file from an xml one, but it's
I've been using the HTML Generator at the top of a pipeline to
dynamically reprocess some HTML. It turns out that an interaction
between JTidy and the DOM Streamer used in HTMLGenerator cause some
problems. JTidy treats the content of a script element as CDATA (it
doesn't further parse the
Sorry Joerg
I am not sure that this is making a difference:
ie in my flowscript if I now have:
var atheme = form.getChild(theme).getValue();
and in the jxpage
jx:forEach var=thisTheme items=theme
liA Selection: ${atheme}/li
/jx:forEach
jx:forEach var=thisTheme items=theme
Joel
I think that's it *exactly* also having a range of data
types and input fields/widgets of various kinds.
Derek
[EMAIL PROTECTED] 2004/06/18 03:32:07 PM
Bravo!
Here are two cases that seems to come up frequently:
1. One-row-at-a-time CRUD.
- A display page that lists the contents
Note that you haven't added the user to the page (the viewdata
construction)
in your script, so there is nothing to be displayed from the newUser
object.
Ok, but aren't we able to create objects whitout displaying them ?
(in my case a java class which will insert data in a database )
I suppose
Chris Wilder-Smith wrote:
I've been using the HTML Generator at the top of a pipeline to
dynamically reprocess some HTML. It turns out that an interaction
between JTidy and the DOM Streamer used in HTMLGenerator cause some
problems. JTidy treats the content of a script element as CDATA (it
Take it one step at a time and try to figure out what's happening.
How about this:
function loginf() {
var newUser = new Packages.mypackage.User();
newUser.setName(myName);
newUser.setPasswrd(myPassword);
print(I have an object of class User? + newUser);
print(newUser should have
On Fri, 2004-06-18 at 08:58, John L. Webber wrote:
If I understand correctly what you're trying to do, here is how you can
do it in an XSP:
[..]
xsp:logic
WebContinuation kont = (WebContinuation)
request.getAttribute(FlowHelper.CONTINUATION_OBJECT);
if(kont != null ){
Hi Cocoon community,
what's wrong with this XSP snippet?
input:get-attribute
input:param name=namefoo/input:param
input:param name=modulelist/input:param
/input:get-attribute
It causes a ProcessingException in ServerPagesGenerator.setup().
-
It seems like the stylesheet
Andreas Hartmann wrote:
Hi Cocoon community,
what's wrong with this XSP snippet?
input:get-attribute
input:param name=namefoo/input:param
input:param name=modulelist/input:param
/input:get-attribute
It causes a ProcessingException in ServerPagesGenerator.setup().
BTW, applying the input.xsl
Hi Andreas,
is the namespace for input: at the xsp:page ?
xmlns:input=http://whatever;
Klaus
Andreas Hartmann wrote:
Hi Cocoon community,
what's wrong with this XSP snippet?
input:get-attribute
input:param name=namefoo/input:param
input:param name=modulelist/input:param
/input:get-attribute
It
Klaus Bertram wrote:
Hi Andreas,
is the namespace for input: at the xsp:page ?
xmlns:input=http://whatever;
This would have pointed me to the solution (duplicate
namespace declaration). But I already found it (see my
other reply).
Thanks a lot!
-- Andreas
this seems a normal error:
An Error Occurredorg.apache.cocoon.ProcessingExceptionUnable to get transformer
handler for
file:/cocoon-2.1.5/build/webapp/fabpicca/navigator/application/login/authenticate.xslorg.apache.cocoon.ProcessingException:
Unable to get transformer handler for
Andreas Hartmann wrote:
Hi Cocoon community,
what's wrong with this XSP snippet?
input:get-attribute
input:param name=namefoo/input:param
input:param name=modulelist/input:param
/input:get-attribute
It causes a ProcessingException in ServerPagesGenerator.setup().
The logicsheet contained an
Hello,
I use Woody as form manager.
In one form definition file, I have a multivaluefield initialized from a
postgresql table :
--
wd:multivaluefield id=domaine
wd:label/wd:label
wd:datatype base=string
wd:validation
wd:value-count min=1/
Hi.
Does anybody know of a way to use input modules from within an XSL
stylesheet?
I have a 'presentation layer' stylesheet, which needs information from
several input modules (xml configuration files, date, random etc.), and
I do not wish to pass all of them as parameters from the sitemap,
every
On Fri, 2004-06-18 at 16:26, Freddy wrote:
It is a good idea to use xsp.
As I see, there is a xsp-logicsheet called jpath. I read the
documentation about it and if I understand it right, it offers exactly
what I need.
I've tried
xsp:page xmlns:jpath=http://apache.org/xsp/jpath/1.0;
Ups,
I thought that the declaration for a logic sheet must only match to the
cocoon.xconf
could it be that xsp-input was in ver 2.04
and now only input is valid
Klaus
Andreas Hartmann wrote:
Andreas Hartmann wrote:
Hi Cocoon community,
what's wrong with this XSP snippet?
input:get-attribute
Klaus Bertram wrote:
Ups,
I thought that the declaration for a logic sheet must only match to the
cocoon.xconf
could it be that xsp-input was in ver 2.04
and now only input is valid
If this is true, it is very strange ...
IMO there shouldn't be any restrictions/rules regarding the
namespace
Title: No Results from database
Hello,
I want to get some results from a mySQL Database. I do this trough a esql logic sheet. But I don't receive error messages I simply don't get any results. I have no idea what this could be. Does someone has a idea?
I have the relevant files in the
First of all, try this ... i want to know if this isn't working
?xml version=1.0 encoding=ISO-8859-1?
xsp:page language=java xmlns:xsp= http://apache.org/xsp
http://apache.org/xsp xmlns:esql= http://apache.org/cocoon/SQL/v2
http://apache.org/cocoon/SQL/v2
page
content
If i use your xsp page, i recives the following error message:
**
An Error Occurred
The value of attribute xmlns:xsp associated with an element type
xsp:page must not contain the '' character.
org.apache.cocoon.ProcessingException: The value of attribute xmlns:xsp
associated with an
I see an extra quote mark here:
xsp:page language=java xmlns:xsp=http://apache.org/xsp;
^^
Tony
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Tony Collen wrote:
I see an extra quote mark here:
xsp:page language=java xmlns:xsp=http://apache.org/xsp;
^^
That is, after the xmlns:xsp declaration, for those who are not using fixed-width
fonts ;)
Tony
I don't know where u saw the second quote mark?
There is just one quote mark.
Thanks
Fabio
-Original Message-
From: Tony Collen [mailto:[EMAIL PROTECTED]
Sent: Freitag, 18. Juni 2004 19:22
To: [EMAIL PROTECTED]
Subject: Re: No Results from database
Tony Collen wrote:
I see an extra
Fabio Duo wrote:
I don't know where u saw the second quote mark?
There is just one quote mark.
Hmm, you're right. My mail client (Mozilla) was adding it for some reason.
Strange... nevermind :)
Tony
-
To unsubscribe, e-mail:
Dear Listers,
I am a newbie with Apache Cocoon and am trying my hand connecting to a MySQL
database, with some difficulty. I have researched alot and still cannot find
the answer to this problem.
First the background info:
Cocoon 2.1.5
Tomcat 5.0.27
mysql-3.23.38
j2sdk1.4.2_04
Thanks for your help. Anyway
-Original Message-
From: Tony Collen [mailto:[EMAIL PROTECTED]
Sent: Freitag, 18. Juni 2004 19:34
To: [EMAIL PROTECTED]
Subject: Re: No Results from database
Fabio Duo wrote:
I don't know where u saw the second quote mark?
There is just one quote mark.
Thanks both of you. I'll try this over the weekend and will post
whatever I get to work next week.
Chas.
Dirk Gronert wrote:
Upayavira wrote:
Charles F. Munat wrote:
Simple question, but can't find the answer anywhere.
I want to load an XML config file into memory, and then access its
element
Guy Picton Phillipps wrote:
Dear Listers,
I am a newbie with Apache Cocoon and am trying my hand connecting to a MySQL
database, with some difficulty. I have researched alot and still cannot find
the answer to this problem.
snip;
Hmm, everything looks kosher. It appears the SQLTransformer is not
Tony Collen wrote:
document xmlns:sql=xmlns:sql=http://apache.org/cocoon/sql/2.0;
and then just use:
sql:execute-query
sql:use-connectionward_connect/sql:use-connection
sql:queryselect admin_name from wards;/sql:query
/sql:execute-query
Whoops, wow, my mail client *really* likes to mangle
Hi all,
Is it possible to access bizdata in a Cocoon Forms template? Specifically I have a java object available to me in my FlowScript which ahs a method getHtmlColor() which returns a string suiable for specifying a color in HTML. I would like to be able to put somthing in my template like:
Hello Stephan,
I'm currently working on it, but java flow does not seem to be incorporated
in cocoon2.2 source yet?? I'll try 2.1 source checkout and get back to you
later.
Cheers,
Johan
From: Stephan Michels [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Cocoon Users [EMAIL PROTECTED]
In cocoon.xonf
datasources
j2ee name= "myDb2connection"
dbnamemydatasourcename/dbname /j2ee
/datasources
Where as mydatasourcename is the datasource created at Websphere Application Server 4.0 with jndi name jdbc/mydatasourcename connecting to DB2 on As400.
Using this(myDb2connection) within
Replies interspersed...
From: Simon Mieth [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Error in offline site generation
Date: Fri, 18 Jun 2004 15:37:45 +0200
On Fri, 18 Jun 2004 08:30:41 -0400
Riddim Dread [EMAIL PROTECTED] wrote:
Thanks a lot for your help. I
On Fri, 18 Jun 2004 15:57:35 -0400
Riddim Dread [EMAIL PROTECTED] wrote:
I don't think so because I'm trying to generate an html
file from an xml file using an xsl stylesheet so I believe
src should point to the source xml file.
Hi,
the CLI works uri-based like the CocoonServlet. The
On 18.06.2004 09:18, [EMAIL PROTECTED] wrote:
Removing the surplus namespace afterwards is what I am doing right now.
My idea was to avoid it by configuring CincludeTransformer instead of
having an extra step for just only stripping namespace after
transformation.
Though it should be possible
On 18.06.2004 09:39, Oro smith wrote:
There seems to be some problem when using cocoon webmail with
wap. After i login and the inbox is displayed, i try to click on
the mail link. However i get the message invalid wml code. Does
this have something to do with the cocoon sitemap and wap. If
anyone
Hi!
I define a repeater widget with an event in it
fd:repeater id=daily1List
fd:field id=amt
fd:labeli18n:text key=amtamt:/i18n:text/fd:label
fd:datatype base=decimal/
/fd:field
/fd:repeater
fd:repeater-action id=removeDaily1 action-command=delete-rows
66 matches
Mail list logo