continuations

2006-02-13 Thread Jan Hoskens
Hi, I have a flow in which I create a form. When this form is displayed, I like to keep the continuation to stay alive for as long as the user is filling in that form (which can take more than one hour, depends on how many times the user is refilling his cup of tea or coffee, and how many

Re: continuations

2006-02-13 Thread Jan Hoskens
storage. Kind Regards, Jan Regards, Gunter D'Hondt Jan Hoskens [EMAIL PROTECTED] 13/02/2006 10:29 Please respond to users@cocoon.apache.org To users@cocoon.apache.org cc Subject continuations Hi, I have a flow in which I create a form. When this form is displayed, I like to keep

Re: continuations

2006-02-13 Thread Jan Hoskens
Gunter D'Hondt wrote: I don't want my sessions/continuations to have long time-out periods for security reasons. It's ok to have them log in again if their session is timed out after eg a half hour. But then again, when they are editing a form, this

Re: Advice on site design - really close

2005-07-20 Thread Jan Hoskens
footh wrote: I read about flow before and in fact I intended ot use it once I got this supposedly basic part of the site resolved. Anyway, I re-read the documentation and I can't seem to find out how it would help the situation described below. How can I use flow logic combine 5 pages that

Re: Javascript and xsp --- Possible bug??

2005-04-29 Thread Jan Hoskens
Is it somehow remotely possible that you are using an xml serializer to produce the html page(or xhtml)? Does the script tag appear as one element in your html page script .../ ? If so, you might want to read this: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=111088309324290w=2 In short:

Re: [Auth-FW] Edit authentication/data nodes

2005-04-05 Thread Jan Hoskens
Hi, When I first used cocoon, I had xsp's all around. If I remember correctly, I did something like this to get the value from the authentication session: xsp:page xmlns:xsp=http://apache.org/xsp; xmlns:xsp-session-fw=http://apache.org/xsp/session-fw/1.0; xsp:logic String email

Re: Pass a request paramter to a custom generator

2005-04-05 Thread Jan Hoskens
try map:parameter name=schnirkel2 value={request-param:xfacename} / that should work. Look for inputmodules in the docs: http://wiki.apache.org/cocoon/InputModules?highlight=%28inputmodules%29 Kind Regards, Jan Mattom wrote: hi all ! Sorry if i missed some documentation, but I after spending an

Re: [Auth-FW] Edit authentication/data nodes

2005-04-05 Thread Jan Hoskens
will be enough. If you need xml storage or want to have separate spaces for different goals/apps you might want to use contexts. Well that's my point of view of course, ;-) Kind regards, Jan Regards, Phil Jan Hoskens wrote: Hi, When I first used cocoon, I had xsp's all around. If I remember correctly, I did

Re: Problem with stylesheets

2005-04-05 Thread Jan Hoskens
So everything's fine but the scripttags? They are not appearing in the html source? A few things to check: - it's possible that the xsl matcher doesn't match the correct namespace. If nothing is appearing between the head section, try to add the namespace in the forms stylesheet template(look in

Re: Problem with stylesheets

2005-04-04 Thread Jan Hoskens
Maybe this is because the forms stylesheets try to match with a html document to add the styles and javascripts. When no html header element is found, the mentioned elements are not included in the final page. Look into the stylesheets templates to see where the scripts/styles are added. One

Re: textarea in xhtml

2005-03-15 Thread Jan Hoskens
Hi, There's a little bit more you need to know about textarea and xhtml. Try to follow me on this one ;-) If you are getting problems with a textarea under IE(or another browser) it's because you think you are serializing to xhtml but in fact you're sending plain html. First you need to know

Re: session context

2005-02-15 Thread Jan Hoskens
, try to extract that piece (eg as the last example). Kind Regards, Jan Jan Hoskens [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] If you're only goal is to show the profile you stored in the session context, you can retreive it with the session transformer and then process the data

Re: cocoon 1.6, binding framework and cache...

2005-02-14 Thread Jan Hoskens
Christoph Hermann wrote: Marc Salvetti schrieb: Hello, map:match pattern=*cruise* map:call function=handleForm map:parameter name=documentURI value=xdocs/planning/cruise{2}.xml/ When browsing, the cache system seems to get stuck on one of

Re: session context

2005-02-14 Thread Jan Hoskens
When the user is authenticated, you can use {ID} and {ROLE} in your sitemap: !-- taken from http://cocoon.apache.org/2.1/developing/webapps/authentication.html at the bottom -- map:match patternprotected map:act type=auth-protect !-- protect the resource -- map:parameter name=handler

Re: session context

2005-02-14 Thread Jan Hoskens
it is better to do this? In xsl like: xsl:template match=editProfileLink Here goes html code for this link with added params from session /xsl:template or directly in xml doc? Im confused about this :) thx in advance... Jan Hoskens [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] When the user

