Is it possible to add variable (request-param) after text or after
another variable?
Like :
map:parameter name=var1
value={request-param:myvar}-{request-param:mynum}/
or
map:parameter name=var1 value={request-param:myvar}-1/
Because neighter of this doesn't works.
Thanks
Hi,
I have readan article about Model 2X. I really like the concept
suggested in this article.(http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-strutsxslt_p.html).
My question is:
Is there a way to
create a DOM tree from the Model (MVC), which is stored in request, session or
Thanks for answering, I'm a bit dispaired.
I really serialized my doc in XHTML, and all my html:a and html:style
became a and style.
Then, in XML serialization, only the html:style became style.
I really don't know why,
In the end, I would like to get rid of serialization. I want the simple xsl
any one have an example of a sitemap wich protect access of some pages ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
any one have an example of a sitemap wich protect access of some pages ?
look at the old portal framework included in the samples of cocoon.
its using the authentication framework
http://ziegeler.bei.t-online.de/c2auth.html
Is it possible to parse a string in XSL?
I have this variable : xsl:value-of select=cn/ who is ABC\DEF
I want to get DEF
Is there any function in XSL to do this?
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Le Mardi, 17 juin 2003, à 09:49 Europe/Zurich, zze-MORY Nicolas
FTRD/DMI/REN a écrit :
any one have an example of a sitemap wich protect access of some pages
?
If you're running 2.1 there is a protected area link on the samples
page (http://localhost:/samples/)
-Bertrand
This time it must be correct, because you already said XSL ;-)
xsl:value-of select=substring-after($cn, '\')/
Should return 'DEF' if there is a '\' in the variable $cn. But it
returns nothing if there is no '\' in it! If this makes a difference you
can test whether
contains($cn, '\')
:-)
i'm running under the 2.0.4 version and i already look this site :
http://cocoon.apache.org/2.0/developing/webapps/authentication.html
i followed the example on this page but cocoon give me an xalan error
-Original Message-
From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]
*sorry, that I wrote this Email again to the mailing-list. But because of my
fault, my question seems to be answerde (re: in subject)...*
Hi,
I'm trying to get xml-code out of a relational database (MySQL). The code ist
stored in a TextField. I made a test table like:
id | xml
does this only refer to protecting whole pages or is it also possible to protect (e.g
hide) links within pages from users who are (not) authorized thus limiting available
functionality for e.g. public users?
Another case would be not showing a link to a registration page if the user is already
Hi (again),
I asked a question yesterday about
custom generators ad I'd like to ask a similar question today.
If I have a URL to an XMLpage
and I need to "pass it back" from the generator.
I'm using this code:
public class RSSGenerator extends AbstractGenerator {
public
void
From: Brian Delahunty [mailto:[EMAIL PROTECTED]
Hi (again),
I asked a question yesterday about custom generators ad I'd like to
ask a similar question today.
If I have a URL to an XML page and I need to pass it back from the
generator.
I'm using this code:
public class
-Original Message-
From: [EMAIL PROTECTED]
I'm using Cocoon 2.1m2. I tried to use a logicsheet with esql and its
esql:get-xml but I'm getting only undefined errors when
trying to access the
data of the text field.
esql:get-xml is broken in M2. You need to get esql.xsl from
I was using that but I was then informed [read: told] that I was to use a
custom generator.
It's ok though. I've fixed it. :-D
Thanks anyway
Brian
- Original Message -
From: Reinhard Pötz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 10:25 AM
Subject: RE:
Hello,
I would like to know when it is planed to release the Cocoon 2.1
version?
Thanks
Uwe
--
Uwe Gerger_/_/_/ _/_/ _/_/
BMW AG, TG-53 IT-Technologie _/ _/ _/_/_/_/ _/_/
80788 Muenchen _/_/_/ _/ _/
Hi all,
Is possible to get request attribute in sitemap?
some like to get request parameter:
map:match pattern=delete_account.html
map:act set=process
map:parameter name=descriptor
value=descriptors/form_account.xml/
/map:act
!-- ??? some like it --
map:act
Do you mean request parameters? There are three input modules that allow access
to request details, request, request-param, and request-attr.
I've only used request param, with which you can get get/post parameters from the
request, e.g: http://server/cocoon/page?name=peter
You can use 'peter'
No, I want get request attribute that I set in action
:
request.setAttribute(my_request_attribute,
some_value)
is it possible?
Thanks,
Hill
--- Upayavira [EMAIL PROTECTED] wrote:
Do you mean request parameters? There are three
input modules that allow access
to request details, request,
OK thanks request-attr is works,
map:redirect-to
uri=account.html?account={request-attr:my_request_attribute}/
Thanks,
Hill
--- Upayavira [EMAIL PROTECTED] wrote:
Do you mean request parameters? There are three
input modules that allow access
to request details, request, request-param, and
i want to protect a pipeline with limited acces.. like :
http://test.com/cocoon/portal
all pages users can access behind portal must be protected... i read the manual
http://cocoon.apache.org/2.0/developing/webapps/authentication.html but it doesn't
work on my server...
how can i declare the
Hello,
we have two problems:
in the milestone 2 version of cocoon 2.1 we get the following error:
// start error (lines 245-245) Duplicate local variable session
Session session = request.getSession(true);
in the latest nightly build this error does not occur anymore, but the
JSPReader refuses
Hi,
I have a question about the usage of schematron languages within
Cocoon/XMLForms.
I have an AddresBean which I use as the XMLForm model. It containts 2
variables:
- street (also getter and setter)
- housenumber (also getter and setter)
I want to show a message behind a 'street' input field
(sorry, posted last mail with wrong subject :)
Hi,
I have a question about the usage of schematron languages within
Cocoon/XMLForms.
I have an AddresBean which I use as the XMLForm model. It containts 2
variables:
- street (also getter and setter)
- housenumber (also getter and setter)
I want
When you say you really serialized to xhtml, what do you mean? Which
serializer did you use to do that?
Geoff
At 03:25 AM 6/17/2003, you wrote:
Thanks for answering, I'm a bit dispaired.
I really serialized my doc in XHTML, and all my html:a and html:style
became a and style.
Then, in XML
Hello,
does cocoon support multiple user?
During our test it seems that cocoon serializes the tasks for each user
so that if 2 user are generating simulteanously a report the second user
has to wait until the first report is finished. How can I change this
behaviour of cocoon? Is there an option
Hi,
I'm writing a custom transformer, extending the AbstractDOMTransformer. Is there a way
to throw an exception from this transformer so that the error handling pipeline of the
sitemap is 'activated' ? (the transform method signature does not throw an exception).
Or is the error handling
I have also a question according this. Why isn't it possible to use
multiple parameters like
...value={request-param:name}-{request-param:surname}/ -Returns an
error
-Original Message-
From: Hill Karimov [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 1:12 PM
To: [EMAIL PROTECTED]
Thanks for your attention.
here is the serializers part of my sitemap:
map:serializer name=xhtml
src=org.apache.cocoon.serialization.XMLSerializer
mime-type=text/html
logger=sitemap.serializer.xhtml
pool-grow=2 pool-max=64 pool-min=2
doctype-public-//W3C//DTD XHTML
Geert Van Damme [EMAIL PROTECTED] writes:
Hi,
I'm writing a custom transformer, extending the AbstractDOMTransformer. Is there a
way to throw an exception from this transformer so that the error handling pipeline
of the sitemap is 'activated' ? (the transform method signature does not
Hello,
when I try to use CInclude this way:
cinclude:includexml
cinclude:srchttp://www.foo.net/foo.xml/cinclude:src
/cinclude:includexml
CInclude doesn't include the document.
Nevertheless,
cinclude:include src=http://www.foo.net/foo.xml; / works OK.
Can anyone help?
I have Cocoon 2.0.4
I'm
using the 2.0.4 version of cocoon.
and i
want ot protect my pages. I'm using the sunRise module to do this i folowed
the exemple on this page : http://radio.weblogs.com/0103021/stories/2002/02/28/usingTheSunriseComponents.html
when i
want to access on a page which is protected by
Hello,
I've been in the process of migrating an application I work on from an
older cocoon 2.1 snapshot from January to the latest greatest m3
build. I actively use the portal-fw block. The problem comes in when
attempting to save a changed user-profile (from the portal-conf
generator).
I can
Hi,
I am currently using Cocoon 2.0.4 within WebSphere Studio Application
Developer 5.0.2.
I am trying to determine whether a cookie is present on a system from within
a generator. The cookie is being generated (this is determined by the
browser asking permission for the cookie to be used on the
hi,
i am quite unexperienced within cocoon, espacially when it comes to the
use of java within xsp documents.
anyway, i am trying to do - in the fist step - a simple email
validation. To test if and how xsp documents have to structured i wrote
a simle code, to check if it works.
Unfortunatly it
Title: RE: Cocoon for CD-Rom based applications?
Hello again,
Thanks for the responses I have gotten, they are certainly giving me a lot
to consider.
It is certainly possible to run Cocoon from a CD without any
installation, but you didn't indicate what kind of apps you're thinking
Hi everyone,
I am creating my own transformer which extends abstractSAXTransformer.
In the end I am left with a string of XML data. Is there a simple way
to send this data in a SAX event to the next pipeline component? I do
not want to have to parse it and send StartEvents, textEvents and
Sorry for wasting your time.
I had one } to much. Sorry, but i thought if might be related to a
lack of xsp-knowledge
-Ursprüngliche Nachricht-
Von: Antonio Gallardo [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 17. Juni 2003 18:51
An: [EMAIL PROTECTED]
Betreff: Re: using xsp
Bößem
Is it possible to alter the pipeline of cocoon
so that we're calling a custom javabean that would
generate the XML for the transform? (or at least call
our own method from our bean?)
More specifically, one of our reports needs column
headers that have the date(s) of fiscal years on them.
This
Since HSSF serialiser doesn't support gnumeric MergedRegions ( a patch is
waiting) is there a workaround to achieve the same effect ?
i.e. may be to write something as a string in cells spanning 2 rows and 2 cols.
Thanks
Joy
-
Hello,
I've got some trouble with my cocoon configuration.
I've got :
mysql ver. 3.23.54
the driver is mysql-connector-java-3.0.8-stable-bin.jar in
webapps/cocoon/WEB-INF/lib/
cocoon 2.0.4
my sitemap.xmap file contain :
*map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0;
Bößem dijo:
hi,
i am quite unexperienced within cocoon, espacially when it comes to the
use of java within xsp documents.
anyway, i am trying to do - in the fist step - a simple email
validation. To test if and how xsp documents have to structured i wrote
a simle code, to check if it
Title: Re: Cocoon for CD-Rom based applications?
Do You really want to urge people to install at least one JRE? I had the same problem with producing offline content of CBTs. But one of the projects requirements was not to have to install additional software...
Mat
P.S.: yes, of course I love
Hello Uwe,
at the moment there is the discussion whether the 2.1 release should
include a completely implemented/refactored Flow Object Model or not. We
will see what we have at the beginning of the next week. A beta should
be released next week, the release before summer (I hope in july).
Hello Robert,
there exists a bug with patch:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19104
Joerg
Jeroen Cranendonk wrote:
(sorry, posted last mail with wrong subject :)
Hi,
I have a question about the usage of schematron languages within
Cocoon/XMLForms.
I have an AddresBean which
Hallo Cocoonlist,
what would be the right approach to have different
undependent cocoonsites?
1. To copy all cocoon-classes in every webapp
or
2. to copy the cocoon-classes into
catalina_home/common/lib or
Does have somebody experiences in this
term.
Thanks in advance
Boris Althaus
Try this way:
First, make the following entry under
init-param
param-nameload-class/param-name
param-value
...
!-- For MySQL Database --
com.mysql.jdbc.Driver
/param-value
/init-param
in WEB-INF/web.xml .
This will load the driver at start into the
Can you give more explicite error description for the error in
JSPReader.generate()?
What about
http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEWbug_status=ASSIGNEDbug_status=REOPENEDproduct=Cocoon+2short_desc=JSPshort_desc_type=allwordssubstrorder=Bug+Number
??
Joerg
Dirk Reiss
Hi,
I know definitely, that the first approach (e.g. copying and renaming the
whole webapp in the webapps-folder) will function ;)
Mat
Von: Boris Althaus [EMAIL PROTECTED]
Organisation: PetraProductions GmbH
Antworten an: [EMAIL PROTECTED]
Datum: Tue, 17 Jun 2003 21:51:19 +0200
An: [EMAIL
except flow object model is 2.1 ready for production or the latest
production-ready version is 2.0.4?
thnx
stavros
On Tue, 17 Jun 2003, Joerg Heinicke wrote:
Hello Uwe,
at the moment there is the discussion whether the 2.1 release should
include a completely implemented/refactored Flow
we use the same cocoon instance to serve up to 10 web sites using sub site
map for each one on a PII 650 Linux server with 128MB ram (an upgrade is
now in progress)
the only problem we have is with warpConnection
now we consider to leave warp solution for mod proxy
to have apache at front
i
Title: Re: Cocoon for CD-Rom based applications?
That
is a good point. Many of our clients frown at having software
installed on their machinessince their machines are strictly
policedbya network administrator. Howeverthe nature of
much of our softwarerequires them toat least be able
Hello mat,
thancks for your answers, i try some of this things :
1/
For the driver i use the same :
com.mysql.jdbc.Driver
2/
I change the content of my xsp file according to your remarque
3/
I use J2SDK1.4.1_02
But it still the same : no connection to my database (no trace in my log)...
I think
Hello Stavros,
I thought about this solution too, it seemed not
separated enough to me. Or is this no problem?
128 RAM is quite small. Do you have problems with
MemoryOverflow or Sitemap is null exceptions?
- Original Message -
From:
Stavros Kounis
To: [EMAIL
the only problem we have is with warpConnection
now we consider to leave warp solution for mod proxy
to have apache at front
Yeah, warpConnection is really the best solution for this purpose...
Matze
-
To unsubscribe,
Hi all,
I'm trying to use the cinclude transformer on a document that has cinclude references
to quite a few large files.
The result of this transformation doesn't need to be the most up-to-date, so I'd like
to use cached cinclude (cinclude:cached-include) which would expire once a hour.
I'm
Boris Althaus wrote:
Hello Stavros,
I thought about this solution too, it seemed not separated enough to
me. Or is this no problem?
128 RAM is quite small. Do you have problems with MemoryOverflow or
Sitemap is null exceptions?
I believe, that 128 MB is not very much; I had it on e headless
I believe you should be able to call the java method in your transform
passing it the XML date as input and getting the first Monday as the result.
At 6/17/2003 11:29 AM, you wrote:
Is it possible to alter the pipeline of cocoon
so that we're calling a custom javabean that would
generate the XML
Instead of Cocoon 2.1 from CVS you can use Cocoon 2.0.5 from CVS
(hopefully released at the beginning of July). It has at least the
caching implemented in the CincludeTransformer, but I don't know
anything about the DefaultIncludeCacheManager.
Joerg
Ed Yavno wrote:
Hi all,
I'm trying to use
Hmm, difficult question. There are already some livesites using Cocoon
2.1:
http://cvs.apache.org/viewcvs.cgi/*checkout*/cocoon-2.1/src/documentation/xdocs/link/livesites.xml?rev=1.7
OTOH there are of course some bugs known (Cocoon 2 alltogether, i.e. 2.0
+ 2.1):
On Tue, 17 Jun 2003, Boris Althaus wrote:
Hello Stavros,
I thought about this solution too, it seemed not separated enough to me. Or is this
no problem?
128 RAM is quite small. Do you have problems with MemoryOverflow or Sitemap is null
exceptions?
i use to get outOfMemory error
this sounds like a connection permission on mysql's end.
what host permission have you granted the user? Can
you connect via jdbc from the same machine usinga a
simple jdbc test case?
The mysql manual covers this config in pretty good detail.
Geoff Howard
-Original Message-
From:
Hello Geoff,
The problem is the same if i set the user to root (but i don't like
this...).
I didn't test yet a simple jdbc connection...
I will try this.
In fact i thaught that perhaps cocoon rewrite the data concerning the
db-connection...
thnx
Geoff Howard a écrit :
this sounds like a
Hello Joerg,
thank you for your answer, we solved our problem ousrelves,
there was an error in our configuration...
thanks very much,
dirk
On Die, Jun 17, 2003 22:03:43, Joerg Heinicke wrote:
Can you give more explicite error description for the error in
JSPReader.generate()?
What about
Sorry to jump into the list with a question rightaway.
I'm working off of Milestone 1, using JVM 1.4.1 on Mac OS X 10.2.6,
built with 'war'. And the java mail and activation jars in the
appropriate places. I've been able to confirm that Sendmail is working.
I've started from the flowscript
Hi. Could anyone please detail whether it is possible to use Cocoon with a
mail system of any sort? How about an Instant Messenger-type of software?
Thanks so much.
Daniel
_
Protect your PC - get McAfee.com VirusScan Online
66 matches
Mail list logo