Re: T5: newbie question about tap5 & ejb

2007-10-06 Thread Yann Ramin
AFAIK, You can't use the @EJB annotation outside of an actual bean or class managed by the EJB framework (Tapestry is not). You need to bind to the using a JNDI context - I think the Quickstart example has a good example of using a Tapestry ASO (BeanLocator) for that. Pavel Volkovitskiy wrote: > H

Re: T5: newbie question about tap5 & ejb

2007-10-06 Thread Anton Gavazuk
I think it is something related to EJB3 realization in Geronimo, you should check your JNDI tree and try to get the interface by using InitialContext = new InitialContext instead of @EJB annotattion, because exception means something is going wrong during initialization InitialContext. 2007/10/7

Re: T5: newbie question about tap5 & ejb

2007-10-06 Thread Anton Gavazuk
I thing it is something related to EJB3 configuration, you should check your JNDI tree and try to get the interface by using InitialContext = new InitialContext instead of @EJB annotattion, because exception means something is going wrong during initialization InitialContext. 2007/10/7, Pavel Vo

Re: Parameter(s) translate, value are required for org.apache.tapestry.corelib.components.TextField, but have not been bound.

2007-10-06 Thread Nick Westgate
If no value is supplied, T5 checks for a property name based on the id. But the id is simply a string and not interpreted as a prop expression, so "." doesn't mean anything special there. That might be an interesting enhancement though. I'll add a JIRA. Cheers, Nick. Marc A. Donis wrote: Aha.

Re: T5: A simple Ajax need(JQuery)

2007-10-06 Thread Donyee
Try this! LoadMore 2007/10/6, Angelo Chen <[EMAIL PROTECTED]>: > > Hi, > > I have a very simple Ajax need, here is the situation: > > My page will display a blog, when user click 'more comments', I'd like to > load a T5 page into a DIV provided, so basica

Re: t5: no root element has been defined

