Re: Decent jetty runner for eclipse

2009-04-13 Thread Christian Köberl
I have created a simple Eclipse plugin for running Jetty (also frustrated by RunJettyRun and Jetty Launcher). The plugin can be used like Jetty launcher but support Java 6 and Jetty 6/7. It is currently in alpha stage but it works fine for servlet-based apps (JSP support is missing, Jetty 5 do

Re: Java support added to Google AppEngine

2009-04-13 Thread Christian Köberl
Can you post your GAE application's folder structure (also how you integrated tapestry jars in it) and if possible the source of the demo app. I tried 5.0.18 version and I am getting NoClassDefFoundError on an inner class corelib.components.Loop$1 I get the same error on the local GAE test serv

Re: usability: javascript focus on input fields

2009-04-13 Thread Sergey Didenko
BTW, I have found the advice to use simple raw "

Re: Google Maps and Tapestry

2009-04-13 Thread Joost Schouten (mailing lists)
have a look at http://www.chenillekit.org/chenillekit-tapestry/ref/org/chenillekit/tapestry/core/components/GPlotter.html I found this a bit too limited when I looked at it and build one myself. Check out http://www.carealoud.com/en/caredforby/joostschouten for a working tapestry example (still i

Re: Google Maps and Tapestry

2009-04-13 Thread Thiago H. de Paula Figueiredo
Em Mon, 13 Apr 2009 22:05:04 -0300, Amit Nithian escreveu: How does one go about using Google Maps with Tapestry? I understand how to use Google Maps JS API but am unclear about how I can integrate that into Tapestry. I read online that it's been integrated into Tapestry at least once but

Google Maps and Tapestry

2009-04-13 Thread Amit Nithian
How does one go about using Google Maps with Tapestry? I understand how to use Google Maps JS API but am unclear about how I can integrate that into Tapestry. I read online that it's been integrated into Tapestry at least once but am having a tough time finding out documentation/examples about this

Re: SUCCESSFULL deploy Tapestry5 on google appengine

2009-04-13 Thread Jun Tsai
voted it. :) 2009/4/14 Ben Gidley > I asked on their group and they said raise a bug - so it is raised at > http://code.google.com/p/googleappengine/issues/detail?id=1283 > So we can wait and see. > > > Ben Gidley > > www.gidley.co.uk > b...@gidley.co.uk > > > On Mon, Apr 13, 2009 at 6:15 PM, Ch

Re: Problem with inherit binding in 5.1.0.2

2009-04-13 Thread Howard Lewis Ship
https://issues.apache.org/jira/browse/TAP5-641 On Thu, Apr 9, 2009 at 10:14 AM, Howard Lewis Ship wrote: > Making my head spin ... I'll try and reason this one out. > > On Thu, Apr 9, 2009 at 9:41 AM, Blšták Peter wrote: >> Hi >> >> I have a problem with inherit parameter binding in 5.1.0.2 and

Re: Best practices dev vs. prod configurations?

2009-04-13 Thread Daniel Jue
I was doing this at first, hinging many things on the production mode symbol. But things got hairy and I needed more flexibility. I wanted a central place where settings based on "production mode" were being decided, and that was taking place either the app module or a child module. Even using a

Re: SUCCESSFULL deploy Tapestry5 on google appengine

2009-04-13 Thread Piero Sartini
voted for it! :) Am Montag 13 April 2009 19:23:34 schrieb Ben Gidley: > I asked on their group and they said raise a bug - so it is raised at > http://code.google.com/p/googleappengine/issues/detail?id=1283 > So we can wait and see. > > > Ben Gidley > > www.gidley.co.uk > b...@gidley.co.uk > > > O

Re: Best practices dev vs. prod configurations?

2009-04-13 Thread Howard Lewis Ship
That gets pretty darn tricky; the current lifecycle of the SymbolSource service, and its SymbolSourceProvider contributions, would make this very complicated to accomplish. It's a step away from a declarative model to an imperative model, and it would necessitate making the SymbolSource service eve

Re: Best practices dev vs. prod configurations?

2009-04-13 Thread Markus Joschko
That would be great. What about adding a new symbolsource depending on a symbol (production-mode). This would allow to add a production symbolsource just before the application source. Here it would be easy to override the dev symbols if needed. On Mon, Apr 13, 2009 at 10:36 PM, Howard Lewis Ship

Re: Best practices dev vs. prod configurations?

2009-04-13 Thread Howard Lewis Ship
I've been thinking of expanding how symbols are interpreted, so that you could do this kind of thing more easily. I.e. ${jdbc.url} = "jdbc:mysql:${jdbc.hostname}/..." ${jdbc.hostname} = "${jdbchostname.production-mode.${tapestry.production-mode}}" ${jdbc.production-mode.true} = "proddb"; ${jdbc.p

Re: [DISCUSS] JavaScript, Degradation, Page Load, Script Placement

2009-04-13 Thread Howard Lewis Ship
By the time any markup is sent to the browser, the page will be finished rendering. Tapestry renders to a DOM then streams the DOM. Persistent fields will already be in the session, ready to be pulled out against a new page instance. On Mon, Apr 13, 2009 at 12:39 PM, Sergey Didenko wrote: > BTW,

