RE: where can i find java api

2008-10-26 Thread Muralidhar Y
Thank you so much. I also found that in quick links of 4.0 Warm regards, Muralidhar Y [EMAIL PROTECTED] US Main: 877 KENSIUM (536.7486) India Main: +91 9949495511 India Fax: +91 9949495522 Kensium 200 S Wacker Dr, Suite 3100 Chicago, IL 60606 Confidentiality Note:

Re: where can i find java api

2008-10-26 Thread Donyee
You can find T5 javadoc here http://tapestry.apache.org/tapestry5/apidocs/ 2008/10/27 Muralidhar Y <[EMAIL PROTECTED]> > Hi all where can I find tapestry's java API ? I could not see that on site. > > > > Warm regards, > > Muralidhar Y > > [EMAIL PROTECTED] > > > > US Main: 877 KENSIUM (536.7486)

where can i find java api

2008-10-26 Thread Muralidhar Y
Hi all where can I find tapestry's java API ? I could not see that on site. Warm regards, Muralidhar Y [EMAIL PROTECTED] US Main: 877 KENSIUM (536.7486) India Main: +91 9949495511 India Fax: +91 9949495522 Kensium 200 S Wacker Dr, Suite 3100 Chicago, IL 60606 Confidentiality

Re: T5: Using with hibernate and Mysql

2008-10-26 Thread Thiago H. de Paula Figueiredo
Em Sun, 26 Oct 2008 16:23:46 -0300, James Sherwood <[EMAIL PROTECTED]> escreveu: Thank you, Hi, James! You wouldn't have a link to a demo of the JPA generation. I use eclipse to generate it and cannot find such a generation type. The instructions I used were here: http://www.wikihow.com/Ge

Re: Tapestry 5.0.15, NetBeans 6.1 and Hibernate ClassNotFound exception

2008-10-26 Thread shymon
akochnev wrote: > > Shymon, >I think your issue with the missing jar entry might have to do with how > Maven deploys the war > In the meantime, try switching the archiveClasses option to false (by > default it's true). > > > org.apache.maven.plugins >

Re: What is the difference between a "Translator" and "FieldTranslator"

2008-10-26 Thread Christoph Jäger
Hi Geoff, thanks a lot for your example. This was exactly what I was searching for. I am not trying to achieve anything special with the FieldTranslator, only tried to upgrade my application from 5.0.14 to 5.0.15. I just wanted to make my Translator work again, and the error messages I go

RE: T5: Using with hibernate and Mysql

2008-10-26 Thread James Sherwood
Thank you, You wouldn't have a link to a demo of the JPA generation. I use eclipse to generate it and cannot find such a generation type. The instructions I used were here: http://www.wikihow.com/Generate-Hibernate-Pojo-Classes-from-DB-Tables --James -Original Message- From: Thiago H.

Re: T5: Page lifecycle method called after onActivate but before event handling and page rendering methods?

2008-10-26 Thread Thiago H. de Paula Figueiredo
Em Sun, 26 Oct 2008 11:24:52 -0300, Joel Halbert <[EMAIL PROTECTED]> escreveu: Is there a lifecycle method which is called after onActivate but before any of the event handling methods or page rendering methods? The answer depends on what are you trying to accomplish. :) Could you give an

Re: Changing the default client side CSS

2008-10-26 Thread Thiago H. de Paula Figueiredo
Em Sun, 26 Oct 2008 07:28:06 -0300, Joel Halbert <[EMAIL PROTECTED]> escreveu: OK, that was pretty dim of me, since changing the css is as simple as overriding the css in //assets/5.0.15/tapestry/default.css You can also completely replace the default Tapestry CSS file using the tapestry

Re: reference pages by logical id (rather than by path)

2008-10-26 Thread Thiago H. de Paula Figueiredo
Em Sun, 26 Oct 2008 06:39:21 -0300, Joel Halbert <[EMAIL PROTECTED]> escreveu: Is possible to reference pages by logical id rather than by path? i.e. I would like to be able to reference a page like this: t:page="name:editimages" rather than t:page="manage/inventory/images/Edit" I don't

Re: T5: Using with hibernate and Mysql

2008-10-26 Thread Thiago H. de Paula Figueiredo
Em Sun, 26 Oct 2008 11:31:49 -0300, James Sherwood <[EMAIL PROTECTED]> escreveu: The problem is, when I try to run it I get this error: Could not determine type for: java.util.Set, for columns: [org.hibernate.mapping.Column(userses)] It seems like you chose the Hibernate Core generation type

