You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Matt Yubin He <mh...@itsc.uah.edu> on 2002/09/13 20:57:31 UTC

Newbie Question

I am trying to learn Jetspeed and I have successfully created some portlets.
Now I have a problem on creating a stockquote-like portlet. I want to use a
portlet to display some book names, and if user click the custermizer icon,
a list of books will be displayed and user can choose a new set of books to
be displayed. (this is similar to stockquote portlet) However, I have no
clue how to create this portlet. Could someone please give me some hints on
what I should do?

Thanks.

Matt


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: encoding/charset Question

Posted by Raffaele Ragni <ra...@cone.it>.
Well, essentially, i didn't anything; my problem was with the
database(enabling the encoding on mysql), jetspeed worked great on encoding.
Though i don't use jsp so i dont know if there are other steps to configure
it particularly.
The encoding service configuration line in Turbine properties and Fulcrum
properties is commented on my webapp.
In velocity.properties though, there is a line 'template.encoding=8859_1',
that should mean UTF-8 if i am not wrong.
Even in JetspeedResources.properties there is a line reguarding encoding,
that is: 'content.defaultencoding=iso-8859-1'.

Now since i didnt touch anything and leaved as it were, i dont have more
suggestion to give.

|- Raffaele Ragni < raffaele.ragni@cone.it >
|- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
|- CONE Sistemi Informativi


----- Original Message -----
From: "Mike Zhou" <er...@yahoo.com>
To: "Jetspeed Users List" <je...@jakarta.apache.org>
Sent: Wednesday, September 18, 2002 3:30 PM
Subject: Re: encoding/charset Question


> Raffaele,
>
> I am new to Jetspeed, but have very strong knowledge
> about Java/JSP and portal. Can you summarize your
> steps to config Jetspeed for a different
> encoding/charset? I think it will benefit lot of
> users.
>
> Thanks, Erzhuan
> --- Raffaele Ragni <ra...@libero.it> wrote:
> > I am using vm.
> >
> >
> > <=- Raffaele Ragni -=>
> >
> > ----- Original Message -----
> > From: "Mike Zhou" <er...@yahoo.com>
> > To: "Jetspeed Users List"
> > <je...@jakarta.apache.org>
> > Sent: Monday, September 16, 2002 8:00 PM
> > Subject: Re: encoding/charset Question
> >
> >
> > > Raffaele,
> > >
> > > After I switched from vm scripting format to jsp
> > > format, things become better. Which scripting
> > format
> > > are you using?
> > >
> > > Thanks, Erzhuan
> > > --- Raffaele Ragni <ra...@cone.it> wrote:
> > > > I am using encoding normally, java supports it,
> > and
> > > > jetspeed too, it all
> > > > works (just for the database i had to do
> > something,
> > > > but this is another
> > > > thing and depends on wich one you have).
> > > > The only problem i had is when i used a
> > javascript
> > > > to modify data in a form,
> > > > and the encoding was bad.
> > > > For now i just don't use that javascript
> > anymore.
> > > >
> > > > |- Raffaele Ragni
> > > > |- raffaele.ragni@cone.it
> > > > |- Tel 071 2900 854
> > > > |- Fax 071 2908 551
> > > > |- Cel 333 3659770
> > > > |- CONE
> > > > |- Sistemi Informativi
> > > >
> > > > ----- Original Message -----
> > > > From: "Mike Zhou" <er...@yahoo.com>
> > > > To: "'Jetspeed Users List'"
> > > > <je...@jakarta.apache.org>
> > > > Sent: Saturday, September 14, 2002 10:23 PM
> > > > Subject: Re: encoding/charset Question
> > > >
> > > >
> > > > > Hi all,
> > > > >
> > > > > I am trying to develop a Chinese site based on
> > > > > Jetseepd. I am confused with regarding how
> > > > Jetspeed
> > > > > deals with encoding/charset. You can at lease
> > set
> > > > > these attributes in conf/velocity.propertes
> > and
> > > > > conf/TurbineResources.properties.
> > > > >
> > > > > In JSP, you can simply do
> > > > >
> > > > > <%@ page contentType= "TEXT/HTML;
> > CHARSET=GB2312"
> > > > %>
> > > > >
> > > > > to switch your browser to display pages in
> > > > Chinese.
> > > > >
> > > > > Any previous experience to share?
> > > > >
> > > > > Thanks, Erzhaun
> > > > >
> > > > >
> > __________________________________________________
> > > > > Do you Yahoo!?
> > > > > Yahoo! News - Today's headlines
> > > > > http://news.yahoo.com
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > >
> > >
> >
> <ma...@jakarta.apache.org>
> > > > > For additional commands, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > >
> > >
> >
> <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > >
> > >
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! News - Today's headlines
> > > http://news.yahoo.com
> > >
> > > --
> > > To unsubscribe, e-mail:
> >
> <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> >
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! News - Today's headlines
> http://news.yahoo.com
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: encoding/charset Question