Re: Best practices dev vs. prod configurations?

2009-04-13 Thread Markus Joschko
Isn't that slightly more verbose when trying to retrieve the settings? A symbol can simply be injected, for a service I would need to inject the service and then get the value from it. Which means I always have to add something into the initialization mehtod of a page/component. - Markus On Mon,

Re: Best practices dev vs. prod configurations?

2009-04-13 Thread Thiago H. de Paula Figueiredo
What about having a service that reads the tapestry.production-mode symbol and provides all the settings based on it? -- Thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: use

Best practices dev vs. prod configurations?

2009-04-13 Thread Markus Joschko
Hi list, I have a couple of settings which are dependent on the environment I am in. E.g. pathes that are different on my dev environment compared with the prod environment. Normally I would use symbols to store the values but I don't want to make all of them SystemProperties but rather base them

Re: [DISCUSS] JavaScript, Degradation, Page Load, Script Placement

2009-04-13 Thread Sergey Didenko
BTW, can't race conditions happen in the following case: A client without Javascript clicks on ActionLink before the page finishes loading. ? This does not seem like it can be handled with the help of Javascript. On Sun, Apr 12, 2009 at 8:43 PM, Sergey Didenko wrote: > Does it race when "rende

Re: Decent jetty runner for eclipse

2009-04-13 Thread Sergey Didenko
Thanx guys, that looks less dependent on Jetty defaults. Here is the article for everyone interested: http://docs.codehaus.org/display/JETTY/Classloading On Mon, Apr 13, 2009 at 9:24 PM, Fernando Padilla wrote: > we add this to our vmargs: > > -Dorg.mortbay.jetty.webapp.parentLoaderPriority=tru

Re: Decent jetty runner for eclipse

2009-04-13 Thread Fernando Padilla
we add this to our vmargs: -Dorg.mortbay.jetty.webapp.parentLoaderPriority=true -Dtapestry.production-mode=false -Xmx500m Thiago H. de Paula Figueiredo wrote: On Mon, Apr 13, 2009 at 2:28 PM, Sergey Didenko wrote: Don't you use webapp.setServerClasses( new String[] {"-org.mortbay.jetty.plus.

Re: SUCCESSFULL deploy Tapestry5 on google appengine

2009-04-13 Thread ஸ்ரீராம் கீர்த்தி
Thanks a lot Jun. It works like a charm. Now am trying add the app-engine's sdk and dependency jars to maven's support. some help is found at: http://shalinsays.blogspot.com/2009/04/google-app-engine-and-maven.html 2009/4/13 Jun Tsai > The demo source : http://github.com/bitiboy/t5ongae/tree/ma

Re: Decent jetty runner for eclipse

2009-04-13 Thread Thiago H. de Paula Figueiredo
On Mon, Apr 13, 2009 at 2:28 PM, Sergey Didenko wrote: > Don't you use > webapp.setServerClasses( new String[] > {"-org.mortbay.jetty.plus.jaas.", "org.mortbay.jetty."} ); > also? As recommended on http://wiki.apache.org/tapestry/Tapestry5RunViaMain . The line webapp.setParentLoaderPriority(true)

Re: usability: javascript focus on input fields

2009-04-13 Thread Sergey Didenko
Thanks! I just think may be the framework default should be revised. On Mon, Apr 13, 2009 at 12:37 PM, DH wrote: > Try to set autofocus="false" to your form component. > > Thanks, > DH > > - Original Message - > From: "Sergey Didenko" > To: "Tapestry users" > Sent: Monday, April 13, 200

Re: Decent jetty runner for eclipse

2009-04-13 Thread Sergey Didenko
Don't you use webapp.setServerClasses( new String[] {"-org.mortbay.jetty.plus.jaas.", "org.mortbay.jetty."} ); also? As recommended on http://wiki.apache.org/tapestry/Tapestry5RunViaMain . On Mon, Apr 13, 2009 at 3:28 PM, Thiago H. de Paula Figueiredo wrote: > I'm not using any Eclipse plugins

Re: SUCCESSFULL deploy Tapestry5 on google appengine

2009-04-13 Thread Ben Gidley
I asked on their group and they said raise a bug - so it is raised at http://code.google.com/p/googleappengine/issues/detail?id=1283 So we can wait and see. Ben Gidley www.gidley.co.uk b...@gidley.co.uk On Mon, Apr 13, 2009 at 6:15 PM, Christian Edward Gruber < christianedwardgru...@gmail.com>

Re: SUCCESSFULL deploy Tapestry5 on google appengine

2009-04-13 Thread Christian Edward Gruber
The GAE team has indicated on the list that they will be further investigating the non-whitelisted classes towards this end. I don't want to upstage anything officially announced, but rest assured the question of what to whitelist is under discussion. What isn't clear is how fast the part

Re: SUCCESSFULL deploy Tapestry5 on google appengine

2009-04-13 Thread Ben Gidley
I spent several hours trying to hack around this limitation using the maven shade plugin to produce build of woodstox that doesn't reference javax.xml.stream. I did suceed in this, only to be defeated by an internal method of determining which pull parser to pick as it requires you inherit off java

