You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Xavier <ml...@cstahiti.com> on 2001/06/22 00:50:13 UTC

Turbine and Struts

Hi all,

We start to use Turbine (Torque for object génération) for the DB acces and
Struts for Action and ActionForm.
The more interesting for use is the tag library and the simple error
management with the validate method in struts.

That works currently for the simple page.

Do you think that can works properly in the futur? Some body used it like
that?

Thanks.
Xa.


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


Re: sql/db-init/db2/window.vm

Posted by Dave Bryson <da...@miceda-data.com>.
On Thu, 21 Jun 2001, you wrote:
> I think I found it - is it just the one RDF table
> found in project-schema.xml under
> tdk\share\sample\conf?

Yes. And the Turbine schema in the other files.

After you create your newapp, 
1. cd into the build directory
2. update the build.properties for your DB
3. run "ant init" 
4. Watch the screen output.


Dave 
 
> Thanks,
> Andy
> 
> --- A Yang <ay...@yahoo.ca> wrote:
> > Hi,
> > 
> > Obviously, this doesn't exist - so can anyone tell
> > me what I need to do to actually create the
> databases
> > for the sample tdk app manually? What are the table
> > definitions? Are there instructions which I have
> > missed?
> > 
> > Thanks,
> > Andy
> > 
> >
> _______________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.ca address at
> > http://mail.yahoo.ca
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > turbine-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > turbine-user-help@jakarta.apache.org
> > 
> 
> 
> _______________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.ca address at http://mail.yahoo.ca
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
-- 
Dave Bryson
daveb@miceda-data.com
----------------------


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


Re: sql/db-init/db2/window.vm

Posted by A Yang <ay...@yahoo.ca>.
I think I found it - is it just the one RDF table
found in project-schema.xml under
tdk\share\sample\conf?

Thanks,
Andy

--- A Yang <ay...@yahoo.ca> wrote:
> Hi,
> 
> Obviously, this doesn't exist - so can anyone tell
> me what I need to do to actually create the
databases
> for the sample tdk app manually? What are the table
> definitions? Are there instructions which I have
> missed?
> 
> Thanks,
> Andy
> 
>
_______________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.ca address at
> http://mail.yahoo.ca
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> turbine-user-help@jakarta.apache.org
> 


_______________________________________________________
Do You Yahoo!?
Get your free @yahoo.ca address at http://mail.yahoo.ca

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


sql/db-init/db2/window.vm

Posted by A Yang <ay...@yahoo.ca>.
Hi,

Obviously, this doesn't exist - so can anyone tell me
what I need to do to actually create the databases for
the sample tdk app manually? What are the table
definitions? Are there instructions which I have
missed?

Thanks,
Andy

_______________________________________________________
Do You Yahoo!?
Get your free @yahoo.ca address at http://mail.yahoo.ca

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


TIP: Reloading modified Macros..

Posted by ps...@comcen.com.au.
FYI,
To see modifications to a velocity Macro library
without restarting, the #parse() statement
must be executed on that library.

ie,
 Given you make some changes to a macro
 in library myFunctions.vm, before you 
 want to use the modified macro,
 execute this statement:

   #parse("myFunctions.vm")

Velocity will reload all Macros and your changes
will become visible ASSUMING you have the 
velocity properties set correctly to disable caching.

Patrick.


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


TIP: Reloading modified Macros..

Posted by ps...@comcen.com.au.
FYI,
To see modifications to a velocity Macro library
without restarting, the #parse() statement
must be executed on that library.

ie,
 Given you make some changes to a macro
 in library myFunctions.vm, before you 
 want to use the modified macro,
 execute this statement:

   #parse("myFunctions.vm")

Velocity will reload all Macros and your changes
will become visible ASSUMING you have the 
velocity properties set correctly to disable caching.

Patrick.


RE: Turbine and Struts

Posted by Xavier <ml...@cstahiti.com>.
Good question! euuuuhhh...  ;-)

It was simple to anderstand the struts action and actionform.
I can write my own tag or customize an existing one.
Use jsp for graphic page it's easier.
with struts-config.xml I can easly manage the forward for each action
I like the <html:errors> tags to validate the user's inputs

But, it's true, I think it's more because I begin my project and it was
faster to start with struts... but I came to Turbine for Torque and Object
generation...So now, before spend time to anderstand velocity, I try to see
if it's interresting to forget struts.

So, jon, did you use this solution (Turbine and Struts) or I'm doing
something wrong (the architectures are not done to works together...or I
don't know what)

Thanks
Xa.



-----Message d'origine-----
De : Jon Stevens [mailto:jon@latchkey.com]
Envoye : jeudi 21 juin 2001 14:19
A : Turbine-user
Objet : Re: Turbine and Struts


on 6/21/01 5:19 PM, "Xavier" <ml...@cstahiti.com> wrote:

> It was just to know if somebody use this solution
> Xa.

What exactly does that gain you?

-jon


---------------------------------------------------------------------
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: Turbine and Struts

Posted by Jon Stevens <jo...@latchkey.com>.
on 6/21/01 5:19 PM, "Xavier" <ml...@cstahiti.com> wrote:

> It was just to know if somebody use this solution
> Xa.

What exactly does that gain you?

-jon


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


RE: Turbine and Struts

Posted by Xavier <ml...@cstahiti.com>.
It was just to know if somebody use this solution
Xa.

-----Message d'origine-----
De : Jon Stevens [mailto:jon@latchkey.com]
Envoyé : jeudi 21 juin 2001 13:37
À : Turbine-user
Objet : Re: Turbine and Struts


on 6/21/01 3:50 PM, "Xavier" <ml...@cstahiti.com> wrote:

> Hi all,
>
> We start to use Turbine (Torque for object génération) for the DB acces
and
> Struts for Action and ActionForm.
> The more interesting for use is the tag library and the simple error
> management with the validate method in struts.
>
> That works currently for the simple page.
>
> Do you think that can works properly in the futur? Some body used it like
> that?
>
> Thanks.
> Xa.

If it works fine now, why would it break in the future?

I really don't understand what you are trying to get at.

-jon

--
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>


---------------------------------------------------------------------
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: Turbine and Struts

Posted by Jon Stevens <jo...@latchkey.com>.
on 6/21/01 3:50 PM, "Xavier" <ml...@cstahiti.com> wrote:

> Hi all,
> 
> We start to use Turbine (Torque for object génération) for the DB acces and
> Struts for Action and ActionForm.
> The more interesting for use is the tag library and the simple error
> management with the validate method in struts.
> 
> That works currently for the simple page.
> 
> Do you think that can works properly in the futur? Some body used it like
> that?
> 
> Thanks.
> Xa.

If it works fine now, why would it break in the future?

I really don't understand what you are trying to get at.

-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>


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