Re: tapestry 5.1.0.5 and AJAX project/example?

2009-10-28 Thread Vangel V. Ajanovski
On 28.10.2009 08:36, Inge Solvoll wrote: I would love to see a positive and helpful response to this request. His approach might annoy a few people here, but I encourage you to take this kind of thing seriously. I believe there are a lot of people feeling the way Argo feels about the framework, a

Re: Good news about Tapestry 5 in Google App Engine

2009-10-28 Thread Jun Tsai
nice job 2009/10/28 Dmitry Gusev > I've made a Pull request on github with fixes for java.lang.VerifyError. > > Here's the commit details: > > > http://github.com/dmitrygusev/tapestry5/commit/35197745d13ffed1fb89d730dbc85f750bf50bb0 > > > On Mon, Sep 14, 2009 at 07:14, Alex Kotchnev wrote: > >

Re: Jetty lock on JS-files in classpath breaks eclipse autobuild

2009-10-28 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.setPort(80

T5: Checkbox with values other than boolean

2009-10-28 Thread Josh Canfield
I wanted to be able to stick a value into the checkbox so that when I use it in a loop I didn't have to do the correlating between "true" and object when the form was posted. Ultimately I only want to reload the objects that were selected. The current core implementation of Checkbox only supports b

Re: Jetty lock on JS-files in classpath breaks eclipse autobuild

2009-10-28 Thread Howard Lewis Ship
I've hit this problem too, on a client's project using RunJettyRun. The solution is to move classpath resources from src/main/java (or equivalent) to src/main/resources (or equivalent) and add src/main/resources as a class folder. Thiis keeps Eclipse from trying to copy the files (from src/main/j

Re: OGNL expressions in Tapestry 5

2009-10-28 Thread Howard Lewis Ship
On Wed, Oct 28, 2009 at 11:01 AM, Thiago H. de Paula Figueiredo wrote: > Em Wed, 28 Oct 2009 11:49:39 -0200, ARD Marx Tobias > escreveu: > >> Why are the following ognl expressions not supported anymore in the latest >> Tapestry5 version? > > 5.1.0.5? > >> ${method.getSomething()} > This exists

Re: OGNL expressions in Tapestry 5

2009-10-28 Thread Thiago H. de Paula Figueiredo
Em Wed, 28 Oct 2009 11:49:39 -0200, ARD Marx Tobias escreveu: Why are the following ognl expressions not supported anymore in the latest Tapestry5 version? 5.1.0.5? ${method.getSomething()} This works in 5.1.0.5. ${method.getSomething(´some constant´)} I don't know if the prop bind

Re: tapestry 5.1.0.5 and AJAX project/example?

2009-10-28 Thread Thiago H. de Paula Figueiredo
Em Wed, 28 Oct 2009 12:11:38 -0200, Argo Vilberg escreveu: select ->countries ->ajax trigger after oncahnge new selected citys for taht countries. There are some examples here: http://lombok.demon.co.uk/tapestry5Demo/ (look for dynamic select) In Ars Machina Project, the Brasil project h

Re: Jetty lock on JS-files in classpath breaks eclipse autobuild

2009-10-28 Thread Luther Baker
I had this same problem - but it was solved with the useFileMappedBuffer=false solution. One difference was that I didn't change /etc/webdefault.xml - I actually copied webdefault.xml into my project and updated my pom file: org.mortbay.jetty maven-jett

Re: Jetty lock on JS-files in classpath breaks eclipse autobuild

2009-10-28 Thread Felix Gonschorek
Hi Inge, one of our developers had the same issues (eclipse, jetty, maven) on windows XP - we tried several configurations (including the disabled jetty lock) without success. the problem disappeared after a fresh install of windows xp; we could not get rid of the problem with in any other wa

Re: Soliciting suggestions about how to even start tracking this problem down.

2009-10-28 Thread Erick Erickson
Howard: Thanks, that's something I'd *never* have figured out, I'll see what I can find... Erick On Wed, Oct 28, 2009 at 10:35 AM, Howard Lewis Ship wrote: > This stands out to me: > > org.apache.tapestry5.ioc.internal.util.TapestryException: Error invoking > constructor java.lang.String(byte[]

Re: Soliciting suggestions about how to even start tracking this problem down.

2009-10-28 Thread Howard Lewis Ship
This stands out to me: org.apache.tapestry5.ioc.internal.util.TapestryException: Error invoking constructor java.lang.String(byte[], int, int, int) (at String.java:338) I would look for something like: @SessionState private String foo; (it might be @ApplicationState) SSOs should be JavaBeans.

Re: tapestry 5.1.0.5 and AJAX project/example?

2009-10-28 Thread Juan E. Maya
As pointed out before u can see examples of this in Jumpstar. http://jumpstart.doublenegative.com.au:8080/jumpstart/ the AjaxFormLoop Component my be also useful: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/AjaxFormLoop.html Also using the ZoneU

Re: tapestry 5.1.0.5 and AJAX project/example?

2009-10-28 Thread Argo Vilberg
How to create dynamic forms. Where is N different textbox, autocomplete, select or datepicker. In every textbox,autocomplete,select or datapicker can bound ajax behaviour. Example input type text select ->countries ->ajax trigger after oncahnge new selected citys for taht countries. select ->ci

Re: Soliciting suggestions about how to even start tracking this problem down.

2009-10-28 Thread Erick Erickson
No, I really can't post our company source code, other than snippets. Why would multiple jar files in the class path cause this only very occasionally? I'll check anyway, but it seems like this problem would be more reproducible if this was the case We get through this process many many times

Re: OGNL expressions in Tapestry 5

2009-10-28 Thread Sven Homburg
http://tapestry.apache.org/tapestry5.1/guide/propexp.html or try this http://chenillekit.codehaus.org/chenillekit-tapestry/ognlbinding.html with regards Sven Homburg Founder of the Chenille Kit Project http://www.chenillekit.org 2009/10/28 ARD Marx Tobias > > > Why are the following ognl e

OGNL expressions in Tapestry 5

2009-10-28 Thread ARD Marx Tobias
Why are the following ognl expressions not supported anymore in the latest Tapestry5 version? ${method.getSomething()} ${method.getSomething(´some constant´)} ${ognl:method.getSomething(´some constant´)} and how does this work now? Thanks! Toby

Re: Soliciting suggestions about how to even start tracking this problem down.

2009-10-28 Thread cordenier christophe
Hello Can you send the code of the 'CreateAgeProfile' page ? For the meantime a good thing (if you have not already done it) would be to check your classpath to verify that there is not multiple tapestry jar versions, and verify that your javassist jar is conformed to the one used by Tapestry 5 -

Soliciting suggestions about how to even start tracking this problem down.

2009-10-28 Thread Erick Erickson
Really sorry for the fragmentary e-mails. I mis-typed the e-mail for the main post, posted an addendum, then saw this post had been bounced. Ignore my other e-mail. Honest, occasionally I'm competent The end of the email is a partial stack trace that I'm pretty sure is corresponds to this erro

Addendum to previous request for help.

2009-10-28 Thread Erick Erickson
Sorry, I forgot to put this in the first e-mail.. I'm using Tapestry 5.1.0.5, running in Tomcat.

Re: Upload within AjaxFormLoop Example

2009-10-28 Thread Holger Stolzenberg
Yeah sure but it also says that someone has managed to do this by using hidden iframes. On 28.10.2009, at 13:31, Thiago H. de Paula Figueiredo wrote: That thread, in the last message, says that it isn't possible to use AJAX to do file uploads. -- Thiago H. de Paula Figueiredo Independent J

Re: Upload within AjaxFormLoop Example

2009-10-28 Thread Thiago H. de Paula Figueiredo
That thread, in the last message, says that it isn't possible to use AJAX to do file uploads. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago - To uns

Re: how can i construct external url with querystring???

2009-10-28 Thread Thiago H. de Paula Figueiredo
Em Wed, 28 Oct 2009 07:29:54 -0200, sameerkhare escreveu: Is it the good way to construct the url by this way. It is for external URLs. I am trying to use Link tapestry class with createPageRender() method. but no luck.. createPageRender() and similar methods is the right way to cr

Re: Good news about Tapestry 5 in Google App Engine

2009-10-28 Thread Dmitry Gusev
I've made a Pull request on github with fixes for java.lang.VerifyError. Here's the commit details: http://github.com/dmitrygusev/tapestry5/commit/35197745d13ffed1fb89d730dbc85f750bf50bb0 On Mon, Sep 14, 2009 at 07:14, Alex Kotchnev wrote: > A follow up question to the committers on this : Is

Re: how can i construct external url with querystring???

2009-10-28 Thread Martin Strand
Maybe you want String.format instead? String.format("http://somesite.com/ath/?param1=%s¶m2=%s";, param1, param2) On Wed, 28 Oct 2009 11:11:37 +0100, sameerkhare wrote: That's right... createPageRender() is to create internal link, Thats why i am not able to create external link by this m

Upload within AjaxFormLoop Example

2009-10-28 Thread Holger Stolzenberg
Hello out there, I am trying to use the Tapestry 'Upload' component within an AjaxFormLoop component but having a lot of trouble with it. I am near to the solution but the final result doesn´t come. I found a small example documented within bug 'TAPESTRY-2453' and in another thread of th

Re: how can i construct external url with querystring???

2009-10-28 Thread sameerkhare
I am not very much clear that how it will work in my case. I have a link in tml page and assign the url value with querystring to that link. How can i do this with URL class. Please help me more on it. BR Sameer cordenier christophe wrote: > > Hello > > I use java.net.URL to create external U

Re: how can i construct external url with querystring???

2009-10-28 Thread cordenier christophe
Hello I use java.net.URL to create external URLs, this allows me to verify URL is valid. Tapestry uses java.net.URL for external redirection, i mean that action method can return URL and Tapestry will do the redirection work. Regards Christophe. 2009/10/28 sameerkhare > > That's right... >

Re: how can i construct external url with querystring???

2009-10-28 Thread sameerkhare
That's right... createPageRender() is to create internal link, Thats why i am not able to create external link by this method. Currently i am constructing the link with following approach. But i am not sure, that is it good way to create an exteranl link./ public String getFwdLink(){

Re: how can i construct external url with querystring???

2009-10-28 Thread DH
But what you want is external link, createPageRender() is to create internal link, you need provide your app internal page name. DH http://www.gaonline.com.cn - Original Message - From: "sameerkhare" To: Sent: Wednesday, October 28, 2009 5:29 PM Subject: Re: how can i construct externa

Re: Injecting Tapestry services into Spring beans

2009-10-28 Thread Juan E. Maya
Ok, i found the problem. To inject the service u have to use: @Inject @Autowired private Service MyService; As always the problem was between the screen and chair :) On Wed, Oct 28, 2009 at 1:06 AM, Juan E. Maya wrote: > Hi Hennig, did u manage to resolve this problem? > > i am having the same

Re: how can i construct external url with querystring???

2009-10-28 Thread sameerkhare
Is it the good way to construct the url by this way. I think it is not. I am trying to use Link tapestry class with createPageRender() method. but no luck.. DH-14 wrote: > > I think there isn't any difference between Tapestry and other framewords > here. Or did I misunderstand? > > You

Re: tapestry 5.1.0.5 and AJAX project/example?

2009-10-28 Thread Juan E. Maya
Sorry the mess at the begining. What I meant is that I didn't see anything complex in the url u provided that couldn't be handle using the zone component On Wednesday, October 28, 2009, Juan E. Maya wrote: > Argo maybe u could describe consider a complex example. I didn't see > anything complex

Re: tapestry 5.1.0.5 and AJAX project/example?

2009-10-28 Thread Juan E. Maya
Argo maybe u could describe consider a complex example. I didn't see anything complex that could be handle using the zone component. Jumpstsry provide Ajax demos with forms and the behavior of the zone component should be enough for most of the cases. So please let us know an example that would re

Re: tapestry 5.1.0.5 and AJAX project/example?

2009-10-28 Thread Inge Solvoll
I would love to see a positive and helpful response to this request. His approach might annoy a few people here, but I encourage you to take this kind of thing seriously. I believe there are a lot of people feeling the way Argo feels about the framework, and he does hit a few good points on the way