T4: Localizing @Table component's column header

2007-10-07 Thread Joshua Jackson
Dear all, How do I localize the column header from Table component? This is what I did, I expect that I will get the header localized, but it shows this instead appNumber message payorName message Can anyone give me a hint on this? Thanks in advance -- It's not just abou

Re: T5: A simple Ajax need(JQuery)

2007-10-07 Thread Angelo Chen
Hi Borut, Your tip works well, thanks. now this jQuery really make Ajax an easy task in T5. in another case, say, i would like to do this: $('#stats').load('Stats1.html'); this is easy if Stats1.html is just a plain html, if It's a T5 page, exampe, I'd like T5 to render a page and the result w

Re: T5: A simple Ajax need(JQuery)

2007-10-07 Thread Borut BolĨina
Hello Angelo, look how variable url is constructed. TEMPLATE (tml) http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> AjaxJQueryTask2 AjaxJQueryTask2 status function validate() {

Re: NYSERDA

2007-10-07 Thread Ted Steen
Doing what? 2007/10/7, Celia Mou <[EMAIL PROTECTED]>: > Hi Mark, > > Sorry, I guess you still don't have my phone number: (718) 204-0626 > > Cell: (917) 299-1208 (usually held by Frank) > > I'm at home and doing it. > > Thanks! > > celia > > > > On Oct 7, 2007, at 12:18 PM, Mark Alhadeff wrote

Re: T5: 5.0.5 page parent class constructor

2007-10-07 Thread Johan Maasing
Same thing happens when using tapestry-core-5.0.6-20071007.110018-15.jar tapestry-ioc-5.0.6-20071007.110018-16.jar Still nobody that knows if this is expected? I do not want to write a bug report if it is design decision to not support parent classes for page classes. On 9/19/07, Johan Maasing <

Re: NYSERDA

2007-10-07 Thread Celia Mou
Hi Mark, Sorry, I guess you still don't have my phone number: (718) 204-0626 Cell: (917) 299-1208 (usually held by Frank) I'm at home and doing it. Thanks! celia On Oct 7, 2007, at 12:18 PM, Mark Alhadeff wrote: Move your js up one directory from WEB-INF. See here: http://wiki.apache.org

Re: T5: why not able to locate js?

2007-10-07 Thread Nick Westgate
Move your js up one directory from WEB-INF. See here: http://wiki.apache.org/tapestry/Tapestry5WhereToStoreExternalResources The contents of WEB-INF are protected from browsing. Most assets are usually placed above it. Cheers, Nick. Angelo Chen wrote: if I remove the context, then I have to p

Re: T5: why not able to locate js?

2007-10-07 Thread Angelo Chen
if I remove the context, then I have to put js/query.js under pages directory, this will eliminate the error message, however the script is included in the , anyway to include it in the header part? Thanks. Shing Hing Man wrote: > > Have you tried > > @Path("context:js/jquery.js") > > (no

Re: T5: why not able to locate js?

2007-10-07 Thread Angelo Chen
i tried, but same problem. Shing Hing Man wrote: > > Have you tried > > @Path("context:js/jquery.js") > > (no slash after context:) ? > > Shing > > > > --- Angelo Chen <[EMAIL PROTECTED]> wrote: > >> >> Hi, >> >> I use following code to include a javascript: >> >> @Inject >>

Re: T5: why not able to locate js?

2007-10-07 Thread Shing Hing Man
Have you tried @Path("context:js/jquery.js") (no slash after context:) ? Shing --- Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi, > > I use following code to include a javascript: > > @Inject > @Path("context:/js/jquery.js") > private Asset _library; > > @Environmental

T5: why not able to locate js?

2007-10-07 Thread Angelo Chen
Hi, I use following code to include a javascript: @Inject @Path("context:/js/jquery.js") private Asset _library; @Environmental private PageRenderSupport _renderSupport; void beginRender() { _renderSupport.addScriptLink(_library); } but always got :Unable to l

Re: T5: newbie question about tap5 & ejb

2007-10-07 Thread Pavel Volkovitskiy
Yann Ramin wrote: 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. Ok, i

Re: T5: newbie question about tap5 & ejb

2007-10-07 Thread Pavel Volkovitskiy
Yann Ramin wrote: 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. Ok, i

passing parameters

2007-10-07 Thread Josh Penza
I have a Start page, that has the following template: When I click on a category in the enclosing layout component I catch the Id in the onAction method. But how do I pass this id from the layout component to the content component in the start component? At the moment I am doing this, the ca