You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Carlos Torres <ct...@mcn.com.br> on 2004/12/29 13:37:36 UTC

Page Parameters

Hi people,

I have been problems in the parameters getted in my portlet classs. When I pass a value with special caracters(ç,ã,é, etc) it is received with problems. 
For Example: When I send a parameter with the word 'alteração', it is received as 'Altera├º├úo'

If somebody already got this problem, please, help me.

Thanks

Regards,
 
       Carlos Alberto Torres
    Web Solutions Consultant
MCN Technology & Consulting
      São Paulo - SP - Brasil
          www.mcn.com.br

Re: Portelt Framework

Posted by Aleksandr Vushkan <sa...@astral.ntu-kpi.kiev.ua>.
 Hello, guru
> What framework for develope portlets we are use?
> How you are  check your portlets before deloployment?
> and validete for JSR168?
Can I use Eclipse for development?
(tomcat + JS2.0)


aleksandr@aleksandr.org.ua
sanya_v@astral.ntu-kpi.kiev.ua


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


AW: Portelt Framework

Posted by ap...@salesfactory.org.
Hello, we use Jetspeed 1.4 to organize our stocks :)

-----Ursprüngliche Nachricht-----
Von: Aleksandr Vushkan [mailto:sanya_v@astral.ntu-kpi.kiev.ua] 
Gesendet: Mittwoch, 29. Dezember 2004 18:04
An: Jetspeed Users List
Betreff: Portelt Framework


Hello, guru
What framework for develope portlets we are use?
How you are  check your portlets before deloployment?
and validete for JSR168?

Thanks for questions.
--
Best wishes
Aleksandr
aleksandr@aleksandr.org.ua
sanya_v@astral.ntu-kpi.kiev.ua


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Portelt Framework

Posted by Aleksandr Vushkan <sa...@astral.ntu-kpi.kiev.ua>.
Hello, guru
What framework for develope portlets we are use?
How you are  check your portlets before deloployment?
and validete for JSR168?

Thanks for questions.
--
Best wishes
Aleksandr
aleksandr@aleksandr.org.ua
sanya_v@astral.ntu-kpi.kiev.ua


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Page Parameters

Posted by Carlos Torres <ct...@mcn.com.br>.
I solved the problems with these actions:

Change the tomcat web.xml, the JetSpeedResources.properties and my jsp page
to encode as UTF-8 and a script to encode(javascript escape function) all
fields of the page and decode this imn my portlet class.

Thank you very much for the help.

see you...


----- Original Message ----- 
From: "Raphaël Luta" <ra...@apache.org>
To: "Jetspeed Users List" <je...@jakarta.apache.org>
Sent: Wednesday, December 29, 2004 2:42 PM
Subject: Re: Page Parameters


