Hi Matthew,
Thanks for the response...
I am done with the Authentication stuffs. And i am more concern on how I'll
create my Roles ( admin, guest, user ) and on where would these datas be
saved. Since the Authentication framework is providing a way to managed
users and user roles.
Thanks again
Hello all!
In my frame based solution I have a main frame with the navigation being
some links to xhtml files for the second frame. For each of these
functionalities behind the links I did a sitemap in a sub-directory.
The phaenomenon I realised:
When I click on a navigation link for the first
-Original Message-
From: Sonny Sukumar [mailto:[EMAIL PROTECTED]]
Sent: Montag, 14. Oktober 2002 21:56
To: [EMAIL PROTECTED]
Subject: Simple XSP Ordering Problem
Product
xsp:logic
String productId = xsp-request:get-parameter
name=productid default=/;
/xsp:logic
...
Try:
Hmmm, I didn't read about the request object in my Cocoon book. Where is it defined
exactly? Do I need to import anything to use it?
Thanks again,
Sonny
--- Nathaniel Alfred [EMAIL PROTECTED] wrote:
-Original Message-
From: Sonny Sukumar [mailto:[EMAIL PROTECTED]]
Sent: Montag,
I have an XSLT transformation that outputs a JavaScript file that I need to
serialize as text to send to the client. I am using map:serialize
type=text/, but the serialized result includes an XML declaration with
markup characters escaped (as if serializing an external parsed general
entity). How
There are several objects available for use in xsp, take
a quick look in the generated java, they should be documented
there.
J.
PS, folks: when you reply, *please* trim any excess off :)
From: Sonny Sukumar [mailto:[EMAIL PROTECTED]]
Hmmm, I didn't read about the request object in my
We had same problems. See my posting on this thread:
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=103243063421117w=2
This solution works for our company.
For current discussion's look at :
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=103431785702537w=2
hth,
Frank Taffelt
On Dienstag, Oktober 15, 2002, at 02:14 Uhr, Bryan Zarnett wrote:
I am currently trying to make a weblog application I created the main
association to my root URL. Right now I have it setup so that the
welcome.xhtml is called whenever I hit my URL. What I want to happen
is that i
On Mon, 2002-10-14 at 17:19, Bobby Mitchell wrote:
I want to be able to match cocoon-action-* and use the value {1}. Is
this possible? Which matcher?
Someone else just asked me this last week, so I wrote one (see
attachment). It's tested with C2.03. You'll need to compile this and put
it an
Hey you cocoon professionals!
I wrote the transformer below. It does nothing except
creates an empty temp.xml-file. Why it does not
respond to sax events (from TraxTransformer)?
Appreciate all advice.
Simo K.
package org.apache.cocoon.transformation;
public class StoreTransformer extends
Hello.
Can I use XMLForms provided data with XSP logicsheets,
like ESQL, Request, Session? I've searching cocoon docs,
but find nothing. Any advises?
Thanks in advance.
-
Please check that your question has not already been
I'm using the browser selector to display different content depending on the user
agent.
Now I'd like to set the user agent with a request parameter or path element.
eg.
url?user_agent=nokia7110
then the user agent should be set to nokia7110 to be used in the browser selector.
any hints how
__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
-
Please check that your question has not
-Original Message-
From: Jörg Heinicke [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 15. Oktober 2002 12:01
To: [EMAIL PROTECTED]
Subject: Re: set user agent with request parameter or path element
AFAIK the best then is to use is parameter selector, not the browser
selector. But so
Hello,
I try to test my first XSP page but I have this error:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click
the Refresh button, or try again later.
When i was developing a multi edit form, using the xf:repeat tag, i
realised that it didn´t work before a simple tag call before, like
count(*).
I then checked the source code and found the function that's responsible
for the Repeat tag unrolling :
protected void unrollRepeatTag(
We really need some advice on this problem. It's slowing our
development by 600% !
Anyone?
Cocoon 2.1-DEV (from CVS about a month ago)
Tomcat 4.0.5
JDK 1.4.1_01
On Thu, 10 Oct 2002, Timothy Larson wrote:
I am having the same problem and am using the same ugly workaround.
Tomcat 3.3.1
Hi Sylvain,
it looks that the browser cannot show the XML with that namespace applying
its XSL...
try serializing the output to 'html'
|-+-
| | Sylvain.Thevoz@sw|
| | isscom.com |
| |
That worked perfectly! Thanks Leo!
Bryan
On Tuesday, October 15, 2002, at 04:44 AM, leo leonid wrote:
On Dienstag, Oktober 15, 2002, at 02:14 Uhr, Bryan Zarnett wrote:
I am currently trying to make a weblog application I created the main
association to my root URL. Right now I have it
Thank you, it works if I serialize the output to html.
But why it doesn't work? I use IE 6.0.
Sylvain
-Message d'origine-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Date: mardi, 15. octobre 2002 14:23
À: [EMAIL PROTECTED]
Objet: Re: XSP error
Hi Sylvain,
it looks that the
All of a sudden cocoon can't find my transformer and
gives the next error message:
org.apache.avalon.framework.component.ComponentException:
UnnamedSelector: ComponentSelector could not find the
component for hint: store
Here are the critical parts of my sitemap:
...
map:transformers
Hi,
with IE 6.0 should work.. no idea
Ruben
|-+-
| | Sylvain.Thevoz@sw|
| | isscom.com |
| | |
| | 10/15/2002 02:26 |
| | PM|
This problem looks very strange.
When this problem appended, I tried to test a simple helloworld application (without
XSP):
map:pipeline
map:match pattern=helloworld
map:generate src=helloworld.xml/
map:transform src=helloworld2html.xsl/
map:serialize/
And why not simply always the browser selector??
Regards,
Joerg
Thomas Haselberger wrote:
-Original Message-
From: Jörg Heinicke [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 15. Oktober 2002 12:01
To: [EMAIL PROTECTED]
Subject: Re: set user agent with request parameter or path element
You certainly could.
I am not a great fan of XSP myself, being bitten by JSPs many times.
Maybe some of the other folks can help with examples.
Ivelin
- Original Message -
From: Druzhinin Igor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 15, 2002 5:46 AM
Subject:
Someone else just asked me this last week, so I wrote one (see
attachment). It's tested with C2.03. You'll need to compile this and put
it an jar and put that in WEB-INF/lib (let me know if you need more help
on this).
It is of course possible that there are multiple request parameter names
--- Ivelin Ivanov [EMAIL PROTECTED] wrote:
elements in XMLForm do not have to start with /.
It is just used for clarity in the examples.
You can try just city.
You are right trying just city works. So there is no
problem.
What are the limitations for names of VXML forms?
/ in a field
-Original Message-
From: Joerg Heinicke [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 15. Oktober 2002 15:17
Subject: Re: set user agent with request parameter or path element
And why not simply always the browser selector??
let me explain: a user should be able to select a friends
From what I understand, yes. In 2.1
SourceWritingTransformer has been merged with
ex-sunrise InsertTransformer.
Alex
--- ROSSEL Olivier [EMAIL PROTECTED] wrote:
I use old-style SWT:
source:write src=...
tree-to-be-written
...
/tree-to-be-written
/source
It seems that there is a
From what I understand, yes. In 2.1
SourceWritingTransformer has been merged with
ex-sunrise InsertTransformer.
No hope to see this feature in C2.0.4 ?
It would be a so neat feature!!!
This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not
That first problem sounds suspiciously like your
browser caching the mime type for the url. If it
happens again, close your browser, open a new one and
try again.
Geoff Howard
--- [EMAIL PROTECTED] wrote:
This problem looks very strange.
When this problem appended, I tried to test a simple
Hi,
I am trying to insert multiple rows into a table after the user press a
Finish buton.
I think this can be done with modular.databse. But I dont know how to do that.
Given a fixed key: my_id from a master table
and rows:
my_id
my_subid
my_data --- usr input.
Can someone provide a simple
It seems that the InsertTransformer accepts sunshine:insert subtree as an
input.
But it provides no XML output so you know if the insertion went ok or not.
SWT is much more verbose! You get an XML output that provides a
success/failure result.
Is it possible to get an XML output from the
In your sitemap inside map:actions put:
map:action name=mod-db-add src=org.apache.cocoon.acting.modular.DatabaseAddAction
descriptorcontext://foo/bar/database.xml/descriptor
throw-exceptiontrue/throw-exception
/map:action
In pipeline:
map:act type=mod-db-add
map:parameter name=table-set
Somebody suggested that documentation for the request object could be found in the
generated Java file for the XSP..but there isn't any documentation in there that I can
see. Just curious to learn more about it. :-)
Instead of:
Product
xsp:logic
String productId =
Hi guys,
I sent the following message (below the line) yesterday and got one good suggestion to
use
xsp:logic
String productId = request.getParameter(productid);
/xsp:logic
instead of
xsp:logic
String productId = xsp-request:get-parameter name=productid/;
/xsp:logic
However, it
What do you use, if not xsp?
-Original Message-
From: Ivelin Ivanov [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 9:28 AM
To: [EMAIL PROTECTED]; Druzhinin Igor
Subject: Re: [newbie] XMLForms XSP
You certainly could.
I am not a great fan of XSP myself, being bitten by
Can you move your xsp:logic before the Product tag?
Or try this
xsp:init-page
String productId = request.getParameter(productid);
xsp:init-page/
although the init-page tag might only work as a child
of xsp:page.
Artur...
-Original Message-
From: Sonny Sukumar [mailto:[EMAIL
Now, where would one find documentation on the xsp:init-tag tag, iima ?
I've been using Cocoon for 2+yrs now (in production environments, that is),
and I've never come across this ...
Werner
Artur Bialecki wrote:
Can you move your xsp:logic before the Product tag?
Or try this
xsp:init-page
Btw, you do not have to change it to the suggested way. Using a logicsheet within a
xsp:logic element makes perfectly sense ...
I think in your case, just make sure that you move the code that assigns the value of
the productId request parameter to your local variable before trying to generate
I think this snippet that I gleaned from the list a while back
(didn't thank the author in my comment, unfortunately, so I don't
remember who) addresses what you're asking:
!--
Allows initialization code to be executed exactly once.
This was expressed as:
xsl:template
hello,
i'm encountering a problem while using the batik-transcoder in cocoon 2. if the
svg-file i want to rasterize has all its css-definitions inside the document
(inside the style-tags) there are no problems. if the css-definitions are put
in an external css-stylesheet and linked via
-Original Message-
From: Werner Guttmann [mailto:[EMAIL PROTECTED]]
Sent: October 15, 2002 2:42 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Can anybody solve this?
Now, where would one find documentation on the xsp:init-tag
tag, iima ?
I've been using Cocoon
Peter - the problem may be that Batik has failed to resolve the relative url
svg.css. I've also had problems with Batik's resolver when using svg
image elements that refer to external graphic files, and I've found it
necessary to provide an absolute URL; this may solve your problem too,
though
Artur,
Somehow I couldn't move the the productId declaration initialization before the
Product tag because this would move it to class level and 1.) the
xsp-request:get-parameter tag must be used within the root element of the generated
document (for some reason) and 2.) I get a
I looked in a few places and didn't find any documentation for the xsp:init-page tag
either. Artur must be the all-knowing Cocoon person. :-)
--- Werner Guttmann [EMAIL PROTECTED] wrote:
Now, where would one find documentation on the xsp:init-tag tag, iima ?
I've been using Cocoon for 2+yrs
hi con,
many thanks for this hint.
i added the absolute URL of my server to the code and voila! everything works.
thanks very much
peter
Zitat von Conal Tuohy [EMAIL PROTECTED]:
Peter - the problem may be that Batik has failed to resolve the relative url
svg.css. I've also had problems with
Wow, Jerry, that's complicated for an XSL newbie like me. I will definitely keep it
around and try to crack the code sometime. ;-) Btw, do you know of any XSL/XPath
book of which you think highly? I have an XML book but it doesn't go into all that
much depth.
Thanks,
Sonny
--- Jerry
Just an update...
xsp:init-page
String productId = xsp-request:get-parameter name=productid default=/;
/xsp:init-page
works just as well as
xsp:init-page
String productId = request.getParameter(productid);
xsp:init-page/
which means that the xsp-request:get-parameter tag doesn't need
Hi! I've red all the information and mails. Thanks a lot.
I think TRaX will be the best solution. I'm not sure if I am missing
something (e.g. i18n), but for the moment it's my choice.
Now I think I will not use XSP logic because it can be solved with Java.
My applications will be using the
Has anyone gotten FOP 0.20.4 to work with
Cocoon 1.8.2
Should I be able to change
1) the fop_0_15_0.jar to the new fop.jar
2) modify the cocoon properties file
formatter.type.text/xslfo = org.apache.cocoon.formatter.FO2PDFFormatter
and then use the new fo ???
Thanks in
Hello.
Does anybody know how to configure a filter
for Cocoon servlet ? My goal is to zip
the output with a CompressionFilter, as documented
in Tomcat 4.0 examples.
I'm trying to put this code in mu web.xml descriptor
but it does nothing at all...
filter
filter-nameCompression
Hi, I am trying to run the Modular Dabatase Example from the Cocoon site, but
with PostgreSQL 7.2.
I am using Cocoon 2.1 (lastest CVS), Java 1.4.1, Tomcat 4.1.12 on Red Hat
Linux 7.3.
Someone make it work?
I am having problems with:
table name=groups
keys
key name=gid type=int
Antonio Gallardo Rivera wrote:
Hi, I am trying to run the Modular Dabatase Example from the Cocoon site, but
with PostgreSQL 7.2.
I am using Cocoon 2.1 (lastest CVS), Java 1.4.1, Tomcat 4.1.12 on Red Hat
Linux 7.3.
Someone make it work?
I am having problems with:
table name=groups
Thanks for the info.
Antonio Gallardo
El Martes, 15 de Octubre de 2002 17:26, Bobby Mitchell escribió:
Antonio Gallardo Rivera wrote:
Hi, I am trying to run the Modular Dabatase Example from the Cocoon site,
but with PostgreSQL 7.2.
I am using Cocoon 2.1 (lastest CVS), Java 1.4.1, Tomcat
In cocoon.xconf, the oradb attribute in pool-controller oradb=true is apparently no
longer used.
Instead, a child element allows you to specify the sql to be used to ping the database
connection
like this:
pool-controller max=5 min=2
keep-alive disable=falseselect 1 from dual/keep-alive
I've been out of luck trying to get samples to work for Actions and SQL
Transformer. For the sample Action I am receiving a:
org.apache.cocoon.ProcessingException: The prefix xsp-request for element
xsp-request:get-attribute is not bound.: org.xml.sax.SAXParseException: The
prefix xsp-request
Alle 15:31, lunedì 14 ottobre 2002, Bertrand Delacretaz ha scritto:
added sql track. comments are welcome
(cross-posted to -dev and -user, we need you too!)
IMHO adding tracks to the Cocoon documentation could make it
much more useful, by providing several reading lists targeted to the
Actions or Generators
I like to keep complex logic in pure java.
Find it easier to read, test, reuse, etc.
Just a personal preference.
Ivelin
- Original Message -
From: Mitchell A. Cohen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 15, 2002 12:59 PM
Subject: RE:
Nuno,
please submit the patch via Bugzilla.
I will gladly review and apply if appropriate.
Thank you.
Ivelin
- Original Message -
From: Nuno Santos [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 15, 2002 6:52 AM
Subject: XMLForm transformer
When i was developing a
Hi all,
I am finding Cocoon very useful for our project. Thanks a lot to the
developers...
I have one requirement like this. Is there any Cocoon class to address this
issue?
Input will be a DOM node, but while parsing the DOM node all SAX events
should be fir.
Example:
R
A101/A
Hi to all,
I am unable to serialize SVG images to JPG with the latest Cocoon 2.0.3. When I try to
acess my own website images, or even the hello.svg example in the
Cocoon distribution, I always get the following message:
The image http://localhost:8080/cocoon/hello.svg; cannot be displayed,
What about setting up a page with the configurations needed to connect cocoon
to the various database ?
There is already something but is distributed among web pages, cocoon official
documentation, mailing lists, etc...
I was thinking about a page in which for any commercial or open source
63 matches
Mail list logo