Re: Want to join in this group..

2011-10-19 Thread Thomas Markus
Hi, We've also that problem and this is really annoying. It looks like a JDK Bug. I switched to 1.6.0_24 which works fine. All later releases produce this behaviour. Updated to 1.7.0_01 now which works. rgards Thomas Am 19.10.2011 08:21, schrieb Jagadeesh Kumar Bhavanasi: Hi

Re: C2.2: Accessing static method on Java object with Flowscript

2011-08-14 Thread Thomas Markus
Hi, or create an instance without spring: var bean = new com.foo.bar.Useful(); bean.someMethod(arg1, arg2); regards Thomas Am 12.08.2011 15:34, schrieb Andre Juffer: To answer my own question. I created a new entry in the application's Spring configuration file, bean id=com.foo.bar.Useful

Re: C2.2: Accessing static method on Java object with Flowscript

2011-08-14 Thread Thomas Markus
a, String b) { System.out.println(a= + a + b= + b); } } I'm using C2.2 regards Thomas Am 14.08.2011 20:20, schrieb Andre Juffer: On 08/14/2011 03:04 PM, Thomas Markus wrote: Hi, or create an instance without spring: var bean = new com.foo.bar.Useful(); bean.someMethod(arg1, arg2

Re: Streaming buffered image using Cocoon

2011-05-24 Thread Thomas Markus
hi, it remains pretty simple :) regards Thomas map:match pattern=time.jpg map:call function=intercept / /map:match map:match pattern=generate.image map:read type=timeimg/ /map:match function intercept() { var backgroundVariable = '#44ffFF'; var text = String(new Date

Re: Streaming buffered image using Cocoon

2011-05-23 Thread Thomas Markus
()); g.dispose(); ImageIO.write(image, png, this.out); } } in your sitemap define and use this reader: map:components map:readers map:reader name=timeimg src=test.TestImageReader / /map:readers /map:components ... map:match pattern=time.jpg map:read type=timeimg / /map:match hth Thomas

Re: Streaming buffered image using Cocoon

2011-05-20 Thread Thomas Markus
hi, create a reader and stream your image. see AbstractReader.out and beware of org.apache.cocoon.util.BufferedOutputStream.realFlush() regards Thomas You can use javax.imageio.ImageIO.write(RenderedImage, String, OutputStream) to write directly into an OutputStream. You just need to get

cocoon-forms in cocoon3

2011-04-20 Thread Thomas Markus
Hi, is it possible to use cocoon-forms in cocoon3? i want to use forms, flowscript, jx (whithout ajax) /Thomas - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h

Re: [C2.2] Original name of uploaded file

