based I dont think there's other (non-Avalon)
possibility to achieve what you asked. Flowscript gives you access to
some Cocoon Avalon Components, which you can make use of mixing with
your own java components (not necesserily Avalon Components). I did so
and it works.
Regards Mariusz Sier
I don't know the answer, but I've a suggestion. Using actions is old way
of creating forms. There is great stuff developed recently for handling
forms (validatin, binding etc.) called CocoonForms (WOODY). Dig into
user docs and wiki pages and you'll find helpful information on flexible
and powerful
Suggested using flowscript, then try sth like this:
try {
var dbSelector =
cocoon.getComponent(Packages.org.apache.avalon.excalibur.datasource.DataSourceComponent.ROLE
+ "Selector");
var dataSrc = dbSelector.select("your counnection");
conn = dataSrc.getConnection();
just like in Useedocs article,
doesn't work. I have with an empty value.
It works properly when only JXPath expression is used (value="#{myData}").
Everytime I use anything else I get an empty value.
Is it a bug or do I use it incorrectly?
Regards
---
I have
sendPage("another-flow-page", {a : a, b : b});
in one flowscript page and I want to call another flow page with
sendPage() function.
How can I get passed object in the second flowscipt??
Regards, Mariusz
-
To unsubscrib
Use the context object for this.
I still don't get what you mean by this. Could you suggest me some links or
samples?
Thanks in advance.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
Did you mean Flowscript Context Object??
http://cocoon.apache.org/2.1/userdocs/flow/api.html#Context+Object
??
I have never used flowscripts, i'm reading now... When I use
Java objects in flowscript, do I have to use only those safe-threaded??
Regards
--
Use the context object for this.
Links??
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I wonder what cocoon mechanisms to use in order to keep global information
(XML) (the same for cocoon instance and different user sessions), which
are loaded dynamically (e.g. from DB) or even could change.
What do you suggest??
Regards
--
Any idea??
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
With code like
Enumeration enum = null;
enum = session.getAttributeNames();
while (enum.hasMoreElements()) {
String curName = (String)enum.nextElement();
String value = (String)session.getAttribute(curName);
if (curName.startsWith(PREFIX)
sitemap:
xsl ( based on the example from doc):
==
http://www.w3.org/1999/XSL/Transform";
xmlns:req-gen="http://apache.org/cocoon/request/2.0";
xmlns:session
ot of things that could be reused
by the others.
Why not to share it? Or maybe Im missing something? What do you think
about it?
Regards, Mariusz Sieraczkiewicz
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
A piece of code
tst/v[position() > 3] works properly
but
is always 0. Why?
Regards
--
Używam M2 - innowacyjnego klienta poczty wbudowanego w Operę:
http://www.opera.com/
-
To unsubscribe, e-
(I'm afraid the question has already been answered, but I couldn't find
it.)
How to get a connection from a pool using flowscripts?
Regards
--
Używam M2 - innowacyjnego klienta poczty wbudowanego w Operę:
http://www.opera.com/
---
Is there a Rhino JavaScript editor (helpful in coding flowscrips)
available at the net?
Syntax checking, coloring etc.?
Regards
--
Używam M2 - innowacyjnego klienta poczty wbudowanego w Operę:
http://www.opera.com/
-
To unsubs
when checkbox is unchecked the HTTP request
doesn't contain bool_field entry.
The code like
sets only 'checked value'.
_________
Regards, Mariusz Sieraczkiewicz
-
To unsubscribe, e-mail: [
Hello,
> container-encoding must be set to ISO-8859-1
> form-encoding should be set to ISO-8859-2
Yes, that really helped!!!
thank you so much, I'm your deptor. This is
what I've been looking for. I may go on holiday
now ;-)
Best regards
---
eople had similar
problem, not solved so far).
(Additional info: web.xml (of COcoon) form-encoding and container-encoding
set to utf-8 !! - the only good working setting with the others I've
described earlier.)
_____
As in subject. There exists
xsp-request:get-parameter-names
that enumerates parameters names, but how to build
pairs 'name <-> value'?
_
Best regards, Mariusz Sieraczkiewicz
-
To uns
Hello,
I used to use
How to debug (Cocoon 2.0.4) Database Actions?
I use simple DatabaseUpdateAction and something goes
wrong, where can I find inormation about it ?(I dont
use Form Validator, my debug
level is DEBUG)
_
Regards, Mariusz Sieraczkiewicz
Hello,
i'm still a newbie ;-)
How to realize the database transaction handling? What do you suggest? What
kind of C2 components should I use?
Example: Editing data in a DB via WWW. How to exclude the possibilty of
editing the same row by two different users at the same time.
Thankful for help
--
> Obviously you will have to implement an algorythm to detect
> the locks so that other users can detect the locks, wait and go back
> for the data.
I don't think i have to, because setting transaction isolation level should
be enough for what you described.
I asked for some pattern, solution tes
Hello,
i'm still a newbie ;-)
How to realize the database transaction handling? What do you suggest? What
kind of C2 components should I use?
Example: Editing data in a DB via WWW. How to exclude the possibilty of
editing the same row by two different users at the same time.
Thankful for help
--
> you might consider using Apache in front of Tomcat (connected for
> instance by mod_proxy)
> and serve the images from Apache instead through Cocoon.
>
> Michael
>
is there any description of that configuration in the net?
I'd be thankful :-)
-
puter. What may be the
cause?
Best regards, Mariusz Sieraczkiewicz (Poland)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
27 matches
Mail list logo