[cforms' Is it possible to extends another form definition?

2007-03-19 Thread Rice Yeh
Hi, In http://cocoon.zones.apache.org/daisy/cocoon3/g3/forms/g2/685.html, I see a lot of uses for a field to extend another field. Is it possible to directly extends another form definition like the following: http://apache.org/cocoon/forms/1.0#definition"; xmlns:i18n="http:

Re: XHTML Serializer block/Ajax: Bug

2007-03-19 Thread Andrew Madu
Hi Joerg, Didn't you say in another thread it works as expected in Firefox - a browser supporting XHTML? Yes, but that was only in reference to the in-built xhtml serializer, which as we know doesn't really xhtml serialize, and not the one from blocks which doesn't quite like javascript! --

Re: How to get user id in 2.1.10 portal

2007-03-19 Thread johnson
found it , comment out the cauth and uncomment the auth in cocoon.xconf. johnson Ralph Goers 提到: > Are you using the sample configuration or your own? I believe the > samples don't use authentication-fw anymore. > > johnson wrote: > >> HI! >> >> I've application in 2.1.10 portal, I can get the

Re: How to get user id in 2.1.10 portal

2007-03-19 Thread johnson
I'm using the sample one. I found This portal sample using the same user profile sunrise-user.xml. the sitemap and others are the same to old portal. so what's the authentication in 2.1.10 portal. johnson Ralph Goers 提到: > Are you using the sample configuration or your own? I believe the > sam

Re: How to get user id in 2.1.10 portal

2007-03-19 Thread Ralph Goers
Are you using the sample configuration or your own? I believe the samples don't use authentication-fw anymore. johnson wrote: > HI! > > I've application in 2.1.10 portal, I can get the user id by flow in > 2.1.7 with this code > > var contextMan = > cocoon.getComponent(Packages.org.apache.cocoon.w

How to get user id in 2.1.10 portal

2007-03-19 Thread johnson
HI! I've application in 2.1.10 portal, I can get the user id by flow in 2.1.7 with this code var contextMan = cocoon.getComponent(Packages.org.apache.cocoon.webapps.session.ContextManager.ROLE); var authContext = contextMan.getContext("authentication"); var userFrag = authContext.getXML("/authent

Re: XHTML Serializer block/Ajax: Bug

2007-03-19 Thread Joerg Heinicke
On 19.03.2007 14:41, Jason Johnston wrote: Yes, I only fixed the html serializer and that fix is not appropriate for the xhtml. In html, the contents of the script tag is defined as a cdata section, therefore there should be no encoding inside the script. And that's what I fixed. With xhtml the

Re: XHTML Serializer block/Ajax: Bug

2007-03-19 Thread Joerg Heinicke
On 19.03.2007 17:37, Jason Johnston wrote: Well... sort of. When Firefox uses the XML parser the document gets parsed just fine, but then another problem arises when the Dojo libraries used by CForms AJAX tries to call document.write(), which is not allowed in the XHTML DOM. So you trade a pro

Tuning XSP output

2007-03-19 Thread Richard Lewis
Hello Cocoon users, Using Cocoon 2.1.10. I'm just working on some XSP logic sheets using ESQL to create XML views of my MySQL database. There are two things I'd like to be able to do: 1) Stop it from producing empty elements. e.g. I have: which, if the duration field is empty, will create a

Re: XHTML Serializer block/Ajax: Bug

2007-03-19 Thread Jason Johnston
On Mon, 19 Mar 2007 15:28:10 + (UTC), Joerg Heinicke <[EMAIL PROTECTED]> wrote: > Andrew Madu gmail.com> writes: > >> Wouldn't xhtml serializer need to be fixed anyway, as anyone using it as >> serializer will still encounter the problems with javascript > irrespective of >> whether they are

Re: redirect from xsl

2007-03-19 Thread Dev at weitling
Hi Tomas, > > > > > > > > > > then xslt photoClickLoginResponse.xsl return the word "true" if the login its > true. > > I want to take the word true and to forward to another page or a class java That's a mis

Re: XHTML Serializer block/Ajax: Bug

2007-03-19 Thread Joerg Heinicke
Andrew Madu gmail.com> writes: > Wouldn't xhtml serializer need to be fixed anyway, as anyone using it as > serializer will still encounter the problems with javascript irrespective of > whether they are using ajax forms or not?!! Didn't you say in another thread it works as expected in Firefox

redirect from xsl

2007-03-19 Thread Tomas Garijo (Click)
I have this sitemap . . . then xslt photoClickLoginResponse.xsl return the word "true" if the login its true. I want to take the word true and to forward to another page or a class java. Thank you very

Re: XHTML Serializer block/Ajax: Bug

2007-03-19 Thread Andrew Madu
Hi Jason, Well since Jörg is so strongly against it, and I don't feel like swimming upstream against his opinion, I'm not going to bother. If you still feel like taking that on (both the code and the argument) feel free. Wouldn't xhtml serializer need to be fixed anyway, as anyone using it

Re: XHTML Serializer block/Ajax: Bug

2007-03-19 Thread Jason Johnston
Carsten Ziegeler wrote: Jason Johnston wrote: Carsten Ziegeler wrote: Actually I was too fast in answering :( Yes, I only fixed the html serializer and that fix is not appropriate for the xhtml. In html, the contents of the script tag is defined as a cdata section, therefore there should be no

Re: Packaging cocoon 2.1.10 web application ??

2007-03-19 Thread Bertrand Delacretaz
On 3/19/07, Sébastien Geindre <[EMAIL PROTECTED]> wrote: ...>> http://wiki.apache.org/cocoon/YourCocoonBasedProjectAnt16... Thanks both of you. So i tried, but it does not seem to be compatible with cocoon(2.1.10 This build example is a fairly old one, you might have more luck with BrickCm

Re: Packaging cocoon 2.1.10 web application ??

2007-03-19 Thread Sébastien Geindre
Bertrand Delacretaz a écrit : On 3/17/07, Thomas Scheithauer <[EMAIL PROTECTED]> wrote: ...Might that help you? http://wiki.apache.org/cocoon/YourCocoonBasedProjectAnt16... Thanks both of you. So i tried, but it does not seem to be compatible with cocoon(2.1.10. I've got the following error :