2011-04-19 Thread Thomas Markus
in your flowscript do something like: /** @type org.apache.cocoon.servlet.multipart.Part */ var file = form.getChild(uploadFile).value; if (file!=null) { // no file upload var filename = file.filename; // check for single name and change extension } regards Thomas Am 19.04.2011 09:47, schrieb

Re: [C2.2] Original name of uploaded file

2011-04-19 Thread Thomas Markus
yes, look into org.apache.cocoon.servlet.multipart.Part there are 2 methods getUploadName() and getFileName() /Thomas Am 19.04.2011 13:57, schrieb Matthias Müller: with your solution the filename is undefinded. Is it possible to cast file to org.apache.cocoon.servlet.multipart.Part to access

Re: Cocoon and Single Sign On (Windows Active Directory)

2011-04-13 Thread Thomas Markus
hi, search for ntlm authentication jcifs i would create a filter and set request remoteuser regards Thomas Am 13.04.2011 14:57, schrieb Paul Joseph: Hi there, I develop an intranet Cocoon (Cocoon 2.11 and Apache Tomcat 6.0) application and have been asked to provide Single Sign

Re: upload on Tomcat/Cocoon won't work when the port is 80?

2011-04-12 Thread Eiko Thomas
Hi Paul, I use the same configuration and got no problems with port switching. I know the information helps less :-D This kind of problems I normally solve with wireshark. Try to record the net traffic. Do you use a apache in front of tomcat? Kind regards, Eiko Original-Nachricht

Re: upload on Tomcat/Cocoon won't work when the port is 80?

2011-04-12 Thread Eiko Thomas
What kind of error do you got? Do you got a absolute URL in the action attribute of your form element? Kind regards, Eiko Original-Nachricht Datum: Tue, 12 Apr 2011 07:04:13 -0400 Von: Paul Joseph pjos...@gmail.com An: users@cocoon.apache.org Betreff: upload on

Re: Calling servlet block from itself?

2011-03-31 Thread Thomas Markus
Hi, try an absolute name: map:transform type=servletService map:parameter name=service value=servlet:nl.mpi.lexus.db.service+:/workspace/getSortOrders.xml/ /map:transform regards Thomas Am 31.03.2011 13:04, schrieb Huib Verweij: Hi, I would like to call a servlet from within

Re: how-to execute pipeline as side-effect first [cocoon2.2]

2011-02-25 Thread Thomas Markus
hi, have a look at org.apache.cocoon.transformation.SourceWritingTransformer regards Thomas Am 25.02.2011 11:56, schrieb Robby Pelssers: Hi all, I have a question related to following use case: I convert the contents of a few xml files into a DITA map and topics. I already have a pipeline

upgrade spring in cocoon 2.2

2011-01-25 Thread Thomas Markus
-plugin:1.0.0 but this is not released. i tried to build that version (svn tag checkout) but that fails (inkonsistent parents, one is cocoon:8, another cocoon:5 aso) is there a repository with a current cocoon 2.2 version released? regards Thomas

Re: Adding my Java code to flowscript

2011-01-23 Thread Thomas Markus
Hi, dont use the default package. Place your class in a package (fi test.Test) and it should work. regards Thomas Am 23.01.2011 01:25, schrieb Des Magner: Hi I am trying to add some custom code to be called from my flowscript but with no success. I followed the instructions in the user

Re: form encoding issues

2010-09-29 Thread Thomas Markus
Hi, check out request character encoding. For tomcat look at http://confluence.atlassian.com/display/DOC/Configuring+Tomcat%27s+URI+encoding and in your tomcat installation at webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.java that worked for me regards Thomas Am

Re: form encoding issues

2010-09-29 Thread Thomas Markus
thats right but you are bound to ISO-8895-1 we use UTF-8 in all stages with my comments. regards Thomas Am 29.09.2010 11:43, schrieb Ron Van den Branden: Hi again, Thank you very much for the quick help; meanwhile I think I found an answer in a post on cocoon-dev: http://markmail.org

Re: form encoding issues

2010-09-29 Thread Thomas Markus
-encoding to utf-8 - set URIEncoding to utf-8 - and include a class like SetCharacterEncodingFilter to set request character encoding regards Thomas Am 29.09.2010 12:36, schrieb Ron Van den Branden: Hi Thomas, I'm not much of an expert in encoding matters, and could indeed be happy with ISO-8859-1

Re: map:reader can't find files with spaces in their names

2010-08-15 Thread Thomas Ernest
you URL or even in providing your system with URL encoded data since the beginning. Good luck. Thomas. [1] urlencode.sed s/%/%25/g s/ /%20/g s/ /%09/g s/!/%21/g s//%22/g s/#/%23/g s/\$/%24/g s/\/%26/g s/'\''/%27/g s/(/%28/g s/)/%29/g s/\*/%2a/g s/+/%2b/g s/,/%2c/g s/-/%2d/g s/\./%2e/g s/\//%2f/g s

Re: argument type mismatch when using fn:replace

2010-08-04 Thread Thomas Ernest
/evaluating 'set var' in order to instance these variables in another places). I hope it will help. Good luck. Please give us your feedback about these ideas. Thomas. [1] http://www.w3.org/TR/xpath-functions/#func-replace [2] http://cocoon.apache.org/2.1/userdocs/transformers.html Le 04/08/2010

Re: from wysiwyg-editor to database and/or nice html-output

2010-05-28 Thread Thomas Markus
oh there is a mistake: use '!DOCTYPE div PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN /tmp/xhtml1-strict.dtd' and put xhtml1-strict.dtd, xhtml-lat1.ent, xhtml-symbol.ent, xhtml-special.ent und /tmp Am 28.05.2010 07:55, schrieb Thomas Markus: and its also a good idea to prepend valid xml / xhtml

Re: from wysiwyg-editor to database and/or nice html-output

2010-05-27 Thread Thomas Markus
') }); an an your jx simply include: ${mytext} thats all outside of flowscript create a simple Transformer for this. regards Thomas - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h

