James,

I have not written any actions in Jetspeed or Turbine.  Maybe someone 
else on the list can answer the question.  I also seem to thing their is 
  documetation/how-to on the Jetspeed site.

Paul Spencer



WANG Zheng, James wrote:

> Dear all,
> I want to write a portal in jetspeed,input a query name,then connect
> to database and execute the simple sql statement  and output the result,
> all should be presented in portal screen,and i'd like , in the result page 
> i can click the 'restore' button so i can go back the previous page.
> ,i can use ECS elements in my portlet to output query html code like below:
> .............................
> <form action='xxxxxxx'>
>    <input type='text' name='queryName'>
>    <input name="action" type="hidden" value="QueryAction" />
>    <input type='submit' value='query'>
> </form> 
> ..............................
> 
> my question is: 
> 1) how should i define the 'xxxxxx' in <form action>?
> i think it should be a template file,a jsp file or vm file,i cant define it
> with
> /template/home,but if that,the screen will be display all portlets in result
> 
> screen,but my desired is  only this portal result with a 'restore' button on
> the
> right top of page.
>    and i think there are only two steps and two pages in my portlets,
> search input  --->search result ,if i have three or more steps,such as 
> search input  --->search input ---> search result,inpuhow do i define 'form
> action'
> in every steps?
> 
> 2) how do i code the "QueryAction.java",how do i get database connection?
> i think i can write it manully with JDBC,but it seems that Turbine can
> implment
> this, how do i use Turbine database connection ?anyone call tell me?
> 

> thanks!
> 
> James Wang
> 
> 
> Best regards. 
>  
> James Wang 
> ------------------------------------ 
> gedas 
>         your IT partner 
>  
>  
>  
> Software Engineer
> Software Factory,Competence Center 
> gedas (Shanghai) Information Technology Co.,Ltd 
> 38/F,Jin Mao Tower 
> No.88,Century Boulevard,Pudong New Area 
> Shanghai,200120,P.R.China 
> Tel:+86-21-5047 0011- 403 
> Fax:+86-21-5047 1801 
> mailto:[EMAIL PROTECTED] 
> www.gedas.com.cn <http://www.gedas.com.cn>  
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 



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

Reply via email to