Re: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler

2009-08-27 Thread Antonio Gallardo

Hi Laurent,

Please look into the cocoon.xconf for the configuration of eclipse 
compiler and set the value to "1.5" instead of "auto". Here is the code:



67 :


Best Regards,

Antonio Gallardo

El 21/08/09 09:27, Laurent Medioni escribió:

Hello,
Still with our Cocoon 2.1.11 on a 1.6 JVM series...
Just noticed that 
org.apache.cocoon.components.language.programming.java.EclipseJavaCompiler does 
not know anything about 1.6 (nothing wrong with this as it uses JDT 3.1) but in 
this case defaults to... 1.3, which is quite a big step back from 1.4 ;).
It is possible to force the compliance level to 1.5 through the xconf parameter 
compiler-compliance-level but no configuration is possible for the generated 
class file compatibility, which does not obey to the same parameter...

I tried to replace JDT 3.1 by the latest 3.5 and locally patched 
EclipseJavaCompiler to manage a 1.6 value... For the moment it works well...

Cheers,
Laurent



� This email and any files transmitted with it are CONFIDENTIAL and intended
   solely for the use of the individual or entity to which they are addressed.
� Any unauthorized copying, disclosure, or distribution of the material within
   this email is strictly forbidden.
� Any views or opinions presented within this e-mail are solely those of the
   author and do not necessarily represent those of Odyssey Financial
Technologies SA unless otherwise specifically stated.
� An electronic message is not binding on its sender. Any message referring to
   a binding engagement must be confirmed in writing and duly signed.
� If you have received this email in error, please notify the sender immediately
   and delete the original.
   




Re: view *.doc file in browser window

2009-08-27 Thread Antonio Gallardo

Hi Maria,

I think it is not a cocoon task. I mean, cocon can only send the file. 
How the browser handle the file depends on browser configuration for a 
given mime type.


Hint: Try to find a better mime type for a word document to allow the 
browser to handle it the file as you expect.


Best Regards,

Antonio Gallardo.

El 27/08/09 06:31, Maria Grigorieva escribió:

hello!
I need to view text document in browser. Not to download the file.

Now I have just reader:


   



   



-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



view *.doc file in browser window

2009-08-27 Thread Maria Grigorieva

hello! 
I need to view text document in browser. Not to download the file.

Now I have just reader:


  



-- 
View this message in context: 
http://www.nabble.com/view-*.doc-file-in-browser-window-tp25167553p25167553.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Gabriel Gruber/Workflow is out of office.

2009-08-27 Thread Gabriel Gruber

I will be out of the office starting  27.08.2009 and will not return until
31.08.2009.

Ich bin bis zum 28.08.2009 auf Urlaub und ab 31.08.2009 wieder für Sie
erreichbar. Bei technischen Fragen zum System Webdesk wenden Sie sich bitte
vertrauensvoll an Hrn. Gutzelnig oder Hrn. Stastny. Bei Fragen zu laufenden
Projekten wenden Sie sich bitte an Hrn. Gutzelnig! In dringenden Fällen
versuchen Sie es auf meinem Handy: +43 - 676 - 3939435!

mit freundlichen Grüssen

Gabriel Gruber


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Queries not working with "AS" protocol?

2009-08-27 Thread Derek Hohls
I am in the process of moving my applications over from Windows to Linux as my 
development platform.

I am now running Cocoon 2.1.11 and Mysql 5.0.67 (was 2.1.8 and 4.0.23)

There is one issue I have encountered so far.

When running a query of the form:

SELECT foo AS bar from mytable

The SQLTransformer gives back:


  text


instead of:


  text


(I have tested the same query using the MySQL Query Browser and it works as 
expected.)

Does anyone know why this is and how I can fix it?

Thanks
Derek

-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Passing POST Parameters to a block call, cocoon 2.2, please urgent!

2009-08-27 Thread Rainer Pruy
Hi,
I forgot to add:

Please note, that - among some other places in cocoon - servlet protocol starts 
a new request,
(nearly) independent from the original one.

This request (currently) does not inherit any parameters.
To achieve such behavior, it would be necessary to add some syntax for control 
of propagating parameters from the "calling" sitemap.
As there are a lot of use cases where there is no benefit from passing a bunch 
of parameters along without need, it is quite
reasonable not to pass any parameters be default.
I could however think of a means of control to be added to the servlet protocol 
URI for activating passing of parameters.
But if we are there, the next though is of passing only some params, adding 
some more, overwriting, modifying value based on existing
values,..
thus, I doubt there is an easy syntax at hand.