Posted by Mike Zhou <er...@yahoo.com>.
Raffaele,

I am new to Jetspeed, but have very strong knowledge
about Java/JSP and portal. Can you summarize your
steps to config Jetspeed for a different
encoding/charset? I think it will benefit lot of
users.

Thanks, Erzhuan
--- Raffaele Ragni <ra...@libero.it> wrote:
> I am using vm.
> 
> 
> <=- Raffaele Ragni -=>
> 
> ----- Original Message -----
> From: "Mike Zhou" <er...@yahoo.com>
> To: "Jetspeed Users List"
> <je...@jakarta.apache.org>
> Sent: Monday, September 16, 2002 8:00 PM
> Subject: Re: encoding/charset Question
> 
> 
> > Raffaele,
> >
> > After I switched from vm scripting format to jsp
> > format, things become better. Which scripting
> format
> > are you using?
> >
> > Thanks, Erzhuan
> > --- Raffaele Ragni <ra...@cone.it> wrote:
> > > I am using encoding normally, java supports it,
> and
> > > jetspeed too, it all
> > > works (just for the database i had to do
> something,
> > > but this is another
> > > thing and depends on wich one you have).
> > > The only problem i had is when i used a
> javascript
> > > to modify data in a form,
> > > and the encoding was bad.
> > > For now i just don't use that javascript
> anymore.
> > >
> > > |- Raffaele Ragni
> > > |- raffaele.ragni@cone.it
> > > |- Tel 071 2900 854
> > > |- Fax 071 2908 551
> > > |- Cel 333 3659770
> > > |- CONE
> > > |- Sistemi Informativi
> > >
> > > ----- Original Message -----
> > > From: "Mike Zhou" <er...@yahoo.com>
> > > To: "'Jetspeed Users List'"
> > > <je...@jakarta.apache.org>
> > > Sent: Saturday, September 14, 2002 10:23 PM
> > > Subject: Re: encoding/charset Question
> > >
> > >
> > > > Hi all,
> > > >
> > > > I am trying to develop a Chinese site based on
> > > > Jetseepd. I am confused with regarding how
> > > Jetspeed
> > > > deals with encoding/charset. You can at lease
> set
> > > > these attributes in conf/velocity.propertes
> and
> > > > conf/TurbineResources.properties.
> > > >
> > > > In JSP, you can simply do
> > > >
> > > > <%@ page contentType= "TEXT/HTML;
> CHARSET=GB2312"
> > > %>
> > > >
> > > > to switch your browser to display pages in
> > > Chinese.
> > > >
> > > > Any previous experience to share?
> > > >
> > > > Thanks, Erzhaun
> > > >
> > > >
> __________________________________________________
> > > > Do you Yahoo!?
> > > > Yahoo! News - Today's headlines
> > > > http://news.yahoo.com
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > >
> >
>
<ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > > >
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > >
> >
>
<ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > >
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! News - Today's headlines
> > http://news.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
>
<ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> 
> 
> --
> To unsubscribe, e-mail:  
>
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: encoding/charset Question

Posted by Raffaele Ragni <ra...@libero.it>.
I am using vm.


<=- Raffaele Ragni -=>

----- Original Message -----
From: "Mike Zhou" <er...@yahoo.com>
To: "Jetspeed Users List" <je...@jakarta.apache.org>
Sent: Monday, September 16, 2002 8:00 PM
Subject: Re: encoding/charset Question