Re: Access UserId in a JX page without Authentication-handler

2005-02-07 Thread Jan Hoskens
gioni wrote: Christoph Hermann wrote: Hello, on some pages i want to display a login-form wheter the User is logged in or not. Therefore i need to know if the User is logged in. Is there a way i can do this when the page i server is not enclosed in a map:act type=auth-protect ? I tried

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
beyaRecords wrote: Hi, I was just wondering if there are any cocoon heads out there who have access to an I.E browser on an windows platform that can tell me whether my site is visible when accessed from the browser? http://www.beyarecords.com Yes, I can see your site properly on my winxp with

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
/doctype-public doctype-systemhttp://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd/doctype-system encodingUTF-8/encoding /map:serializer Kind Regards, Jan beyaRecords wrote: On 27 Jan 2005, at 10:43, Jan Hoskens wrote: public class XMLSerializer extends org.apache.cocoon.serialization.XMLSerializer

Re: transformation from XML to excel only works with one element set

2005-01-27 Thread Jan Hoskens
You might want to try this: gmr:Cells xsl:apply-templates select=page/content/rowset/row xsl:with-param name=rowposition select=position()/ /xsl:apply-templates /gmr:Cells and then use xsl:param name=rowposition/ where you need to set Row= instead of re-counting

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
wrote: On 27 Jan 2005, at 10:43, Jan Hoskens wrote: public class XMLSerializer extends org.apache.cocoon.serialization.XMLSerializer { public void endPrefixMapping(String prefix) throws SAXException { // do nothing } public void startPrefixMapping(String prefix, String uri

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
At first sight, everything should be fine. A few things you can check: - your custom serializer doesn't contain any super.blablah(..) - the mentioned pipeline is the correct one and is called on its own. No other pipelines calling/including this one? Try altering the page to be sure it's the

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
beyaRecords wrote: On 27 Jan 2005, at 14:13, Jan Hoskens wrote: - your custom serializer doesn't contain any super.blablah(..) - the mentioned pipeline is the correct one and is called on its own. No other pipelines calling/including this one? Try altering the page to be sure it's the correct

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
beyaRecords wrote: On 27 Jan 2005, at 15:25, Jan Hoskens wrote: What about a simple test with a page containing nothing but a few xmlns namespaces, running it through the html serializer once, check if there are xmlns (there should be) and then replace that serialzer by your customserializer

Re: jxtemplate: cocoon.request.locale??

2005-01-20 Thread Jan Hoskens
The variables ${cocoon} and ${cocoon.request.locale} should have values. (if I use them in my jx, I do get an object/locale) Are you using jx correctly (generator type=jx, or transformer)? Can you give more information regarding the context? Kind Regards, Jan oceatoon wrote: by looking at the

Re: Another fw-auth question

2005-01-12 Thread Jan Hoskens
You're using the cocoon:raw protocol, this means no request-params are passed to your handler: snip You might be wondering why we explicitly pass the request parameters on to the internal pipeline call. Note that the authentication resource of the portalhandler is defined by cocoon:raw. By

Re: repeater widget and binding

2005-01-10 Thread Jan Hoskens
Have you looked at the samples that ship with cocoon? There are a number of examples which use a repeater. Look for the Forms folder under your webapp: \samples\blocks\forms\ and browse the dirs there. If the samples are not clear, try to ask more specific questions and include your own

Sessioncontext/authenticationcontext + JX

2005-01-06 Thread Jan Hoskens
Hi, As I'm trying to reduce/replace my XSP pages (mainly) by switching to flow/jx I was experimenting on how I could grab some information from a sessioncontext and my authenticationcontext. I had an Info XSP page with a pipeline that's used by my overal page layout (think of user info that's

Re: Chaining

2005-01-06 Thread Jan Hoskens
Mark Donnelly wrote: Sorry but my question was incorrectly stated. A standard pipeline with a transform and a serialise will take care of the problem I originally posted. What Im wondering is if I need to do multiple transformations, ie transform an XML doc using two or more different XSLT docs.

Re: Dynamic CInclude

2005-01-04 Thread Jan Hoskens
Gaston Martini wrote: Hi, We're using CInclude for caching purposes and we need to specify its src attribute dinamically, i.e. the value of src is not known in advance. We tried some combinations with xsp:expr, with no luck. For example, trying to output the entire cinclude:

Re: how to POST http to a servlet?

2005-01-03 Thread Jan Hoskens
Harry Stangel wrote: How can I use Cocoon to POST (not GET) an http request to a servlet? Best, Harry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] I use the following to post a

Re: File system access in flowscript

2004-12-20 Thread Jan Hoskens
When accessing a file, you need to resolve it's uri. Resolving will suffix a path the same way as used in the sitemap. eg: in your webapp's sitemap you use pages/mywelcomepage.xml mywebapp/pages/mywelcomepage.xml mywebapp/sitemap.xmap then resolving will add the whole path /.../mywebapp/ in

Re: Request parameters form flow script to jx

2004-12-19 Thread Jan Hoskens
First thing you need to do is check your version of Form.js. It should be something like cocoon.load(resource://org/apache/cocoon/forms/flow/javascript/Form.js); but may vary at the end with v2/Form.js or v3/Form.js. If you're using v2, then you're definitely in trouble, as this version doesn't

Re: Invalid Continuation ID

2004-12-13 Thread Jan Hoskens
Upayavira wrote: Jan Hoskens wrote: I've let him log out of the system (even restart the browser) but he still got the same error on that one form, but not on the other forms. I cannot reproduce this error, but I guided the person through some basic tests by phone conversation. This way I

Re: Invalid Continuation ID

2004-12-12 Thread Jan Hoskens
the same continuation ID embedded within the form he's looking at. What happens if he logs out of the site, goes back in and finds his way to the faulty form. Does it still not work? Regards, Upayavira Jan Hoskens wrote: Hi all, I have a site working with cocoon 2.1.5 and cforms. everything

Invalid Continuation ID

2004-12-10 Thread Jan Hoskens
Hi all, I have a site working with cocoon 2.1.5 and cforms. everything appears to be fine, but today someone tried to access a particular form and got the following exception: ERROR (2004-12-10) 11:21.46:174 [sitemap.handled-errors]

Re: Getting Authentication info

2004-12-09 Thread Jan Hoskens
Hi, You can get your context-related sessions through the ContextManager: http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/webapps/session/ContextManager.html Here you can manage all your session context stuff through the SessionContext object:

forms v2

2004-12-08 Thread Jan Hoskens
Hi, I'm currently using forms.js v2 for one of my sites. This because I need the ability to create a form with a Node, not with a URI. This did help me at that time, but now I need to pass some bizdata to the form.showForm() function and it seems like v2 does not have a bizdata parameter and

Re: Manipulating the DOM in flowscript

2004-11-26 Thread Jan Hoskens
try this: var root = document.getDocumentElement(); And then operate on that root eg: var node = document.createElement(myelement); root.insertBefore(node,root.getFirstChild()); root.appendChild(node); Kind Regards, Jan Derek Hohls wrote: Simple question; I need to extract/change data coming from

Memory usage

2004-11-23 Thread Jan Hoskens
Hi, I'm working with cocoon 2.1.5. Yesterday I had some problems rendering a pdf (fop). As I had some trouble before with memory usage, I know that I'll have to check the size of the memory again. But I didn't have any problems rendering pdf before. Now today I just restarted the tomcat and

Re: JXTemplate test condition

2004-11-22 Thread Jan Hoskens
You need to set the complete jexl expression in the curly braces , and if working with strings, I prefer .equals(): jx:when test=${value1.equals('1') and not(value2.equals('2'))}/ use and/or/not as operators (more on this at:

JXtemplate session-context

2004-11-10 Thread Jan Hoskens
Hi, Is there a way to get session-context information in JXTemplateGenerator? I know there's a session, but what if I need to retrieve the ID from the authencation context? (context=authentication and path=authentication/ID) Kind Regards, Jan

Re: JXtemplate session-context

2004-11-10 Thread Jan Hoskens
- it's a mere formatting language. You can, of course, retrieve this information in your flow script and pass it to jxt using normal template parameters. (You can also pass complex objects like the complet authentication context, for example) HTH, Johannes Jan Hoskens wrote: Hi, Is there a way

getComponent / Release Component

2004-11-04 Thread Jan Hoskens
Hi, When editing my flowscript, I notice that there are some components that are used a lot. Eg: var resolver = null; var filesource = null; try { resolver = cocoon.getComponent(Packages.org.apache.cocoon.environment.SourceResolver.ROLE); filesource = resolver.resolveURI(uri);

Forms, writing extra info

2004-11-03 Thread Jan Hoskens
Hi, I have several cforms that connect to xml documents. These may contain default values. If a user changes a value, an attribute changed will be set on that value-element and on the document-element. To accomplish this, I have to set javascript bindings for each value looking like:

Re: Forms, writing extra info

2004-11-03 Thread Jan Hoskens
Joerg Heinicke wrote: On 03.11.2004 13:44, Jan Hoskens wrote: If I leave out the old/new value test, it seems that it always gets saved. That might be a different behaviour between binding to beans and XML. Don't know exactly though. You mention event listeners/widgets. These are coupled

Re: attribute class in input field...

2004-11-02 Thread Jan Hoskens
If you want to style your textfield, do it with in template: ft:widget . fi:styling class=myCSSClass/ /ft:widget Kind Regards, Jan Roberto wrote: Dear Sirs, this is what I found in the form-field-styling.xsl file: xsl:template match=fi:field input name=[EMAIL PROTECTED] mailto:[EMAIL

Re: Finally figured out the memory settings for Windows server

2004-11-02 Thread Jan Hoskens
I got tomcat running with the following environment variables (system vars): CATALINA_OPTS = -Xmx512M -server -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -Xnoagent -Djava.compiler=NONE CATALINA_HOME = C:\app\Jakarta-Tomcat_4.1.29 TOMCAT_HOME =

Re: Finally figured out the memory settings for Windows server

2004-11-02 Thread Jan Hoskens
One other thingy: if you have tomcat installed, there may be a link in your start menu(depends on install version) but this isn't the same as running the startup.bat directly. (best to always use the latter) Jan Hoskens wrote: I got tomcat running with the following environment variables

Re: Xalan ESLT function date:date-add

2004-10-25 Thread Jan Hoskens
If you're trying to work with dates, you can use the java extensions in xalan. This way you can call any java stuff you need. namespace to include: xmlns:java=http://xml.apache.org/xslt/java; xsl:variable name=locale select=java:java.util.Locale.new('nl','BE')/ !-- Class.new creates new

Re: Problems with submit-on-change for the calendar widget

2004-10-20 Thread Jan Hoskens
[EMAIL PROTECTED] wrote: I'm having problems with getting the calendar widget to submit upon selecting a date. I've included the fi:styling submit-on-change=true / tag in the form template but this fails to submit the form. I've noticed that it does submit if you manually type a date in the

Re: cocoon internal server error

2004-10-14 Thread Jan Hoskens
What you tried to do is access a component from the web. If you want to use other matchers in your sitemap in your current pipeline, try cocoon:/write.xslt. Look at the wiki's for more about protocols: http://wiki.apache.org/cocoon/Protocols Kind Regards, Jan Janvier Majirus FANSI wrote: hi

Re: Changing the cocoon default date format

2004-10-14 Thread Jan Hoskens
Do you mean entering a date in the webbrowser? When setting a date in the definition with a specified format, this format is used for entering dates in the input fields of your browser. If you want your date format in your xml file (binded data source/destination) you need to set your binding

Re: CForms currency convertor

2004-10-14 Thread Jan Hoskens
If your given xml tag is to be binded to your form, the convertor is in the right place. If I remember correctly the convertors may be seen as follows: Convertor in binding - datasource is in specified format Convertor in definition - input in browser is in specified format Try fd:pattern

Re: CForms: immediate validation of input fields

2004-10-14 Thread Jan Hoskens
If I am correct, all stuff happens server-side. The fd:javascript will happen at the same moment as the other validations (meaning sever-side, on-submit). If you really want to have a client-side validation, you can try to set some extra stuff in your template: ft:widget id= ... fi:styling

Re: CForms: immediate validation of input fields

2004-10-14 Thread Jan Hoskens
a javascript-structure with the metadata of each field in it. Regards, Gunter D'Hondt. *Jan Hoskens [EMAIL PROTECTED]* 14-10-2004 10:17 Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Re: CForms: immediate validation of input fields If I am

Re: Changing the cocoon default date format

2004-10-14 Thread Jan Hoskens
/WoodyScratchpad Kind Regards, Jan Luca Garulli wrote: Can I define a global date format avoiding to specifing it everytime in definition mapping? Thanks. bye, Luca Garulli OrienTechnologies.com (the light ODBMS, all in one JDO solution) On Thu, 14 Oct 2004 08:53:17 +0200, Jan Hoskens [EMAIL

Re: Changing the cocoon default date format

2004-10-14 Thread Jan Hoskens
The stuff on the TimLarson (class, new, union, struct) page is available in cocoon 2.1.5 (and up I guess;-) Kind Regards, Jan Luca Garulli wrote: On Thu, 14 Oct 2004 11:31:32 +0200, Jan Hoskens [EMAIL PROTECTED] wrote: Global default dateformat setting? Not that I know of. I think they use

Re: aggregate takes too much time

2004-10-11 Thread Jan Hoskens
Have you tried different options? Besides the sitemap aggregation there are also some include transformators available: the XInclude and CInclude may do the same as the aggregation. Kind regards, Jan [EMAIL PROTECTED] wrote: Hi all, Aggregating xml in cocoon takes too much time. I try to

Re: aggregate takes too much time

2004-10-11 Thread Jan Hoskens
, Jan [EMAIL PROTECTED] wrote: XInclude is faster, but after several requests it slows down (don't know why) CInclude is as slow as map:aggregate. On Mon, 11 Oct 2004 08:30:01 +0200, Jan Hoskens [EMAIL PROTECTED] wrote: Have you tried different options? Besides the sitemap aggregation

Re: Boolean widget: accept int values

2004-09-29 Thread Jan Hoskens
You can always create a custom binding where you can map your own values to a boolean value and back. Look at the docs: http://cocoon.apache.org/2.1/userdocs/forms/binding.html#fb%3Ajavascript guess you need something like: fb:javascript id=foo path=@foo fb:load-form if

CForms v2

2004-09-24 Thread Jan Hoskens
Hi, I'm using forms.js v2 'cause I need the createForm with an element instead of uri. I just tried to use fd:submit buttons to be able to skip validation with certain submits. Nothing's wrong there, but as I previously worked with html submits (see old way) and used the same name

Re: CForms v2

2004-09-24 Thread Jan Hoskens
Hmm, just saw another message concerning the forms.js versions: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=109595761120738w=2 Guess I was just a bit too jumpy to mail this Jan Jan Hoskens wrote: Hi, I'm using forms.js v2 'cause I need the createForm with an element instead of uri. I just

Re: some doubts about developing with cocoon

2004-09-21 Thread Jan Hoskens
If your container is tomcat, then every webapp will be accessible through the name of its directory: (war's will be unpacked so it's the same thing actually, I work with the dir version, not the war) (Also note that tomcat can be substituted with almost any other container, I just used it here

Re: use tokens during flowscript call in a pipeline

2004-08-25 Thread Jan Hoskens
You are trying to access a parameter that's actually one level up, when going a level up you must use ../. Try {../1}/{../2}/{tempname} Sebastien Gabel wrote: Hi ! I'm surprised.and I'm going to explain my problem ; I would like to write a pipeline using action and flowscript : map:match

Re: XSP/output

2004-08-25 Thread Jan Hoskens
You probably want logging instead of plain output, to do this in XSP: getLogger().debug(your message here); Look for your logs under your cocoon/WEB-INF/logs directory. I guess it should pop-up in core.log or sitemap.log. (You can also use .info() , .warn() and .error() with that getLogger()

Re: container-encoding vs. form-encoding... bug?

2004-08-23 Thread Jan Hoskens
You should set the container-encoding to ISO-8859-1 and leave the form-encoding as UTF-8. If I remember correctly, the container-encoding is a thing introduced with servlet api 2.3 while cocoon was coping with 2.2 . The latter did pass everything in ISO and cocoon expects it to be ISO (will

Re: authentication-manager and application load

2004-08-19 Thread Jan Hoskens
I've just tried a little test (I never worked with applications in authentication before) This does work fine: sitemap snippets: authentication-manager handlers handler name=AuthenticationHandler redirect-to uri=cocoon:/login.html/

Re: Variable name

2004-08-19 Thread Jan Hoskens
Why do you want that hyphen? I would suggest to use normal java way of capitalization: mailUser = hello; Kind Regards, Jan Adriano Smith wrote: Is there any way i can use variable names with a hyphen in Flowscript?br br something like br var mail-user=hello;br br I get an error when i tried

Re: javascript in XSL

2004-08-17 Thread Jan Hoskens
If you want javascript libraries within your page the following should work: script type=text/javascript language=JavaScript src=resources/AnchorPosition.js; /script ( ; because empty element may cause some problems) If you still get the error ProcessingException, I suggest you leave your

Re: authentication-manager and application load

2004-08-17 Thread Jan Hoskens
When succesfully authenticated, a xml part should have been generated like: authentication ID/ role/ data some more fragments as you like /data /authentication Context of session is authentication In xsp use: xsp-session-fw:getxml

Re: [cforms] struct and class display

2004-08-13 Thread Jan Hoskens
Whenever you have a union widget, you need a case widget that holds the id of the currently chosen unionpart (struct) in its valuefield. You might understand it better with a little example: Lets say you have some heterogeneous repeater, some fields may contain input, other's just a value to

Re: passing sitemap parameters to XSP?

2004-08-11 Thread Jan Hoskens
xsp:page String id = parameters.getParameter(id, defaultvalue); /xsp:page Kind Regards, Jan Lars Huttar wrote: Dear Cocoonists, I'm trying to pass sitemap parameters to an XSP page: map:match pattern=data/language-entry/* map:generate src=sources/language-entry.xsp type=serverpages

Re: passing sitemap parameters to XSP?

2004-08-11 Thread Jan Hoskens
); No doubt I'm doing something wrong but don't know what else to try. Thanks again, Lars -Original Message- From: Jan Hoskens [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 7:20 AM To: [EMAIL PROTECTED] Subject: Re: passing sitemap parameters to XSP? xsp:page String id

Re: Encoding problems

2004-08-03 Thread Jan Hoskens
You may want to take a look at the wiki page: http://wiki.apache.org/cocoon/RequestParameterEncoding I had this problem a while ago: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=109100902605917w=2 I'm wondering what the best solution is and which encoding is preferred for handling special

Re: Authentication and matchers

2004-07-30 Thread Jan Hoskens
Try {../1} with the second one (don't know if your locale parameter needs this too, where does it come from? Needs to be {../../locale} if it comes from the same level as the 1) This ../ is needed whenever you have an extra level in your pipeline. The action is such a level so use ../.to go

Re: map:redirect-to...

2004-07-30 Thread Jan Hoskens
Have you tried another action? Is it possible that the action doesn't return a success/failure value? You may want to try an easy XSP action to verify that success/failure works: ?xml version=1.0 ? xsp:page xmlns:xsp=http://apache.org/xsp; xmlns:action=http://apache.org/cocoon/action/1.0;

Re: Any convenient way to embed external pages?

2004-07-29 Thread Jan Hoskens
You're right, you can use it on any url but it does need valid xml as response. Kind Regards, Jan taabpr wrote: Jan Hoskens wrote: To solve the first problem use the Web Service proxy generator in the Proxy block: map:generate type=wsproxy src= map:parameter name=wsproxy-method value

encoding problem

2004-07-28 Thread Jan Hoskens
Hi, I'm currently facing the following problem: I've set the encoding in my serializers to ISO-8859-1 and checked the web.xml file (utf-8 is in comment, defaults to the ISO-8859-1) Everything is ok (special chars in cforms offer no problem, saving the document with correct encoding) until I get

Re: Any convenient way to embed external pages?

2004-07-28 Thread Jan Hoskens
To solve the first problem use the Web Service proxy generator in the Proxy block: map:generate type=wsproxy src= map:parameter name=wsproxy-method value=POST/ /map:generate taabpr wrote: Hi all, It is a little bit connected with my previous mail (html generator with 'post'), but much

Re: Problem using an External Javascript file (My FIRST question ... so I hope someone can help !)

2004-07-28 Thread Jan Hoskens
However, when I replace it with an external file, containing EXACTLY the same details, Cocoon cannot find it (despite the inclusion of the reader below). A small remark: (hope u don't mind if I drop in) If cocoon does not find the file, there should be a logging (sitemap.log or so) where you

Re: Processing a particular pipeline before every other pipeline?

2004-07-28 Thread Jan Hoskens
Use the internal-only attribute: map:pipelines map:pipeline internal-only=true put every pipeline you don't want the user to access directly here /map:pipeline map:pipeline map:match pattern=** do whatever you need as actions that's needed for each internal

Re: New wiki - impressions?

2004-07-05 Thread Jan Hoskens
David Crossley wrote: Stephan Michels wrote: I have the same impression. The content is much less readable. In what way? I gather colours and fonts and stuff can be customised. Read the MoinMoin documentation. I miss the navigation panel on the left side Me too, but i don't think

Re: New wiki - impressions?

2004-07-05 Thread Jan Hoskens
David Crossley wrote: Jan Hoskens wrote: David Crossley wrote: Stephan Michels wrote: I miss the navigation panel on the left side Me too, but i don't think that we can have one (i could be wrong). It's possible, look at: http://moinmoin.wikiwikiweb.de/ThemeMarket

Re: [CocoonForms] Disable Calendar

2004-06-21 Thread Jan Hoskens
The tag fi:styling type=date ../ is responsible for the layout on your page. You can find the styling in the stylesheets that come with cforms. The date styling in particular can be found in forms-calendar-styling.xsl. You've got several options: create your own styling type, change the cforms

Re: match patern=/

2004-06-01 Thread Jan Hoskens
You should mention your port with your host (host:portnumber), something like http://localhost:8080/ should do the trick, if not, your port will be different, so look it up in the configuration of your server (tomcat/jetty...) Then make sure you're pointing to the correct webapp, under tomcat

Re: Large documents - OutOfMemoryError with Tomcat but not Jetty!!!

2004-06-01 Thread Jan Hoskens
I'm no expert in this, but what's your exact memory amount you've tried? I'm using CATALINA_OPTS=-Xmx384M and that works fine with me, although my pdf documents aren't that big. I also had a small problem that the tomcat that I installed: it created a shortcut in my program files that did not

Re: disabling widgets in CForms

2004-05-18 Thread Jan Hoskens
A while ago I created an extra template in my woody (cforms) to show/not show a group of widgets if a checkbox is clicked. It may give you something to begin with: This template goes in your woody/cform stylesheet or create your own stylesheet and let this stylesheet include the other

Re: disabling widgets in CForms

2004-05-18 Thread Jan Hoskens
le.display == "none") { gr.style.display = "block"; } else { gr.style.display = "none"; } } } ----- Original Message - From: Jan Hoskens To: [EMAIL PROTECTED] Sent: Tuesday, May 18, 2004 9:02 AM Subject: Re: disabling widgets in CForms

Cforms/woody group

2004-05-18 Thread Jan Hoskens
Hi, I'm using cocoon 2.1.4 release. When using a wi:group/ with woody(cforms) I want to have a label wi:widget-label id=... For some reason, the label isn't shown, if I omit the group I get all my labels (and fields) but when surrounding it with: wi:group ... wi:items wi:widget-label id=../

Re: Getting additional user's information from session object (authentication framework problem)

2004-05-17 Thread Jan Hoskens
I'm using the authentication framework too, but to get something from the session, I use session-fw: xmlns:xsp-session-fw=http://apache.org/xsp/session-fw/1.0 xsp:logic String roleFrag = xsp-session-fw:getxml as="string" context="authentication" path="/authentication/role"/;

CForms radiobuttons

2004-05-13 Thread Jan Hoskens
Hi, I'm coping with the following situation: a mix of radiobuttons and fields, eg: * option 1 * option 2 [textbox] * [textbox] * option 3 [listbox] think of something like: your favourite drink : * milk * wine, especially [chardonay] (textbox) * coffee [with milk|with sugar| with milk and

[CForms][Woody] Calendar FYI

2004-05-05 Thread Jan Hoskens
I don't know if it's already said done, but I'm working with cocoon release 2.1.4 and there was a slight problem with the calendar. When using the calendar under mozilla browsers, it shows at the top of the page, not at the correct location (as in contrast to IE). I fixed this by simply setting a

Re: Using JXTemplates\JXForms at the same time?

2004-04-30 Thread Jan Hoskens
As far as I know, JXTemplates are used to include data. It can do simple things with passed data. From cocoon, some special objects available such as request/session etc, and from flowscript, whatever you pass as bizzdata. Logic is available to handle and format the data. XSP however lets you

Re: jpath transformer

2004-04-23 Thread Jan Hoskens
I've not yet heard of a jpath transformer, where did you find it? I do know that there's an xsp logicsheet "jpath" that you may use, especially for use with flow. There's another transformer which does jpath/jexl stuff, but that's the JXTemplateTransformer.

Re: Passing parameters to aggregation parts

2004-04-23 Thread Jan Hoskens
When calling a pipeline, you can't pass parameters (As far as I know).I had the same problem a while ago. I then just passed the parameters asrequest parameters by callingsrc="". Another option is to setyour parameters in a session by invoking an action before generatinganything. Though I

Re: jpath transformer

2004-04-23 Thread Jan Hoskens
transformer Jan,the transformer I mentioned is:map:transformer logger="sitemap.transformer.jpath" name="jpath" src=""/PeterOn 23 Apr 2004, at 07:14, Jan Hoskens wrote: I've not yet heard of a jpath transformer, where did you find it? I do know that there's

Re: ProblemspassingparameterstoXSP

2004-04-21 Thread Jan Hoskens
When calling another pipeline, you can't pass parameters (As far as I know). I had the same problem a while ago. I then just passed the parameters as request parameters by calling src=cocoon:/Pipeline/mypage.jsp?firstparam={1}. Another option is to set your parameters in a session by invoking an

Re: sitemap problem

2004-04-21 Thread Jan Hoskens
I'm using flow and I have the same configuration except for your map:flow-interpreters tag. Try omitting that tag, maybe that helps. Kind Regards, Jan - Original Message - From: Vlad Ali [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 9:07 PM Subject: sitemap

Re: redirect problem with flowscript : No pipeline matched request: safe_user_area

2004-04-21 Thread Jan Hoskens
As found on http://cocoon.apache.org/2.1/userdocs/flow/api.html To send: cocoon.sendPage("mypipeline", {} ); I think the function expects a biz data (bean) to be delivered (thus two parameters, not one), so just give {}. To redirect: cocoon.redirectTo("mypipeline"); Kind Regards, Jan

Re: Sendmail question

2004-04-21 Thread Jan Hoskens
Maybe you should consider another way (non XSP). I have some long-duration tasks which include email a result to different addresses. I do this by calling flowscript, setting everything up (configs/parameters) and then launching a thread. At the end of this thread, I use java mail to send emails.

  1   2   >