Il giorno 19/lug/04, alle 02:43, Ben Pope ha scritto:
xsl:sort select=$sort/
xsl:sort select={$sort}/
--
Ugo Cei - http://beblogging.com/
smime.p7s
Description: S/MIME cryptographic signature
On 15.07.2004 08:36, Joose Vettenranta wrote:
Hi,
I was looking into cforms and came up with the question..
first one (this might be possible afaik):
Let's like I have form like R^(2x3)-matrix, like this:
question 1: radio button1 [yes] radio button2 [no]
question 2: radio button1 [yes] radio
On 15.07.2004 10:53, Joose Vettenranta wrote:
question 1:
i tested samples in 2.1.3. (the woody block) and I noticed, that it
didn't work well with javascript turned off (like error messages didn't
show up). Is this a failure of example or woody or does this have to be
implented by hand?
On 15.07.2004 21:56, Alan wrote:
I'm using Cocoon + Hibernate to good effect. The standard
controls are very impressive.
How does one handle the books and authors problem in CForms? The
problem is that you are adding a book to a database and you want
to choose from an existing
On 16.07.2004 04:44, Nandakumar Mounasamy wrote:
We are getting internal server error from cocoon 212 under high load, or moderate
load over 30-60 minutes of run. The issue is very consistent and has very similar
error patterns in the cocoon logs. We run Cocoon 2 on JBoss 3.2.3 and JRE 142_05.
On 16.07.2004 15:33, Joose Vettenranta wrote:
Hi,
Atleast my cocoon version does it only in this way (don't know if 2.1.5
does this better):
radiobutton label
That's indeed something where you have to customize the stylesheets
yourself. They provide only Cocoon default styling.
Joerg
Hi
i try to get a value with a query, and then use this value in more than
one nested queries but i dont see record in my database. BTW i dont get
any error message.
when i have only one nested sql query that use a ancestor value then
everything work fine
this code describe what i try to
Ben
Have a look at the recent xsl mailing list archives... I have
been having *exactly* the same problems (choosing a
sort selection dynamically) and there were a number of
very helpful answers from the folks there!
http://www.mulberrytech.com/xsl/xsl-list
Derek
PS and yes, xsl:param must
Thanks for the tip. I tried with mime type text/plain too, but no change.
Too bad,
Stephanie
Hello,
Stephanie Zohner [EMAIL PROTECTED] writes:
Hi,
I want to display plain text files (log files) with cocoon (on a WIndows
XP
platform).
Since I need no transformations I decided
Hi all,
I get a NullPointerException in my GetRolesAction, hope somebody of you guys
can help me.
With my action I want to make the user roles available to the sitemap. The
roles are stored in the Authentication Context.
All I want to do is read out the roles from the Authentication context
Joerg,
On 19 Jul 2004, at 08:48, Joerg Heinicke wrote:
On 16.07.2004 11:38, Stephane Delort wrote:
I have a form with selection lists, just as the car-selector sample.
I would like to display the list of Type to be displayed only once a
Make had been choosed.
I see two solution for this :
1 :
How can we call Action from CForms and pass the values
submitted in the form to the action class. To incorporate the same which Action
class from cocoon should I Extend?
Information on this appreciated.
Thanks
Madhav Matta
Hi,
Thats excellent. I'll give that a try when I finish work.
..I'll get the hang of this eventually :-)
Cheers!
Ben
- Original Message -
From: Adam Walsh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 19, 2004 2:59 AM
Subject: Re: Request Parameters in XSLT (Cocoon 2.1.5)
I am trying to redirect users, that click on a
protected page, back to that page after login:
in the call to the login page, I have:
login?resource=redirectpageuri
(where redirectpageuri is the URI of the
protected page)
The login page form has the necessary:
input type=hidden name=resource
Hi,
I think I tried that and it didn't work... Will have another go later,
Cheers!
Ben
- Original Message -
From: Ugo Cei [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 19, 2004 7:22 AM
Subject: Re: Request Parameters in XSLT (Cocoon 2.1.5)
Il giorno 19/lug/04, alle 02:43,
Stephanie
Sorry to not answer this question direct, and I am sure the
Java gurus will help, but... why do you need this Action at
all, when you can use the SessionPropagatorAction to
store user info into the sitemap for access by any pipeline, or
use the session-context to retrieve user info for
Thanks for your reply.
I'll sift through it later.
Cheers,
Ben.
- Original Message -
From: Derek Hohls [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 19, 2004 8:15 AM
Subject: RE: Request Parameters in XSLT (Cocoon 2.1.5)
Ben
Have a look at the recent xsl mailing list
You will find most examples grabbing the entered values using flowscript.
You can however still use actions in combintation with CForms, see
sample 1 in the distribution for how to tackle that.
(http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/forms/samples/sitemap.xmap?annotate=1.10#33)
Nope, I don't think Ugo's suggestion is correct ...
have a look at the other answers, and don't forget
the xsl-mailing list (prob. the best place to ask
these types of questions).
Derek
[EMAIL PROTECTED] 2004/07/19 11:41:40 AM
Hi,
I think I tried that and it didn't work... Will have another
Might be a stupid question, but did you varify that the request-param
resource is really set when calling the login pipeline?
Did you try without the session propagator?
I am trying to redirect users, that click on a
protected page, back to that page after login:
in the call to the login
Madhav_Matta wrote:
Hello Marc
Thanks for your reply
pls, keep discussions on the list!
Are you referring to this example. This uses flowscript. Can I get a example
it doesn't use flowscript.
in fact it doesn't *use* anyhting.
point is: it is not that form definition that decides from where and
No stupid questions here...!
1. How do I vaeify that the request-param
resource *is* really set ??
2. If do not set the session propagator,
then the URI to be displayed does not work, as
it depends on those parameters to be set..
What difference could/should it make?
Thanks
Derek
[EMAIL
Ben Pope wrote:
I've been following the blocks/forms/XML Binding example without complete
success. It will bind quite happily to the CForms, it will map changes back
to the XML, but only when the row number already exists.
I've only had a quick look through your example, but I think you need to
Good question, here are my reasons:
When the user get authetificated, his rights are saved in the authentication
context. My webapp is a (kind of) project managing tool.
The authentication pipeline returns all rights of a user for all projects.It
looks like this:
authentication
...
rights
No stupid questions here...!
1. How do I vaeify that the request-param
resource *is* really set ??
Use the request generator at in your do-login pipeline instead of
map:redirect (and set the xml serializer). then you see all params and
values of the request.
2. If do not set the
Stephanie
OK, I understand - just that my approach would be
different - I *would* use XSL, in a mini-pipeline, to
retrieve this info, and merge it in - since this seems to
be essentially an XML manipulation problem which is
what XSL was designed for... overall my preference is
to avoid writing
Stephanie
Great - thanks for your help - the request generator
showed that the resource parameter was *not* set
and to fix it, I had to add:
map:parameter name=use-request-parameters value=true/
to the
map:transform src=stylesheets/login.xsl
Thanks
Derek
[EMAIL PROTECTED] 2004/07/19
Hi
I am looking for any *simple to implement*
suggestions that will allow me add to styling
to those fields that are essentially read only
(i.e. are specified as direction=load in the
binding file).
I was thinking of following something along the
lines of the Cocoon samples, where:
* =
why don't you just make them fd:output?
and if that is not an option add a fi:styling / with specific
attributes you'll act upon
note that none of the information specific to the binding will be
available to your xslt
regards,
-marc=
Derek Hohls wrote:
Hi
I am looking for any *simple to
Derek Hohls wrote:
Nope, I don't think Ugo's suggestion is correct ...
Indeed it isn't. Sorry, I should have given more thought to my answer.
Ugo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi all,
It might be a simple question but can I set a session attribute with the
session transformer within an xsl stylesheet.
I know that I can do it with the Action Session-Propagator and within an
XSP, but with the session transformer ?
With the session transformer I can manipulate the
Title: How do I invoke an action from another action (using the same instance created by the sitemap)?
Hi all,
I would like to know if there is a way to get an instance of an Action -already loaded by the sitemap, from another action.
Thank you
I am still working under Cocoon
Ah, that problem.
Some of our users had that problem. The solution was to delete all temporary
files in IE.
It seems when the number of those files increase, IE gets that problem.
Hope it works for U too.
,Armaz
-Original Message-
From: Stephanie Zohner [mailto:[EMAIL PROTECTED]
You are right that helped. Thanks a lot,
Stephanie
Ah, that problem.
Some of our users had that problem. The solution was to delete all
temporary
files in IE.
It seems when the number of those files increase, IE gets that problem.
Hope it works for U too.
,Armaz
-Original
Marc
I was unable to get the fd:output to work...
What I have done is to add a class styling to
the fields I want in the form template, so:
fi:styling class=readonly /
and in the stylesheet:
!-- overwrite --
xsl:template match=fi:* mode=common
!-- validation message --
xsl:apply-templates
Thanks, Olivier
This is *exactly* what I needed!
Derek
[EMAIL PROTECTED] 2004/07/16 09:11:59 AM
Derek Hohls wrote:
Olivier
Good to know there is a solution... would you mind
providing me with an example of
(a) how the variable(s) info is stored using SessionPropagatorAction
You can
* Joerg Heinicke [EMAIL PROTECTED] [2004-07-19 06:58]:
On 15.07.2004 21:56, Alan wrote:
I'm using Cocoon + Hibernate to good effect. The standard
controls are very impressive.
How does one handle the books and authors problem in CForms? The
problem is that you are adding a
Hi all,
I'm trying to do a xscript:transform in an XSP page, and trying to pass
parameters to it. This works as long as the parameters are literal values.
If I try to put any XSP tags inside the parameter, it doesn't work. E.g. the
following works:
xscript:transform name=soap-result
Hi all,
I have an XSP that uses the SOAP logicsheet to call a web service. My XSP
parses the response and extracts a few bits of information from it. I need
to make this information accessible to the sitemap. I tried setting request
attributes in the XSP, and then accessing them in the sitemap
Outstanding work, Adam.
Problem now sorted.
Now onto the binding problem...
Thanks to all that helped.
Ben.
-Original Message-
From: Adam Walsh [mailto:[EMAIL PROTECTED]
Sent: 19 July 2004 03:00
To: [EMAIL PROTECTED]
Subject: Re: Request Parameters in XSLT (Cocoon 2.1.5)
Hi Ben,
In the CForms xml binding script, there is code similar to:
function loadDocument(uri) {
var parser = null;
var source = null;
var resolver = null;
try {
parser =
cocoon.getComponent(Packages.org.apache.excalibur.xml.dom.DOMParser.ROLE);
resolver =
Hello,
I want to display a selection box in my form. I had seen that CForms
support such kind of formfield: selection-list. But all examples only
shows handling static values. Is it possible to set the values for the
selection box from a database (dynamically) using the form binding? Do
you
Il giorno 19/lug/04, alle 21:35, Stephan Coboos ha scritto:
Hello,
I want to display a selection box in my form. I had seen that CForms
support such kind of formfield: selection-list. But all examples only
shows handling static values. Is it possible to set the values for the
selection box from
On Jun 23, 2004, at 2:44 AM, Colin Paul Adams wrote:
I'm looking at the calendar sample.
..snip
Where do I find this calendar sample? I've got a fresh CVS build of
Cocoon, and I'm not seeing it anywhere, so I'm probably looking in the
wrong place...?
thx,
~ml
Hi,
Is this what you're looking for?
samples/cal
It was linked from:
samples/components
Fairly obscure, I guess.
Ben
-Original Message-
From: Mark Lundquist [mailto:[EMAIL PROTECTED]
Sent: 19 July 2004 20:50
To: [EMAIL PROTECTED]
Subject: Re: Calendar sample
On Jun 23, 2004,
On Jul 19, 2004, at 1:30 PM, Ben Pope wrote:
Hi,
Is this what you're looking for?
samples/cal
It was linked from:
samples/components
ah, yeah... that's it! :-)
Thanks,
~ml
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi,
I am interested in putting together the above combination and would
like to know the best way to go about doing it. Has anybody else
combined the above environments with any success? How does it compare
in terms of performance to Apache + tomcat + cocoon combination?
thanks in advance
Hi Vilya,
I appreciate your help - you got it working!
I changed my form binding file to:
fb:context xmlns:fb=http://apache.org/cocoon/forms/1.0#binding;
xmlns:fd=http://apache.org/cocoon/forms/1.0#definition; path=/data
fb:repeater id=reports parent-path=reports row-path=report
Hi Stephan,
One way of doing it is to specify a pipeline on your fd-selection list
element's src attribute in the form definition and use an internal
pipeline to turn the results of your db query into the fd:selection-list
markup. There are certainly other ways, but I like to avoid scripting
Hi Stephan,
I use good old xsp to query a database and return the results as
fd-selection items.
Behold:
esql:results
esql:row-results
xsp:logic
int hcy_num = esql:get-int column=hcy_num/;
Basically I want to make a page (page1) which helps
users to create their accounts.Usernams and password are stored in a
database;
So everytime, uername is checked to see if it
has been taken, or inanother word if there is any entry with the samevalue
in that table.
If this username is
Hi Ben,
I'm also looking for pop calender please if you know
that can you send me the URL
thanks
sud
--- Ben Pope [EMAIL PROTECTED] wrote:
Hi,
Is this what you're looking for?
samples/cal
It was linked from:
samples/components
Fairly obscure, I guess.
Ben
Christina wrote:
Basically I want to make a page (page1) which helps users to create their accounts.
Usernams and password are stored in a database;
So everytime, uername is checked to see if it has been taken, or inanother word if
there is any entry with the same value in that table.
If this
53 matches
Mail list logo