t5: linksubmit error

2009-08-01 Thread Angelo Chen
Hi, In a component template I use a linksubmit as follows: < input t:type="linksubmit" t:id="Submit"> ${asset:context:images/button1.gif} however, a few times I encounter a blackbird window that says: Tapestry.Initializer.linkSubmit() does not exist any idea why? the image can be found h

tapestry5 hibernate using persistece.xml

2009-08-01 Thread Neo Anderson
Hi I follow the tutorial at http://wiki.apache.org/tapestry/Tapestry5HowToUseTapestryHibernate to integrate hibernate with tapestry 5. Everything seems to work fine. But I discover if I switch to use persistence.xml then the application will keep complaining hibernate.cfg.xml not found. Erro

Re: t5: component render multiple elements?

2009-08-01 Thread Angelo Chen
thanks, it works! Thiago H. de Paula Figueiredo wrote: > > On Sat, Aug 1, 2009 at 3:19 AM, Angelo Chen > wrote: > >> Hi, > > Hi! > >> Below is a source code  of a component that renders: >> I'd like to do now is, a component that can render multiple tags like: >> < div> >>        < span styl

Re: Hibernate Configuration

2009-08-01 Thread Ulrich Stärk
http://tapestry.apache.org/tapestry5.1/tapestry-hibernate-core/conf.html Uli On 01.08.2009 18:47 schrieb Joshua Martin: New User Here... How do I go about setting the Hibernate configuration before Session Factory creation? -- _ Joshua S. Martin -

Re: t5: component render multiple elements?

2009-08-01 Thread Thiago H. de Paula Figueiredo
On Sat, Aug 1, 2009 at 3:19 AM, Angelo Chen wrote: > Hi, Hi! > Below is a source code  of a component that renders: > I'd like to do now is, a component that can render multiple tags like: > < div> >        < span style="s1">text 1 >        < span style="s2">text 2 > < /div> Easy: writer.eleme

Hibernate Configuration

2009-08-01 Thread Joshua Martin
New User Here... How do I go about setting the Hibernate configuration before Session Factory creation? -- _ Joshua S. Martin - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For a

Re: T5 + Cayenne deploy question

2009-08-01 Thread Angelo Chen
A VPS will do well. akira-9 wrote: > > Hi, i'm building a web app using T5 + Cayenne for a friend who has a > small chainstore (4 stores spreaded in japan), he doesn't have IT > staff nor IT facilities, so the problem is where to deploy/host this > app. > Does someone have experience hosting

RE: t5: using Messages in a service

2009-08-01 Thread Angelo Chen
Hi, Passing Messages as a parameter to a service does not work, I always get [missing key:?], any idea? Angelo Robin K. wrote: > > This is because Messages is not a service. > It can be injected into pages thanks to InjectWorker / InjectionProvider / > CommonResourcesInjectionProvider which

Re: Live class reloading and annotations in page classes

2009-08-01 Thread Massimo Lusetti
On Fri, Jul 31, 2009 at 6:42 PM, Howard Lewis Ship wrote: > If you have a ComponentClassTransformWorker that converts the > annotation into meta-data on the ComponentModel, then you can just get > the correct ComponentModel without loading the page itself. That is what ChenilleKit access module i

T5 + Cayenne deploy question

2009-08-01 Thread akira
Hi, i'm building a web app using T5 + Cayenne for a friend who has a small chainstore (4 stores spreaded in japan), he doesn't have IT staff nor IT facilities, so the problem is where to deploy/host this app. Does someone have experience hosting T5 apps on shared servers (that supports java) or