Re: xsp !!!

2002-11-27 Thread Ivan Luzyanin
> Hi all > I got a problem and tried to solve it! > i want to have a common 'common.xsp' file containing all the common values > and i have other personal files that uses all the common values! > so how can i use it ?? can i include/import a xsp file in oter xsp file? > i tried to use aggregate but

[Q] Deploing Cocoon on Tomcat

2002-09-27 Thread Ivan Luzyanin
Hi! Is there any way to deploy (redeploy) cocoon without restarting Tomcat? I tried to use "deploytool", but unsuccessfull (100 "Class not found" errors when accessing http:/localhost:8080/cocoon). Ivan. - Please check that yo

Re: form validator

2002-09-23 Thread Ivan Luzyanin
gt; > the next page. > > > > I don't understand Why? - I defined it with nullable=yes. > > > > So - I mean - if I define a parameter at the descriptor.xml I need to > > post it with an exact value? > > Do you have latest Cocoon release? > This problem exist

Re: form validator

2002-09-23 Thread Ivan Luzyanin
I define a parameter at the descriptor.xml I need to > post it with an exact value? nullable="yes" means that parameter with given name exist in request object but its value could be null. If you look in you sitemap.log you will see a NullPoi

Re: Sendmail again :(

2002-09-19 Thread Ivan Luzyanin
On Wednesday 18 September 2002 15:33, Ivan Luzyanin wrote: > Hi! > > I'm having a problem with sendmail. I've successfuly set up sendmail > logicsheet, put mail.jar from JavaMail 1.3 pakage to WEB-INF/lib. > Transformed XSP page (Java source in work dir, attached) seemes

Re: i18n question

2002-09-18 Thread Ivan Luzyanin
nip something like this: /images/test.svg?label_text=hello&label_color=red and than use this stylesheet See example: Your sitemap should have: Regards! Ivan Luzyanin. -

Re: i18n question

2002-09-18 Thread Ivan Luzyanin
/images/test.svg?label_text={0}&label_color={1} hello red I'm not exactly understand why you need it, bu

Re: Encoding problem

2002-09-18 Thread Ivan Luzyanin
m -- > > not > > sure it's related to Cocoon, but... ;) > > > > > > > select="."/> > > > > > > All my xml is UTF-8, it work in English, but not in > > Russian. Any ideas? > > > > Thanks, > > -Alex Try to

Sendmail again :(

2002-09-18 Thread Ivan Luzyanin
mail.xml) HttpProcessor[8080][4]/sitemap_xmap: Component serializer:xml(Parameters.EMPTY_PARAMETERS) Help me, please! I've killed 2 hours to find out where is the problem... My env: Cocoon 2.0.3, Tomcat 4.0.4, JDK 1.4.0_01, SuSE 8.0 Ivan Luzyanin. package org.apache.cocoon.

[Q] Search index

2002-09-13 Thread Ivan Luzyanin
Hi! How to create search index for multiple language site? Any suggestions, examples? Ivan Luzyanin. My env.: Cocoon-2.0.3, JDK-1.4, Tomcat-4.0.4 - Please check that your question has not already been answered in the FAQ

Re: [SUMMARY] form validator and matches-regex problem

2002-09-13 Thread Ivan Luzyanin
Hi! Try matches-regex="^[\d\w][\d\w\-_\.]*@([\d\w\-_]+\.)+(\w){2,4}$"/> Best regards! Ivan. - Please check that your question has not already been answered in the FAQ before posting.

xsl:strip-space problem

2002-09-03 Thread Ivan Luzyanin
I have problem using xsl:strip space. It seems dosn't work with cocoon's xsl transformer. Example: my xsp: ... ... ... ... and my xsl: ...

Re: Common practice: how to keep links to html-trees consistent

2002-08-20 Thread Ivan Luzyanin
Easiest solusion is to use ... in your generated pages Ivan. P.S. http://www.w3.org/TR/REC-html32.html#base On Mon, 2002-08-19 at 23:42, Koen Pellegrims wrote: > Guys, > > This is something that most of you *must* have come across at one point or > another, and I am just looking for the best s

[Q] Avalon Composer interface - WHERE IS IT?

2002-07-18 Thread Ivan Luzyanin
Hi! I want to create cocoon component to access a datasource. I have found in cocoon documentation (cocoon-2.0.3/docs/developing/datasources.html) a string: "... your class needs to implement the Avalon Composer interface." and an example that shows implementation of "compose" method. BUT the pr

Re: Problem with nested actions in action-set...

2002-06-13 Thread Ivan Luzyanin
ot (co 10 > minutes ago) fails to handle this! > > Regards, > Gerhard > > Ivan Luzyanin wrote: > > >Hi! > > > >Yesterday i upgraded to Cocoon 2.1-dev from 2.0.2 and i had problem with > >nested actions in action-sets. > > > >Example of acti

Re: Problem with nested actions in action-set. BUG!

2002-06-13 Thread Ivan Luzyanin
Hi! I am sure now that it's a BUG in Cocoon 2.1-dev becouse even Cocoon Tutorial (http://localhost:8080/cocoon/samples/tutorial/home.html) DOESN'T WORK anymore. Don't beleave me? Just try to create any department or employee and you will see "successfully result page" but at real - nothing happene

Problem with nested actions in action-set...

2002-06-13 Thread Ivan Luzyanin
Hi! Yesterday i upgraded to Cocoon 2.1-dev from 2.0.2 and i had problem with nested actions in action-sets. Example of action-set: When i call this action set (form-descriptor and db descriptor passed in parameters) and form validation passed successfully but

Re: How many form validation methods in cocoon?

2002-06-12 Thread Ivan Luzyanin
On óÒÄ, 2002-06-12 at 16:03, steeven wrote: > hi all, > > i'm new in cocoon world. I have found several form validation method in cocoon >documents: > > 1. in user guide -> xsp -> forms , using validate taglib. > 2. in tutorials, using action & action-sets to process form<->DB. > 3. read form i

Can't build last Cocoon dev-snapshot

2002-06-12 Thread Ivan Luzyanin
Hi! I have dowloaded today last dev snapshot xml-cocoon2_20020612041724.tar.gz build failes with error message: Compiling 82 source files to /home/ivan/storage/downloads/Cocoon/xml-cocoon2/build/cocoon/scratchpad/classes /home/ivan/storage/downloads/Cocoon/xml-cocoon2/build/cocoon/scratchpad/src

AbstractDatabaseAction Exception : java.io.FileNotFoundException!!!! A BUG???!!!

2002-06-11 Thread Ivan Luzyanin
Hi! When i trying to use "now" datatype in my descriptor file i got very interesting error: The org.apache.cocoon.www.sitemap_xmap notifies that org.apache.cocoon.ProcessingException says: Could not update record :position = 7 More precisely: org.apache.cocoon.ProcessingEx

'now' datatype???

2002-06-11 Thread Ivan Luzyanin
Hi! I try to use "now" datatype in my database descriptor file, but this value is always NULL. Is it a bug or i missed something? Env: Cocoon 2.0.1 Tomcat 4.0.4b3, JDK1.3.1 (Blackdown), RedHat 7.3, Mysql 3.23 - Please check t

Re: sessions in cocoon

2002-05-29 Thread Ivan Luzyanin
On óÒÄ, 2002-05-29 at 17:05, Atul Gulve wrote: > If you want to access session object then you should do it following way in > cocoon. > > In your xsp file you can access the session. > > org.apache.cocoon.environment.http.HttpSession session = > (org.apache.cocoon.environment.http.HttpSession

Re: sessions in cocoon

2002-05-29 Thread Ivan Luzyanin
On óÒÄ, 2002-05-29 at 16:35, Christoph Stocker wrote: > hi! > > can someone give an example to implement session-handling or tracking > in cocoon. > > greetings, chris > there are some small examples in Cocoon API documentation for session handing and tracking (i.e. SessionIsValidAction, Sessio

Request parameters and FormValidator action

2002-05-21 Thread Ivan Luzyanin
Hello all! I need to pass parameters from HTML-form to FormValidator and then get these parameters in XSP page: page1.xsp > FormValidator > page2.xsp But in page2.xsp request object contains only "org.apache.cocoon.acting.FormValidatorAction.results" attribute with form validation results, aka

Re: ResourceExistsAction problem

2002-05-20 Thread Ivan Luzyanin
On ðÎÄ, 2002-05-20 at 07:34, Konstantin Piroumian wrote: > From: "Ivan Luzyanin" <[EMAIL PROTECTED]> > > > Hello all! > > > > I've got problem using ResourceExistsAction with context path > > > > $COCOON/site/sitemap.xmap > > > &

ResourceExistsAction problem

2002-05-20 Thread Ivan Luzyanin
Hello all! I've got problem using ResourceExistsAction with context path $COCOON/site/sitemap.xmap http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>

FormValidatorAction DTD

2002-04-15 Thread Ivan Luzyanin
Hello! Has anyone any ideas about SUBJ? - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]> For addi

Re: How to access jdbc datasource in cocoon.xconf from Cocoonactions

2002-04-12 Thread Ivan Luzyanin
I know HOW! :) //- ComponentSelector selector = (ComponentSelector) manager.lookup(Roles.DB_CONNECTION); DataSourceComponent datasource = (DataSourceComponent) selector.select("my_pool"); //- Thanx to Thomas von Schwerdtner! On Fri, 2002-04-12 at

How to access jdbc datasource in cocoon.xconf from Cocoon actions

2002-04-12 Thread Ivan Luzyanin
Hi! The question is: How i can use jdbc datasource defined in cocoon.xconf in my Cocoon action class ? Example: //--- cocoon.xconf jdbc:mysql:///test test //- TestAction.java public class Test

XSLT named teplates and xsl:param (is it a BUG?)

2002-04-11 Thread Ivan Luzyanin
Hi! I'm using Cocoon 2.0.2 and Tomcat 3.3.1. Can anybody explain to me why i can't use 'xsl:param' in 'xsl:if' clause? Example: TimeCell HolidayCell 2 {$cssClassWeekEnd} i