Hi Bert,
Try to put esql:parameter around xsp-sessio:getxml in your query.
-Tuomo
On Fri, 25 Oct 2002, Bert Van Kets wrote:
Hi Antonio,
I've been trying hard to get this esql sample to work.
The tag works perfectly.
userxsp-session:getxml context=authentication
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
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
I'm using 2.1-DEV, and one file in my application is a XSL page which
generates XSP for the serverpagesGenerator. The problem here is, that no
changes are committed to the browser result! Only removing the work-dir
and restarting tomcat helps. And after one reload of that page it's still
the
Hi,
How can I set up my db descriptor so that only some columns are updated?
Now,
if I don't pass values with the request (With hidden fields for example)
for all columns, they become NULL.
Thanks,
Tuomo
-
Please check that
Hi all!
I need to let users to upload files. The problem is, that the files have
to go to another machine.
I was thinking about WebDav, but does it work with Cocoon? The fileserver
is running IIS.
Thanks,
-Tuomo
-
Please
On Sat, 28 Sep 2002, funing wrote:
Hi!
I can run my webapp by http://host:8080/cocoon/xxx correctly.
How to access it without cocoon by http://host:8080/xxx ?
I change the map:pattern but it doesn't work :(
Or rename webapps/ROOT to webapps/tomcat, and rename your webapps/xxx
to
I'm trying to use the database reader, but the JDBC driver from MS doens't
support blob. We can't get one of the commercial (expensive) drivers at
this point, and I already tried FreeTDS which doesn't have this either. I
have to keep on using SQL Server 2000. :(
Any links ?
-Tuomo
On Fri, 27 Sep 2002, Peter Royal wrote:
On Friday, September 27, 2002, at 05:10 AM, Tuomo Lesonen wrote:
I'm trying to use the database reader, but the JDBC driver from MS
doens't
support blob. We can't get one of the commercial (expensive) drivers at
this point, and I already tried
work...
-Tuomo
Surlignage Tuomo Lesonen [EMAIL PROTECTED]:
On Fri, 27 Sep 2002, Peter Royal wrote:
On Friday, September 27, 2002, at 05:10 AM, Tuomo Lesonen wrote:
I'm trying to use the database reader, but the JDBC driver from MS
doens't
support blob. We can't get one
On Wed, 25 Sep 2002, Antonio Gallardo Rivera wrote:
Many thanks!
Its a nice workaround. But what about to built the final logicsheet? many
people will use it. I am trying to do that. I am sure you will welcome it.
BTW, why is the XSL transform support first than the XSP? I feel like I am
I've done mine as Carsten proposed, by using the parameters returned by
the AuthAction in the pipeline. Works great for protecting multiple pages!
But if you want to show different things for different users, you will
have to use the SessionTransformer.
It can be done inside a xsp-page too, but
Hi,
How can I count the rows in my resultset? I'm using esql, but
esql:row-count/ doesn't seem to be implemented yet. SQL COUNT(*) doesn't
work in this case either. Can I do this with XSP?
Thanks,
-Tuomo
-
Please check that
On Wed, 28 Aug 2002, Christian Haul wrote:
On 28.Aug.2002 -- 10:07 AM, Tuomo Lesonen wrote:
Hi,
How can I count the rows in my resultset? I'm using esql, but
esql:row-count/ doesn't seem to be implemented yet. SQL COUNT(*) doesn't
work in this case either. Can I do this with XSP
On Wed, 28 Aug 2002, Christian Haul wrote:
On 28.Aug.2002 -- 10:54 AM, Leszek Gawron wrote:
try to do select count(*) as row_count from table;
and then in esql:row-results do esql:get-long column=row_count/
I'm not 100% sure but this highly probable to work
Yes, if it is an option
Time to take out some heavier arms. Since I only need to
get id and name
from my table, I'm placing these pairs in a hashtable inside
esql:row-results/. Then I have a nice hashtable, which I iterate through
later on. hashtables size() method gives the rowCount.
BUT: How to implement Enumeration
On Wed, 28 Aug 2002, Christian Haul wrote:
On 28.Aug.2002 -- 01:29 PM, Tuomo Lesonen wrote:
Time to take out some heavier arms. Since I only need to
get id and name
from my table, I'm placing these pairs in a hashtable inside
esql:row-results/. Then I have a nice hashtable, which I
:/ references to another pipeline in the same
sitemap, not the same pipeline.
Carles.
--- Tuomo Lesonen [EMAIL PROTECTED] escribió:
On Tue, 20 Aug 2002, Roger I Martin PhD wrote:
Just from a quick look, the map:generate src for
menu.html has cocoon: as
a part of it relative path; do you
located on my hard drive, but it's a resource in the current sitemap. cocoon://
would mean the parent sitemap. Generators in Cocoon (including the
serverpages generator) can use the new cocoon: protocol, right?
-Tuomo
--Roger
- Original Message -
From: Tuomo Lesonen [EMAIL PROTECTED
I enabled the interpreted sitemap component in order to get the
cocoon:/ protocol workin properly. Everything looked nice, but then I
noticed that mounted sitemaps were not inheriting any components from
their parents. I wouldn't like to include same declarations in every
sitemap. I have the
Hi,
Is there a way to protect resources in a
way that only
certain roles have access to them? Already tried Session Selector, but
I wasn't able to access the session context that the auth-login action
creates.
I'd also like to know if it's possible for a user to have multiple roles
defined (for
Thank you Chris, everything works ok now! :)
-Tuomo
On 15.Jul.2002 -- 01:40 PM, Tuomo Lesonen wrote:
Hi,
I can't figure out how to remove multiple rows with this action within a
single request. Am I using the right syntax in HTML? :
Tuomo, you need to define a set with a master
Hi,
I can't figure out how to remove multiple rows with this action within a
single request. Am I using the right syntax in HTML? :
form method=post action=delete.html
input type=checkbox name=inventory.id value=10
input type=checkbox name=inventory.id value=11
input type=checkbox
23 matches
Mail list logo