Thanks Scott - it was the fi:styling type=fieldset/ I
was missing - is there a set of options for the
different styling types that can be used for fi:group
and, if so, are they documentted anywhere?
[EMAIL PROTECTED] 2004/09/07 12:43:29 AM
Derek,
Yes it's possible, here's one I prepared
Answer: not having the right styling type!
(Scott has answered this one...)
[EMAIL PROTECTED] 2004/09/07 01:01:14 AM
On 06.09.2004 13:44, Derek Hohls wrote:
Quick and simple question:
is it possible to have ft:repeater... tags inside of fi:group
tags;
Counterquestion: What should prevent
Hugo
I am using IE. I previously noted the issue with using HTMLarea
inside of a table, and am using div tags for all my layout of
the form/s that requires HTML area.
Yes, the initTable() is called inline - this is the standard
code generated the supplied Cocoon stylesheets as a result
of:
Someone correct me if I'm wrong, but unfortunately I don't think there
is a good reference document other than the samples themselves, and bits
and pieces spread among the on-line docs (which sometime you come across
looking for completely unrelated info!). You can also have a look
through the
Hi
I have used Cocoon a bit before but I am new to the portal. I would like to
have a list of icons in the top of my portal-page.xsl which may be clicked
to alter the contents of one of the coplets in the bottom of the screen.
Is this possible and what would be the best approach? I have heard
Bruno
I have now tried the following:
1. Create an external js file with the following:
// Register plugins
HTMLArea.loadPlugin(TableOperations);
HTMLArea.loadPlugin(FullPage);
function initFunction(areaID) {
// inititalize editor
editor = new HTMLArea(editor);
// retrive the config
I am sure this topic comes up often; the most recent
thread I found does not seem to be answered,
http://www.mail-archive.com/[EMAIL PROTECTED]/msg18607.html
and I cannot get this functionality to work:
ft:widget-label id=outer/br/
ft:repeater-size id=outer/
table border=0
tr
Hi,
there is three ways to do that.
With an action you can use the map:redirection-to tag.
Or after a generator you can use an xslt page with a META.
Or you can use the flowscript.
Go to cocoon wiki to find more explanation.
http://wiki.apache.org/cocoon/FrontPage
There is already a message
On Tue, 2004-09-07 at 08:51, Derek Hohls wrote:
Bruno
I have now tried the following:
1. Create an external js file with the following:
// Register plugins
HTMLArea.loadPlugin(TableOperations);
HTMLArea.loadPlugin(FullPage);
function initFunction(areaID) {
// inititalize
Bruno
Thanks for the tip about Mozilla; this is really useful!
I got an error on this line:
Error: HTMLArea is not defined
Source File:
http://localhost:8080/cocoon/myapp/resources/htmlarea/htmlareaconfig.js
So I changed the location of the script tag;
now placed in the
Hi,
Is it actually possible to mount a sitemap that is located in a jar file
in the WEB-INF/lib/ directory.
I'd like to form commonly used code (forms, flowscript) into one
reusable library that could be used for many projects
without having to many entries in my base directory.
Claudius
Try using resource:/my/package/name/sitemap.xmap
-Original Message-
From: Claudius Spellmann [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 07, 2004 11:27 AM
To: [EMAIL PROTECTED]
Subject: Mounting sitemaps located in jar files
Hi,
Is it actually possible to mount a sitemap that is
That won't work and I'll get an MalformedURLException exception.
and I'm getting null pointer exceptions when using
resources://my/package/name/sitemap.xmap
Bart Molenkamp schrieb:
Try using resource:/my/package/name/sitemap.xmap
-Original Message-
From: Claudius Spellmann [mailto:[EMAIL
On Monday 06 September 2004 17:15, Jorg Heymans wrote:
Daniel Glöckner wrote:
Hi,
at the moment I've run out of ideas, concerning possible methods to
access the components of a cocoon pipeline. What I need is a way to get
the class (or the whole object) of the previous and the following
resources uri scheme does not exist (AFAICS). E.g. to load a .js file
from a jar, I use the URI:
resource://org/apache/cocoon/forms/flow/javascript/Form.js
so maybe resource:// works (instead of resource:/, my fault :)
-Original Message-
From: Claudius Spellmann [mailto:[EMAIL PROTECTED]
Try a external=true href=...
Then it does not transform links.
Phil
On Tue, 2004-09-07 at 04:04, Hans Thomas Nordeck wrote:
Hi,
I'm using the portal-html-eventlink transformer for some application
coplets.
When I've got a link with 'mailto:' inside the href attribute, the
It's working file with *.js files but not with sitemaps.
The question now is: is it because cocoon doesn't support loading
sitemaps from jar files or
is a fault in my configuration .
Bart Molenkamp schrieb:
resources uri scheme does not exist (AFAICS). E.g. to load a .js file
from a jar, I use
Hi all,
I currently build plain HTML forms out of given XML files.
As well as the other way round: I save the user input from these forms
back to XML file.
For the conversion back to XML I use RequestGenerator (with some
attached XSLT transformations).
This works quite fine with one exception.
snip/
The usecase is quite simple. A custom transformer needs to know its
predecessor and its successor. The Transformer is a schema validating
Transformer used for validating SOAP messages. It needs to know its position
in the pipeline to generate specific SOAP errors in case of a validation
Hi all,
I just started using cocoon forms, so be gentle. I need to create
some pages to display in a sequence, wizard like.
The first page is presented to the client, and based on the choose,
the second page is displayed, and so on...
At the end, I need to have all the variables available for
This works for me:
map:match pattern=test/**
map:mount check-reload=yes src=resource://test/
uri-prefix=test/
/map:match
with a file called sitemap.xmap in a package test.
-Original Message-
From: Claudius Spellmann [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 07, 2004 12:04 PM
Hello Rui!
If you're using form.showForm, you can access the form variables through
var model = form.getModel();
var myFieldValue = model.somefield;
Based on myFieldValue you can use flow to decide which following form needs to be
shown.
If you need more info, take a look at the Wiki at
first take a look at supersonic tour (tour) in cocoon samples
where you can find very simple flow examples
--stavros
On Tue, 7 Sep 2004, Rui Alberto L. [ISO-8859-1] Gonalves wrote:
Hi all,
I just started using cocoon forms, so be gentle. I need to create
some pages to display in a
Agreed, the
samples/blocks/tour/flow/docs/multi-page.html
shows off two pages, with info passed between them;
also the use of JXTemplates which are also key to the
display of info from flow and forms.
[EMAIL PROTECTED] 2004/09/07 12:33:56 PM
first take a look at supersonic tour (tour) in
Hi Jorg,
thank you for helping me solving this design problem.
On Tuesday 07 September 2004 12:12, Jorg Heymans wrote:
snip/
The usecase is quite simple. A custom transformer needs to know its
predecessor and its successor. The Transformer is a schema validating
Transformer used for
snip/
Perhaps I should have said that I have to implement an autarkic component,
the transformer, which cannot depend on a generated sitemap. It needs to
inspect its context at runtime.
Any help is appreciated.
How about every of your components appends it's name to a special
request
Huber, Daniel wrote:
[...]
I currently build plain HTML forms out of given XML files.
As well as the other way round: I save the user input from these forms
back to XML file.
[...]
This behaviour seems to be quite independent of the form-encoding used
for RequestGenerator (ISO-8859-1 or UTF-8).
Is
Hi,
I am trying to enhance the auth_user.class file (after
compiling it from the .java into the .class)
I kept both the .java file and the .class file in the
same directory and ran the following command:
$ java -cp .;c:\db-ojb-1.0.0\lib;c:\db-ojb-1.0.0\jdo
com.sun.jdori.enhancer.Main -v -f
I currently build plain HTML forms out of given XML files.
As well as the other way round: I save the user input from
these forms back to XML file.
[...]
This behaviour seems to be quite independent of the
form-encoding used for RequestGenerator (ISO-8859-1 or UTF-8).
Is there a
Is it possible to call a url after a certain time interval using cocoon?
eg the url
http://xxx/mail/in
should be called every 3 minutes.
is this possible?
if you're on linux, use cron and wget|lynx|w3m|curl... Alternatively
there is a cron block but i haven't used it.
Adriano Smith wrote:
Is it possible to call a url after a certain time interval using cocoon?
eg the url http://xxx/mail/in should be called every 3 minutes. is this
possible?
Or do you want that your page refreshes every 3 minutes??
That would be
html
head
meta http-equiv=refresh content=300 !-- 300 seconds --
titleMonitor/title
/head
/html
-Original Message-
From: Adriano Smith [mailto:[EMAIL PROTECTED]
Sent: 07 September, 2004 13:50
To: [EMAIL
hi
i would like to know if someone have ever use cocoon with a W-SSE conection. i need to
send a http request an the retrieve the xml data.
the request need some headers to authentificate :
GET /mysite/my directoty HTTP/1.1
Host: www.myhost.com
X-WSSE: UsernameToken Username=Melody,
Huber, Daniel wrote:
I currently build plain HTML forms out of given XML files.
As well as the other way round: I save the user input from
these forms back to XML file.
[...]
This behaviour seems to be quite independent of the
form-encoding used for RequestGenerator (ISO-8859-1 or UTF-8).
Is
Is there any html parser in cocoon that can strip a html page of all the tags and return only text content?
I want to read a mail, and print only the text contents and avoid all the html content.
how can this be done?
Ahh its working now :-)
Bart Molenkamp schrieb:
This works for me:
map:match pattern=test/**
map:mount check-reload=yes src=resource://test/
uri-prefix=test/
/map:match
with a file called sitemap.xmap in a package test.
-Original Message-
From: Claudius Spellmann [mailto:[EMAIL
hi Smith
use html generator to convert this page to xhtml (xml well formed
document) and the parse this with an .xsl tha will produce the output you
want
-- stavros
On Tue, 7 Sep 2004, Adriano Smith wrote:
Is there any html parser in cocoon that can strip a html page of all the tags
Just curious - did you use:
map:match pattern=test/**
map:mount check-reload=yes
src=resource://my/package/name/sitemap.xmap uri-prefix=test/
/map:match
or
map:match pattern=test/**
map:mount check-reload=yes src=resource://my/package/name
uri-prefix=test/
/map:match
[EMAIL PROTECTED]
HTMLGenerator followed by a stylesheet:
?xml version=1.0 encoding=ISO-8859-1?
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
/xsl:stylesheet
should do it. The default behaviour of XSLT is to strip tags. So that
simple stylesheet should give you what you
I used:
map:match pattern=test/**
map:mount check-reload=yes src=resource://my/package/name
uri-prefix=test/
/map:match
But I had a resource in the sitemap that was not fully resolved.
instead of:
a) map:flow language=javascript
map:script src=flow/common.js/
/map:flow
I had to use:
b)
Hi,
I am developing a cocoon application that I want to run in a tomcat 5.x
container (currently trying out the latest 5.5 release).
my cocoon application starts fine, but I have a lot of
LogConfigurationExceptions in my catalina.out log and all other tomcat
contexts do not work any more. I
Sorry for coming late into this thread.
I wrote a jCIFS/SMS Authentication Action for Cocoon and I successfully
integrated it with the Portal Engine. If you are interested, I'm willing to
donate it to the Cocoon Community.
Thanks,
Eric
-Original Message-
From: Ralph Goers
Hi,
anyone who knows how to give a woody field (input field) focus when the page
is loaded ?
Kind regards,
Robby
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
this year's edition of the Cocoon GetTogether will be better than ever,
with an agenda filled to the brim with geeky and not-so-geeky Apache
Cocoon-related talks, events, and plenty of get-to-know opportunities.
Even though last year was fantastic already, we wanted to provide you
with a
Use set-encoding action in your pipeline:
map:pipeline
map:act type=set-encoding
map:parameter name=form-encoding value=utf-8/
/map:act
/map:pipeline
OK, I got it working now. Thank you for your hints!
For the small example:
I had to add meta
I just installed a fresh tomcat 5.5.0 on Fedora Core 2,
with jdk1.5.0, and that works fine (edited server.xml to
make it the default port 80 server).
Then I unwrapped Cocoon 2.1.5.1 and typed ./build to get
the default set of targets. I immediately get the error:
# cd /opt/cocoon/cocoon-2.1.5.1/
Huber, Daniel wrote:
Use set-encoding action in your pipeline:
map:pipeline
map:act type=set-encoding
map:parameter name=form-encoding value=utf-8/
/map:act
/map:pipeline
OK, I got it working now. Thank you for your hints!
For the small example:
I had to add meta
hi
i have some cforms
and a flow script that create a small
wizard that
- display a form
- wait for submit
- display the next form and so on
the problem is that if i hit browser's back button
to return to a previous form and then click submit again
i loose continuation and objects in flow
If you use cocoon's directory generator expect trouble if you want to
sort it by date.
To sort by time or date set parameter: sort = lastmodified
That's it! not by setting parameter: sort = lastModified or time or date
-
To
this is fixed in CVS already. The docs were wrong.
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=109344585918253w=2
Superbiji wrote:
If you use cocoon's directory generator expect trouble if you want to
sort it by date.
To sort by time or date set parameter: sort = lastmodified
That's it! not
Hello every one
I've allready posted about this earlier, with no answer, I desperatly post
it again because this is something I really need for a cforms function and
I'm sure it's just some guidance away.
on javascript binding a widget, I need to get some data that is outside the
JXPathcontext.
I see.
So which one is correct in CVS,
sort=lastmodified
or
sort=lastModified ?
On Tue, 07 Sep 2004 18:40:10 +0200, Jorg Heymans [EMAIL PROTECTED] wrote:
this is fixed in CVS already. The docs were wrong.
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=109344585918253w=2
Superbiji
Hi Peter:
I use Fedora Core 2 with tomcat 5.0.28, j2sdk 1.4.2_05 and that work OK
with Cocoon 2.1.5.1 and cvs version.
If you are a new in Cocoon, please try first tomcat 4.1.x with j2sdk
1.4.2_x. This configuration works on Fedora.
Else, try to search another ant.jar and java libraries in your
, 07.09.2004, 14:09, Huber, Daniel :
Hi all,
I currently build plain HTML forms out of given XML files.
As well as the other way round: I save the user input from these forms
back to XML file.
For the conversion back to XML I use RequestGenerator (with some
attached XSLT
, 07.09.2004, 14:18, Rui Alberto L. Gonalves :
Hi all,
I just started using cocoon forms, so be gentle. I need to create
some pages to display in a sequence, wizard like.
The first page is presented to the client, and based on the choose,
the second page is displayed, and so on...
At the
I am using Tiles for Struts in a web application and I am trying to add
a Cocoon generated page inside a a tile like this:
definition name
...
put name=centerbodypane value=cocoonpage.cchtml /
...
/definition
But in the browser all I get is: [Exception in:cocoonpage.cchtml] null
Dear Cocoon list,
I'm having some trouble setting up a simple CForms example. I'm
following the instructions at
http://cocoon.apache.org/2.1/userdocs/forms/sample.html
but modifying things cosmetically for my own example.
My problem is, when I try to access anything via the sitemap
that governs
Hi again,
The files I attached may not come through for everybody (especially *.js),
so you can also find them at
http://www.huttar.net/lars-kathy/tmp/sitemap.xmap
.../index.html
.../flow/update.js
.../forms/update_success.jx
.../forms/update-Linguistic_Subgroup.xml
Dear Cocoon list,
[Resend -- The first time I sent this, I got back an error about
a .js attachment, and I didn't receive this email through the
Cocoon list. So maybe nobody else did either. Resending without
attachments.]
I'm having some trouble setting up a simple CForms example. I'm
following
Maybe time is expired ;)
You hang out too long after pressing Back button
On Tue, 7 Sep 2004 19:12:51 +0300 (EEST), [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
hi
i have some cforms
and a flow script that create a small
wizard that
- display a form
- wait for submit
- display the next
I have a java object which currently has a method (addForm) that
accepts a Form object as a parameter. In v1 of the forms
javascript code this can easily be accessed from javascript with
javaObj.addForm(jsForm.getWidget());
However I want to use some of the new features in the v2 API.
Now when
Hi
I'm interested to know how well can Lenya CMS be integrated within the
Cocoon Portal. In other words the how would you use Lenya to
author/manage content in a Cocoon Portal such as news, events and
bulletins.
Likewise, what about the other way around? How could you integrate some
Cocoon
katarn wrote:
I am using Tiles for Struts in a web application and I am trying to add
a Cocoon generated page inside a a tile like this:
definition name
...
put name=centerbodypane value=cocoonpage.cchtml /
try full path to file e.g.
63 matches
Mail list logo