Re: switch Cocoon 2.2 spring dependencies from 2.5.1 to 2.5.6

2010-04-08 Thread Thomas Markus
Hi, set your version in dependecyManagement section cocoon2.2 with spring 2.5.6 works fine here (since 2 weeks) regards Thomas Am 07.04.2010 17:04, schrieb Robby Pelssers: Hi all, Just wondering if anyone tried to switch to a newer version of spring while using Cocoon2.2. It currently

Re: Can't use switch with cocoon.request.get in flowscript [SOLUTION]

2010-02-09 Thread Thomas Markus
hi, use an type conversion (to javascript string) instead of string concat: switch (String(cmd)) { ... } regards Thomas snip function testSwitch() { var cmd = getCmd(cmd); switch(cmd) { case save: print(request parameter was save

Re: Cocoon 2.1.11 forms validation on-value-changed

2010-02-07 Thread Thomas Markus
use your own validator (or use an existing) and call validate fd:field id=density required=true ... fd:validation fd:javascript var value = widget.value; if (value =0 || value = 500) { var i18nkey = 'your.key'; var error = new

Bug in pipeline handling in C2.2

2010-01-28 Thread Thomas Markus
:/test.js this new block is mounted at / with mvn jetty:run an access to http://localhost:/ should generate only one line in console sitemapURI= but there are always 2: sitemapURI= sitemapURI=test.jx whats wrong here? regards Thomas my files: sitemap.xmap

Re: Question regarding zip serializer (filename becomes xxxx.continue)

2010-01-13 Thread Thomas Markus
Especially IE has some disadvantages with incorrect filenames. regards Thomas - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

Re: File upload without full form submit.

2010-01-12 Thread Thomas Markus
for multiple uploads try a browser plugin like http://jupload.sourceforge.net/ regards Thomas Am 10.01.2010 20:36, schrieb Tomek Piechowicz: Hi. I have form with 3 repeaters, one contains standard text input widgets, and the next two contain file upload widgets. User can add file inputs

Re: Springframework Exception / Cocoon3 Alpha1

2009-12-22 Thread Thomas Markus
hi, set current spring version in your pom dependencyManagement section regards Thomas Am 22.12.2009 14:08, schrieb Johannes Lichtenberger: Hello, it seems I'm getting the exact same exception on a computer running Windows 7: http://mail-archives.apache.org/mod_mbox/cocoon-users/200905

Re: cocoon3 sitemap call

2009-12-07 Thread Thomas Markus
) mimetype is ok. regards Thomas Reinhard Pötz schrieb: Thomas Markus wrote: hi, i tried to manually load and invoke a sitemap and it works fine now. but how can i access resulting content type? i cant find something. Have a look at the RequestProcessor in the cocoon-servlet module

cocoon3 sitemap call

2009-12-04 Thread Thomas Markus
hi, i tried to manually load and invoke a sitemap and it works fine now. but how can i access resulting content type? i cant find something. thx Thomas - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org

cocoon3 inside portlets

2009-12-04 Thread Thomas Markus
hi, whats the best approach to use cocoon3 as portlet content producer? currently i use cocoon3 trunk and build a running sample regards Thomas - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional

Re: Accessing resource from reader

2009-09-18 Thread Thomas Markus
is relative to your sitemap regards Thomas Radaven schrieb: Hi, I am working on my BarcodeImageReader which generates barcode image. The parameters of barcode are loaded from xml config file (saved on same place as other resources like jx templates, etc.). How can I get to this file to have

Re: Restricting access by IP address

2009-09-14 Thread Thomas Markus
try a generic RegexMatcher (all untested :) ) greets thomas in your sitemap add this to components with your pattern: map:matchers default=wildcard map:matcher name=regular src=test.RegexMatcher pattern^192\.168\.\d+\.\d+/pattern /map:matcher /map:matchers and in your pipeline: map:match

Re: Restricting access by IP address

2009-09-10 Thread Thomas Markus
map:otherwise !-- -- /map:otherwise /map:select regards thomas Peter Flynn schrieb: Jeroen Reijn wrote: Hi Peter, have you also considered doing this with a webserver in front of your cocoon application? Yes, we currently front Tomcat with Apache httpd as a virtual host

Re: How to set filename of csv file

2009-04-01 Thread Thomas Markus
/rfc/rfc2184.txt regards thomas cocoon.er...@besonet.ch schrieb: Hello, in my application if a page, where a search can be performed and the result is shown on the same page in form of a list. On the page, the user has a button (action widget) that returns him the search result as a csv file

Re: what is causing this error

2009-03-31 Thread Thomas Markus
hi, you have a '--' inside a comment this is not valid. fi: !-- some -- test -- raises this exception regards Thomas Paul Joseph schrieb: Hi there, I upgraded to Cocoon 2.1.11 and things are fine, other than I get this error in my Tomcat server log. Also, my debug statements in my

Re: what is causing this error

2009-03-31 Thread Thomas Markus
hi, looks like it happens while parsing your logging configuration. check log4j.xconf or logkit.xconf (or what you configured) regards Thomas Paul Joseph schrieb: Thanks for the reply--but is there any indication which file has this? There are so many conf files with so many comments

Re: Digestion problems, can't MD5 (Cocoon 2.1)

2009-02-09 Thread Thomas Markus
())) a.add(s.getAlgorithm()); System.out.println(p.getName() ++ a); } it gives for sun jdk1.6: SUN [MD2, MD5, SHA, SHA-256, SHA-384, SHA-512] SunRsaSign [] SunJSSE [] SunJCE [] SunJGSS [] SunSASL [] XMLDSig [] SunPCSC [] check your java.security setup regards thomas Palol Carlos