And thgere is still the fundamental question of whether such "feature" really 
is necessary or even beneficial for building
"well-formed" applications.

Rainer

Ali Mahdoui schrieb:
> Hi,
> i want to forewoard my form data to a "servlet:..." pipeline request.
>  
> My Form:
>  
> 
> 
> 
>  
> The source pipeline calls a block like this
>  
> 
>  
> 
>  
>  
> In my second Block i have a match which uses the posted data to make a
> service call on a third server
>  
> 
> 
> 
>  
>  
>  
> My propblem is that all the posted parameters from my form are lost in
> the second block
> and the third service call does not succeed.
> What i am doing wrong?
> I there any tutorial or sample how to do that correctly?
>  
> I have tried to change the code in cocoon-servlet-service-impl for the
> class ServletServiceRequest, i can now get the parameters and the
> request method but it is still not working correctly.
>  
> thank you for your help.
>  
>  
> 
> 
> Surfen – optimiert für MSN. 

-- 
Rainer Pruy
Geschäftsführer

Acrys Consult GmbH & Co. KG
Theodor-Heuss-Str. 53-63, D-61118 Bad Vilbel
Tel: +49-6101-98760-0 Fax: +49-6101-98760-50
Web: http://www.acrys.com -  Email: off...@acrys.com
Handelsregister: Frankfurt am Main, HRA 31151
Komplementärin: Acrys Verwaltungs GmbH
Theodor-Heuss-Str. 53-63, D-61118 Bad Vilbel
Handelsregister: Frankfurt am Main, HRB 57625

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Passing POST Parameters to a block call, cocoon 2.2, please urgent!

2009-08-27 Thread Rainer Pruy
Hi Ali,

the "problem" is, you are trying to use cocoon inappropriately.

Currently there is no way passing parameters via servlet protocol.
(Actually, you could use URL-encoded parameters. That will work. But, not all 
forms data can be propagated that way.)

The only approach that will work with passing forms data in
is directing the (external) call directly into the targeted block.
(You may use inheritance to get access to shared resources from "master" 
sitemap).

This was quite a short sketch of a non-trivial topic.

Nevertheless, this deficiency of the servlet protocol is the reason why I still 
stick with 2.1.
I can not afford the time for restructuring my applications to cope with new 
inter sitemap semantics.


Rainer


Ali Mahdoui schrieb:
> Hi,
> i want to forewoard my form data to a "servlet:..." pipeline request.
>  
> My Form:
>  
> 
> 
> 
>  
> The source pipeline calls a block like this
>  
> 
>  
> 
>  
>  
> In my second Block i have a match which uses the posted data to make a
> service call on a third server
>  
> 
> 
> 
>  
>  
>  
> My propblem is that all the posted parameters from my form are lost in
> the second block
> and the third service call does not succeed.
> What i am doing wrong?
> I there any tutorial or sample how to do that correctly?
>  
> I have tried to change the code in cocoon-servlet-service-impl for the
> class ServletServiceRequest, i can now get the parameters and the
> request method but it is still not working correctly.
>  
> thank you for your help.
>  
>  
> 
> 
> Surfen – optimiert für MSN. 

-- 
Rainer Pruy
Geschäftsführer

Acrys Consult GmbH & Co. KG
Theodor-Heuss-Str. 53-63, D-61118 Bad Vilbel
Tel: +49-6101-98760-0 Fax: +49-6101-98760-50
Web: http://www.acrys.com -  Email: off...@acrys.com
Handelsregister: Frankfurt am Main, HRA 31151
Komplementärin: Acrys Verwaltungs GmbH
Theodor-Heuss-Str. 53-63, D-61118 Bad Vilbel
Handelsregister: Frankfurt am Main, HRB 57625

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Passing POST Parameters to a block call, cocoon 2.2, please urgent!

2009-08-27 Thread Ali Mahdoui

Hi,

i want to forewoard my form data to a "servlet:..." pipeline request.

 

My Form:

 







 

The source pipeline calls a block like this

 



 



 

 

In my second Block i have a match which uses the posted data to make a service 
call on a third server

 







 

 

 

My propblem is that all the posted parameters from my form are lost in the 
second block

and the third service call does not succeed.

What i am doing wrong?

I there any tutorial or sample how to do that correctly?

 

I have tried to change the code in cocoon-servlet-service-impl for the class 
ServletServiceRequest, i can now get the parameters and the request method but 
it is still not working correctly.

 

thank you for your help.

 

 

_
http://redirect.gimas.net/?n=M0908axIE_MSN2
Surfen – optimiert für MSN.