EJB access

2005-09-12 Thread Carlos Dias
()); dbn1Model.remove(); } catch(Exception e){ log.error(e.getMessage(), e); } return EMPTY_MAP; } } From what I can see from jboss logs I can't reach the bean. What I'm doing wrong? Thanks, Carlos Dias

Test session attribute in sitemap

2005-07-13 Thread Carlos Dias
=param value=session-language/ map:parameter name=session-language value=pt/ /map:act /map:when /map:select But don't work. Thanks in advance, Carlos Dias - To unsubscribe, e-mail: [EMAIL

Zip attach file

2005-01-26 Thread Carlos Dias
name=email:body xsl:value-of select=//email-scheduler/email-default-values/body/ /xsl:element /xsl:element /xsl:template I read the zip archive serializer but don't know if this is the answer to my problem. Thanks in advance, Carlos Dias

Pipe-aware Selectors

2004-10-13 Thread Carlos Dias
orm src=""/ /map:when map:otherwise map:transform src=""/ /map:otherwise /map /map The subject was already discuss in the dev-list (http://www.mail-archive.com/[EMAIL PROTECTED]/msg13883.html)but seems that hasn't bean developed. Can anybody help me?! Thanks in advance, Carlos Dias

Read web.xml

2004-10-07 Thread Carlos Dias
A simple question... how can I read the web.xml file? My goal is to get the value of the initial parameters. Thanks, CDias

Re: Unwanted white spaces in xsl:attribute

2004-09-16 Thread Carlos Dias
=$level/-xsl:value-of select=$theme/- ... /xsl:attribute :) Rui On Thu, 2004-09-16 at 16:57, Patrick Verboom wrote: Carlos Dias wrote: Hi! I know this is faq... but I hadn't found a nice solution for this kind of problems. My xslt is: xsl:element name

Check if session is valid

2004-04-27 Thread Carlos Dias
ion class to define in the exception selector. Thanks in advance, Carlos Dias

Re: Passing parameters to aggregation parts

2004-04-23 Thread Carlos Dias
It's something like: map:match pattern=test-*-* CDias - Original Message - From: Jorg Heymans [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 22, 2004 10:03 PM Subject: Re: Passing parameters to aggregation parts what does your map:match look like? Carlos Dias wrote

Re: Passing parameters to aggregation parts

2004-04-23 Thread Carlos Dias
Thanks Jan... I will try it... CDias - Original Message - From: Jan Hoskens To: [EMAIL PROTECTED] ; Carlos Dias Sent: Friday, April 23, 2004 8:23 AM Subject: Re: Passing parameters to aggregation parts When calling a pipeline, you can't pass parameters

Passing parameters to aggregation parts

2004-04-22 Thread Carlos Dias
e="app_id" value="{2}"/ /map:part/map:aggregate When I try to access the "user_id" and "app_id" inside the XSP file the values are null, but I know that the values are not null. I never see an example of passing parameters to the parts of an aggregation, but it seems to make sense. Thanks in advance, Carlos Dias

Re: Passing parameters to aggregation parts

2004-04-22 Thread Carlos Dias
Jorg, Thanks for the answer, but still doesn't work!! CDias - Original Message - From: Jorg Heymans [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 22, 2004 6:35 PM Subject: Re: Passing parameters to aggregation parts Carlos Dias wrote: Hi, In my sitemap a have

Problems passing parameters to XSP

2004-04-20 Thread Carlos Dias
al1val2xsp:expruser_id/xsp:expr/val2/xsp:logic/select The xsp can't pull the parameters. The result is an empty string. I already try to use the parameters.getParameter("paramname") but the problem is the same. Can anybody tell me what's wrong here?! Thanks, Carlos Dias

Re: Problems passing parameters to XSP

2004-04-20 Thread Carlos Dias
ern="*.jsp"map:generate src="" type="jsp" mime-type="text/html"/map:serialize/ /map:match Can anybody tell me the changes that needs to support parameters? Carlos Dias - Original Message - From: Jan Hoskens To: [EMAIL PROTECTED] ; Carlo

Re: ProblemspassingparameterstoXSP

2004-04-20 Thread Carlos Dias
anybody tell me what's wrong here?! Thanks, Carlos Dias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: ProblemspassingparameterstoXSP

2004-04-20 Thread Carlos Dias
is an empty string. I already try to use the parameters.getParameter(paramname) but the problem is the same. Can anybody tell me what's wrong here?! Thanks, Carlos Dias - To unsubscribe, e-mail: [EMAIL

Re: ESQl and Stored Procedures

2004-04-16 Thread Carlos Dias
Leon and Christopher, Thanks for the tips... I try a simple update query using esql and works fine. So I guess that my problem has something to do with calling the stored procedured or with the tags that fallows the call. Carlos Dias - Original Message - From: Christopher Painter

ESQl and Stored Procedures

2004-04-15 Thread Carlos Dias
ate_bookmark_list_xsp: org.apache.cocoon.components.language.LanguageException: Could not load class for program 'org/apache/cocoon/www/cubenavigator/generators/dynamic/xsp/update_bookmark_list_xsp' due to a java.lang.ClassNotFoundException: org.apache.cocoon.www.cubenavigator.generators.dynamic.xsp.update_bookmark_list_xsp) Can anybody tell me what's going on?! Thanks in advance, Carlos Dias