possible bug in SitemapSource

2009-01-29 Thread Thomas Markus
thomas begin:vcard fn:Thomas Markus n:Markus;Thomas org:proventis GmbH adr:;;Zimmerstr. 79-80;Berlin;Berlin;10117;Germany email;internet:t.mar...@proventis.net tel;work:+49 30 29 36 399 22 x-mozilla-html:FALSE url:http://www.proventis.net version:2.1 end:vcard

store contents of a pipeline

2009-01-27 Thread Thomas Markus
content and mimetype? system is cocoon 2.1.7 regards thomas !--pipeline -- map:pipelines map:pipeline internal-only=true map:match pattern=** map:mount uri-prefix= src=../sitemap.xmap / /map:match /map:pipeline map:pipeline map:match pattern

Re: store contents of a pipeline

2009-01-27 Thread Thomas Markus
problem found. a cocoon:/{1} created always an internal-only request and my sub sitemap expects an external request. how can i create an external request from an internal action? i dont want to reimplement SitemapSource regards thomas Thomas Markus schrieb: hi all, i try to cache

Re: Cocoon 2.2 and JPA

2008-06-18 Thread Thomas Soddemann
, Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Get port of ServletEngine

2007-11-28 Thread Thomas Soddemann
-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Hi Felix, what about the getServerPort() method from javax.servlet.ServletRequest? Or do you need the port before are request was made? In that case I am curious, what is the use case? Cheers, Thomas

Re: Get port of ServletEngine

2007-11-28 Thread Thomas Soddemann
. There is a getRealPath() method which may be what you are looking for in your context. Cheers, Thomas Felix Knecht wrote: Yes, I need it before a request is made. Use case is: I have a worker zipping files (in a cocoon application A). Another application (B) send a jms message to the worker

Re: .DOC and .PPT modifying

2007-10-17 Thread Thomas Markus
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] begin:vcard fn:Thomas Markus n:Markus;Thomas org:proventis GmbH adr:;;Zimmerstr. 79-80;Berlin;Berlin;10117;Germany email;internet:[EMAIL PROTECTED] tel;work:+49 30 29 36 399 22 x-mozilla-html:FALSE

Re: Custom Reader: flush() and close() required?

2007-10-02 Thread Thomas Markus
, Tilman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] begin:vcard fn:Thomas Markus n:Markus;Thomas org:proventis GmbH adr:;;Zimmerstr. 79-80;Berlin;Berlin;10117;Germany email

Re: transformator should add a tag

2007-08-30 Thread Thomas Markus
] For additional commands, e-mail: [EMAIL PROTECTED] begin:vcard fn:Thomas Markus n:Markus;Thomas org:proventis GmbH adr:;;Zimmerstr. 79-80;Berlin;Berlin;10117;Germany email;internet:[EMAIL PROTECTED] tel;work:+49 30 29 36 399 22 x-mozilla-html:FALSE url:http://www.proventis.net version:2.1 end:vcard

Re: How to limit number of instances of component?

