XMLFORM and Cirilic encoding

2003-06-30 Thread Galia Angelova
Hello,

I have a problem with Cirilic encoding when working with xmlforms. Everything is ok exept when I submit a cirilic text in a textbox:

I write: Ãàëÿ
and on the server it appears like: “°»

In select or labels the text appears as cirilic. But in textboxes and textareas - not.

Any idea?

Thanks
Galia
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Re: XMLFORM and Cirilic encoding

2003-06-30 Thread Galia Angelova
Thank you Peter!
It works perfect!
:-)Peter Velychko [EMAIL PROTECTED] wrote:

Hello Galia,Try to set the form encoding. It is in the "web.xml" file:form-encodingutf-8Simply incomment it for cocoon 2.1.GA Hello,GA I have a problem with Cirilic encoding when working with xmlforms. Everything is ok exept when I submit a cirilic text in a textbox:GA I write: ÃàëÿGA and on the server it appears like: #208;“#208;°#208;»#209;#143;GA In select or labels the text appears as cirilic. But in textboxes and textareas - not.GA Any idea?GA ThanksGA GaliaGA -GA Do you Yahoo!?GA SBC Yahoo! DSL - Now only $29.95 per month!-- Best regards,Peter
 mailto:[EMAIL PROTECTED]-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

RE: Informix configuration

2003-06-18 Thread Galia Angelova
Thank you, David!

It's a good idea.

The problem is that i can't get a cannection with thw data base. Something with my configuration or driver is not proper.

Galia

"Carmona Perez, David" [EMAIL PROTECTED] wrote:









I have successfully used Cocoon with Informix, but I use other methods of connecting to the database, I do it through Java code. Here is an excerpt of my pipeline:

 map:components
 map:transformers default="xslt"
   map:transformer name="sql" src="">"org.apache.cocoon.transformation.SQLTransformer"/
 /map:transformers
 /map:components
 map:pipelines
 map:transform type="sql" label="transf1"
 map:parameter name="dburl" value="{session:databaseUrl}"/
 /map:transform
 /map:pipelines

Through an input module and JXDom, I access a function call getUrl() that returns a string that contains the URL to the database connection, of the following type:

jdbc:informix-sqli://server:1526/database:INFORMIXSERVER=server;user=myuser;password=mypassword

I do so, because each user session may have a connection to a different database.



David