Re: Sql type for request parameter with multiple values

2004-04-13 Thread Carlos Dias
Thanks Christopher for the answer, but how can I convert the parameter enumeration to an array inside the sitemap?! Can I use the RequestParamAction action?! Thanks in advance, Carlos Dias - Original Message - From: Christopher Painter-Wakefield [EMAIL PROTECTED] To: [EMAIL PROTECTED

Sql type for request parameter with multiple values

2004-04-07 Thread Carlos Dias
Hi, Here is my problem: I want to pass a request parameter to an SQL Statement, but my problem is that this parameter contains more that one value. I want to know what is the sql type to use (the database is Oracle) in this case. Can I use the ARRAY type?! Thanks in advance, Carlos Dias

logkit.xconf conf

2004-03-22 Thread Carlos Dias
Hi, How can I configure the logs to be written in $TOMCAT_HOME/logs?! Thx, CDias

Re: logkit.xconf conf

2004-03-22 Thread Carlos Dias
onf conf On Mar 22, 2004, at 9:18 AM, Carlos Dias wrote: Hi,How can I configure the logs to be written in $TOMCAT_HOME/logs?!Specify a relative path using the "context:/" pseudo-protocol, which resolves the path relative to the servlet context.~ mark

[HELP]Re: Session context initialization

2004-03-18 Thread Carlos Dias
) in the original XML, and making that in java is a hard thing to do I will appreciate some help, Carlos Dias - Original Message - From: Carlos Dias To: [EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 4:26 PM Subject: Session context initialization Hi, I'm

Re: [HELP]Re: Session context initialization

2004-03-18 Thread Carlos Dias
Carsten, Thanks for answering... But what do you mean with aggregation of two pipelines?! Carlos Dias - Original Message - From: Carsten Ziegeler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 18, 2004 4:05 PM Subject: RE: [HELP]Re: Session context initialization Hi

Re: [HELP]Re: Session context initialization

2004-03-18 Thread Carlos Dias
Ok... I alreay get the point... thanks.. Carlos Dias - Original Message - From: Carlos Dias [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 18, 2004 5:12 PM Subject: Re: [HELP]Re: Session context initialization Carsten, Thanks for answering... But what do you mean

Exception JSPReader.generate()

2004-03-17 Thread Carlos Dias
it. I'm using cocoon 2.1.2. Best regards, Carlos Dias

XSP with XSLT processing

2004-03-16 Thread Carlos Dias
;xpto"/ OBJECT name="xpto1"/ /MENU In XSP I want to read the XML file an for the OBJECT tags apply a Java function. According to the result the tag is consider or not in the replaying XML. Best regards, Carlos Dias

Check session context

2004-03-11 Thread Carlos Dias
Hi, How can I see if a session context exists?! I want to do something like that: If a given session context exists, use it else create a new one. Thx, CDias

Use of Session Contexts

2004-02-25 Thread Carlos Dias
e that: map:generate src=""/map:transform src=""/map:serialize type="html"/ Can I make a reference to the session context inside "select_last_report_from _menu.xsl"?! Something like getxml context="mycontext" path=/MENU/[EMAIL PROTECTED]'REPORT1']/ Thanks, Carlos Dias

Session Transformer definition

2004-02-25 Thread Carlos Dias
Hi, I'm trying to define in my sitemap the session transformer, like this: map:transformer name="session" pool-grow="4" pool-max="32" pool-min="8" src=""/ But I got the flowing error: Could not load class org.apache.cocoon.webapps.session.transformation.SessionTransformer for component

Re: Session Transformer definition

2004-02-25 Thread Carlos Dias
Please can anybody help me?!!! Can't find teh correct jar! CD - Original Message - From: Carlos Dias To: [EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 4:40 PM Subject: Session Transformer definition Hi, I'm trying to define in my sitemap

Change encoding to ISO-8859-1

2004-02-23 Thread Carlos Dias
quot; pool-max="32" pool-min="16" pool-grow="4"encodingISO-8859-1/encoding/map:serializer After that I keep getting the same error: "org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.xml.sax.SAXException: Original Exception IOException : Invalid byte 2 of 3-byte UTF-8 sequence" Thanks in advance, Carlos Dias

Re: Change encoding to ISO-8859-1

2004-02-23 Thread Carlos Dias
:39 PM Subject: Re: Change encoding to ISO-8859-1 On 23.02.2004 21:34, Carlos Dias wrote: Hi!!! I know this is a issue largely discussed here, but for me the tips that I read didn't work. I already try to set the current encoding in the sitemap, like you can see here: map:serializer

Re: Change encoding to ISO-8859-1

2004-02-23 Thread Carlos Dias
/cocoon is involved. Joerg On 23.02.2004 21:50, Joerg Heinicke wrote: On 23.02.2004 21:53, Carlos Dias wrote: Let me see if I understand your answer... you are saying that the file is defined with a specific encoding, but has characters that are in a different encoding, right