You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by touchmyheart <to...@eastday.com> on 2002/07/08 09:21:24 UTC
How to use decouple Torque in Jetspeed?
in the page http://jakarta.apache.org/turbine/torque/tutorial.html
after generating all the peer class,the Bookstore.java can use the generated
class to do some work,in its source code:
_______________________________________
public class Bookstore
{
public static void main(String[] args)
{
try
{
/*
* Initializing Torque
*/
Torque.init("Torque.properties");
.............
my question is:
in Jetspeed,how do i write the code?always we use peer class in the action
class of a Portlet,not write a standalone Bookstore.java.
Thanks.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
determining the layout
Posted by Michael Young <pr...@yahoo.com>.
how can you change the layout dynamically if you're
not executing an action? i would like to execute a
screen without using the default layout defined in
TR.props. how can i change the layout. do i need to
write my own layout class?
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>