On 11.05.2004 00:09, Joseph, Paul wrote:
Hi,
I am trying to build the latest release of cocoon (2.1.4) on my
Windows 2000 machine, but it fails as follows because (I think) my
classpath is too long. Any suggestions?
I also use Win 2000 and Cocoon 2.1.4 without any problems. Why do you
think
Joerg Heinicke wrote:
On 11.05.2004 16:51, keith d. zimmerman wrote:
ok, so i'm following this thread, as it answers a question i asked
(and got no replies - wtf?) a few days ago.
Yes, I remember that one. I also had it some days lying around in my
inbox until I decided not to answer. For
Hi
I am starting with xsp
I get empty responses to my server, with the cocoon xsp samples. IF i
put one false url, the server response with one error...But if the url
is ok...I get an blank repsonse!!!
By example, with IE
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
Ok, as has been suggested, simple questions, single question per e-mail.
Can I do this?
Http Generator
Transformer to basically aquire a particular img tag within the doc.
something or the other to go get the image
source writing transformer to store the image on disk
img tag with src= pointing
Peter,
Peter Velychko wrote:
Did you configure dbcp in Tomcat and referred to the pool by JNDI or let
Hibernate manage pool via dbcp (so you set only hibernate.dbcp.*
properties)?
I configured dbcp in Tomcat.
Out of curiosity: if you have some time could you try to configure
either dbcp or
Then probably something is wrong in your XSP itself. Have a look into
the log files.
Joerg
On 11.05.2004 22:31, bruno wrote:
Hi
I am starting with xsp
I get empty responses to my server, with the cocoon xsp samples. IF i
put one false url, the server response with one error...But if the
On 07.05.2004 17:46, Philippe Guillard wrote:
Hi,
I come back on the problem i post weeks ago: i still not manage to
include the javascript from Woody(sorry now passed to CForms!)to the
head of my portal pages.
I understand i should include javascripts in th header of my pages in
You might report this on the dev list.
Joerg
On 09.05.2004 14:53, Joe D. Williams wrote:
I succeeded in changing the authentication resource for the 2.1.4 portal
framework to use a table in a MySQL database.
However, another problem appeared. I log in as guest and then log out.
Then, I log in
Hello,
this time I have a question. Maybe someone had it too and solved it.
I have a form with a repeater widget. Each item shall have a
link/button, which opens a PDF in a new window. Of course I can build a
link by passing all parameters of the PDF to the form (i.e. handle the
document
If I understand it correctly you need some of those dynamic form
widgets named struct, class, new and union. There is a formmodel gui
sample in the Cocoon samples.
If your form itself is static, and you only need to switch off/on the
displaying of some widgets you might not need this and end with
After some time unsuccessfully trying t put my cforms code working with
validation a I had to take the examples in cocoon/samples/blocks/forms/ and
step by step change the file form1.xml, until I see where was my mistake.
And... for my surprise!!! I found if I comment the line fd:value-count
- -Mensagem original-
- De: Joe D. Williams [mailto:[EMAIL PROTECTED]
- Enviada: domingo, 9 de Maio de 2004 13:54
- Para: [EMAIL PROTECTED]
- Assunto: Asking again Portal framework login issue
-
- I succeeded in changing the authentication resource for the
- 2.1.4 portal framework to
This is a just general FYI for anyone who posts to the user and -dev lists:
*Please un-set the option which causes your mail client to request a
return receipt!*
Return receipts are generally not useful, especially when the message
you are sending likely gets read by thousands of people.
Hi,
Can someone please help me in finding either a workaround or a bugfix to the
following problem:
I loose the 'authentication' context in the session when I go from one
protected page to the next protected page when I access it directly
(i.e. by it's internal url).
In detail:
Setup:
-
On 10.05.2004 08:56, Christina wrote:
intuitively, I think submit-on-change is invoked when some value
is changed. In the double box case, that means an item is
transfered between left and right column but in fact, in double-box,
It is invoked every time you single click one item in the
Sorry.
I don't explain very well.
In that particular example there are a lot of fileds with validations, but
if I comment just this one, it won't validate any other field.
This is the complete file which isn't validate at all if I comment that
single line
fd:form
On 07.05.2004 16:42, Hildebrandt, Ole wrote:
So I came up with the idea to use Struts' controller and Model capabilities,
since they are very good and flexible, and integrate Cocoon to be the View,
since cocoon is very good at that. So all the business logic and
application-flow-controll resides
Your error description is really confusing. It might help if you can
re-read and re-phrase it.
Just some comments:
The call of the flowscript function can not work as it would not lead to
a reload on client side - simply the client's request would be missing.
The reason that it ends with an
Bruno
Thanks for the brief replies - yes, some things are cleared
up but not all.
1. What is the role/purpose of the woody2.js file that you say
is located in the woody/forms jar? What fucntions does it
contain? Do I always need to load it??
2. What does the Form object look like?
3. What
We're internationalizing in English and German (for now -- more
languages may come later); we generally use the practices recommended in
the Cocoon docs (master dictionary), but in addition, we split the
master dictionary into several parts, a main dictionary and a
subdictionary for each
Hi,
i'm internationalizing my website as well, currently german and english.
I didn't use i18n becuase it seemed to be as complex as solving the problem
myself. I have session-management and authentication and that seemed a
little to complex to combine with i18n, but don't blame on me: I didn't
Ralph
I am not sure that anyone is planning to try and integrate
Struts *and* Cocoon - I think the idea is to replace Struts
with Cocoon in the Spring-Hibernate setup.
Again, I'll be begging - if you have the experience with this,
won't you consider releasing some of that knowledge (i.e.
more
På 11. mai. 2004 kl. 02.07 skrev Joerg Heinicke:
On 10.05.2004 21:55, Dean West wrote:
I have been tasked with internationalization for the company I work
for, and
since we already use Cocoon in our current appliction - I am thinking
that
the I18n Transformer should do the job?
I like the
Hello!
You could use the C/XInclude Transformer. First your XML should be
transformed to something like...
xi:include href=adh/resources/fragments/abstractlist.xml/
xi:include href=adh/resources/fragments/arraylist.xml/
...
then you can use the XInlcude Transformer to replace the
Use a
small stylesheet at the end of your current pipeline to transform the result set
rows into cinclude:include tags, and then add the CIncludeTransformer as next
pipeline step:
Transform rowuri//row == include
xmlns:http://apache.org/cocoon/include/1.0src=""/
map:match
Derek Hohls wrote:
Bruno
Thanks for the brief replies - yes, some things are cleared
up but not all.
1. What is the role/purpose of the woody2.js file that you say
is located in the woody/forms jar? What fucntions does it
contain? Do I always need to load it??
what it provides is easily
Hi!
I use field widget to represent a boolean field , like below
fd:field id=dc
fd:labeli18n:text key=dcdc:/i18n:text/fd:label
fd:datatype base=boolean
/fd:datatype
fd:selection-list
fd:item value=false
fd:labeli18n:text key=singlesingle/i18n:text/fd:label
Hi,
I am trying to build the latest release of cocoon (2.1.4) on my Windows 2000 machine,
but it fails as follows because (I think) my classpath is too long. Any suggestions?
thx
Paul Joseph
---
javadocs:
Generating Javadoc
Javadoc execution
BUILD FAILED
Johnson wrote:
Hi!
I use field widget to represent a boolean field , like below
fd:field id=dc
fd:labeli18n:text key=dcdc:/i18n:text/fd:label
fd:datatype base=boolean
/fd:datatype
fd:selection-list
fd:item value=false
fd:labeli18n:text
Hello Leszek,
I have in production the following configuration:
tomcat + cocoon 2.1.5-cvs + hibernate 2.1.3 + dbcp.
It works without problem.
Just now I've configured my tomcat to work with c3p0 connection pool
and it works corectly also.
I'll try to start my application on jetty. What
. Hi David! .
Tuesday, May 11, 2004, 3:33:33 AM, you wrote:
Now cinclude. It's nearly the same! With the advantage that it works.
map:match pattern=index.html
map:generate src=cocoon:/componentsList.xml/
map:transform src=componentsList2cinclude.xsl/
map:transform type=cinclude/
Hmm - a check with a schema would pick this up quickly -
does one exist?
[EMAIL PROTECTED] 2004/05/11 10:01:23 AM
Johnson wrote:
Hi!
I use field widget to represent a boolean field , like below
fd:field id=dc
fd:labeli18n:text key=dcdc:/i18n:text/fd:label
fd:datatype
change to fd:item value='true' ? the same
change to fd:item true='true' ? the both option value change to
Best Regards
Johnson Hsu
- Original Message -
From: Marc Portier [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 4:01 PM
Subject: Re: is it a cform field
no schema in it,does cform need schema?
best regards
johnson
- Original Message -
From: Derek Hohls [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 4:04 PM
Subject: Re: is it a cform field widget bug?
Hmm - a check with a schema would pick this up quickly -
g[R]ek already gave the answers, I just want to rephrase them a bit. See
below.
On 11.05.2004 03:33, David Leangen wrote:
snip what=aggregate sample/
IMO that's really a short, nice sitemap snippet, that might work.
If you need individual pipelines for the components, just add them.
Do you
Title: Could not find component SourceResolver
Hi,
Initializing Cocoon 2.1.4, I have a strange Could not find component SourceResolver error.
I checked that the jar file containing the SourceResolver class is in the WEB-INF/lib directory but I still have this error message at startup.
Well, maybe its just me, but I think *any* public XML
document - particularly one thats going to be widely used
(as we hope CForms is!) needs a Schema so it can
be validated.
[EMAIL PROTECTED] 2004/05/11 11:44:29 AM
no schema in it,does cform need schema?
best regards
johnson
-
A schema just can do basic validation only!
In form defination , we set validate once,
custom validation the second,DBMS the third.
why we need so many and duplicated validation?
Is there and centra validation management skill?
Best Regards
johnson
- Original Message -
From: Derek
Hi,
I guess this is a very simple question, but I somehow can't get it working :
I need to create a very simple xml tree from an Array object :
xsp:logic
String labels = esql:get-string column=Type/;
int i = labels.indexOf('(');
int f = labels.indexOf(')');
labels =
On Tue, 2004-05-11 at 11:36, Johnson wrote:
change to fd:item value='true' ? the same
This should work. Make sure you're editing the correct file, and that
you begin a new flow (if unsure, restart servlet container).
change to fd:item true='true' ? the both option value change to
of course,
On Tue, 2004-05-11 at 10:04, Derek Hohls wrote:
Hmm - a check with a schema would pick this up quickly -
does one exist?
A schema wouldn't pick this up, since a value can be anything.
[EMAIL PROTECTED] 2004/05/11 10:01:23 AM
Johnson wrote:
Hi!
I use field widget to represent a
If you just want to have an xml element labels generated by the xsp
for use in the pipeline, you don't need to assign it to any variable at
all. Simply:
labels
label1/
label2/
/labels
The specific error you got was due to the failure to import
DocumentFragment via xsp:include. You need to
Um, I think you're mixing up different kinds
of validation here - the schema part is simply
to check that you have a well constructed XML file
that adheres to a given grammar (in terms of what
is or is not allowed, and what must be there or
what is optional). Typically you would do this
type of
Hi all,
Was going thru the Cocoon forms site.
Found out that there are various ways of
coding using cocoon forms namely JXForms, Woody and CForms. I would like to
know which is recommended.
As per the Cocoon site : - http://cocoon.apache.org/2.1/userdocs/forms/#Introduction
Cocoon
[EMAIL PROTECTED] wrote:
Hi all,
Was going thru the Cocoon forms site.
Found out that there are various ways of coding using cocoon forms
namely JXForms, Woody and CForms. I would like to know which is
recommended.
CForms is recommended, although it is not yet in a released Cocoon. Will
That's not strictly true - you can define acceptable
values [enumerations] for attributes if required...
unless 'true' and 'false' are not the only strings
allowed in the context below (sorry, I am not
fully into cforms yet; still working my way into
woody!)
[EMAIL PROTECTED] 2004/05/11
Hi there,
i have:
if (xsp-request:get-server-name/ == localhost) {
some code...
}
i know exactley, that xsp-request:get-server-name/ returns localhost, but
...some code... never gets executed...
any hint?
bye,
nils
Tks,my opinion is if there is a centra validation management,
Which can handle all kind of validation,both form and database,
Then we will benifit from it!
1.coding once.
2.easy maintain.
3.more structural view to the whole system.
may be I'm dreaming.
Johnson
- Original Message -
How about
if (xsp-request:get-server-name/.equals(localhost))
John
Nils wrote:
Hi there,
i have:
if (xsp-request:get-server-name/ == localhost) {
some code...
}
i know exactley, that xsp-request:get-server-name/ returns localhost, but
...some
Nils wrote:
Hi there,
i have:
if (xsp-request:get-server-name/ == localhost) {
some code...
}
i know exactley, that xsp-request:get-server-name/ returns localhost, but
...some code... never gets executed...
any hint?
bye,
nils
maybe, try
if
I think it should work too! But not-
I try it all this afternoon,still the same.
general field widget's list is ok,and boolean field widget(check box) is ok
too.
but field with boolean type list seems ok(element ok but value not), but
when you see the html source
Johnson
- Original
Sorry I make a big--- mistake
I see my spelling error for true.
Sorry
Johnson
- Original Message -
From: Derek Hohls [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 7:30 PM
Subject: Re: is it a cform field widget bug?
That's not strictly true - you can define
use equals() instead
String o = xsp-request:get-server-name/;
if (o.equals(localhost)){
... some code ...
}
--stavros
On Tue, 11 May 2004, Nils wrote:
Hi there,
i have:
if (xsp-request:get-server-name/ == localhost) {
some code...
}
i
yeah,
thanks for the answers, that works!
bye,
nils
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 11. Mai 2004 14:24
An: [EMAIL PROTECTED]
Betreff: Re: xsp:logic question
use equals() instead
String o =
We have successfully used Cocoon on several DOCUMENT oriented
multi-lingual sites. In our experience we have found that i18n is good
for internationalizing our application but not our content. The text
that is part of the APPLICATION (menu bars, headings, navigation aides
etc) is all
Alfred:
I tried as you said, and here how my row2include.xsl looks:
==
?xml version=1.0?
xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:sql=http://apache.org/cocoon/SQL/2.0;
Darren Petrie wrote:
We have successfully used Cocoon on several DOCUMENT oriented
multi-lingual sites. In our experience we have found that i18n is
good for internationalizing our application but not our content.
The text that is part of the APPLICATION (menu bars, headings,
navigation
- Original Message -
From: John L. Webber [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 1:09 PM
Subject: Re: xsp : create xml from Array
If you just want to have an xml element labels generated by the xsp
for use in the pipeline, you don't need to assign it to
Well, its quite hard to remove some of the
default validation from a database; eg. if you
try and put a string in a number field it will not
validate this - bear in mind also that some data
entries have relational issues attached to them, and
as such, will not sure up until the data is ready to
Upayavira wrote:
We have successfully used Cocoon on several DOCUMENT oriented
multi-lingual sites. In our experience we have found that i18n is
good for internationalizing our application but not our content.
The text that is part of the APPLICATION (menu bars, headings,
Askild Aaberg Olsen wrote:
Upayavira wrote:
We have successfully used Cocoon on several DOCUMENT oriented
multi-lingual sites. In our experience we have found that i18n is
good for internationalizing our application but not our content.
The text that is part of the APPLICATION (menu
thanks a lot Bruno, i tried the following :
1. set cocoon form-encoding utf-8
2. setup filter for Cocoon with codepage "utf8" , the same as Tomcat example does
it has the same result inaboveattempts , when the Chinese words
are input into FOM variables , they failed to be shown correctly in
Upayavira wrote:
Askild Aaberg Olsen wrote:
This is actually my current approach, but implemented with sitemap
parameters, a stylesheet and cinclude.
map:match pattern=**/*.*
map:generate type=directory src={1}
map:parameter name=include value={2}_?(.*).{3}/
In the business rules situation:
a business rule can be easily described by word,
for example,in purchase system,We must decide use one of the price
principles,average,LIFO,FIFO...
every principle come with lots codes , and validations too.
If we can centralize it,the programing will be easy and
You're right - Cocoon is a framework and therefore
can interact with a number of systems; I don't think
there should be duplication (assuming you assemble
them correctly) but there may not be centralization.
Of course, if you want a system that's less like this,
there's always Zope...or hey,
g[R]ek already gave the answers, I just want to rephrase them
a bit.
cinclude:include src=cocoon:/component.html/
Ah!
That's what I wasn't getting.
Thanks so much, g[R]ek and Jeorg!!
Writing good XSLTs is heavily experienced-based...
Ok, thanks for this!
I've two years main-frame cobol and ten years foxpro(vfp) programing
experience!
Just wander how powerful cocoon is!
I abandon MS platform just want a more powerful platform. (a stupid guy):-)
nice to meet you!
johnson
- Original Message -
From: Derek Hohls [EMAIL PROTECTED]
To: [EMAIL
David Leangen wrote:
map:match pattern=index.html
map:aggregate
map:for-each src=cocoon:/componentsList.xml
map:part src={componentname}.html/
/map:for-each
/map:aggregate
map:transform src=doWhatEverPostProcessing.xsl/
map:serialize type=html/
/map:match
ok, so i'm following
. Hi keith! .
Tuesday, May 11, 2004, 4:51:06 PM, you wrote:
kdz David Leangen wrote:
map:match pattern=index.html
map:aggregate
map:for-each src=cocoon:/componentsList.xml
map:part src={componentname}.html/
/map:for-each
/map:aggregate
map:transform
keith d. zimmerman wrote:
David Leangen wrote:
map:match pattern=index.html
map:aggregate
map:for-each src=cocoon:/componentsList.xml
map:part src={componentname}.html/
/map:for-each
/map:aggregate
map:transform src=doWhatEverPostProcessing.xsl/
map:serialize type=html/
g[R]eK wrote:
. Hi keith! .
Tuesday, May 11, 2004, 4:51:06 PM, you wrote:
kdz David Leangen wrote:
map:match pattern=index.html
map:aggregate
map:for-each src=cocoon:/componentsList.xml
map:part src={componentname}.html/
/map:for-each
/map:aggregate
map:transform
However, it would be very cool if it did!
Ralph
-Original Message-
From: Upayavira [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 8:21 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic aggregation
Reason for no docs on map:for-each is because it doesn't exist!
Ralph Goers wrote:
I didn't actually write our lifecycle container, but the developer who did
told me that Spring comes with a sample showing how to integrate it into any
servlet by providing a routine that gets specified in web.xml. He actually
did that first, but I preferred the method
Hi Sam,
The output I get after the buildsearch.xsl looks like this:
results
rowset
row
uriadh/resources/fragments/abstractlist.xml/uri
/row
row
uriadh/resources/fragments/arraylist.xml/uri
/row
Hello,
I am having problems sending HTML email through the sendmail/mail tags
provided by cocoon in XSP. I can send HTML email using the body tag and
cocoon utility tag but not through the src/srcMimeType tags. I am trying to
execute the XSP via the command line interface.
Any help is greatly
Got it guys
Thanks to Askild Grek ...
Heres what I had to change,
xsl:template match=results
frag
xsl:apply-templates select=sql:rowset/sql:row/sql:uri/
/frag
/xsl:template
xsl:template match=sql:uri
cinclude:include src={.}/
/xsl:template
/xsl:stylesheet
On May 11, 2004, at 8:29 AM, Nacho Jimenez wrote:
Hello,
I'm refurbishing my app from xsp to flowscript, and I often abuse
the XSP input logicsheet to access different input module values from
inside a pipeline. Mostly, they're request and session context values,
but sometimes I use
Hello Peter,
Can you be a little bit more specific about your Tomcat configuration?
- Java version?
- Tomcat version?
- What is in the Tomcat endorsed lib?
- How did you handle the jars that are both in Hibernate and in Cocoon but
have different versions (commons-..., etc.)?
- Do you use a
g[R]eK wrote:
There is simpler way than writing own action. We have SourceWriting Transformer
[1] ;-)
I think, sitemap snip will explain everything:
map:generate type=jx src=query_resource_template.xml/ [2]
map:transform type=cinclude/ [3]
map:transform type=xslt
Hello ppl,
I would like to know the best practice to display a simple XML document as it is on
the browser. say I have an XML document called vector.xml which looks like:
?xml version=1.0 standalone=no?
!DOCTYPE class SYSTEM collection.dtd
class
info
Peter Velychko wrote:
Hello Leszek,
I have in production the following configuration:
tomcat + cocoon 2.1.5-cvs + hibernate 2.1.3 + dbcp.
It works without problem.
Did you configure dbcp in Tomcat and referred to the pool by JNDI or let
Hibernate manage pool via dbcp (so you set only
if your client is IE then just call a pipeline that serialize content as
xml otherwise use xml2html.xslt
map:match pattern=get-xml
map:generate src=path/to/your/document.xml/
map:transform
Darren Petrie [EMAIL PROTECTED] wrote:
We have successfully used Cocoon on several DOCUMENT oriented
multi-lingual sites. In our experience we have found that i18n is
good for internationalizing our application but not our content.
The text that is part of the APPLICATION (menu bars,
Hello Hugo,
Tuesday, May 11, 2004, 9:15:35 PM, you wrote:
Hello Peter,
Can you be a little bit more specific about your Tomcat configuration?
Of course
- Java version?
1.4.2-b28 on WinXP
- Tomcat version?
4.1.18
- What is in the Tomcat endorsed lib?
xalan-2.6.0.jar
Some details to my previous posting.
I've just run my app on tomcat 4.1.30.
But with one condition: it runs in root context
Hello Hugo,
Tuesday, May 11, 2004, 9:15:35 PM, you wrote:
Hello Peter,
Can you be a little bit more specific about your Tomcat configuration?
Of course
- Java
On 11.05.2004 16:51, keith d. zimmerman wrote:
ok, so i'm following this thread, as it answers a question i asked (and
got no replies - wtf?) a few days ago.
Yes, I remember that one. I also had it some days lying around in my
inbox until I decided not to answer. For generic problem
86 matches
Mail list logo