> Raffaele,
>
> After I switched from vm scripting format to jsp
> format, things become better. Which scripting format
> are you using?
>
> Thanks, Erzhuan
> --- Raffaele Ragni <ra...@cone.it> wrote:
> > I am using encoding normally, java supports it, and
> > jetspeed too, it all
> > works (just for the database i had to do something,
> > but this is another
> > thing and depends on wich one you have).
> > The only problem i had is when i used a javascript
> > to modify data in a form,
> > and the encoding was bad.
> > For now i just don't use that javascript anymore.
> >
> > |- Raffaele Ragni
> > |- raffaele.ragni@cone.it
> > |- Tel 071 2900 854
> > |- Fax 071 2908 551
> > |- Cel 333 3659770
> > |- CONE
> > |- Sistemi Informativi
> >
> > ----- Original Message -----
> > From: "Mike Zhou" <er...@yahoo.com>
> > To: "'Jetspeed Users List'"
> > <je...@jakarta.apache.org>
> > Sent: Saturday, September 14, 2002 10:23 PM
> > Subject: Re: encoding/charset Question
> >
> >
> > > Hi all,
> > >
> > > I am trying to develop a Chinese site based on
> > > Jetseepd. I am confused with regarding how
> > Jetspeed
> > > deals with encoding/charset. You can at lease set
> > > these attributes in conf/velocity.propertes and
> > > conf/TurbineResources.properties.
> > >
> > > In JSP, you can simply do
> > >
> > > <%@ page contentType= "TEXT/HTML; CHARSET=GB2312"
> > %>
> > >
> > > to switch your browser to display pages in
> > Chinese.
> > >
> > > Any previous experience to share?
> > >
> > > Thanks, Erzhaun
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! News - Today's headlines
> > > http://news.yahoo.com
> > >
> > > --
> > > To unsubscribe, e-mail:
> >
> <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> >
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! News - Today's headlines
> http://news.yahoo.com
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: encoding/charset Question

Posted by Mike Zhou <er...@yahoo.com>.
Raffaele,

After I switched from vm scripting format to jsp
format, things become better. Which scripting format
are you using?

Thanks, Erzhuan
--- Raffaele Ragni <ra...@cone.it> wrote:
> I am using encoding normally, java supports it, and
> jetspeed too, it all
> works (just for the database i had to do something,
> but this is another
> thing and depends on wich one you have).
> The only problem i had is when i used a javascript
> to modify data in a form,
> and the encoding was bad.
> For now i just don't use that javascript anymore.
> 
> |- Raffaele Ragni
> |- raffaele.ragni@cone.it
> |- Tel 071 2900 854
> |- Fax 071 2908 551
> |- Cel 333 3659770
> |- CONE
> |- Sistemi Informativi
> 
> ----- Original Message -----
> From: "Mike Zhou" <er...@yahoo.com>
> To: "'Jetspeed Users List'"
> <je...@jakarta.apache.org>
> Sent: Saturday, September 14, 2002 10:23 PM
> Subject: Re: encoding/charset Question
> 
> 
> > Hi all,
> >
> > I am trying to develop a Chinese site based on
> > Jetseepd. I am confused with regarding how
> Jetspeed
> > deals with encoding/charset. You can at lease set
> > these attributes in conf/velocity.propertes and
> > conf/TurbineResources.properties.
> >
> > In JSP, you can simply do
> >
> > <%@ page contentType= "TEXT/HTML; CHARSET=GB2312"
> %>
> >
> > to switch your browser to display pages in
> Chinese.
> >
> > Any previous experience to share?
> >
> > Thanks, Erzhaun
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! News - Today's headlines
> > http://news.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
>
<ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:  
>
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: encoding/charset Question

Posted by Raffaele Ragni <ra...@cone.it>.
I am using encoding normally, java supports it, and jetspeed too, it all
works (just for the database i had to do something, but this is another
thing and depends on wich one you have).
The only problem i had is when i used a javascript to modify data in a form,
and the encoding was bad.
For now i just don't use that javascript anymore.

|- Raffaele Ragni
|- raffaele.ragni@cone.it
|- Tel 071 2900 854
|- Fax 071 2908 551
|- Cel 333 3659770
|- CONE
|- Sistemi Informativi

----- Original Message -----
From: "Mike Zhou" <er...@yahoo.com>
To: "'Jetspeed Users List'" <je...@jakarta.apache.org>
Sent: Saturday, September 14, 2002 10:23 PM
Subject: Re: encoding/charset Question


> Hi all,
>
> I am trying to develop a Chinese site based on
> Jetseepd. I am confused with regarding how Jetspeed
> deals with encoding/charset. You can at lease set
> these attributes in conf/velocity.propertes and
> conf/TurbineResources.properties.
>
> In JSP, you can simply do
>
> <%@ page contentType= "TEXT/HTML; CHARSET=GB2312" %>
>
> to switch your browser to display pages in Chinese.
>
> Any previous experience to share?
>
> Thanks, Erzhaun
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! News - Today's headlines
> http://news.yahoo.com
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: encoding/charset Question

Posted by Mike Zhou <er...@yahoo.com>.
Hi all,

I am trying to develop a Chinese site based on
Jetseepd. I am confused with regarding how Jetspeed
deals with encoding/charset. You can at lease set
these attributes in conf/velocity.propertes and
conf/TurbineResources.properties. 

In JSP, you can simply do

<%@ page contentType= "TEXT/HTML; CHARSET=GB2312" %>

to switch your browser to display pages in Chinese. 

Any previous experience to share?

Thanks, Erzhaun

__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>