> Carlos Torres wrote:
>
> >I tried to change the encoder in the jsp, the
JetspeedResources.properties
> >and the tomcat web.xml and i got the same problem. When I ahcnge it to
UTF8
> >the value received change but it is so strange too. Do you know which
> >encoding support all characters? How to make it run...
> >
> >
> >
> Strange... JS1.5 supports localization pretty well so I guess you should
> check your custom code
> and possibly DB setup for encoding issues.
>
> Also chek your browser encoding settings when accessing the portal page,
> it should be automatically
> set to UTF-8 (you can also get the encoding information of a web page
> through the Page Info or
> Properties dialog of yoru browser.
>
> -- 
> Raphaël Luta - raphael@apache.org
> Apache Portals - Enterprise Portal in Java
> http://portals.apache.org/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Page Parameters

Posted by Raphaël Luta <ra...@apache.org>.
Carlos Torres wrote:

>I tried to change the encoder in the jsp, the JetspeedResources.properties
>and the tomcat web.xml and i got the same problem. When I ahcnge it to UTF8
>the value received change but it is so strange too. Do you know which
>encoding support all characters? How to make it run...
>
>  
>
Strange... JS1.5 supports localization pretty well so I guess you should 
check your custom code
and possibly DB setup for encoding issues.

Also chek your browser encoding settings when accessing the portal page, 
it should be automatically
set to UTF-8 (you can also get the encoding information of a web page 
through the Page Info or
Properties dialog of yoru browser.

-- 
Raphaël Luta - raphael@apache.org
Apache Portals - Enterprise Portal in Java
http://portals.apache.org/


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Page Parameters

Posted by Carlos Torres <ct...@mcn.com.br>.
I tried to change the encoder in the jsp, the JetspeedResources.properties
and the tomcat web.xml and i got the same problem. When I ahcnge it to UTF8
the value received change but it is so strange too. Do you know which
encoding support all characters? How to make it run...

Thanks.

Carlos Torres.


----- Original Message ----- 
From: "Raphaël Luta" <ra...@apache.org>
To: "Jetspeed Users List" <je...@jakarta.apache.org>
Sent: Wednesday, December 29, 2004 9:02 AM
Subject: Re: Page Parameters


> Carlos Torres wrote:
>
> >Hi people,
> >
> >I have been problems in the parameters getted in my portlet classs. When
I pass a value with special caracters(ç,ã,é, etc) it is received with
problems.
> >For Example: When I send a parameter with the word 'alteração', it is
received as 'Alteração'
> >
> >
> >
> Jetspeed defaults to UTF8 encoding so the latter form you recieve is
normal.
> However, somewhere in your processing chain you assume the UTF8
> character is iso8859-1 and thus get an error.
> This can happen in the DB settings, Java string generation, etc...
>
> If you're sure *never* to mix iso8859 characters with non iso chars, you
> can modify the default Jetspeed properties
> (conf/JetspeedResources.properties) to set the default encoding to
> whatever fits your need.
>
> -- 
> Raphaël Luta - raphael@apache.org
> Apache Portals - Enterprise Portal in Java
> http://portals.apache.org/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Page Parameters

Posted by Raphaël Luta <ra...@apache.org>.
Carlos Torres wrote:

>Hi people,
>
>I have been problems in the parameters getted in my portlet classs. When I pass a value with special caracters(ç,ã,é, etc) it is received with problems. 
>For Example: When I send a parameter with the word 'alteração', it is received as 'Altera├º├úo'
>
>  
>
Jetspeed defaults to UTF8 encoding so the latter form you recieve is normal.
However, somewhere in your processing chain you assume the UTF8 
character is iso8859-1 and thus get an error.
This can happen in the DB settings, Java string generation, etc...

If you're sure *never* to mix iso8859 characters with non iso chars, you 
can modify the default Jetspeed properties
(conf/JetspeedResources.properties) to set the default encoding to 
whatever fits your need.

-- 
Raphaël Luta - raphael@apache.org
Apache Portals - Enterprise Portal in Java
http://portals.apache.org/


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Page Parameters

Posted by Metris <ed...@metris.com.br>.
Dear all,

I´m trying to install jetspeed on jboss and after a week of effort It
finally seems work, but a stranger behaviour is going on, all portlet apear
but only the title bar are showing the body is missing.

I´m looking the log files and I found a error message saying that a file
named WEB-INF/VM_global_xxx.vm are missing. I don´t have the exatly name of
the file so the xxx are another word. I believe that this file are
responsable to define the body of portlets.

Can anyone help me? I didn´t find this file on the source files and even on
the compiled file that are deployed on the apache web site. This is a
Velocity file.

----- Original Message -----
From: "Carlos Torres" <ct...@mcn.com.br>
To: "Apache JetSpeed User" <je...@jakarta.apache.org>;
<je...@jakarta.apache.org>
Sent: Wednesday, December 29, 2004 10:37 AM
Subject: Page Parameters


Hi people,

I have been problems in the parameters getted in my portlet classs. When I
pass a value with special caracters(ç,ã,é, etc) it is received with
problems.
For Example: When I send a parameter with the word 'alteração', it is
received as 'Alteração'

If somebody already got this problem, please, help me.

Thanks

Regards,

       Carlos Alberto Torres
    Web Solutions Consultant
MCN Technology & Consulting
      São Paulo - SP - Brasil
          www.mcn.com.br


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Re: Page Parameters

Posted by Metris <ed...@metris.com.br>.
Dear all,

I´m trying to install jetspeed on jboss and after a week of effort It
finally seems work, but a stranger behaviour is going on, all portlet apear
but only the title bar are showing the body is missing.

I´m looking the log files and I found a error message saying that a file
named WEB-INF/VM_global_xxx.vm are missing. I don´t have the exatly name of
the file so the xxx are another word. I believe that this file are
responsable to define the body of portlets.

Can anyone help me? I didn´t find this file on the source files and even on
the compiled file that are deployed on the apache web site. This is a
Velocity file.

----- Original Message -----
From: "Carlos Torres" <ct...@mcn.com.br>
To: "Apache JetSpeed User" <je...@jakarta.apache.org>;
<je...@jakarta.apache.org>
Sent: Wednesday, December 29, 2004 10:37 AM
Subject: Page Parameters


Hi people,

I have been problems in the parameters getted in my portlet classs. When I
pass a value with special caracters(ç,ã,é, etc) it is received with
problems.
For Example: When I send a parameter with the word 'alteração', it is
received as 'Alteração'

If somebody already got this problem, please, help me.

Thanks

Regards,

       Carlos Alberto Torres
    Web Solutions Consultant
MCN Technology & Consulting
      São Paulo - SP - Brasil
          www.mcn.com.br


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org