RE: Please Help......Customize Portlet

2004-12-29 Thread Andy . Sun
I am assuming that you want to put different strings in the option part of
html select tag. Those strings will be retrieved from database.
In your action class, you can execute the query and get a result set. Store
the string from the result set in a Vector object. Then save the vector in
the session object. Before you run the query, you should check if this
vector is populated already so you only need to run the query once for each
session (for performance reason).
Then in your presentation layer(vm/jsp), retrieve the vector in the session
and iterate through the vector to create the option tags.
Check out the code for the DatabaseBrowser portlet in the jetspeed
distribution. You should be able to find a similar implementation.
Andy


-Original Message-
From: angeloimm [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 29, 2004 2:10 AM
To: Jetspeed Jetspeed
Subject: Please Help..Customize Portlet
Importance: High


Hi all; i have a little problem. I have written a my GenericMVCAction that
works on a GenericMVCPortlet. Al works fine; now when i log in as admin i
can customize my portlet and i can set different parameters; now let's
imagine that i want to use a html tag http://www.libero.it




-
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]



Please Help......Customize Portlet

2004-12-29 Thread angeloimm
Hi all; i have a little problem. I have written a my GenericMVCAction that 
works on a GenericMVCPortlet. Al works fine; now when i log in as admin i can 
customize my portlet and i can set different parameters; now let's imagine that 
i want to use a html tag http://www.libero.it




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]