2007-08-29 Thread Thomas Markus
java.util.concurrent.Semaphore cu tm -- Thomas Markus Tel:+49 30 29 36 399 - 22 Fax:+49 30 29 36 399 - 50 Mail: [EMAIL PROTECTED] Web:http://www.proventis.net Web:http://www.blue-ant.de proventis GmbH Zimmerstraße 79-80 10117 Berlin Geschäftsführer: Norman Frischmuth Sitz: Berlin Handelsregister: AG

Re: http headers

2007-08-27 Thread Thomas Markus
, e-mail: [EMAIL PROTECTED] -- Thomas Markus Tel:+49 30 29 36 399 - 22 Fax:+49 30 29 36 399 - 50 Mail: [EMAIL PROTECTED] Web:http://www.proventis.net Web:http://www.blue-ant.de proventis GmbH Zimmerstraße 79-80 10117 Berlin Geschäftsführer: Norman Frischmuth Sitz: Berlin

Re: Initializing a multivaluefield?

2007-06-14 Thread Thomas Markus
); gives a syntax error. There is obviously a simple way to do this - please help! Thanks Derek P.S. I am not using Hibernate or any POJOs - just working in POJ (Plain 'ol Javascript). begin:vcard fn:Thomas Markus n:Markus;Thomas org:proventis GmbH adr:;;Zimmerstr. 79-80;Berlin;Berlin

Re: AW: Initializing a multivaluefield?

2007-06-14 Thread Thomas Markus
, {myMultivalueField: values}); Greetings, Franzi begin:vcard fn:Thomas Markus n:Markus;Thomas org:proventis GmbH adr:;;Zimmerstr. 79-80;Berlin;Berlin;10117;Germany email;internet:[EMAIL PROTECTED] tel;work:+49 30 29 36 399 22 x-mozilla-html:FALSE url:http://www.proventis.net version:2.1 end:vcard

Re: Importing a javascript file in cform

2007-06-12 Thread Thomas Markus
add your .js file to map:flow language=javascript map:script src=file1.js/

Re: Problem with tuning JVM (high CPU load)

2007-05-23 Thread Thomas Markus
Hi, looks like a memory leak. maybe the garbage collector runs very often thomas Robby Pelssers schrieb: Hi all, we have cocoon2.1.10 running on a solaris(OS version5.8). The server has 16G of memory and 2 processors (sparcv9 processors operating at 900 MHz). Cocoon is running on tomcat

Re: Problem with tuning JVM (high CPU load)

2007-05-23 Thread Thomas Markus
if your free memory is low, the jvm runs the gc automatically. in case your free memory is very low the gc runs very often and consumes a lot of cpu. try to log your current memory state in that situation. Robby Pelssers schrieb: Hi Thomas, Actually, we scheduled the garbage collector

Re: Problem with tuning JVM (high CPU load)

2007-05-23 Thread Thomas Markus
6g free system or jvm memory? which jvm version? maybe that article is interesting http://java.sun.com/developer/technicalArticles/Programming/turbo/ Robby Pelssers schrieb: Hi Thomas, The behaviour we see is that the CPU load gradually increases and at a certain point never goes down while

Re: Quelle place pour Cocoon dans l'ensemble des technos Web ?

2007-03-22 Thread Patrick Thomas
J'ai oublié de te remercier Sylvain pour ta présentation. Merci aussi à Bertrand pour ses réflexions. Cela m'a franchement bien aidé, car j'étais en train de m'enliser dans la forêt des technos disponibles. Cordialement, Patrick

Re: conversion of a Unix timestamp to a ISO date

2007-03-22 Thread Thomas Soddemann
Hi, you could also simply use Axis's xs library, Axiom or xmlbeans. Cheers, Thomas Lars Trieloff wrote: Hi, there is an XSLT library available for this: http://www.djkaty.com/drupal/xsl-date-time with best regards, Lars Am 21.03.2007 um 12:52 schrieb Stefan Shoeman

Re: Packaging cocoon 2.1.10 web application ??

2007-03-16 Thread Thomas Scheithauer
Am 16.03.2007 um 12:05 schrieb Sébastien Geindre: From webapps/cocoon, ../.. resolved to the top level Tomcat directory. For me, and probably most people, Tomcat rebuilds or updates are a lot less frequent than Cocoon rebuilds, so once in place, that file doesn't change much. Cocoon

Re: Récupérer un attribut de session dans le src d'un JXTemplate

