You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Rodrigo Reyes <ro...@instaservi.com> on 2003/04/25 00:23:08 UTC

Is setLayoutTemplate(...) working?

Hi
    Is the setLayoutTemplate() method from RunData working? I am trying to
change the default layout, but it seems like it is not working. I have tried
sending it the template using the only the template name and using the path
from the root, but none worked. Any idea?

Rodrigo



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


Re: Is setLayoutTemplate(...) working?

Posted by Rodrigo Reyes <ro...@instaservi.com>.
I am calling it from an action class. May that be the problem?

Rodrigo

----- Original Message -----
From: "Henning P. Schmiedehausen" <hp...@intermeta.de>
Newsgroups: hometree.jakarta.turbine.users
To: <tu...@jakarta.apache.org>
Sent: Friday, April 25, 2003 7:01 AM
Subject: Re: Is setLayoutTemplate(...) working?


> "Rodrigo Reyes" <ro...@instaservi.com> writes:
>
> Are you calling it from a template via the $link tool or from your
> screen class?
>
> Regards
> Henning
>
>
>
> >Hi
> >    Is the setLayoutTemplate() method from RunData working? I am trying
to
> >change the default layout, but it seems like it is not working. I have
tried
> >sending it the template using the only the template name and using the
path
> >from the root, but none worked. Any idea?
>
> >Rodrigo
>
>
>
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
> --
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
>
> Java, perl, Solaris, Linux, xSP Consulting, Web Services
> freelance consultant -- Jakarta Turbine Development  -- hero for hire
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>



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


Re: Is setLayoutTemplate(...) working?

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
"Rodrigo Reyes" <ro...@instaservi.com> writes:

Are you calling it from a template via the $link tool or from your
screen class?

	Regards
		Henning



>Hi
>    Is the setLayoutTemplate() method from RunData working? I am trying to
>change the default layout, but it seems like it is not working. I have tried
>sending it the template using the only the template name and using the path
>from the root, but none worked. Any idea?

>Rodrigo



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

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

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


Re: Transactions with Turbine & Torque

Posted by Pavel Kusch <pa...@icecentric.com>.
Thank you

With regards,

Pavel Kusch

----- Original Message -----
From: "James Cooper" <ja...@maxware.nl>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Thursday, May 01, 2003 4:32 AM
Subject: RE: Transactions with Turbine & Torque


> Pavel is quite easy to use transactions and you don't have to use EJB's
just
> for transactions.
>
> Connection lDBconn = Transaction.begin ("default");
>
> Criteria lAstCrit1 = new Criteria();
> lAstCrit1.add (AstPeer.AST_FLAG, "D");
> AstPeer.doDelete (lAstCrit1, aDBconn);
>
> Transaction.commit (lDBconn);
> Transaction.safeRollback (lDBconn);
>
>
> -----Original Message-----
> From: Pavel Kusch [mailto:pavel@icecentric.com]
> Sent: 25 April 2003 19:50
> To: Turbine Users List
> Subject: Transactions with Turbine & Torque
>
>
> Hello,
>
> Please, did anybody use some transactions API with turbine and torque? Or
do
> I have to use EJBs?
>
> Thank you.
>
> With regards,
>
> Pavel Kusch
> iceCentric
> 309.685.7900
> 309.264.2674
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org


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


RE: Transactions with Turbine & Torque

Posted by James Cooper <ja...@maxware.nl>.
Pavel is quite easy to use transactions and you don't have to use EJB's just
for transactions.

Connection lDBconn = Transaction.begin ("default");

Criteria lAstCrit1 = new Criteria();
lAstCrit1.add (AstPeer.AST_FLAG, "D");
AstPeer.doDelete (lAstCrit1, aDBconn);

Transaction.commit (lDBconn);
Transaction.safeRollback (lDBconn);


-----Original Message-----
From: Pavel Kusch [mailto:pavel@icecentric.com]
Sent: 25 April 2003 19:50
To: Turbine Users List
Subject: Transactions with Turbine & Torque


Hello,

Please, did anybody use some transactions API with turbine and torque? Or do
I have to use EJBs?

Thank you.

With regards,

Pavel Kusch
iceCentric
309.685.7900
309.264.2674


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



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


Transactions with Turbine & Torque

Posted by Pavel Kusch <pa...@icecentric.com>.
Hello,

Please, did anybody use some transactions API with turbine and torque? Or do
I have to use EJBs?

Thank you.

With regards,

Pavel Kusch
iceCentric
309.685.7900
309.264.2674


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