Re: Access to the app root only

2005-06-10 Thread Ugo Cei
Il giorno 09/giu/05, alle 23:37, Oleg Konovalov ha scritto: How do I restrict access to the root only ? I don't think it's possible using container-based authentication. Ugo -- Ugo Cei Tech Blog: http://agylen.com/ Open Source Zone: http://oszone.org/ Wine Food Blog:

CForms and Modular Database Actions

2005-06-10 Thread Derek Hohls
From this post: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=109022027505726w=2 is woody (cforms) implemented so, that it can be easily combined with modular database actions? I didn't find any example or writing how to do this. If form is created then it would be nice to be also to

cocoon forms sample

2005-06-10 Thread nira bal
Currently we are interested in developing advanced forms using cocoon piplines.I have browse through the information required to build the forms under CForms Block Samples-basic examples/various (actions). The sitemap.xmap file contains all forms and flow script. I just confused to build one.

Re: CForms and Modular Database Actions

2005-06-10 Thread Gregor J. Rothfuss
Derek Hohls wrote: It just seems strange that these both these technologies are developed inside of Cocoon without any simple way to link them... or what did I miss? stay away from modular db actions if you can. they are deprecated (which is why you won't find samples for it) and vastly

RSS

2005-06-10 Thread jiBeya
Hi, I'm now receiving information from the cocoon forum a an rss feed. How do I stop receiving emails but still remain a member of the forum? regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

AW: cocoon forms sample

2005-06-10 Thread Lutz Thomas
If you have built the standard webapp, look at your .\tomcat\webapps\webapp\samples\blocks\forms. If you do not use tomcat, you will for sure find the appropriate directories in your application server Regards, tom Von: nira bal [mailto:[EMAIL PROTECTED] Gesendet: Freitag,

Re: RSS

2005-06-10 Thread Mark Leicester
Unsubscribing from the email list won't stop you consuming the RSS feed. To unsubscribe, send an empty email to [EMAIL PROTECTED] as described here: http://cocoon.apache.org/community/mail-lists.html HTH, Mark On 10 Jun 2005, at 11:09, jiBeya wrote: Hi, I'm now receiving information from

Re: cforms, binding examples

2005-06-10 Thread Dennis Riedel
Hello Referring (1): Look into Form.js that you import on the top of your flowscript. There are all methods defined. Victoria Vitaver wrote: Hi, I am new to Cocoon and am using it 'through' Lenya. I have been trying to create a form (using cforms) which captures some input from the user,

Re: Problems with dynamic call of logicsheets within xsp-pages

2005-06-10 Thread Gerald Ernecker
Hello together, I am using cocoon-2.1.6 and Java 1.5.0_03-b07. I have created an own logicsheet and now want to call this logicsheet dynamically with a parameter which comes from the request. For example the request http://localhost:/zufall-aufruf.xml?groesse=12 should be processed

jsp integration with Lenya

2005-06-10 Thread Roberto Fornasiero
Hi all, my system is:(Fedora 3, JDK 1.4, Tomcat 5.0.28, Cocoon 2.1.2). i want to integrate some JSP pages in my Lenya-based site. I have this answer when i call a JSP page with a form: org.apache.cocoon.ProcessingException: Exception JspGenerator.generate():

Re: compiling a custom transformer

2005-06-10 Thread Geert Josten
Hi, I typically use an Ant build file like the following. It assumes sources are located in a org/ subdir, custom libs are located in lib/, and that a environment variable named COCOON points to the base of the Cocoon web application.. Cheers, Geert !-- $Id$-- project name=cocoonext

Re: Exception handling in sitemap

2005-06-10 Thread Geert Josten
A more general remark perhaps: From experience I have learned that Cocoon takes the error-handler of the pipeline in which the HTTP request is handled. When calling internal pipes (cocoon:), these don't use the error-handler of there own pipeline, but the outer one. Quite annoying sometimes.

Access to user role

2005-06-10 Thread Oleg Konovalov
Hi, I am modifying somebody else's Cocoon application. I need to disallow users with some specific role to see certain parts of the screen (pseudo-menu). An existing mechanism for that is: xsl:variable name='isUser' select='/root/secure:securityProfile/secure:roles/secure:role[.=mbr-user]'/ ...

Portal and DELI

2005-06-10 Thread Paolo Ambrosio
Hi, I'm building a portal using cocoon and I'd like to use DELI transformer to render my portal with browser capabilities awareness. Should I implement a new deli aspect and then substitute aspect type=xslt with aspect type=deli in every renderer? Is there another way I could achieve the same

Re: questions about loading xml file

2005-06-10 Thread Jarry Liu
Lars, Thanks for reply. Finally I found the prolbem. Different browser deals with javascript in different way, it seems that Safari dosn't support the function of load(file). Finally I solved that problem by writing a java class and used in xsp file. On 6/9/05, Lars Huttar [EMAIL

Re: Access to user role

2005-06-10 Thread Oleg Konovalov
I just checked: on that non-initial page (xslt/common.xsl) the value of variable isUser is an empty string. What is that: /root/secure:securityProfile/secure:roles/secure:role[.=mbr-user]' ? Is that a page parameter, securityProfile or retrieved from the database? Any pointers ? I am new to

Re: Exception handling in sitemap

2005-06-10 Thread lionel crine
On Fri, 10 Jun 2005 19:26:18 +0200, Geert Josten wrote A more general remark perhaps: From experience I have learned that Cocoon takes the error-handler of the pipeline in which the HTTP request is handled. When calling internal pipes (cocoon:), these don't use the error-handler of there

Re: Pagination with dynamic XML (Was How-to CForms with Pagination)

2005-06-10 Thread Andrew Franz
Options: #1: Use PaginatorTransformer: (dataset from XSP cached) http://cocoon.apache.org/2.0/howto/howto-paginator-transformer.html #2: Use XLST (dataset from XSP cached) xsl:for-each select=dataset/row xsl:if test=(position() gt;= $lineNumber1) and (position() lt; ($lineNumer1 +

Re: compiling a custom transformer

2005-06-10 Thread Lars Huttar
Geert Josten wrote: Hi, I typically use an Ant build file like the following. It assumes sources are located in a org/ subdir, custom libs are located in lib/, and that a environment variable named COCOON points to the base of the Cocoon web application.. Cheers, Geert Thanks! I'll try

Re: compiling a custom transformer

2005-06-10 Thread Lars Huttar
Geert Josten wrote: Hi, I typically use an Ant build file like the following. It assumes sources are located in a org/ subdir, custom libs are located in lib/, and that a environment variable named COCOON points to the base of the Cocoon web application.. Cheers, Geert Thank you, thank

cforms tag limitation

2005-06-10 Thread Carlos M. S. Bento Nogueira
I've been trying to define a way to define the look of a table using cforms. By the look of a table i mean the number of columns and rows. I particulary wanted to define a row tab inside a selection list, which would fire an if on my xsl who in turn would insert an tr tag on the resulting

Re: cforms tag limitation

2005-06-10 Thread Antonio Gallardo
On Vie, 10 de Junio de 2005, 21:54, Carlos M. S. Bento Nogueira dijo: I've been trying to define a way to define the look of a table using cforms. By the look of a table i mean the number of columns and rows. See: http://wiki.apache.org/cocoon/GT2004Sylvain Best Regards, Antonio Gallardo. I

Re: Log-level and logkit

2005-06-10 Thread Antonio Gallardo
On Jue, 9 de Junio de 2005, 11:10, Lionel Crine dijo: Well ok, So If i want to configure my logs for the production, I need to comment my logkit ? Just raise the log level to WARN or ERROR inside the logkit.xconf. Best Regards, Antonio Gallardo Cédric Damioli wrote: Lionel Crine a

Re: strange character in output (html with doctype)

2005-06-10 Thread Antonio Gallardo
Hi: Seems to be a bug in HTML Serializer. Please fill a bug report to not forget ir. I will check it next week. Thanks for reporting. Best Regards, Antonio Gallardo. On Mie, 8 de Junio de 2005, 9:31, Kees Broenink dijo: Hi, Using the latest Cocoon (2.1.7) I have a problem with serialize