Re: Deadlock! 5.0.14-snapshot

2008-09-05 Thread Jun Tsai
I have the same problem,I had updated https://issues.apache.org/jira/browse/TAPESTRY-2561

Re: T5 BeanModelSource create Parameters

2008-09-05 Thread SergeEby
Hi, Yes, a few changes were introduced in 5.0.14 and are documented here: http://tapestry.apache.org/tapestry5/upgrade.html Use resources.getMessages() instead instead of resource. /Serge moritzgilsdorf-2 wrote: > > > Hi, > > I'm trying to add an additional column to a grid following thi

[T5] Tap 5.0.14 and t5components/editor (0.5.14) problem

2008-09-05 Thread Otho
Hi all! I have a strange problem. In my template I use the editor component like shown below but the editor is not loaded. The source of the page does not contain any

IE8 Compatibility Quick Fix

2008-09-05 Thread samlai
http://www.dynamicdrive.com/forums/showthread.php?t=36047 I have to put the following meta tag right after in order for IE8 to pickup. ... Currently, I have some CSS includes that's automatically inserted right after . What's the best way to add that meta tag before those CSS includes?

Re: T4 XML Web Service

2008-09-05 Thread Igor Drobiazko
Have a look at HiveTranse Remoting. It allows you to export HiveMind services as Web Services. If SOAP protocol is not a requirement it might be interesting for you. http://hivetranse.sourceforge.net/web/quickstart.html#start.remoting On Fri, Sep 5, 2008 at 11:45 PM, Norman Franke <[EMAIL PROTECT

T4 XML Web Service

2008-09-05 Thread Norman Franke
I want to create a few web services to allow importing and exporting of data. What's the best way to do this in a Tapestry 4.1 world? I could write a servlet to do this, of course. Is there a "Tapestry Way?" Are there some good guidelines for creating an XML-based WOA (not SOAP as it seems

Re: [T5] my form does not update page properties

2008-09-05 Thread Dave Dombrosky
I have also noticed this. It only seems to happen when the form accesses variables stored inside the @Persisted class. I'm not sure if this is a bug or just a limitation of @Persist. Only workaround I have for now is to move all the variables into the tapestry component, and then add @Persist to

Re: How to create simple wizard with tapestry

2008-09-05 Thread Alex Kotchnev
Also, note that you will probably have to mark the "aluno" attribute in the User page as persistent (e.g. with @Persist annotation), or set it as the page's activation context. Otherwise, whatever you set in setAluno will get wiped out when T5 redirects to the @User page. Cheers, Alex K On Fri,

Re: Generating Javascript link for cgi

2008-09-05 Thread Cliff Willsher
Thank you very much guys, I will give this a go on Monday morning and let you know the outcome. Howard Lewis Ship wrote: That might work as well, but there's only built-in support for context and classpath assets. On Fri, Sep 5, 2008 at 9:25 AM, Hugo Palma <[EMAIL PROTECTED]> wrote: Can't

Re: T4.1.5 Dojo Asset Issues

2008-09-05 Thread Paul Croarkin
No, we are not using acegi. I've just turned off all our custom filters and the web.xml security constraints and I'm getting the same result. My next step is to create a new project with only one page with a DatePicker to try to isolate the issue. Thanks, Paul --- On Fri, 9/5/08, Alejandro Sc

Re: Generating Javascript link for cgi

2008-09-05 Thread Howard Lewis Ship
That might work as well, but there's only built-in support for context and classpath assets. On Fri, Sep 5, 2008 at 9:25 AM, Hugo Palma <[EMAIL PROTECTED]> wrote: > Can't an asset be created dynamically ? > Something like: > > AssetFactory.createAsset(new URIResource(myURL)) > > Never tried it but

Re: [T5] - another question about validators

2008-09-05 Thread Howard Lewis Ship
The API is a bit fixed right now. You need to condense things down to a single object, so if you wanted to combine Min and Max, you might need a Range object to represent the upper and lower bounds. You should provide Coercions to the TypeCoercer service to convert between String and Range. On t

Re: T4.1.5 Dojo Asset Issues