2007-02-24 Thread Patrick Thomas
Merci de ta réponse Marc, merci aussi à Jean-Baptiste. Les deux techniques (Cinclude et flow-attr) fonctionnent bien. J'ai pris celle que tu m'as proposée (Cinclude) parce que j'avais aussi à inclure du contenu dynamiquement. Sans vouloir abuser, sais-tu si les Cinclude posent un problème

Re: Ambiguous Java class Import!

2007-02-22 Thread Thomas Scheithauer
Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Récurérer un attribut de session da ns le src d'un JXTemplate

2007-02-21 Thread Patrick Thomas
Bonjour, Pardon de faire encore appel à vous pour une question basique, mais je m'emmêle un peu les crayons dans les différentes technos proposées par Cocoon. Je fais une petite appli de lecture/abonnement à des flux rss. L'exemple de syndication donné dans les cocoon/samples est statique

Re: Matcher parameter

2007-02-19 Thread Thomas Markus
Hi, use {../1} Gajo Csaba schrieb: Hello, I have a login page. If the user logs in, he can visit all the pages he was visiting before, except a different stylesheet will be used to generate the pages. The matcher matches *.html. The problem I'm having is that the {1} parameter I'm using

Re: Matcher parameter

2007-02-19 Thread Thomas Markus
you got it :) Gajo Csaba schrieb: That's great! Thanks, I was trying to figure it out for hours. :) Does the .. mean I'm going up one tag? So, for example, if a tag is embedded in 4 levels, then I have to write {../../../1} ? Thanks, Csaba

Re: Need help to localize images

2007-02-15 Thread Thomas Detoux
, because a user with a non supported locale will see a *realy* ugly site with no picture and some randoms texts and background colors without understanding what the site is about ? Thanks again and have a good day, Thomas

Need help to localize images

2007-02-14 Thread Thomas Detoux
*. Where is my mistake ? what's wrong ? Is there a better way to internationalize pictures ? Thanks for reading me through the end, and thanks in advance for any answer, clue or help. regards. Thomas Detoux - To unsubscribe, e-mail

Re: Need help to localize images

2007-02-14 Thread Thomas Detoux
Thanks for your responses Grzegorz and Andrew. I will try both your solutions tomorrow morning as I'm out of work now but it seems to me that it will really help. Have a nice day Thomas - To unsubscribe, e-mail: [EMAIL

Re: A slash after a parameter in a a tag causes the tag to be dropped.

2007-01-28 Thread Thomas Markus
that happens if your stylesheet has no matcher but content is copied. sounds that a stylesheet has a matcher for urls without a / at the end. Antonio Magni schrieb: I tried the to use the html serializer instead, but the problem persists. OK, so here are the details of the mistery: 1) The

Re: A slash after a parameter in a a tag causes the tag to be dropped.

2007-01-26 Thread Thomas Markus
Hi, if you use lenya (looks like) then try use html serializer instead of xhtml in your publication-sitemap thomas Antonio Magni schrieb: I make use of parameters generated from a sitemap map:parameter name=root value={page-envelope:context-prefix}/{2}/{3}/ from the .xsl file

Re: xsl:message output

2007-01-23 Thread Thomas Markus
Hi, System.err is default. check your webserver log or console thomas Steven D. Majewski schrieb: Where does the output of an xsl:message in a stylesheet in cocoon go ? I've looked in cocoon.log and all of the other log files I could find, but no trace. I'ld like to use it for debugging

Re: [contrib] Cocoon editor

2007-01-23 Thread Thomas Markus
maybe its easier to include the schema and use a schema aware xml editor (or dtd) thomas Olivier schrieb: Grzegorz Kossakowski wrote: Olivier napisał(a): Hi all happy new year, I' ve started few months ago to build a sitemap cocoon editor as an eclipse plugin. My first goal was to play

Deux questions basiques de débutant

2007-01-17 Thread Patrick Thomas
Bonjour, J'ai commencé Cocoon la semaine dernière. Autant dire que mes questions ne vont pas voler très haut... 1. Dans les différents sitemaps et sous-sitemaps du site, quelle est la meilleure manière de faire appel à un même fichier ? en relatif: src=../../rep/fic.xsl

Re: map parameter wildcard

