Hi people,
I'm using Cocoon 2.1.8 (which is obviously using a different AJAX version from
the current one) and I've discovered that there is some way to get it so it
constantly fails updating the AJAX stuff for all users across all pipelines.
I'm not sure how it happened. I've seen it a
Hi there,
When a user authenticates on the system I'm designing I increase the max
inactive interval by using cocoon.session.setMaxInactiveInterval which works
fine. However I noticed that the continuations for CForms will still expire
before this time has run out (leading to an exception). Is
-Original Message-
From: Fuad Efendi [mailto:[EMAIL PROTECTED]
I think this is called cross site scripting attack and should be
prevented...
output field is simply a read-only widget with a value, and browsers
should not interpret any pure HTML values of such objects...
It's not
I wrote:
I was thinking of maybe adding a function to set the focus of
the element after the update has been done but this might
present problems in itself. Just looking for any ideas or
suggestions but I shall take a look at the source (obviously
if I find a solution I will post the fix
-Original Message-
From: David Legg [mailto:[EMAIL PROTECTED]
I can't stand seeing a grown man cry ;-) So I thought I'd
chip in with some ideas.
I'm 13. Just kidding.
I've got somewhere though. IE is messed up, but we knew that anyway. The three
laws of IE6 AJAX in CForms
There has been a bug that has been plaguing me for a while. Though given it
only happens in IE (6.0) and not Firefox I'm not really sure it is the fault of
the Cocoon AJAX library but I thought I'd see if any of you have suggestions on
scripts that I could play with to maybe fix it.
If you are
-Original Message-
From: Jason Johnston [mailto:[EMAIL PROTECTED]
Sent: 26 October 2006 01:34
To: users@cocoon.apache.org
Subject: Re: Dynamic HTML Values and AJAX
You should be able to get the AJAX framework to update that
snippet of
code by wrapping it in a bu:replace
Hi people,
I'm using CForms in Cocoon 2.1.8 and I've run into a bit of a problem (I sort
of posted about this a while back so a bit of this is a repost). I was trying
to feed some HTML into the form to provide output to the user. To do this I use
a pipe that generates XML output and then I try
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 24 October 2006 13:31
To: users@cocoon.apache.org
Subject: Re: how to call an internal-only pipeline by cocoon cron
yes
That will be it then. The system won't be in an authenticated session so the
-Original Message-
From: Dev at weitling [mailto:[EMAIL PROTECTED]
Where do I put my own classes in the directory structure (mounted
sitemap somewhere in my user directory) and/or do I have to declare a
classpath in my sitemap?
You should just be able to put them in WEB-INF/classes
I was looking at creating HTML in CForms output. I found this post:
http://www.mail-archive.com/users@cocoon.apache.org/msg35125.html
which outlines doing:
jx:set var=xhtmlString
value='${widget.getChild(myOutputWidget).getValue()}' /
jx:out
-Original Message-
From: Reinhard Poetz [mailto:[EMAIL PROTECTED]
On [EMAIL PROTECTED] we have started to dicuss whether we can make
Java 5 becoming the
minimum requirement for Cocoon 2.2.
I've been using Java 5 for deployment for some time so it isn't a problem for
me. There
-Original Message-
From: Ard Schrijvers [mailto:[EMAIL PROTECTED]
Sent: 26 July 2006 15:56
To: users@cocoon.apache.org
Subject: RE: Performance and Sitemaps
Anyway, I don't use profilers to find my slow pieces. I do it
from a 10.000 kilometers above view. In my opinion this
Hi there,
I am attempting to use profiler in a couple of pipelines but I seem to be
getting very strange results where each part of the pipeline seems very fast
but the overall execution is slow. It seemes, from observation, that the slower
value is the more accurate but I was hoping profiler
-Original Message-
From: Andrew Madu [mailto:[EMAIL PROTECTED]
Sent: 05 July 2006 12:31
To: users@cocoon.apache.org
Subject: Widget javascript validation problem
fd:validation
fd:javascript
var success = true;
var creditCardType = widget.lookupWidget(credit);
-Original Message-
From: Andrew Madu [mailto:[EMAIL PROTECTED]
Sent: 05 July 2006 13:13
To: users@cocoon.apache.org
Subject: Re: Widget javascript validation problem
The other problem I am having is with the widget datatype definition for
account_no:
fd:datatype base=integer
I've
I've just upgraded to Cocoon 2.1.9 so I can use CInclude POST (which had a bug
in 2.1.8). I was trying it out with a SOAP service and I couldn't get it to
work. I was wondering if anyone has and if so if they could show me a working
example. I tried:
data
My question is: what all the people using lepido are doing now?
Still using it :D. I'm certainly using the sitemap navigation which I find very
handy for navigating my large sitemaps. Still it is a shame that it is no
longer in production. I guess it might have been killed because there
Reijn wrote:
Hi Gary,
just to be sure. Reading your email you have a javascript
that adds text to the HTMLArea object?
HTMLArea puts the text back to the textarea on the onUnload
event. Are you sure it get's saved back to the textarea?
Ah, I think this helps. I want to use another
-Original Message-
From: Andrew Stevens [mailto:[EMAIL PROTECTED]
The way we do it is by defining an external entity in the
internal DTD i.e.
?xml version=1.0 encoding=UTF-8?
!DOCTYPE map:sitemap [
!ENTITY environment SYSTEM environment.ent
]
map:sitemap
I'm using the HTMLArea component of CForms (though I did upgrade it to Xinha
but most of the calls seem the same). I've got a javascript in my CForms
definition file that attempts to add text to that component. However I've had
difficulty accessing the object. I did a cocoon log output on the
Hi there,
I was wondering if it was possible to access the global-variables component
configuration as an external file? Basically there are some values in there
that change depending on which server I was using so I figured I could separate
that into a static XML file and not include that
I need to provide a different look for the tabs (using images).
What is the right way to override some but not all of the CForms xslt and css
files?
There is this {$resources-uri} everywhere.
I copied the files from source, changed them, and then pointed to the changed
files though
Hi there,
I've got a repeater with two selection lists in; staffmemeber and staffrole.
Upon a value being changed on the staffrole or another selection list outside
of the repeater (department) the list of staff members change. I'm using an
on-changed-value on the staffrole repeater and that
-Original Message-
From: Jason Johnston [mailto:[EMAIL PROTECTED]
Sent: 06 April 2006 14:00
To: users@cocoon.apache.org
Subject: Re: CForms: Updating all instances of a widget in a repeater
I think to get the rows from a Repeater you have to use
getRow() rather
than
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Edwin Kapauni
http://wiki.apache.org/cocoon/ApacheModProxy
Unless I'm misreading this (which I might be) it was probably me not explaining
my question very well. That's for getting cocoon to act as a proxy or to
-Original Message-
From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]
Search for proxy in http://wiki.apache.org/cocoon/FAQs - proxies
are defined at the JVM level and are by default global.
-Bertrand
Thank you,
I feel really bad that I asked this since it is in the FAQ
Hi there,
I've been working with the authentication resource for a while but I figured it
was about time I implemented per role pipelines (that is some pipelines can
only be accessed by some roles). I am using flowscript to do this but I don't
seem to be able to get it to work. The pipeline
Hi there,
Is there any way to specify a proxy server for cocoon to use on either a
per-pipeline basis, for a sitemap, or for the whole of the cocoon deployment?
Also is there a way of setting up an exclusion list on it if there is one as
there are some resources (such as the database) that
I've got a form with an invisible item and a radio box that will set it to
active. It works fine except the label doesn't appear. The definition looks
something like:
(On the widget):
fd:on-create
fd:javascript
A Switch to Xinha is one of those things that really should happen.
Best way to raise it is to fix Cocoon to use Xinha instead,
and submit
a patch. That way it is likely to happen. I'm sure at least
one of the
correspondents on this thread is up to the task.
As it uses all the same
I've been using the CForms AJAX stuff for a short while and
I've found it very useful. However I currently run the AJAX
forms in an authenticated pipeline. If the session has timed
out the pipeline will redirect to the login page. However if
a form is open and the session is invalid it
Hi there,
I've been trying to set the first form item to have focus when the form is
loaded. Normally it would just be a case of setting
document.form.name.focus();
but the issue seems to be that CForms uses a name:input format for the id. Is
there a way of setting the focus in CForms? I
Does anyone know how to change the tab order in CForms? I was hoping to change
it so it ignores the links (such as the help and error links) until it gets all
the way to the bottom of the form. I'd assume you'd do this by altering the tab
order in the final HTML form. I figure I should be
I havn't ever tried it, but you can add the tabindex
attribute just like
any other, for example:
ft:widget id=abc
fi:styling tabindex=5/
/ft:widget
The stylesheets simply copy over all the attributes they don't
understand to the target input element.
There's also a shorter way
Hi there,
I've been looking through my log file and found that I get:
WARN (2006-02-23) 10:46.48:012 [sitemap.serializer.xhtml] (/protected/start)
http-8080-Processor24/AbstractTextSerializer: Cannot know if transformer needs
namespaces attributes - assuming NO.
org.xml.sax.SAXException:
Hi there,
I've trying to bind a form to an XML document for both loading and saving and
it works ok loading a document (including the one initial repeat item) but if
you create more items in the repeat and use on-insert-row insert-node to create
the XML I get the extra result plus a repeat of
-Original Message-
By me:
I'm a bit stuck as to what I might be doing wrong and any
pointers would be appreciated.
Oops!
Sorry about this question I noticed the log file saying that it had rows to
delete but no action specified. I needed
fb:on-delete-row
fb:delete-node /
Hi there and sorry to bother with *yet another CForms question*,
I have a CForms form that loads an external XML document in the on-create
function of the form (though the data doesn't change and therefore could be
loaded in the flowscript instead if this would be easier). I parse it into a
Is this something that needs to be taken up on the dev list?
Not sure. If you think it would I can forward it up there (though I'd have to
join the dev list).
I am sure that htmlArea was the best choice at the time
that the CForms package was first put together, but some
technology just
Philippe Gassmann ([EMAIL PROTECTED]) wrote:
Have you try to set your object as a form attribute (
form.setAttribute(myDOM,doc); ) ?
You can then get you object by form.getAttribute(myDOM);
Thanks for that. It works. Though for the achieve and additional notes you
can't do that on the
Hello,
I've been using the CForms AJAX stuff for a short while and I've found it very
useful. However I currently run the AJAX forms in an authenticated pipeline. If
the session has timed out the pipeline will redirect to the login page. However
if a form is open and the session is invalid it
Hi there,
Does anyone know where to get the documentation for the HTML Area? I'm trying
to add some of the toolbar menus to the config but my guesses have been wrong.
The htmlarea example states it can be found at
http://www.htmlarea.com/htmlarea_2/documentation.html but that site doesn't
Hi there,
I've been trying to use an external Javascript in an on-value-changed in a form
field def.
I have something like:
fd:on-value-changed
fd:javascript
event.source.value = formatDate(event.source.value);
/fd:javascript
/fd:on-value-changed
and I include the function in one of
Sorry to bother people I'm still getting up to speed with all this.
I've been trying to use CForms with an existing application and I've got stuck
in a few areas. I'm using the XML Binding stuff to create an XML document to be
sent to another server. The first problem I've come across is that I
Hi there,
Do anyone know how to allow a CForms date type to accept an empty date from an
XML bind. At the moment it is throwing:
java.lang.RuntimeException: Incorrect value type for dob (expected class
java.util.Date, got class java.lang.String).
Thanks,
Gary
You should search and remove any older xml-apis.jar somewhere in the
class path.
Thanks for that. It was that and an old version of the Rhino Continuations lib
that were causing the problem.
Thanks again,
Gary
*
The
Hello,
Still working my way around CForms and ways that I can use it with my existing
Cocoon system. I'm getting back an XML document (using jx:out
value=#{bean}/) and, in one form, this is the user's name and password.
The problem is that if I use this in conjunction with the authenticate
Hi there,
I've been looking at using CForms and been trying out some of the demos along
with my own forms. I've gotten stuck at binding; I've found a few of the demos
and my own code was throwing the exception:
java.lang.NoSuchMethodError:
-Original Message-
From: Boisvert, Éric [mailto:[EMAIL PROTECTED]
Sent: 06 December 2005 17:17
To: users@cocoon.apache.org
Subject: RE: CInclude POST (again)
find attached the source code, keep in mind that's I'm not a
expert Java
programmer (I'm more on C# and
Hi there,
I'm still having problems getting CInclude POST in 2.1.8 to work. I've been
investigating a little further though and thought the extra information might
help. I've checked the server and the response works ok to another system doing
the post so it isn't at that end. My cinclude
-Original Message-
From: Boisvert, Éric [mailto:[EMAIL PROTECTED]
Sent: 06 December 2005 15:39
To: users@cocoon.apache.org
Subject: RE: CInclude POST (again)
Gary.. I gave up with this cinclude/POST business - lost an
incredible
amount of time trying to make it work to no
Hi there,
I upgraded to Cocoon 2.1.8 to use the CInclude POST feature (there was
previously a bug in it http://issues.apache.org/jira/browse/COCOON-1365 but I
checked the source and it looks like the patch has been put in). I've been
having some difficulty trying to use it or even check to see
This is probably a long shot as I haven't seen it mentioned in the
documentation. Is it possible to get a particular value from a transform, say,
and use that in the pipeline. Say I've got a transform that results in the XML:
returnid
Hi there,
A bit of a strange question here. I have a chunk in my sitemap that does
something like:
map:call resource=xforms-processing
map:parameter name=form-name value=edit-form/{../id} /
/map:call
and then in the resource it basically calls cocoon:/{form-name} along with some
other
Well, it _should_ be resolved before actually calling the resource...
Double-checked the code...
Thanks for that. I needed a sanity check :). It was to do with not actually
calling the request action.
Thanks again,
Gary
*
I think this should be
map:generate src=cocoon:/get-event/{../id} /
Doh. Yep; the works a charm. Thanks for that :).
Gary
*
The information contained in this message may be confidential or
legally privileged and is
Hi there,
I'm having some problems with parameter passing (or expression matching) and
the authentication framework. Basically I have something that needs to be
authenticated but also needs the request parameters available to the match so I
have something like
map:match pattern=event
map:act
Had a look at the documentation but I'm probably just missing something. Is
there a transformer (or generator) that can send a HTTP Post request to another
server and generate a stream from the returned results? I figured that since
that's kinda the format that SOAP requests are made there
Hi people,
I was looking at SQLXML which is a tool for MS SQL Server and using that within
Cocoon. Effectively what I'm looking to do is have an SQL transformer that
sends the query to the database (the query might be an XPath query rather than
a straight up SQL query) and receive XML data
Is there a way in Cocoon to take another pipeline and use it as a generator in
the current pipeline. So there is a pipeline like:
pipeline match=working
generate src=file.xml /
transform src=blah.xsl /
...
serialize type=xhtml /
/pipeline
pipeline match=more-working
generate
Hi there,
Another newbie question I'm afraid. There are a set of transformers that I
commonly call from a lot of pipelines and that I'd like to be able to possibly
change at a later date. I was wondering if there is a way to call another
pipeline inside a generate - serialize block so
-Original Message-
From: Reinhard Poetz [mailto:[EMAIL PROTECTED]
You can combine a group of sitemap components within a
resource and call them
from other pipelines by map:call resource=[name]/.
Please note that this will be deprecated in Cocoon 2.2 in
favour of the concept
-Original Message-
From: JD Daniels [mailto:[EMAIL PROTECTED]
I depend heavily on resources... Is there any form of virtual sitemap
components in the 2.1.x tree?
Reinhard did say deprecated so I imagine you'll still be able to use resources
for some versions to come.
Gary
Hi there,
Sorry to keep bugging people with really simple queries I just couldn't find
the appropriate documentation on dealing with sessions from the site map (quite
a bit on dealing with it in XSP).
Anyway I've got a session authenticated and the user data is all there in an
XML format.
Hi people,
I'm currently working on some XForms data client side (I also plan on
integrating Chicoon later) and posting to a Cocoon server. The post works ok (I
tested on a basic xsp request diagnosis page).
The content type seems correct (application/xml) and the post seems to work ok.
Now
Hi there,
I'm relatively new to using Cocoon and was still getting to grips with some of
the basics.
I have an XSP page and it does its thing just fine. However what I was hoping
to do was to take the generated HTML from the XSP page and then pass it to
another transformer to further process
-Original Message-
From: Olivier NOUGUIER [mailto:[EMAIL PROTECTED]
Sent: 20 July 2005 16:05
hi
AFAIK, if XSP output is html you should *only* serialize,
transformation are xml === xml (not sure?)
Sorry it is XHTML and I've basically got a template that I'm trying to use for
68 matches
Mail list logo