RE: T5: Using with hibernate and Mysql

2008-10-26 Thread James Sherwood
Thanks for the information this far, I have used hibernate-tools to reverse engineer my tables and I built a small test database to try to work with a foreign key but so far I cannot get it to work. My tables are simple: Users Userid INTEGER FirstName VARCHAR LastName VARCHAR Ocid INTEGER(The for

T5: Page lifecycle method called after onActivate but before event handling and page rendering methods?

2008-10-26 Thread Joel Halbert
Is there a lifecycle method which is called after onActivate but before any of the event handling methods or page rendering methods? -- SU3 Analytics Ltd 61b Oxford Gardens W10 5UJ London Tel: +44 20 8960 2634 Mob: +44 75 2501 0825 www.su3analytics.com SU3 Analytics Ltd is a company registered

RE: T5: Using with hibernate and Mysql

2008-10-26 Thread BarryDev
Oh forgot that I'd change the field's name to match the column in that class. If you want to explicitly join a field to a column use the @JoinColumn(name = "whatever") annotation. -- View this message in context: http://www.nabble.com/T5%3A-Using-with-hibernate-and-Mysql-tp20166018p20173523.htm

RE: T5: Using with hibernate and Mysql

2008-10-26 Thread BarryDev
James Sherwood wrote: > > I still cannot find a good Tapestry-Hibernate tutorial though. I have a > rather large database created and would like to generate objects from > it(this tutorial is the other way around). > Do you mean instead of just declaring an entity class and having hibernate

Re: [T5] Grid default sort column

2008-10-26 Thread Szemere Szemere
I've got to say, I prefer the low-tech way of just sorting the collection before I give it to the Tapestry grid - it's a lot simpler than the above. This doesn't explain why you have the above issue, but it does give you a workaround. Szemere

Re: T5: Using with hibernate and Mysql

2008-10-26 Thread Szemere Szemere
You're on the right track. Tapestry-hibernate essentially provides the "session per request" paradigm in an easy to use way within Tapestry pages. In the java file for a page you can now add: @Inject private Session session; And any of the methods can use the session to pull data from your databas

Re: Tapestry 5 Problems with client-side validation

2008-10-26 Thread andrethiago
No, I don't have a pre tag. I've inserted that when I was writing the message. And yes, more one Brazilian and a beginner in Tapestry. I've already visited your site and it is very good and helpful. Congratulations! Thiago H. de Paula Figueiredo wrote: > > Em Sat, 25 Oct 2008 15:10:41 -0300, an

Re: Rendering messages in template

2008-10-26 Thread Davor Hrg
you can make a binding prefix to handle this, but syntax would have to be without ${ ${messages:${step.stepName}-step} something like ${messages:prop:step.stepName+-step} look at: http://wiki.apache.org/tapestry/Tapestry5HowTos under binding prefixes Davor Hrg On Fri, Oct 24, 2008 at 5:33 PM,

Re: T5: tapestry actionlink ie6 problem

2008-10-26 Thread Argo Vilberg
Final solution was design(css hack) ordinary link, looking like ordinary button:) Argo 2008/10/24 Argo Vilberg <[EMAIL PROTECTED]> > If i use only textlink in actionLink property instead of button, all works > fine also in IE6. > > Good luck M$ and ie6! > > > Argo > > 2008/10/24 Argo Vilberg <[

Re: Changing the default client side CSS

2008-10-26 Thread Joel Halbert
OK, that was pretty dim of me, since changing the css is as simple as overriding the css in //assets/5.0.15/tapestry/default.css Another question then: is it possible to change the HTML template used globally for all error messages ? Joel Halbert wrote: Hi, Is it possible to override th

Changing the default client side CSS

2008-10-26 Thread Joel Halbert
Hi, Is it possible to override the default CSS that is used for client side form field validation error messages? Thx, Joel -- SU3 Analytics Ltd 61b Oxford Gardens W10 5UJ London Tel: +44 20 8960 2634 Mob: +44 75 2501 0825 www.su3analytics.com SU3 Analytics Ltd is a company registered in En

reference pages by logical id (rather than by path)

2008-10-26 Thread Joel Halbert
Is possible to reference pages by logical id rather than by path? i.e. I would like to be able to reference a page like this: t:page="name:editimages" rather than t:page="manage/inventory/images/Edit" You would of course need to maintain the mapping from logical page id to physical path, but