2006-12-12 Thread Thomas Markus
hi, try to use {../1} thomas 許議中 schrieb: Hi! I've a sitemap map:match pattern=protected-* map:act type=auth-protect map:parameter name=handler value=demohandler/ map:generate src=cocoon:raw:/{1}.content/ map:transform type=session

Re: Transformer and SAXstream

2006-12-08 Thread Eiko Thomas
Why do you want convert it to DOM? Eiko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Transformer and SAXstream

2006-12-08 Thread Eiko Thomas
Hi Rachid, in one part of my application I must do a similar thing. I did write a transformer that caches all SAX events in StringBuffer as XML content. In 'endDocument' I use this StringBuffer to write a file in the file system. I think you could use the StringBuffer to create the input for your

Re: Sending a resulting XML document to another pipeline

2006-12-01 Thread Eiko Thomas
Hi Bertrand, why do you don't use a map:redirect-to uri=cocoon:/something/? But attention, don't use the serializer before this call, and use no generator in the 'something' matcher. If you want to group your code you can also use resources and call them with map:call resource=doSomething/

Re: Make a transformation with an XML document types by a user

2006-11-29 Thread Eiko Thomas
Hi Bertrand, you can write your own generator with using XSP. Let a XSP page extract your request parameter an print it in the document. That's maybe not the smartest way, but it will work. Greetings Eiko - To unsubscribe,

Re: forms binding for enum

2006-11-27 Thread Eiko Thomas
Hi Jan, it seems me that a implementation of 'AbstractJavaSelectionList' can also implements 'org.apache.avalon.framework.context.Contextualizable' ... This interface declares a 'contextualize' method with a 'org.apache.avalon.framework.context.Context' parameter. You can save the context in

Re: best practice for configuration

2006-11-25 Thread Eiko Thomas
Hi Mark, thank you for your comments. Sometimes it's better to know more than one way ... I like the idea with the link. Unfortunately I got also some Windows installations. To this moment I didn't know the 'PropertiesFileModule'. Maybe I should better read the related documents ;-) but I will

Re: best practice for configuration

2006-11-25 Thread Eiko Thomas
Hi Mark, to tell the truth I don't know JIRA until I did read your email. But in the meantime I got my own account. Really nice site :-)) And I think if I more familiar with it ( maybe tomorrow ;-)) I will post something. Greetings Eiko

best practice for configuration

2006-11-23 Thread Eiko Thomas
Hi list members, in my first year of develop with cocoon I used the 'cocoon.xconf', sitemap global variables and a own configuration files (with XMLFileModule) to provide parameter for my Components and XSL stylesheets. This configurations contains also customer specific data. Unfortunately I

Re: how to load balance in a portal

2006-10-28 Thread Thomas Soddemann
Hi 許議中, which application container are you using? Many application containers support clustering. With their clustering facility you can keep session intact and I guess that's what you are looking for. Cheers, Thomas 許議中 wrote: Hi! I want to do a loadbalance in a portal because of heavy

Re: Any experience with SOAP Server WITHOUT Axis ?

2006-10-10 Thread Thomas Soddemann
Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Hi Andreas, what about xfire http://xfire.codehaus.org E.g., it can be used in conjunction with xmlbeans. Cheers, Thomas

Hans Thomas Nordeck istaußer Haus.

2006-10-10 Thread Hans-Thomas . Nordeck
Ich werde ab 11.10.2006 nicht im Büro sein. Ich kehre zurück am 16.10.2006. Liebe Kunden - und alle, die es werden wollen, die Juwi MacMillan Group hat den Abflug gemacht - für drei Tage zum jährlichen Teammeeting. Wir wollen damit unserem gesamten Team, das sich auch in diesem Jahr mit

Re: SOAP and Basic Authentication

2006-07-27 Thread Thomas Soddemann
. E.g. have a look at http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html#AA The Web Services Proxy Generator supports different style of authentication, but you can also use Axis directly. How do you intend to access the WS? Cheers, Thomas

Re: SOAP and Basic Authentication

2006-07-27 Thread Thomas Soddemann
Hi again, I fear I am not too familiar with the soap logicsheet. I would guess that you can specify password and username as attributes in the soap:call element since the underlying Axis Call object supports them. Sorry, Thomas Sayers Ken, NY wrote: From an xsp. Regards, Ken Sayers FJA

Re: Restrict access to parts of sitemap

