Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-22 Thread zack1403
I trimmed my source down to the simplest form trying to isolate the issue. I pasted in the simplest form I could get to. My original contains a number of elements including a bean edit form: Remove It yields the same exception. There were many more elements in there when th

Re: Ajax and Validation

2009-04-22 Thread Geoffrey Wiseman
On Wed, Apr 22, 2009 at 7:04 PM, Joost Schouten (mailing lists) < joost...@jsportal.com> wrote: > On Thu, Apr 23, 2009 at 8:38 AM, Geoffrey Wiseman > wrote: > > I wasn't sure if Tapestry did any magic under the covers to work with > > server-side validation and ajax form submits. I did a quick e

Re: Ajax and Validation

2009-04-22 Thread Joost Schouten (mailing lists)
On Thu, Apr 23, 2009 at 8:38 AM, Geoffrey Wiseman wrote: > I wasn't sure if Tapestry did any magic under the covers to work with > server-side validation and ajax form submits.  I did a quick experiment and > it doesn't seem to: > >   - Create a form, give it a zone to do ajax submit. >   - Create

Re: 301 moved permanently

2009-04-22 Thread Filip S. Adamsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey there, I have a similar need on one of my sites. Here's how I solved it: http://markmail.org/message/53xyz7hxzpxyrn5d The code is more than a year old, but it should still work. /Filip On 2009-04-17 11:10, Davor Miku wrote: > Hi guys! > > I ha

Re: Changing default hibernate.cfg.xml

