Re: RE : tapestry5 without maven is ok ?

2007-10-16 Thread MavenMan
mvn dependency:go-offline > > This will download all required dependencies in your > local repo. > > Then, when you will be offline, just use Maven with -o > flag to tell it to use only local artifacts. > > Regards, > > Julien > > --- MavenMan <[EMAIL PROTE

tapestry5 without maven

2007-10-15 Thread MavenMan
hi all: I start to study t5 ,and many demo is related maven .I will not be connect to Internet ,and it is hard to use t5 with maven offline for me .so does it matter if I use t5 without maven ?Does it works well in tomcat offline ? -- View this message in context: http://www.nabble.com/tapes

Re: Tapestry 5 service configuration

2007-10-15 Thread MavenMan
ow I am curious as to what this concept >> problem actually, is could you explain it. >> >> Peter >> >> MavenMan wrote: >>> >>> Peter Stavrinides wrote: >>>> Hi Chris >>>> ApplicationStateManager is a service , I als

Re: Tapestry 5 service configuration

2007-10-15 Thread MavenMan
Peter Stavrinides wrote: > > Hi Chris > ApplicationStateManager is a service , I also think a service and an aso > are completely different thing. > > in a word, It is a concept problem. > > >> are completely different > > > > I am no expert on T5, but strongly disagree with you. > >

Re: how to use ioc of t5 ?

2007-10-13 Thread MavenMan
org/tapestry/Tapestry5HowToNotMakeCustomComponent > last section > > move your DAO into another package, yourApp.entities or sth.. > > Davor Hrg > > On 10/12/07, MavenMan <[EMAIL PROTECTED]> wrote: >> >> >> I just code: >> >> binder.bind(Compan

Re: T5: the relation of pojo

2007-10-11 Thread MavenMan
I have find the docmentent about hibernate . but I still think you are a impatient guy . lasitha wrote: > > MavenMan, > > Please do your own homework - most folks here will gladly give of > their time to help, but we do ask that you _at least_ go over the > basic d

Re: how to use ioc of t5 ?

2007-10-11 Thread MavenMan
> > This should just be: > @Inject > private CompanyDAO dao; > > Josh > > On 10/11/07, MavenMan <[EMAIL PROTECTED]> wrote: >> >> >> now I want to know how to inject service to page class . >> after I add this in AppModule : >> bind

Re: T5: the relation of pojo

2007-10-11 Thread MavenMan
but how to specify the relation of the pojo using relationships ? can you give me examples of one to many and one to one ? thank you ! Angelo Chen wrote: > > you can specify the relationships in the pojp's annotation > > MavenMan wrote: >> >> you know th

T5: the relation of t5 pojo

2007-10-11 Thread MavenMan
you know that there is no need to have a hibernate map file(.hbm.xml) in project. but how to represent the relation of the pojo ? -- View this message in context: http://www.nabble.com/T5%3A-the-relation-of-t5-pojo-tf4606036.html#a13152233 Sent from the Tapestry - User mailing list archive at

Re: how to use ioc of t5 ?

2007-10-11 Thread MavenMan
de, just so we know whether your exception is related > to contributing a package or something else. > > Also, is there more to that exception stack? It doesn't seem to > mention a cause... > > Lastly, i have a vague recollection of a past thread in this list > about contrib

Re: how to use ioc of t5 ?

2007-10-11 Thread MavenMan
a past thread in this list > about contributing packages to tapestry-hibernate... did you happen to > run across anything in the archives? > > Cheers, > lasitha. > > > On 10/11/07, MavenMan <[EMAIL PROTECTED]> wrote: >> >

how to fetch only one record ?

2007-10-11 Thread MavenMan
I have fetched a record set from database.but now I want to only one record . so I code : //page class import com.myspacce.domain.Company; public Company getCom() { _session=_sessionmanager.getSession(); return (Company)_session.createQuery("from Company wh

Failure writing parameter value of component Start:loop:

2007-10-10 Thread MavenMan
I have fetched datas from database : @Inject private HibernateSessionManager _sessionmanager; private Company _company; public List getList() { _session=_sessionmanager.getSession(); List list=_session.createQuery("from Company").list(); r

Re: how to use ioc of t5 ?

2007-10-10 Thread MavenMan
yHibernate > > And don't forget to search the mailing list archives: > http://wiki.apache.org/tapestry/Tapestry5HowToSearchTheMailingLists > > Let us know if those don't help, > Cheers, lasitha. > > On 10/11/07, MavenMan <[EMAIL PROTECTED]> wrote: &g

how to use ioc of t5 ?

2007-10-10 Thread MavenMan
hello all : I write a page class : package com.myspacce.pages; import java.util.*; import org.apache.tapestry.annotations.*; import org.hibernate.*; public class Start { public String _name; @Inject private Session _session; public List getL