Just for the record, I found the problem:
if you try the example below it will work -
but if you replace the parameter name with
one that is hyphentated eg. file-ID, then it
won't. I guess allowable syntax for parameter
names is documented in that Cocoon Sitemap
Schema I have never studied ;-)
Stephan Coboos wrote:
Hello,
is it possible to use a HashMap to retrieve and add values using the
CForms binding and the repeater element? If yes how do I set the key?
Is there an example available?
Maybe I found the answer by myself: For reading the list of the model
the repeater uses JXPath
Derek Hohls wrote:
Just for the record, I found the problem:
if you try the example below it will work -
but if you replace the parameter name with
one that is hyphentated eg. file-ID, then it
won't. I guess allowable syntax for parameter
names is documented in that Cocoon Sitemap
Schema I have
Hi Alex,
We're using Cocoon 2.1.3 (still), and it works for us (though we use
access plus 1 seconds - love the grammar!). We use it to ensure
reloading of dynamic pages, for example in a client-pull situation in a
mobile application using a WML ontimer tag. If anyone knows if there's a
better
Hello Mariusz,
Yes, you can. You need to have an exception element in the exception
selector element for each custom exception type you throw:
map:selector logger=navigation.sitemap.selector.exception
name=exception
src=org.apache.cocoon.selection.ExceptionSelector
Hi,
We use expires attribute for documents (PDF) which we know it can change only once a
day and static part of application (images html ...). it improve drastically the
performance.
For dynamic documents we don't add any expires attribute. Note we add in header of
html genereted documents
Hi.
I changed my application from Cocoon-2.0.4 under SDK 1.3.2 to
Cocoon-2.1.5.1 and SDK 1.4.2. Without changing anything in my code now I
have problems accessing an access db using the esql logicsheet. Somebody
there who can help me resolving this problem?
The following exception occurs when
if a html checkbox is not checked (or
checked but disabled) then it's not send as a request parameter to the
action of the form
Now as I currently see is that woody
sees if the param is send; if sent then the boolean field value is set
to true; else false.
Problem now is that when you have a
Hi,
I sent this message previously, but I guess the subject wasn't explicit enough.
I resend it with another subject, hoping someone will find something useful for me...
I would like to know what's the difference between Forms.showForm() and
cocoon.sendPageAndWait().
I keep on trying to do a
Hi everyone
I was wondering if it was possible to construct a repeaters content from a
selection-list?
my repeater looks like this where I would like the outputlabel to come from
the selecion-list
checkbox | outputlabel | field
checkbox | outputlabel | field
checkbox | outputlabel | field
I'm seeing some strange behavior when deploying Cocoon using
WebLogic. The html downloads properly but many of the image don't
download at all. The download often completes without the full
download. There are no obvious error messages in the cocoon or
weblogic files.
I compiled a minimal
Hi,
I'm looking also for a simple example of union/struct other than
form_gui, as it is not so easy to understand, i followed this thread
(with that name) catched in July. Would be please to take a look at that
sample!
Thanks,
Phil
On Mon, 2004-07-05 at 18:35, Vilya Harvey wrote:
Joerg
Hi,
I have big problems with flowscript in cocoon 2.1.5.1. It throws errors
on the javascript code.
Is it possible to rewrite the javascript in java as a workaround? Is
there an example that explains howto do this?
I already tried to solve the exception but I keep walking from one
exception
Jorg Heymans wrote:
Hi,
I have setup authentication using the actions of the auth:fw block.
1) Can i access from flow this authenticationcontext?
var contextMan =
cocoon.getComponent(Packages.org.apache.cocoon.webapps.session.ContextManager.ROLE);
var authContext =
Example of your flowscript?
Do you have much application logic in your flowscripts?
--
Regards,
Thomas Kjeldahl Nilsson
Oslo, Norway
Patrick Verboom wrote:
Hi,
I have big problems with flowscript in cocoon 2.1.5.1. It throws errors
on the javascript code.
Is it possible to rewrite the
Guido Casper wrote:
snip/
var contextMan =
cocoon.getComponent(Packages.org.apache.cocoon.webapps.session.ContextManager.ROLE);
var authContext = contextMan.getContext(authentication);
var userFrag = authContext.getXML(/authentication/ID);
var username =
Hi,
I am using Cocoon 2.1.5.1 with weblogic 8.1 sp2 we don't have problem
except when we deployed as war file. In this case you should deploy
using stage mode. This parameter can't be set using web console
interface. To deploy in stage mode your war you should use weblogic java
utility in command
Jorg Heymans wrote:
2) Is it possible to have a login expire automatically after a
certain period of inactivity time? I have a class implementing
Authenticator as authenticationresource.
The login expires with the session.
So i configure a session-timeout on the webapp right?
Yes.
Guido
Hi,
How did you create documentations for your project I mean developpement
documentation for files xml, xsl, xsp. Did you know a tool like javadoc
?
Tanks
Willy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I am unaware of a Java perl implementation.
Your best bet if you must use Perl is to use proxying. Set up Apache
httpd to run your perl. Even configure Apache to only accept requests
from localhost. Then simply use the file generator:
map:generate src=http://localhost/cgi-bin/test.pl/
Regards,
Thanks Upayavira,
This is my current solution but I was looking for a more portable
solution because we are many developpers some use Weblogic others use
JBoss with or without Apache in front and we have only one perl script
so performance isn't an issue.
Thanks and regards
Willy
[EMAIL
Hi,
Is it actually possible to use Java instead of Javascript in flowscript ?
Claudius
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
what you're asking does not make sense.
AFAIK flowscript can be used with different *scripting* languages. If
you would like to use java inside flowscript then just
1)write your logic in a java class
2)instantiate your class with
var myobject = new Packages.my.new.Object();
3)call methods on
Hi everyone
I was wondering if it was possible to construct a repeaters content from a
selection-list?
my repeater looks like this where I would like the outputlabel to come from
the selecion-list
checkbox | outputlabel | field
checkbox | outputlabel | field
checkbox |
Jorg Heymans schrieb:
what you're asking does not make sense.
AFAIK flowscript can be used with different *scripting* languages. If
you would like to use java inside flowscript then just
1)write your logic in a java class
2)instantiate your class with
var myobject = new Packages.my.new.Object();
Hello,
I want to write a portlet that displays all the users connected (= that
have a valid session).
I could write (delete) an information each time sometimes successfully
logins (logouts) but I think there is an easiest way.
How to get this information through js ?
Thanks for any information
At 9/16/2004 06:01 AM, you wrote:
Hi,
Is it actually possible to use Java instead of Javascript in flowscript ?
Claudius
Yes, use the JavaFlow block.
Ralph
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hi everybody,
I spent a lot of time parsing the cocoon documentation, samples and
wiki, but there are still a lot of question I wonder about cocoon and
Cforms. I think that as long as these questions stay unanswered, I won't
be able to use Cocoon properly. So here is my list :
1- In action
* David Verdin:
1- In action widgets, what is exactly the action-command
attribute?
AFAICT its value is not meaningful.
2- More generally, how can I make a script happen on some events on
widgets ? For example, in a simple HTML form, I use the onClick
attribute of a
Fair enough. Thing is, I just can't imagine anyone writing a Java
implementation of perl, which is what you'd need. Otherwise, you'd need
a native interface to OS processes, which would in the end probably end
up much like CGI/Perl approach. If you can use Python instead of Perl,
then there's
Hi all,
I have a problem with the cocoon caching mechanism.
I want to create docbook file by aggregating multiple xml files with
cinclude and then convert it with the docbook-xsl stylesheets to html.
As the docbook2html conversion is very slow, I want to cache the results.
Now, everythink works
hi,
It isn't the application logic. The examples aren't running either.
The strange thing is that the flowscript is working under Bea 6.1
windows but isn't working on Bea 6.1 solaris.
I found the samples for flow in java i will try that.
Thanks Patrick
Thomas Kjeldahl Nilsson wrote:
Example of
Many htnaks for your answers, though they don't give me a lot of hope ! ;-)
Jean-Baptiste Quenot :
* David Verdin:
1- In action widgets, what is exactly the action-command
attribute?
AFAICT its value is not meaningful.
Then why is it required ?
Why does it allow you to add or
Hi,
I found an implementation of Perl using BSF in
http://bsfperl.sourceforge.net/
But actualy I can't make it work :.(
Regards
Willy
[EMAIL PROTECTED] 16/09/04 16:10
Fair enough. Thing is, I just can't imagine anyone writing a Java
implementation of perl, which is what you'd need.
snip/
Cocoon is open-source: do not hesitate to take a look inside to the
forms stylesheets, the java classes, and so on. Everything can be
customized and adapted to taste.
and this is exactly what most higher level users are unable to do :)
Jorg
Well, I must admit...
I don't think I can go this far in cocoon...
I can make simple javascript, java or XSLT, but I really can't modify
the incredible intrication of scripts and classes inside cocoon.
I think I'll give a last try, and then surrender and find something like
a cocoon for dummies.
Jorg Heymans wrote:
snip/
Cocoon is open-source: do not hesitate to take a look inside to the
forms stylesheets, the java classes, and so on. Everything can be
customized and adapted to taste.
and this is exactly what most higher level users are unable to do :)
Jorg
Carlos Dias wrote:
Hi!
I know this is faq... but I hadn't
found anice solution for this kind of problems.
My xslt is:
xsl:element name="a"
xsl:attribute name="href"
_javascript_:manageSLink('main-xsl:value-of
select="$app"/-
xsl:value-of select="$report_id"/-
Try indenting,
xsl:element name=a
xsl:attribute
name=hrefjavascript:manageSLink('main-xsl:value-of
select=$app/-xsl:value-of
select=$report_id/-xsl:value-of
select=$level/-xsl:value-of
select=$theme/-
...
/xsl:attribute
:)
Rui
Since Thomas asked about anyone being interested in
XForms with Cocoon, I thought I would share the results of my
looking into the combination the last few days.
Doubtless, many will know more about this subject than me,
so I welcome corrections and additions.
This email will just focus on the
On 16.09.2004 18:42, Rui Alberto L. Gonalves wrote:
Try indenting,
xsl:element name=a
xsl:attribute
name=hrefjavascript:manageSLink('main-xsl:value-of
select=$app/-xsl:value-of
select=$report_id/-xsl:value-of
select=$level/-xsl:value-of
Thanks Rui,
I appreciate your efforts, but here is, I think, a better solution:
xsl:attribute name=href
xsl:text/xsl:textjavascript:manageSLink('main-xsl:value-of
select=$app/-xsl:text/xsl:text
xsl:value-of select=$report_id/-xsl:text/xsl:text
xsl:value-of
Hi ,
I
am getting null pointer exception while calling parser.getDocument(). Before
that I am calling parser.startDocument() using dom parser , what are the perameters
do I need to pass.Help me out
org.apache.xerces.parsers.DOMParser;
parser.startDocument(null,UTF-8,null,null);
On Thursday 16 September 2004 15:19, Claudius Spellmann wrote:
Is it actually possible to use Java instead of Javascript in
flowscript ?
Ok, but which scipting languages are implemented in cocoon ? As far as I
can see only Javascript is available.
The javaflow block uses compiled java as
Hi , I am using org.apache.xerces.parsers.DOMParser in my
application it is throwing two exception enclosed below . help me out.
javadoc: In doclet class XMLDoclet1, method start has
thrown an exception java.
lang.reflect.InvocationTargetException
java.lang.NullPointerException
I am writing XML generators for the new portal framework. In order to do
something useful I need in Java code to access the authentication/ID in
order to get the name of the person currently logged into the session.
How can I do that?
Chiba (http://chiba.sourceforge.net/) is a servlet webapp
(i.e. like a sibling of Cocoon rather than its child) that
implements XForms. I'm not sure how easy it would be to use
Chiba from within Cocoon.
There is a project called Chicoon whose purpose is to integrate
Chiba into Cocoon.
Hi
Try this :
var sessionManager = cocoon.getComponent(
Packages.org.apache.cocoon.webapps.session.SessionManager.ROLE);
var userLogin = sessionManager.getContextFragment( authentication,
/authentication/ID).getFirstChild().getNodeValue();
Laurent Trillaud
I am writing XML generators for the
48 matches
Mail list logo