-Mensaje original-De: Galia Angelova [mailto:[EMAIL PROTECTED]Enviado el: martes, 17 de junio de 2003 16:44Para: [EMAIL PROTECTED]Asunto: Informix configuration 

Hi!Does anybody know how to configure cocoon in order to work with Informix?Ihe informix data base is on a remote PC- "profisrv",Informix server name - "ol_profisrv", database name "eisppbase"I've done the folowing configuration:


 in cocoon.xconf:

 datasources jdbc name="eispp" pool-controller min="5" max="10"/ dburljdbc:informix-sqli://profisrv:1526/eisppbase:INFORMIXSERVER=ol_profisrv/dburl userusr/user password/ DBDATEDMY4/DBDATE /jdbc /datasources

in web.xml:

init-param param-nameload-class/param-name param-valuecom.informix.jdbcx.IfxConnectionPoolDataSource /param-value/init-param

page.xml:

page xmlns:sql="http://apache.org/cocoon/SQL/2.0" titleMy App page/title content paraJust a static contents/para execute-query xmlns="http://apache.org/cocoon/SQL/2.0" 
 query select title from sm_State where ID_State='12' !-- here comes the SQL statement or stored procedure -- /query /execute-query  /content/page
sitemap.xmap:
 map:match pattern="*.xml" map:generate src=""/ map:transform type="sql" map:parameter name="use-connection"
 value="eispp"/ map:parameter name="show-nr-of-rows" value="true"//map:transform map:transform src=""/ map:serialize/ /map:match 

After running the application I get this message:


My App page
Just a static contents Failed to obtain connection. Made 5 attempts with 5000ms interval 


Is there something that I've missed?
Thank you in advance!

Galia



Do you Yahoo!?SBC Yahoo! DSL - Now only $29.95 per month!
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Re: How to debug COCOON with ECLIPSE and TOMCAT?

2003-06-06 Thread Galia Angelova
Lionel, 
I followed your instructions, but I still have problems.
Tomcat works, but I can't lanch cocoon. it sais:
HTTP Status 404 - /cocoon/



type Status report
message /cocoon/
description The requested resource (/cocoon/) is not available.



Do you have sugestions what am I doing wrong?
I get only Tomcat's index.jsp
It appears in "work" directory on my eclipse server and that's all!

Thank you in advance!

Galia






Lionel Crine [EMAIL PROTECTED] wrote:

With the tomcat plugin : 2.1I think you have setup the windows-preference-tomcat.I repeat it :1/choose the version you have. 4.1.x is good.2/choose the tomcat root directory3/choose the server.xml file4/i had my tomcat project to my classpath (i'm not sure it's necessary).5/ If you want to debug Tomcat (check the "execute in debug mode)the parameter for the JVM :The JRE by default is not working (or something like that)!!!So you have to change it the another.6/ Go in window-preferences-java-installed JREs7/add a new standard VM (the one with your sdk). (for example mine is : d:\software\java\sdk1.4)8/notch it.9/Come back to windows-preference-tomcat-JVM parameter10/select the new JVMSome optionnal things :In window-preferences-java-Classpath Variablescreate a TOMCAT_HOME identical as CATALINA_HOME - it seems that the plugin uses TOMCAT_HOMEIn the properties of the project :11/java Build Path-source : be sure WEB-INF/classes of your project is here12/java Build Path-librairies : add the cocoon libraries (.jar) and yours.Do pay attention of the message : Build Path entry is missing : TOMCAT_HOME13/Tomcat : I notched "is a tomcat project" (check if this is your context) "update automatically server.xml" and "reloadable = true".Hope that help a little.I may have forgotten some things so tell me.PS: With my computer the classpath is not build with eclipse So I had to add all the jars into the libraries (see 12/)LionelAt 04:11 04/06/2003 -0700, you wrote:Yes, please! I'll be grateful!GaliaLionel Crine <[EMAIL PROTECTED]>wrote:Sorry I'm lost :Whould you like me to send the configuration for eclipse to work withcocoon and tomcat and sdk 1.4 ?If yes, tell me.At 10:43 04/06/2003 +0400, you wrote: But who can send the solution about the using the eclipse in this configuration?I use tomcat cocoon and the sdk 1.4 All is working fine. Do you have an error message ?   At 07:27 03/06/2003 -0700, you wrote:   Hi,  I would like to debug cocoon with eclipse and tomcat.   I have the blueskytime plugins for eclipse and tomcat but could not   make them debug cocoon.   May be there's something i'm not doing right?  Galia--  Best regards, Yury Mikhienko. IT engineer, ZAO "Mobicom-Kavkaz"  - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]Do you Yahoo!?Free online calendar with sync to Outlook(TM).-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]


Do you Yahoo!?Free online calendar with sync to Outlook(TM).
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

Re: How to debug COCOON with ECLIPSE and TOMCAT?

2003-06-05 Thread Galia Angelova
Perfect! It works!
Thank you!

Galia ANgelova
Lionel Crine [EMAIL PROTECTED] wrote:
With the tomcat plugin : 2.1I think you have setup the windows-preference-tomcat.I repeat it :1/choose the version you have. 4.1.x is good.2/choose the tomcat root directory3/choose the server.xml file4/i had my tomcat project to my classpath (i'm not sure it's necessary).5/ If you want to debug Tomcat (check the "execute in debug mode)the parameter for the JVM :The JRE by default is not working (or something like that)!!!So you have to change it the another.6/ Go in window-preferences-java-installed JREs7/add a new standard VM (the one with your sdk). (for example mine is : d:\software\java\sdk1.4)8/notch it.9/Come back to windows-preference-tomcat-JVM parameter10/select the new JVMSome optionnal things :In window-preferences-java-Classpath Variablescreate a TOMCAT_HOME identical as CATALINA_HOME - it seems that the plugin uses TOMCAT_HOMEIn the properties of the project :11/java Build Path-source : be sure WEB-INF/classes of your project is here12/java Build Path-librairies : add the cocoon libraries (.jar) and yours.Do pay attention of the message : Build Path entry is missing : TOMCAT_HOME13/Tomcat : I notched "is a tomcat project" (check if this is your context) "update automatically server.xml" and "reloadable = true".Hope that help a little.I may have forgotten some things so tell me.PS: With my computer the classpath is not build with eclipse So I had to add all the jars into the libraries (see 12/)LionelAt 04:11 04/06/2003 -0700, you wrote:Yes, please! I'll be grateful!GaliaLionel Crine <[EMAIL PROTECTED]>wrote:Sorry I'm lost :Whould you like me to send the configuration for eclipse to work withcocoon and tomcat and sdk 1.4 ?If yes, tell me.At 10:43 04/06/2003 +0400, you wrote: But who can send the solution about the using the eclipse in this configuration?I use tomcat cocoon and the sdk 1.4 All is working fine. Do you have an error message ?   At 07:27 03/06/2003 -0700, you wrote:   Hi,  I would like to debug cocoon with eclipse and tomcat.   I have the blueskytime plugins for eclipse and tomcat but could not   make them debug cocoon.   May be there's something i'm not doing right?  Galia--  Best regards, Yury Mikhienko. IT engineer, ZAO "Mobicom-Kavkaz"  - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]Do you Yahoo!?Free online calendar with sync to Outlook(TM).-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

How to debug COCOON with ECLIPSE and TOMCAT?

2003-06-04 Thread Galia Angelova
Hi,

I would like to debug cocoon with eclipse and tomcat.
I have the blueskytime plugins for eclipse and tomcat but could not
make them debug cocoon.
May be there's something i'm not doing right?

Galia
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

Re: How to debug COCOON with ECLIPSE and TOMCAT?

2003-06-04 Thread Galia Angelova
Yes, please! I'll be grateful!

GaliaLionel Crine [EMAIL PROTECTED] wrote:
Sorry I'm lost :Whould you like me to send the configuration for eclipse to work with cocoon and tomcat and sdk 1.4 ?If yes, tell me.At 10:43 04/06/2003 +0400, you wrote:But who can send the solution about the using the eclipse in this configuration?  I use tomcat cocoon and the sdk 1.4   All is working fine.   Do you have an error message ?At 07:27 03/06/2003 -0700, you wrote:  Hi,I would like to debug cocoon with eclipse and tomcat.  I have the blueskytime plugins for eclipse and tomcat but could not  make them debug cocoon.  May be there's something i'm not doing right?Galia--Best regards,Yury Mikhienko.IT engineer, ZAO "Mobicom-Kavkaz"-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

Re: Jscript in xml pages. Disaperas after file generation

2003-05-30 Thread Galia Angelova
Thank you!


![CDATA[ .]] worked
Have a nice weekend!Galia"Emmanuil Batsis (Manos)" [EMAIL PROTECTED] wrote:
Try// _javascript_ code hereCDATA is the ideal but does not work well with that crap browser everyone seems to be using.hth,ManosUpayavira wrote: On 30 May 2003 at 10:38, Rainer Ammermann wrote:  Hallo Galia,try using "" for "" and "" for "".Since defines a comment already at the XML/XSLT-level,it is ignored by the processor and thus not included into the HTMLresult tree. Best wishes Rainer   AFAIK doing that will result in  and  in your resultant HTML.  Instead, wrap the entire _javascript_ area, including