2007-10-06 Thread Christian Gruber
Ok. Thanks, Imants. Several people have offered a similar answer, and I appreciate it, but I have tried this. I have tried *.tml in / src/main/resources/.../pages I have tried *.html in the same. I have tried *.tml in /src/main/webapp, and *.html in /src/main/webapp/WEB- INF/ (per the old

T5: newbie question about tap5 & ejb

2007-10-06 Thread Pavel Volkovitskiy
Hello! i'm trying to use ejb3 beans from my tap5 app right now i'm doing: mtx/racer/pages/contract/AddContract.java: ... @EJB private SellerFacadeLocal sellerFacade; and then public StreamResponse onSubmit() { ... Seller s = sellerFacade.getSeller(code, dealer, comment); there Seller - entity,

T4.1: DropdownTimePicker minutes interval = 5

2007-10-06 Thread Malin Ljungh
Hi all, Is it possible to let the user enter times like for example 23:59 using the DropdownTimePicker? (and keyboard of course, I know the dropdown has 5 minute intervals to select only) Seems like it will change that value to 23:55 before submit. Cheers, Malin

Re: t5: no root element has been defined

2007-10-06 Thread Imants Firsts
After the change from .html to .tml in the SVN, my page templates in WEB-INF were not found any more. Moving them to the corresponding package under main/resources like component templates solved the problem. Imants Quoting Christian Gruber <[EMAIL PROTECTED]>: > I did. It's not a version thing.

Re: [ANN] Trails 1.1.1 release

2007-10-06 Thread Howard Lewis Ship
Thanks for all the effort. I can tell you that Trails demos pretty darn well when I show it off as part of No Fluff Just Stuff. I'm looking forward to Trails 5 for Tapestry 5 ! On 10/4/07, Kalle Korhonen <[EMAIL PROTECTED]> wrote: > Hello "Trailers" :) > > Just as promised, we are happy to annou

Re: t5: no root element has been defined

2007-10-06 Thread Christian Gruber
I did. It's not a version thing. I built 5.0.6-SNAPSHOT from trunk (as of yesterday), and the pom file pulls in that version. (In fact, m2eclipse plugin in eclipse shows the t5-core project as the dep). I have tried each combination of old and new template location, and filename. I und

Re: T5: how to use message catalogs for individual page

2007-10-06 Thread mnguyen21
numerous times with no success. I've also tried moving >>>> everything from org into WEB-INF with no success. >>>> >>>> Can somebody tell what I am doing wrong? >>>> >>>> I'm using 5.0.6-SNAPSHOT and Jetty 5.1. >>>> &

Re: Parameter(s) translate, value are required for org.apache.tapestry.corelib.components.TextField, but have not been bound.

2007-10-06 Thread Marc A. Donis
Aha... I need to specify a TextField's value property, not its id. But why does id work when the value is bound to an attribute of the component class? Anyway, problem solved. - Original Message - From: "Marc A. Donis" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Saturday, Octobe

T5: A simple Ajax need(JQuery)

2007-10-06 Thread Angelo Chen
Hi, I have a very simple Ajax need, here is the situation: My page will display a blog, when user click 'more comments', I'd like to load a T5 page into a DIV provided, so basically, the page is like this: my blog's text goes here the js will be like this: $('#more_comments').click(function(

T5: Parameter(s) translate, value are required for org.apache.tapestry.corelib.components.TextField, but have not been bound.

2007-10-06 Thread Marc A. Donis
Hi again, I have a form in EditAccount.html, which contains: EditAccount.java has a refernce to a user, along with a get/set pair of accessors, and the User object has gettes and setters for its properties, as well. Nonetheless, I am encountering: Parameter(s) translate, value are required

Re: T4: Servlet mapping problem

2007-10-06 Thread Alejandro Scandroli
Hi Bill Make sure you have these 2 things: In tour web.xml declare your RedirectFilter like this: redirect org.apache.tapestry.RedirectFilter redirect-path /home then in "yourapp".application include this line: I think that's all you need. Saludos. Alejandro

Re: T5: Grid with GridRows Question

2007-10-06 Thread Howard Lewis Ship
The GridRows component is a close relative of the Loop component, and manages its loop in Java code, re-rendering its template multiple times. Each render of the template includes an explicit Loop to render a for each property. On 10/6/07, Josh Penza <[EMAIL PROTECTED]> wrote: > I have a questio

T5: Grid with GridRows Question

2007-10-06 Thread Josh Penza
I have a question about the grid and it rows. Where are the rows being rendered? In Grid.html I see But In GridRows.html I only see a loop for the properties of a single row. Where is the loop that renders the rows itself?

Re: t5: no root element has been defined

2007-10-06 Thread Nick Westgate
The exception means your Java class was found, but not the template. Carefully check your project details against Marcus's notes below. Check your pom.xml for the tapestry version etc. Cheers, Nick. Christian Gruber wrote: Actually, I'm getting it from the tutorial as well. That is, I'm gett

Re: T5: how to use message catalogs for individual page

2007-10-06 Thread Nick Westgate
I should clarify that things are working for me in these folders: \myapp\src\main\java\org\example\myapp\pages\sub\Test.java \myapp\src\main\resources\org\example\myapp\pages\sub\Test.tml \myapp\src\main\resources\org\example\myapp\pages\sub\Test.properties Global properties should go in: \myapp\

Re: T5: how to use message catalogs for individual page

2007-10-06 Thread Chris Lewis
Template file names must be named *.tml, and NOT *.html, as of 5.0.6-SNAPSHOT. mnguyen21 wrote: 1 ) I want to change the labels of the fields of the form. 2) I am using Eclipse and launching using the Jetty Launcher 3) no exceptions or errors -- btw, I can't seem to do a project checkout using

Re: T5: how to use message catalogs for individual page

2007-10-06 Thread mnguyen21
1 ) I want to change the labels of the fields of the form. 2) I am using Eclipse and launching using the Jetty Launcher 3) no exceptions or errors -- btw, I can't seem to do a project checkout using the commands in the tutorial for 5.0.6-SNAPSHOT. It complains about missing Start.html. I notice

Re: T4: Servlet mapping problem

2007-10-06 Thread Renat Zubairov
Hi As far as I know friendly URLS are automatically mapped to the Page service, but Restart is not a Page service, it's a service on it's own. What you can do, you can create your own engine instance and map it to the URL you want, your Engine would serve the requests the way you need. Renat On

Re: T5: how to use message catalogs for individual page

2007-10-06 Thread Nick Westgate
I verified today that this works. How are you using the properties? Are you launching from Eclipse or maven? Do you get any console errors or exceptions? Cheers, Nick. mnguyen21 wrote: Hello, I'm trying to follow the form tutorial and am having some trouble with the message catalog. The tu