2006-07-20 Thread Thomas Soddemann
). Depending on the security modul employed, additional informations are shipped with each HttpRequest or set in the session. Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Kill the cache?

2006-07-06 Thread Thomas Markus
=org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline/ /map:pipes or you remove the caching type und you got failures if somewhere a caching pipeline is defined Thomas [EMAIL PROTECTED] schrieb: This whole situation of cocoon caching other contexts is unacceptable. How do I kill the cache mechanism

Re: Caching jx with flow (WAS: Is use-store needed when using XSLTC ?)

2006-07-03 Thread Thomas Markus
Hi, it would be very helpful to have this inforrmations at one place. thx Thomas Ard Schrijvers schrieb: Hmmm, I hoped my mails would be so clear that it is not needed anymore :-) But your right, I probably should, but it takes a lot of time and effort to write it down really well

Re: Cocoon Action SingleThreaded

2006-06-27 Thread Thomas Markus
) Thomas Doug Herold schrieb: I was wonder If someone cloud answer a quick question for me. * public *class* StudentViewAction *extends* AbstractAction *implements* SingleThreaded { * If two different users (they are in seperate sessions) login to our website and click a link that calls

Re: how to access a database RESTfully

2006-05-23 Thread thomas
be the easiest way to get going, but maybe I'm wrong. Thanks again, Thomas [1] http://openrdf.org/doc/sesame2/system/ch08.html --On Montag, 22. Mai 2006 17:40 Uhr -0400 [EMAIL PROTECTED] wrote: Hi Thomas, In order to RESTfully interact with a resource, you will need two pieces of information

how to access a database RESTfully

2006-05-22 Thread thomas
I can't. Thanks for any help, Thomas . mailto:[EMAIL PROTECTED] http://stray.net .. early optimization is the root of many evil donald e. knuth ... Ab 1948 lehrte Turing an der Universität in Manchester. 1952 schrieb er ein Schachprogramm. Ohne über einen Computer mit genügend Leistung zu

Re: NPE when styling a textarea

2006-05-18 Thread Thomas Soddemann
Hi Kaj, we use it and do not have any problems. Sorry, Thomas Kaj Kandler wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oh my god! This has been raised in the developer list pre 2.1.8 release as a regression issue. http://www.mail-archive.com/dev@cocoon.apache.org/msg35389.html

Re: Fop block needs xsp ?

2006-05-17 Thread Thomas Limp
hi, since it says An error has occured org.apache.avalon.framework.configuration.ConfigurationException: Type 'serverpages' is not defined for 'generate' at the problem is, that the samples use the serverpages _generator_. fop is used for (some!?) _serializer_. so, i guess, xsp (used as

Hans Thomas Nordeck istaußer Haus.

2006-04-04 Thread Hans-Thomas . Nordeck
Ich werde ab 04.04.2006 nicht im Büro sein. Ich kehre zurück am 28.04.2006. Meine Mails werden von meiner Vertretung bearbeitet. In dringenden Fällen können Sie sich direkt an Michael Frankfurter ([EMAIL PROTECTED]) oder Kristina Wichmann ([EMAIL PROTECTED]) wenden.

Re: wikis

2006-03-31 Thread thomas
. And it's quite feature-rich. Ciao Thomas . mailto:[EMAIL PROTECTED] http://stray.net .. early optimization is the root of many evil donald e. knuth - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

XML:DB user authentification

2006-02-27 Thread Thomas Soddemann
Hi folks, is there a way to speficy the username and password within the XML:DB pseudo protocol? Thanks, Thomas -- -- Dr. Thomas Soddemann | Boltzmannstrasse 2 Projects Engineer| 85748 Garching Rechenzentrum der MPG| Germany

Re: XML:DB user authentification

2006-02-27 Thread Thomas Soddemann
, since it is also possible to modify user accounts via the XML:DB UserManagementService (at least if the admin password has not been set ;)). So in general, does anybody know how to set the user when talking to a db via XML:DB? Regards, Thomas P.S.: In all cases, the database is stand alone (remote

Re: XML:DB user authentification

2006-02-27 Thread Thomas Soddemann
into the XML:DB pseudo protocol as well? Thanks anyway, Thomas Thomas Soddemann wrote: Thanks, the targeted db is currently eXist, but may also be some other like Tamino in future. With xmlrpc everything works fine. When using the XML:DB API the user 'guest' is selected by default in eXist. My hope

  1   2   3   >