2008-09-05 Thread Alejandro Scandroli
Hi Paul Any chance are you using acegi or any other security framework that is preventing you from accessing that url? Alejandro. On Fri, Sep 5, 2008 at 7:38 PM, Paul Croarkin <[EMAIL PROTECTED]> wrote: > We've upgraded recently from T4.0 to T4.1.5. > > When trying to use a DatePicker, the text

Re: [T5] - implement new client side validator

2008-09-05 Thread Josh Canfield
Javascript allows you to dynamically change an object. Instead of editing tapestry.js create your own js that gets added after tapestry.js and modify the validators then. Something like: Tapestry.Validator.yourvalidator = function(field, message, param) { Tapestry.addValidator(field, true, func

T4.1.5 Dojo Asset Issues

2008-09-05 Thread Paul Croarkin
We've upgraded recently from T4.0 to T4.1.5. When trying to use a DatePicker, the text field appears with a link "Click on icon to choose a date/time value.", but no icon. Clicking the link does not display the Ajax date picker. Viewing the generated source I see the images src as: /myApp/?ser

Fwd: [T5] - another question about validators

2008-09-05 Thread Mohammad Shamsi
any idea ? Hi, is there any way to write a new validator that accept more than one parameter ? exampe range (from, to) i know that i can do it with using 2 validator instead of one (min and max). but i want to write new validator with 2 or more parameter . :( :) -- sincerely yours M. H. Sha

Fwd: [T5] - implement new client side validator

2008-09-05 Thread Mohammad Shamsi
any idea ? Hi friends, i am going to add new validator in my T5 project. the server side validatioin is ok and i have no problem with it. but in client side, i changed the Tapestry.js to add my validator funciton in it. is there any better way to avoid change Tapestry original javascripts ? --

Re: Generating Javascript link for cgi

2008-09-05 Thread Hugo Palma
Can't an asset be created dynamically ? Something like: AssetFactory.createAsset(new URIResource(myURL)) Never tried it but looks like it should work. Howard Lewis Ship wrote: It may be kind of awkward but you can provide your own implementation of Asset; it just has to implement the toClientU

Re: Generating Javascript link for cgi

2008-09-05 Thread Howard Lewis Ship
It may be kind of awkward but you can provide your own implementation of Asset; it just has to implement the toClientURL() method (and dummy implementations of the other methods specified in the interface). On Fri, Sep 5, 2008 at 8:37 AM, Cliff Willsher <[EMAIL PROTECTED]> wrote: > Hi, > > I'm usi

Generating Javascript link for cgi

2008-09-05 Thread Cliff Willsher
Hi, I'm using Tapestry 5.0.14 and trying to generate a script link where the source of the javascript is obtained via a cgi. e.g. src="http://some.domain/some.cgi?key=onBsgdeFET";> One complication of this is th

Re: How to create simple wizard with tapestry

Em Fri, 05 Sep 2008 09:17:09 -0300, Alex Florentino <[EMAIL PROTECTED]> escreveu: public Object onSuccess() { my.package.tranc.pages.User userPage = new my.package.tranc.pages.User(); userPage.setAluno(classmate); return userPage; } @Inject private User userPage;

Re: How to create simple wizard with tapestry

It me seen so hard, there is some way that at my onSuccess, set the object for next page and finish, sample : the userPage is an "page". public Object onSuccess() { my.package.tranc.pages.User userPage = new my.package.tranc.pages.User(); userPage.setAluno(classmate); ret

T5 BeanModelSource create Parameters

Hi, I'm trying to add an additional column to a grid following this guideline: http://www.infoq.com/articles/tapestry5-intro http://www.infoq.com/articles/tapestry5-intro I have seen in several tutorials that the create Method of BeanModelSource takes a ComponentResources Object as third param

Re: T5 : [ANN] The book - next steps

Howard Lewis Ship wrote: I would say that step 1 would be to collaborative design and implement the sample application. From that, the outline and division of tasks should be more attainable. Oh, yes! That would also make an excellent living tutorial (someone mentioned PetStore; yes, somethin

RE: T5 : [ANN] The book - (Index & Appendices)

I think a character in Kurt Vonnegut Jr. Cat's Cradle has a fair bit of advice on indexing your own book (she says "never"). -Original Message- From: Alex Kotchnev [mailto:[EMAIL PROTECTED] Sent: 05 September 2008 05:35 To: Tapestry users Subject: Re: T5 : [ANN] The book - (Index & Append