2009-04-22 Thread Kalle Korhonen
Maybe you found an answer to this already, but you need to disable the default configuration first ( http://tapestry.apache.org/tapestry5/tapestry-hibernate/conf.html). But I agree, it might make more sense that you'd just be able to override the value for the default filename. At least for me, it'

Re: [T4] Session Timeout Handling

2009-04-22 Thread Andreas Andreou
I don't remember any tapestry specific handler for the session timeout to have ever existed... You should just be able to implement a custom HttpSessionListener and register it with your application server from web.xml On Mon, Apr 20, 2009 at 6:28 PM, Robert Zinger wrote: > Hello, > > I am using

Re: [T5] Persistent fields may not be updated until after the page has finished loading

2009-04-22 Thread Felix Gonschorek
My suggestion: care for the initialization in the getters - this works best for me. Like this: public MyBusinessBean getBean() { if (this.bean == null) { this.bean = new MyBusinessBean(); } return this.bean; } works for pages and components... (onActivate!!) Felix Tobias Wehrum schrieb

Re: [T5] Persistent fields may not be updated until after the page has finished loading

2009-04-22 Thread Tobias Wehrum
Does that mean that for every persistent variable you have to write a if (field == null) field = new Anything(); in the SetupRender? Is there no easier way? Cheers, Tobias Marcel Sammut schrieb: I had the same problem when moving to 5.0.16. It was pretty simple for me, since what I was doing

partial form update

2009-04-22 Thread Jorge Saridis
Hi, is there a way to partially update a form from an action link? Thanks in advance Jorge

Ajax and Validation

2009-04-22 Thread Geoffrey Wiseman
I wasn't sure if Tapestry did any magic under the covers to work with server-side validation and ajax form submits. I did a quick experiment and it doesn't seem to: - Create a form, give it a zone to do ajax submit. - Create an onValidateForm method, throw a ValidationException from it.

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-22 Thread Howard Lewis Ship
Add a Comparison Remove Shouldn't there be a TextField or something in there? The rather odd error is that Tapestry has to "hunt around" to find a conforming location to add a hidden field; typically inside a or before an tag. Your

AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-22 Thread zack1403
When I upgraded to 5.1.0.2 my AjaxFormLoops throw exceptions upon trying to add a row. Remove row links still work and the transaction is getting committed even when there is an exception. Ie, if I refresh the page after blackbird shows the exception I can see my added row. I have trimmed down

Re: Problem on a T4 + hivemind project

2009-04-22 Thread Howard Lewis Ship
myApp.MailReceivers make sure that you are using the correct fully quallified configuration-point id in the module that's contributing. On Wed, Apr 22, 2009 at 12:19 AM, Andrea Chiumenti wrote: > Hello, > I've an old T4 application that I'm trying to migrate. > > Currently the application is bu

Re: 'Add Forms' and Looping

2009-04-22 Thread Geoffrey Wiseman
On Wed, Apr 22, 2009 at 2:06 PM, Geoffrey Wiseman < geoffrey.wise...@gmail.com> wrote: > Possibly, if I write my own encoder, this goes away entirely, as I can > subclass the default and provide an implementation for > provideMissingObject(). I'm not sure, but that might accomplish what I'm > loo

'Add Forms' and Looping

2009-04-22 Thread Geoffrey Wiseman
I've got a form that allows you to add a number of new users. When the form is initially populated, you're coming from a list of email addresses in another form, so I can populate a bunch of blank users with email addresses and render the template that way. Works fine, comes out with a row for ea

Re: [T5] Tapestry.decimalFormatSymbols

2009-04-22 Thread Howard Lewis Ship
Currently, including a field with numeric validation is the trigger for this. There is not currently a provision for providing them otherwise (the code that generates the necessary JS is inside the NumericValidator class). On Wed, Apr 22, 2009 at 9:50 AM, Ville Virtanen wrote: > > Hi, > > I have

[T5] Tapestry.decimalFormatSymbols

2009-04-22 Thread Ville Virtanen
Hi, I have javascript that depends on Tapestry.decimalFormatSymbols. How can I ensure that those symbols are added to page? Could there be annotation that would trigger it? - Ville -- View this message in context: http://www.nabble.com/-T5--Tapestry.decimalFormatSymbols-tp23175562p23175562.h

Re: [REQUEST] Live T5 web sites, quotes, marketting

2009-04-22 Thread Peter Stavrinides
We moved our web Extranet to Tapestry starting a little over three years ago. We chose Tapestry in order to solve a number of interoperability problems that had developed within our organization over time. We needed to move away from a dated Perl web API that was difficult to maintain and had po

Re: Error while launching Login page

2009-04-22 Thread Otho
You just set up your security context as usual with spring. Define the beans you need for userDetailsService (or other authenticationProvider), saltSource, encoder, rememberMe etc. and fire up the spring security namespace config. This is described in great detail in the Spring security docs as wel

Re: IE 8 and Javascript Rendersupport.addScript() problem

2009-04-22 Thread Howard Lewis Ship
pageRenderSupport.addScript("new Test(wellType);"); I'm not surprised that IE8 fails, but that FF3 works; in fact, there's probably an error in the FF3 console. What is the value of variable wellType? It's undefined. On Wed, Apr 22, 2009 at 7:15 AM, olip wrote: > > Hi everyone! > > The f

Re: What happened to the DoubleTranslator in 5.1

2009-04-22 Thread Howard Lewis Ship
Uploading documentation to apache.org is something of an additive process. Perhaps I should start wiping out the target directory before uploading fresh content. On Wed, Apr 22, 2009 at 4:36 AM, Ulrich Stärk wrote: > Funnily the javadocs haven't been regenerated with the 5.1.0.1, 5.1.0.2 and > 5.

IE 8 and Javascript Rendersupport.addScript() problem

2009-04-22 Thread olip
Hi everyone! The following code works fine under Firefox3 but not under IE8. I made a little component where I build up a drop down menue and a javascript section which should access the components id element. Test.java (a component): @IncludeJavaScriptLibrary(value = {"T

Re: Error while launching Login page

2009-04-22 Thread Borut Bolčina
Can you give an example? -Borut 2009/4/22 Otho : > It is also straightforward to configure Spring Secuity as usual (aka in > Spring config), if you should need features which are not yet in the spring > security module or should use spring data access abstractions anyways. > > > 2009/4/21 Borut B

Re: Tweaking the bean edit form.

2009-04-22 Thread Thiago H. de Paula Figueiredo
On Wed, Apr 22, 2009 at 9:47 AM, kk4Nabble wrote: > So suppose we have 20 fields in entity class will it displays everything one > below the other? > > What is to be done to have firstname and last name in same row? In this case, maybe you are better served by not using BeanEditForm or using Bean

Tweaking the bean edit form.

2009-04-22 Thread kk4Nabble
Hi all, Am learning Tapestry 5. This is my bean edit form.. This outputs as firstname in one div and last name in second div. So suppose we have 20 fields in entity class will it displays everything one below the other? What is to be done to have firstname and last nam

Re: What happened to the DoubleTranslator in 5.1

2009-04-22 Thread Ulrich Stärk
Funnily the javadocs haven't been regenerated with the 5.1.0.1, 5.1.0.2 and 5.1.0.3 releases, they are still for 5.1.0.0. In the meantime, the DoubleTranslator has been replaced with the more generic and locale-aware NumericTranslator. Also check the nightly docs at http://tapestry.formos.com/ni

Re: using dojo in tapestry 5

2009-04-22 Thread Andrea Chiumenti
this because you are using T5.1.x It's a problem I've already solved, but you have to use the version from git. If it's not a problem use T5.0.x cheers, kiuma On Wed, Apr 22, 2009 at 12:32 PM, kk4Nabble wrote: > > Hii Andrea, > > I added >   >        TapestryJFly >        http://tapestry-jfly

What happened to the DoubleTranslator in 5.1

2009-04-22 Thread Peter Stavrinides
Hi, The DoubleTranslator doesn't appear in the Deprecated API: http://tapestry.apache.org/tapestry5.1/apidocs/deprecated-list.html#class And strangely it appears as usual in the docs: http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/internal/translator/DoubleTranslator.html Bu

RE: Parameter publishing and informal parameters

2009-04-22 Thread Blower, Andy
Thanks Howard, that works perfectly. (and I obviously need an eye test..) > -Original Message- > From: Howard Lewis Ship [mailto:hls...@gmail.com] > Sent: 21 April 2009 17:00 > To: Tapestry users > Subject: Re: Parameter publishing and informal parameters > > The @Component.inheritInforma

Re: using dojo in tapestry 5

2009-04-22 Thread kk4Nabble
Hii Andrea, I added TapestryJFly http://tapestry-jfly.sourceforge.net/repository/ under repositories and net.sourceforge.tapestryjfly dojotapestry5 1.2.3-rc2 under dependencies inside pom.xml But now am getting java.lang.NoSuchMethodErro

Re: [T5] Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

2009-04-22 Thread Harald Geritzer
sorry, sent too fast... i am using trails conversations for persistance - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

[T5] Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

2009-04-22 Thread Harald Geritzer
any idea how to trace that error back...seems it occurs in restoreStateBeforePageAttach but what does that procedure do? i am using trails ty, harald Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String at rd.wtp.portal.base.BlockWizard.resto

Re: Error while launching Login page

2009-04-22 Thread Otho
It is also straightforward to configure Spring Secuity as usual (aka in Spring config), if you should need features which are not yet in the spring security module or should use spring data access abstractions anyways. 2009/4/21 Borut Bolčina > Hi, > > did you have a look at > http://www.localh

Re: [Announce] Tapestry XPath project

2009-04-22 Thread Andrea Chiumenti
Very very good, greetings! On Tue, Apr 21, 2009 at 10:24 PM, Thiago H. de Paula Figueiredo wrote: > Em Tue, 21 Apr 2009 17:07:46 -0300, Paul Field > escreveu: > >> I'd like to announce that the Tapestry XPath project is now available as a >>  Snapshot release at Tapestry 360: >> https://tapestry

Re: using dojo in tapestry 5

2009-04-22 Thread Andrea Chiumenti
not integrating it natively is a good choice IMHO, because doing so dojo versions are not boud to T5 releases Remember that it's alpha. I need to do some work on it before going in beta On Wed, Apr 22, 2009 at 10:07 AM, kk4Nabble wrote: > > Thanks a lot.. > > Hoping to see dojo with T5. > > > I

Re: using dojo in tapestry 5

2009-04-22 Thread kk4Nabble
Thanks a lot.. Hoping to see dojo with T5. I was really dissappointed when i heard T5 is not integrated with dojo. Anyways I ll look into the url u sent. Thanks again :-) Andrea Chiumenti wrote: > > Yes it is! > I've done it. > It's currently in alpha status and I'm waiting the dojo comuni

Re: using dojo in tapestry 5

2009-04-22 Thread Andrea Chiumenti
Yes it is! I've done it. It's currently in alpha status and I'm waiting the dojo comunity will review the maven dojo build plugin I've done. When the plugin will be successfully tested, then the project will be modifyed to use it and moved to formos.com (Howard allowing :P) If you want to give the

Re: using dojo in tapestry 5

2009-04-22 Thread Peter Stavrinides
> Since tapestry4.1.5 was integrated with dojo. > I used the above method to get a dojo widget. > What is method in tapestry 5? Dojo is not integrated natively into Tapestry 5, it uses Pototype instead, but you could have a look at the ChenillKit datepicker instead: http://www.chenillekit.org/de

using dojo in tapestry 5

2009-04-22 Thread kk4Nabble
Hi all, am new to tapestry5. And am learning it. Since tapestry4.1.5 was integrated with dojo. I used the above method to get a dojo widget. What is method in tapestry 5? Is there any example or tutorial using dojo with tapestry 5. Also any tutorial for using dwr? Thanks in advance -- View

Problem on a T4 + hivemind project

2009-04-22 Thread Andrea Chiumenti
Hello, I've an old T4 application that I'm trying to migrate. Currently the application is built with ant, before migrating it to T5, I want to mavenize it The problem that I'm currently having is with HiveMind I have a configuratin-point in a jar and the contribution into another. The contribu