Craig
I had no problems with a call like:
What happens you call the pipeline directly -
eg.
http://localhost:8080/cocoon/svg/wire.png
I also had no problems with the pipeline per se;
just check it comes *before* the static image
handler.
Derek
>>> [EMAIL PROTECTED] 2004/10/27 01:32:16 AM
Frangos, Nick (SAPOL) wrote:
What happens if the XML in your authentication pipeline like this:
As I said, the example I gave only works with a single role.
This is my situation, how can the ParameterSelector be used in this case
with the example code you provided?.
It can't, although I could
What happens if the XML in your authentication pipeline like this:
Unique ID of the user in the system
read-access
write-access
Any additional optional information can be supplied here.
This will be stored in the session for later retrieval
T
You don't need a new selector. Return the user's role in the XML from
your authentication pipeline like this:
Unique ID of the user in the system
rolename
Any additional optional information can be supplied here.
This will be stored in the session for later retrieval
I am trying to create a sitemap that, after validating a form, will add the
fields to a MySQL database. The database definitions are as follows:
imweb
If you have "different sites" under the same webserver installation then
sharing the authentication information between cocoon apps should be ok.
If each cocoon app is under its own webserver installation then sharing
information like user authentication become more problematic. Now you have
to st
An Authentication Manager which handles roles would be the better way to do
this, as you would not have to write any flow script. All that would be
required is to pass in the role to the Authentication Manager, to gain
access in a specific area of the sitemap. Is there any plans by Carsten and
co.
Hello:
I am trying to render an svg image as png in an
html page. Sitemap fragment is below.
In my xsl simply using does not get the job done (as it does with
a map:read reference to static images in the
sitemap). How should I reference this pipeline in my xsl?
Craig Christopherse
Hi,
further to my original message, does anyone know which block(s) handles persistence in cocoon?
regards
Andrew
On 26 Oct 2004, at 23:49, beyaNet wrote:
Hi,
i have just transfered my cocoon site from tomcat to JBoss 3.2.6 running cocoon 2.1.5.1. I have discovered that global variables or even
Hi,
i have just transfered my cocoon site from tomcat to JBoss 3.2.6
running cocoon 2.1.5.1. I have discovered that global variables or even
created sessions do not persist from page to page.
i.e.
1. var my GlobalVar = 1
will not persist and neither will
2. //Create session variable
cocoon.cre
Joerg,
I just ran into this same issue. Have you, or anyone else, found any
solution/workaround to this problem, short of no includes in form pages?
Garrick
Joerg Heinicke wrote:
On 02.07.2004 17:01, Terry Brick wrote:
>>> Weird problem. I have a small test JSP that I'm accessing using
>>> JspG
Hi Dylan:
Thanks for the help. Another posibilty is to add a bugzilla report and
attach the file there. ;-)
Best Regards,
Antonio Gallardo
Dylan Proulx dijo:
> I tried to reply with an OpenOffice Impress attachment, but because it
> is a ZIP file composed of XML files, it was rejected by the lis
On 26.10.2004 22:21, Dylan Proulx wrote:
I tried to reply with an OpenOffice Impress attachment, but because it
is a ZIP file composed of XML files, it was rejected by the list.
I opened it with Impress and it looked pretty good, but if you really do
need a converted copy, I'll send it to you direc
I tried to reply with an OpenOffice Impress attachment, but because it
is a ZIP file composed of XML files, it was rejected by the list.
I opened it with Impress and it looked pretty good, but if you really do
need a converted copy, I'll send it to you directly.
Dylan
On Tue, 2004-10-26 at 13:05,
foxmask wrote:
I forgot to say ; that even FOP+Jimi failed to make the PDF file.
i'll try to install Jimi in Forrest first.
Jimi isn't needed for processing JPEG images.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
foxmask wrote:
when i access foo.pdf ; i see no images.
...
any suggestion ?
Check the Cocoon logs for mesages indicating that the
PDF serializer can't find the image files. Ther should
be some.
J.Pietschmann
-
To unsubscribe, e-ma
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=109710228801931&w=2
and
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=109691665429634&w=2
Bert Van Kets said:
> This "rant" is about Cocoon 2.1.5
>
> The biggest problem using JDK 1.5 is the use of "enum" in the source
> code. This variable or
Hi Merico:
Can you provide an OpenOffice attachment? ;-)
Best Regards,
Antonio Gallardo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks for the idea.
Actually I don't use apache httpd, but something that should behave similarly I
think.
I have only one servlet webapp (actually the cocoon instance) which already
serves the requests to the different sites.
The problem is that, even if the different sites are served by the s
This "rant" is about Cocoon 2.1.5
The biggest problem using JDK 1.5 is the use of "enum" in the source
code. This variable or object name is not allowed any more as enum is a
new type of variable in JDK 1.5.
There are however still quite a lot of uses of "enum" in the Cocoon
source.
First I rebui
Use Apache httpd in front of your servlet engine and have mod_proxy pipe
the requests from httpd to 1 servlet webapp. The session can remain in
Tomcat while Cocoon uses different stylings or sub sitemaps.
Just a thought.
Bert
On Tue, 2004-10-26 at 19:27, Oscar Picasso wrote:
> Hi,
>
> I have a
Hi,
I have a cocoon application that serves different sites.
For example:
htpp://first.com
htpp://second.com
htpp://third.com
A request to any of the site is handled by the same sitemap hierarchy. Each of
the site specific snippet is handled either by using an XXHost matcher, or by
testing the r
Hi Nick, hi list,
thank you for the examples. I use instead of the SQL transformer the
ESQL-Taglib. However, this shouldn't be a problem. Before I start,
does anybody know if the connections to the databases remain
established even after the selection of another DB? If I'm right, the
connection re
Uh oh.. why is that a "bad way"? The authentication manager has always
confused the heck out of me, I modified HibernateAuthenticator.java
from the sample on the wiki so that it doesn't write any role
information, scrapped all the configurationmanager stuff, made a java
user object with a Set
I forgot to say ; that even FOP+Jimi failed to make the PDF file.
i'll try to install Jimi in Forrest first.
On Tue, 26 Oct 2004 17:21:23 +0200, foxmask <[EMAIL PROTECTED]> wrote:
> My images are in JPEG.
>
> With FOP 2.0.25 ; at the end of the parse ; FOP failed to build the PDF file.
> With F
My images are in JPEG.
With FOP 2.0.25 ; at the end of the parse ; FOP failed to build the PDF file.
With Forrest , i have an error page when trying to access to the PDF
file (when clicking on the PDF icon on the html page)
With Cocoon ; i have the pdf without images.
I'll see if the faq of forres
Is your image SVG? In that case, the resulting XSL:FO should look like:
...
Otherwise, have a look at how Forrest includes images (also PNG and JPEG
etc) in PDF's: http://forrest.apache.org/faq.html#pdf_images I think you
could discover by looking at the XSL-FO stylesheet in the common sk
Hi,
I have some docbook file which contain images.
when i access foo.xhtml i can see my images in the xhtml page
when i access foo.pdf ; i see no images.
tips: i use xsl from Docbook 4.2
any suggestion
Hi Markus,
I don't think there should be any problems to perform what you suggest.
I can only add that it's not necessary to "hardcode" the connection
information. You can pass it dynamically in either database url or as
params to SQL transformer.
For example, all three queries are equivalent:
here comes the attachment ...
Raffaele Merico
LESS Informatik AG
Böhnirainstrasse 14
CH-8800 Thalwil
devel-cocoon-auth-fw-overview.ppt
Description: MS-Powerpoint presentation
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
Dear community, dear Carsten Ziegler
By reading your doc. on the "Authentication Framework" I have created a
one-page-graphical-overview covering 60-80% of this theme (see MS Power
Point Attachment). To Carsten and to the community: if you think that this
overview is usable:
- either correct it by
hi philipp,
var mail = ""; //here is the boolean field mail
"mail" is a booleanfield, so you have to set either
var mail = true;
or
var mail = false;
as you can see from the error message:
java.lang.RuntimeException: Cannot set value of boolean field "test" to a
non-Boolean value
Philipp,
If you want to use one big form, or multiple forms depends on what your
target users (the ones you are developing for) want (I think). If you
want to use two or more forms, no problem. Remember that a form instance
doesn't lose it's values. E.g.
form1 = new Form("test.xml");
while (true)
hello again!
thanks Bart i will try that too.
The general problem was posted by me before
( but nobody answered that mail yet):
re post
okay the scenario is a CForm form that goes over several pages. Wizard or
Registration like. Here I was wo
okay my from definition and template look almost like this
http://cocoon.apache.org/2.1/userdocs/forms/sample.html
the only thing different is that they are split up in two
pages thus two from definitions and templates.
the reason for all that is to be able to go back to the first page
change some
I don't know if I get your question right, but this may help: I'm using
a similair approach in my project: first show form 1, then check for
some condition and see if it must show form 2, then show a page with
results with the option to edit the forms again. I've done it something
like:
form1 = ne
hi philipp,
the error message seems quite clear, you have to supply a boolean
value (true or false) to a booleanfield. if you did that it's maybe a
javascript-java-interaction problem. can you post the actual code that
generated the error message ? from below i can only see you try to
set the field
sorry i was too fast...
the solution
var test;
form = new Form("my-form.xml");
wid = form.lookupWidget("test");
wid.setValue(test);
form.showForm("registration-display-pipeline");
var test = cocoon.request.test;
only works fine with input field widgets but not with booleanfield
widgets. The
Hi all,
I'm keen to now your experiences and best practices for the following situation:
I need to be able to select one out of n databases and query it.
N is actually a number around 50.
The queries are the same on each database.
All information relevant to the access to such a database (user na
thank you Bart it works now!
what i like most about Cocoon
is the community of users and
developers! thanks guys!
regards,
phil
> No, the code belongs to your flowscript.
>
> var name = "Cocoon";
>
> form = new Form("my-form.xml");
> wid = form.lookupWidget("name");
> wid.setValue(name);
I needed something like this, so I used the standard flow example to do
authentication with the default Authentication manager and then implemented
some "after-burner" in flow script that checked whether the role of the user
(which was already authenticated at that point) had sufficient rights for
No, the code belongs to your flowscript.
var name = "Cocoon";
form = new Form("my-form.xml");
wid = form.lookupWidget("name");
wid.setValue(name);
...
form.showForm("form-pipe");
...
>
> Thank you Bart, Gunter and Nacho!
>
> still i am not shure how to use this:
>
> nameWidget = form.looku
Thank you Bart, Gunter and Nacho!
still i am not shure how to use this:
nameWidget = form.lookupWidget("name");
nameWidget.setValue(name);
can i put this in my Flowscript? Again i want to pass a variable
from a flowscript and set it as default value for the widget.
I guess the code above belongs
I believe that getWidget() is deprecated. You should use lookupWidget() instead. E.g.
nameWidget = form.lookupWidget("name");
nameWidget.setValue(name);
and with v2 of the javascript API, you could write:
var form = new Form("form1.xml");
var wid = form.getWidget();
wid.name.value = name;
HTH,
Widget nameWidget = form.getWidget("name");
nameWidget.setValu(name);
Gunter
"Philipp Rech"
<[EMAIL PROTECTED]>
26-10-2004 11:29
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
pass a variable from flowscript
into cfrom text input field
Hello,
how c
Philipp Rech wrote:
Hello,
how can i pass a variable from my flowscript into cfrom text input field (as
a default value)? In the Flow it would be like
var name = "stefano";
and the CForm would be
Name:
So when the user opens the page, "stefano" is written in the field. The
Hello,
how can i pass a variable from my flowscript into cfrom text input field (as
a default value)? In the Flow it would be like
var name = "stefano";
and the CForm would be
Name:
So when the user opens the page, "stefano" is written in the field. The
value has to
Il giorno 26/ott/04, alle 08:54, Leszek Gawron ha scritto:
Mark Lundquist wrote:
Hi,
I have a Java object persisted using Hibernate... it contains an
image (java.sql.Blob) that I need to serve. I can get the object in
flowscript, now I just need to stream out this data (e.g.
"image.getBinaryStre
48 matches
Mail list logo