[t4] ParameterPropertyWorker and EstablishDefaultParameterValuesVisitor

2009-04-13 Thread Carlos F
ParameterPropertyWorker if the component is not active a setXX call to the param property sets the value of "default" field that is automagically added by javassist. the assocaited accessor and mutator then interact with the default field. EstablishDefaultParameterValuesVisitor if a binding h

Re: SUCCESSFULL deploy Tapestry5 on google appengine

2009-04-13 Thread Jun Tsai
The main exception: java.lang.RuntimeException: Exception constructing service 'TemplateParser': Error invoking constructor org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at TemplateParserImpl.java:50) via org.apache.tapestry5.internal.services.InternalModule.bind(Servi

Re: SUCCESSFULL deploy Tapestry5 on google appengine

2009-04-13 Thread Christian Edward Gruber
It's not the stax api per-se, it's the javax.xml.stream.* upstream dependency, but the question is still valid. Christian. On 13-Apr-09, at 11:36 , Howard Lewis Ship wrote: I chose Stax because parsing using SAX had gotten so complicated that it was hard to add the many new features I wanted

Re: SUCCESSFULL deploy Tapestry5 on google appengine

2009-04-13 Thread Howard Lewis Ship
I chose Stax because parsing using SAX had gotten so complicated that it was hard to add the many new features I wanted in 5.1. Anythings possible, but I'd like to see how flexible the GAE people are in terms of opening up the STAX API. On Mon, Apr 13, 2009 at 8:11 AM, Christian Edward Gruber wr

Re: SUCCESSFULL deploy Tapestry5 on google appengine

2009-04-13 Thread Christian Edward Gruber
It's the stax dependency on javax.xml.stream for the moment. Howard, any thoughts about having an alternate template processor? It's injected, so would that be feasible? Christian. On 13-Apr-09, at 11:10 , dwi ardi irawan wrote: wow, coolhow bout tapestry 5.1 ? any progress so far ? j

Re: SUCCESSFULL deploy Tapestry5 on google appengine

2009-04-13 Thread dwi ardi irawan
wow, coolhow bout tapestry 5.1 ? any progress so far ? just curious... -- http://dwiardiirawan.blogspot.com "cos everyone could be extraordinary...lighten up !"

Re: T5: Multiple Select preselected values

2009-04-13 Thread Thiago H. de Paula Figueiredo
On Fri, Apr 10, 2009 at 4:04 AM, Kasper wrote: > Hi all, Hi! > I have a form with a multiple select field: > t:id="preferredRegions" t:multiple="true" size="13" /> Tapestry's Select component does not have a "multiple" parameter nor supports maps as the edited value. Maybe the Palette componen

Re: Decent jetty runner for eclipse

2009-04-13 Thread Andreas Andreou
+1 - i also put that in the test source tree On Mon, Apr 13, 2009 at 3:28 PM, Thiago H. de Paula Figueiredo wrote: > I'm not using any Eclipse plugins: I just wrote a class (I call it > Main) in the test sources folder and added Jetty 6.1.14 as a test > dependency. My Main class has code in its m

Re: Maxlength Client Validation Error

2009-04-13 Thread leechj
Sorry to bring this up againbut I wasn't able to find any other topics on this. I just want to make sure that it's not just me. Am I doing something wrong or is it really a requirement to mark a field as "required" to make "maxlength" client side validation work correctly? leechj wrote: > > Hi

Re: Decent jetty runner for eclipse

2009-04-13 Thread Thiago H. de Paula Figueiredo
I'm not using any Eclipse plugins: I just wrote a class (I call it Main) in the test sources folder and added Jetty 6.1.14 as a test dependency. My Main class has code in its main() method: Server server = new Server(); Connector connector = new SelectChannelConnector(); connector

Re: Tapestry JSONObject : no 'function' type, any workaround ?

2009-04-13 Thread DR_GLoPeL_BouCa
Use JSONLiteral. -- View this message in context: http://www.nabble.com/Tapestry-JSONObject-%3A-no-%27function%27-type%2C-any-workaround---tp22369939p23021496.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Decent jetty runner for eclipse

2009-04-13 Thread Peter Stavrinides
I remember using this plugin a while back (18 months perhaps) and it was pretty decent apart from the lack of Java 6 support, also I seem to recall it didn't work in the latest eclipse at that time so sadly I ditched it. Is it working in Ganymede with JDK 6 anybody? - Original Message

Re: usability: javascript focus on input fields

2009-04-13 Thread DH
Try to set autofocus="false" to your form component. Thanks, DH - Original Message - From: "Sergey Didenko" To: "Tapestry users" Sent: Monday, April 13, 2009 5:32 PM Subject: usability: javascript focus on input fields > Hi, > > I'm going through examples (jumpstart) and see the bad

usability: javascript focus on input fields

2009-04-13 Thread Sergey Didenko
Hi, I'm going through examples (jumpstart) and see the bad impact of javascript focus on usability. As I understand in Tapestry 5.0.18 javascript makes an input field focused by default even when there was no validation yet. That is very uncomfortable when a user has already scrolled down text fa