contributeTranslatorDefaultSource

2009-01-14 Thread Joachim Van der Auwera
When upgrading (or trying to) to 5.1.0.0 I get an exception because the TranslatorDefault service no longer exists. What should I replace my contributeTranslatorDefaultSource methods by? Thanks, Joachim -- Joachim Van der Auwera PROGS bvba, progs.be

Re: EJB Problem

2009-01-14 Thread Geoff Callender
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/state/ejb3 HTH, Geoff On 14/01/2009, at 6:03 AM, Sid Ferreira wrote: Ok, I need to get used about mailing lists... too much years on irc. Im trying to, based on Tapestry 4 non believers, fetch all the data to a grid. Using the

Re: EJB Problem

2009-01-14 Thread Sid Ferreira
Hi Geoff!Thank you for replying. Unfortunelly I worked all based on this example, more exactly: 1) I made Tapestry4nonbelievers 2) Changed the DAOs to a version that works with my database 3) migrated from DAO to EJB. Maybe I forgot something, or maybe I did it wrong dunno. Im starting to

Re: NoSuchElementException in volatile loop

2009-01-14 Thread Joachim Van der Auwera
Problem solved. It seems that for some reason not entirely clear to me, there was a difference in server side and client side state. The end result is the exception below. I believe that either there is a mistake in the comments in the code (about everything being driven by the stored

Re: Persistance

2009-01-14 Thread Ville Virtanen
Moi Kalle, I would try to achieve something like that using: Custom PersistentFieldStrategy (http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/services/PersistentFieldStrategy.html) Custom LinkFactoryListener

Re: Persistance

2009-01-14 Thread Geoff Callender
It would be great if Tapestry provided a really nice clear solution to conversation state (and continuations), but in the meantime the workarounds are actually not all that hard. Have you looked at the 3 Wizard examples and the Conversations List at

Tapestry Nightly

2009-01-14 Thread Martin Papy
Hi, It seem's that the Nightly site / builds / maven etc are down for some days now... Is there any previewed date for their come back ? Regards, Martin -- View this message in context: http://www.nabble.com/Tapestry-Nightly-tp21453644p21453644.html Sent from the Tapestry - User mailing

RE: [T5] improve documentation

2009-01-14 Thread Newham, Cameron
I second this. I much prefer the cookbook approach as opposed to having to wade through a complete application to find how to do something. Jumpstart is excellent and has helped me many times. All it needs is perhaps a bit more explanation of what's going on, more cases covering solutions to

example BaseURLSource: T5

2009-01-14 Thread peibel
Hi, Someone has an example using BaseURLSource, is very important, I'm tired and I donĀ“t get going from http to https from an http link to the page. thanks for your help -- View this message in context: http://www.nabble.com/example-BaseURLSource%3A-T5-tp21453809p21453809.html Sent from the

Re: RE: [T5] improve documentation

2009-01-14 Thread superoverdrive
Jumpstart would also be a good idea Original-Nachricht Datum: Wed, 14 Jan 2009 10:22:13 - Von: Newham, Cameron cameron.new...@bl.uk An: Tapestry users users@tapestry.apache.org Betreff: RE: [T5] improve documentation I second this. I much prefer the cookbook

Strange ClassNotFoundException: org.slf4j.Logger

2009-01-14 Thread Thiago HP
Hi! I'm having a very strange exception when trying to run a T5 application (www.arsmachina.com.br/project/example): Error obtaining injected value for field org.apache.tapestry5.corelib.components.Form.logger: java.lang.ClassNotFoundException: org.slf4j.Logger It seems to be a Tapestry

Re: Strange ClassNotFoundException: org.slf4j.Logger

2009-01-14 Thread Martijn Brinkers
Have you tried setting parentLoaderPriority? See: http://wiki.apache.org/tapestry/Tapestry5HowToSetupEclipseRunJettyRun Martijn On Wed, 2009-01-14 at 09:11 -0200, Thiago HP wrote: Hi! I'm having a very strange exception when trying to run a T5 application

Re: Strange ClassNotFoundException: org.slf4j.Logger

2009-01-14 Thread Thiago HP
On Wed, Jan 14, 2009 at 9:19 AM, Martijn Brinkers martijn.l...@gmail.com wrote: Have you tried setting parentLoaderPriority? Hi! Thanks for your answer, but it didn't work. That wiki page talks about @Inject'ng a Logger, but in my case the problem happens when instantiating (or getting) a Logger

Re: [T5] improve documentation

2009-01-14 Thread Peter Stavrinides
A search on the Tapestry site! I have always wandered why there isn't one? these days its a given. Peter - Original Message - From: superoverdr...@gmx.de To: users@tapestry.apache.org Sent: Wednesday, 14 January, 2009 1:05:50 PM GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject:

Re: Persistance

2009-01-14 Thread Ville Virtanen
But still the wizard example requires session in some form and thus the same conversation in two tabs scenario is not possible? - Ville Geoff Callender-2 wrote: It would be great if Tapestry provided a really nice clear solution to conversation state (and continuations), but in the

Re: example BaseURLSource: T5

2009-01-14 Thread Onno Scheffers
This version prepends http or https before the url. In production mode it builds on a fixed url and in development mode it returns whatever you used to get to the page (localhost? IP?) and adds the right port-number to it. It is a stripped down version of my actual implementation, since that

Re: Strange ClassNotFoundException: org.slf4j.Logger

2009-01-14 Thread Joachim Van der Auwera
I assume slf4j is on the classpath twice... Thiago HP wrote: Hi! I'm having a very strange exception when trying to run a T5 application (www.arsmachina.com.br/project/example): Error obtaining injected value for field org.apache.tapestry5.corelib.components.Form.logger:

Re: Persistance

2009-01-14 Thread Geoff Callender
Try it! What you'll see is that if you open two tabs or windows and then start the Wizard in each one then they will get different conversations. This allows you, for example, to work on two orders at once. If, however, you start the Wizard AND then open a new tab or window AND your

Mapping Bean For View Layout

2009-01-14 Thread Gutemberg A. Da Silva
how do I map 'bean' using the view layout? Example: VIEW LAYOUT public class Teste { private BeanTeste bt; public Teste () { this.bt = new BeanTeste(); } } BEAN public class BeanTeste { private String name; getName(); setName(); }

EJB questions about Jumpstart

2009-01-14 Thread Sid Ferreira
OBS: I was going to send just for Geoff, but maybe someone else could know the answer. Im studing the EJB example but Im failing to make mine work. Im trying to load ClientesUsuarioFacade or ClientesUsuarioFacadeLocal (Im newbie, got a challenge that can mean use T5 in my company and also my

Re: Persistance

2009-01-14 Thread Ville Virtanen
Ok, it uses currentMillis inside the session to differentiate the conversations. It works, but as we are seasoned T5 users we expect everything to just work without all that scary java code :) - Ville Ps. Seriously I appreciate greatly your effort and just want to say Thank you. (I've learned

Re: Mapping Bean For View Layout

2009-01-14 Thread Thiago HP
On Wed, Jan 14, 2009 at 11:24 AM, Gutemberg A. Da Silva sag@gmail.com wrote: how do I map 'bean' using the view layout? What do you mean by view layout? By the way, take a look at the Tapestry forms tutorial: http://tapestry.apache.org/tapestry5/tutorial1/forms.html -- Thiago

Re: Mapping Bean For View Layout

2009-01-14 Thread Gutemberg A. Da Silva
when I say view layout, I wanna say view tie. I wanna acess one atribut of the bean across of class of tml. 2009/1/14 Thiago HP thiag...@gmail.com On Wed, Jan 14, 2009 at 11:24 AM, Gutemberg A. Da Silva sag@gmail.com wrote: how do I map 'bean' using the view layout? What do you mean by

Re: Mapping Bean For View Layout

2009-01-14 Thread Harald Geritzer
VIEW LAYOUT public class Teste { private BeanTeste bt; public Teste () { this.bt = new BeanTeste(); } getBt(); { .. } setBt(BeanTest bt) { .. } } you can use the value property: input t:type=textfield t:id=name value=bt.name size=50

Re: Mapping Bean For View Layout

2009-01-14 Thread Gutemberg A. Da Silva
hi guy, thanks for your help. 2009/1/14 Harald Geritzer h.gerit...@gmail.com VIEW LAYOUT public class Teste { private BeanTeste bt; public Teste () { this.bt = new BeanTeste(); } getBt(); { .. } setBt(BeanTest bt) { .. } } you can

Re: T5: Jump to Specific Page with Grid

2009-01-14 Thread Jayson Pierringer
Bob, You can use the setCurrentPage method of your grid component. myGrid.setCurrentPage(1) - Jayson bobheck wrote: I am trying to do something that seems simple, but I am stumped. The grid pager renders links that look like this to jump to a specific page pagepath/pagename.grid.pager/NN

Re: T5: Jump to Specific Page with Grid

2009-01-14 Thread bobheck
Thank you Jayson !!! That was insanely simple. Nothing like spending a day and a half trying to do something only to find out the answer is to set a property. Sigh. (Walks off, muttering You are a good coderpeople like youyou are valuable...) Jayson Pierringer wrote: Bob, You

Re: T5: Jump to Specific Page with Grid

2009-01-14 Thread Jayson Pierringer
:) No problem. I was just playing with the pager yesterday because I had a problem with the page persisting between searches. If I did a search and went to page three and then performed a new search it started on page three. I wanted the new search to start on page one so I used the

Re: example BaseURLSource: T5

2009-01-14 Thread Howard Lewis Ship
Note that you can inject HttpServletRequest instead of RequestGlobals. On Wed, Jan 14, 2009 at 3:50 AM, Onno Scheffers o...@piraya.nl wrote: This version prepends http or https before the url. In production mode it builds on a fixed url and in development mode it returns whatever you used to

Re: Tapestry Nightly

2009-01-14 Thread Howard Lewis Ship
I finally got Ubuntu installed on the box yesterday, should have Bamboo up and running fairly soon. On Wed, Jan 14, 2009 at 2:49 AM, Martin Papy mar...@liber-mundi.org wrote: Hi, It seem's that the Nightly site / builds / maven etc are down for some days now... Is there any previewed date

Re: t5: accessing a text file under resources

2009-01-14 Thread Tapestry Infodea
Hi, try something like this: private static final String WEB_BASED_PATH = resources/robots.txt; try { InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream(WEB_BASED_PATH); DataInputStream din = new DataInputStream(is);

Re: t5: accessing a text file under resources

2009-01-14 Thread Angelo Chen
Thanks, I found something similar: public InputStream getStream() throws IOException { String fn = this.getClass().getResource(/robots.txt).getFile(); return new FileInputStream(fn); } Tapestry Infodea wrote: Hi, try something like this: private static

Re: Persistance

2009-01-14 Thread Kalle Korhonen
On Wed, Jan 14, 2009 at 1:29 AM, Ville Virtanen ville.virta...@cerion.fiwrote: I would try to achieve something like that using: Custom PersistentFieldStrategy ( http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/services/PersistentFieldStrategy.html ) Custom

RE: is T4 dead ?

2009-01-14 Thread Ken in nashua
I still am using T4 with dojo-0.4.3 and the tapestry script eFrastructure that tacos has taken advantage of. That should indicate a boat load plenty of loyalty... and thank. It would be nice to see some humble support for these though. One of my most recent peeves was the lack of a

Re: is T4 dead ?

2009-01-14 Thread Kevin Menard
Any reason you couldn't just use one of the multitude of JS frameworks? jQuery works very well for this. -- Kevin On Wed, Jan 14, 2009 at 1:25 PM, Ken in nashua nhhockeypla...@hotmail.com wrote: I still am using T4 with dojo-0.4.3 and the tapestry script eFrastructure that tacos has

tapestry.formos.com is back up

2009-01-14 Thread Howard Lewis Ship
The Tapestry continuous integration build server, tapestry.formos.com, is now back online. I've run a nightly build, so you can see latest 5.1 snapshots in the maven snapshot repository. There may be some further disruption as I set up a number of additional services on tapestry.formos.com:

Re: Persistance

2009-01-14 Thread Kalle Korhonen
On Wed, Jan 14, 2009 at 1:39 AM, Geoff Callender geoff.callender.jumpst...@gmail.com wrote: It would be great if Tapestry provided a really nice clear solution to conversation state (and continuations), but in the meantime the workarounds are actually not all that hard. Have you looked at