Re: Can we use Text Area for String field in BeanEditor?

2007-11-23 Thread Howard Lewis Ship
I've been thinking of adding an annotation, perhaps BeanPropertyType that would be used to override the default mechanism for determinng the property type. The property type is used to locate a block to display a property (in BeanDisplay and Grid components) and edit a property (in BeanEditor comp

Re: [T5] Will a BeanEditor accept a parameter block to property override?

2007-11-23 Thread Howard Lewis Ship
Sounds like a bug to me. On Oct 23, 2007 1:35 PM, Daniel Leffel <[EMAIL PROTECTED]> wrote: > I realize a BeanEditForm will, but I have a BeanEditor which is ignoring the > parameter blocks and was wondering if this behavior is by design or a bug. > Does anyone know? > > In this code, the parameter

Re: [T5] Will a BeanEditor accept a parameter block to property override?

2007-11-23 Thread Kevin Menard
Hi Daniel, If you have found any additional information on this, please share. I'm using a BeanEditor right in a simple form and running into the same issue you did. Thanks, Kevin On 10/23/07 4:49 PM, in article [EMAIL PROTECTED], "Daniel Leffel" <[EMAIL PROTECTED]> wrote: > OK, so I've done

Re: Can we use Text Area for String field in BeanEditor?

2007-11-23 Thread Eko S.W.
I am not quite understand, but I'll try it anyway I'll report soon Thanks 2007/11/24, Kevin Menard <[EMAIL PROTECTED]>: > > Yeap, but you have to use a property override. For example: > > > > > > > > > On 11/23/07 6:33 PM, in article > [EMAIL PROTECTED], "Eko S.W." > <[EMAIL PROTECTED]>

Re: Can we use Text Area for String field in BeanEditor?

2007-11-23 Thread Kevin Menard
Yeap, but you have to use a property override. For example: On 11/23/07 6:33 PM, in article [EMAIL PROTECTED], "Eko S.W." <[EMAIL PROTECTED]> wrote: > Hi All, > > I've another (I hope last) > That is, Can we use Text Area for String field in BeanEditor? > > do we have to interfere t

Re: Boolean ValueEncoder

2007-11-23 Thread Geoff Callender
It seems the type coercer is coercing null to Boolean.FALSE. I see this as a bug so I've created https://issues.apache.org/jira/browse/TAPESTRY-1928 . On 23/11/2007, at 10:07 PM, Geoff Callender wrote: Hi, I've struck a problem while trying to do a Select on a Boolean with 3-value logic

Can we use Text Area for String field in BeanEditor?

2007-11-23 Thread Eko S.W.
Hi All, I've another (I hope last) That is, Can we use Text Area for String field in BeanEditor? do we have to interfere the TML file? Thanks in advance for the answer! -- Best wishes, Eko SW My Heart : http://swdev.blogs.friendster.com/my_blog/ My Job : http://swdevsoftwareconsulting.blogspot.c

Re: Finding a DOM node in tapestry-4.1.*

2007-11-23 Thread Ulrich Stärk
Block as well as RenderBlock don't render the tag name as used in the template, just the body specified within the Block component. If you want some enclosing element just wrap it up in a div element: Uli Ken in nashua schrieb: Well Upon examining the render

Re: [T5] Request.isXHR() issue

2007-11-23 Thread Howard Lewis Ship
Don't bother adding a bug ... I'm working on the Ajax support today and have already hit this! On Nov 22, 2007 7:57 AM, Alexander Turtsevich <[EMAIL PROTECTED]> wrote: > > Adam Ayres wrote: > > There appears to be a small bug with the Request.isXHR() method, the > > value of the "X-Requested-With"

RE: Finding a DOM node in tapestry-4.1.*

2007-11-23 Thread Ken in nashua
Well Upon examining the rendered markup... the divs were omitted from the rendering with the actual markup in the Block declaration. But even so I thought I should be able to navigate anyway using the id's I provided... I am unable to even reference the id I specified for the actual Block.

Finding a DOM node in tapestry-4.1.*

2007-11-23 Thread Ken in nashua
Folks, I cannot find my node beyond the form. Please look I am able to do the following: document.forms[0].galleryForm I cannot do the following: document.forms[0].galleryForm.headerSelect galleryForm does have 4 children and elements (one hidd

Re: Problem with not-showing-property in BeanEditorForm

2007-11-23 Thread Kevin Menard
If you customize the bean model, you can add additional properties. The properties you add need not be simple ones either . . . You can go for arbitrary complexity. Just watch out for null references in that case. On 11/22/07 11:21 AM, in article [EMAIL PROTECTED], "Tobias Wehrum" <[EMAIL PROTE

Re: Ajax, Partial Rendering and Tapestry 5

2007-11-23 Thread Thiago H de Paula Figueiredo
On Fri, 23 Nov 2007 14:44:53 -0200, Eric BIANCHI <[EMAIL PROTECTED]> wrote: Hello List, I'd like to use the Ajax.Updater from scriptaculous with Tapestry 5 and I need to render only a subset of the page identified by an ID. Can I do that with Tapestry 5 yet ? Is it a plan feature ? Is it

Ajax, Partial Rendering and Tapestry 5

2007-11-23 Thread Eric BIANCHI
Hello List, I'd like to use the Ajax.Updater from scriptaculous with Tapestry 5 and I need to render only a subset of the page identified by an ID. Can I do that with Tapestry 5 yet ? Is it a plan feature ? Is it a good way to handle Ajax with Tapestry 5 ? Thanks in Advance, best regards.

Re: [T5] A Hibernate question?

2007-11-23 Thread sun58224
不要用session.saveOrUpdate(page);如果没记错,用merge()。 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5: How do i reference components and pages from libraries in templates ?

2007-11-23 Thread Hugo Palma
Is this going to be tackled in the 5.0.7 release ? It's just that if this change is really going to happen, which i hope it does, i think it should be done has soon as possible because it will imply loss of compatibility from previous T5 releases. Howard Lewis Ship wrote: I'll try and find i

[T5.0.6] Bug with requests to non-existent URLs with extensions

2007-11-23 Thread Thiago H de Paula Figueiredo
Hi! Has anyone noticed this behaviour? I'm writing an application that will replace static HTML files, so I want to catch requests for the old HTML ones and redirect to one of my Tapestry pages. If I request the page /xxx, where xxx is a non-existing page, T5 raises a standard HTTP 404 er

RE: [T4] Problems with Dialog component

2007-11-23 Thread Kolesnikov, Alexander GNI
Thanks, Uli, But in my case the problem exists in both Firefox and IE. I tried to set z-index to something reasonably high (imo), 22, but that didn't help. Alex -Original Message- From: Ulrich Stärk [mailto:[EMAIL PROTECTED] Sent: 23 November 2007 13:55 To: Tapestry users Subject: Re:

Re: [T4] Problems with Dialog component

2007-11-23 Thread Ulrich Stärk
I had a similar problem with the FloatingPane Dojo widget disappearing behing certain elements. In my case this was because Internet Explorer interpreted the z-index CSS attribute (which forces the FloatingPane to be rendered on top of every other element) different than Firefox. While Firefox

Re: [T4] Removing Html comments at render time

2007-11-23 Thread Geoff Callender
Tryaround any area you want removed. Geoff On 23/11/2007, at 11:08 PM, #Cyrille37# wrote: Hello, Do you know a way to remove Html comments at render time ? I use to put many many comments in html templates, and I would like to not see them in the source code. For exemple, with the Php

[T4] Removing Html comments at render time

2007-11-23 Thread #Cyrille37#
Hello, Do you know a way to remove Html comments at render time ? I use to put many many comments in html templates, and I would like to not see them in the source code. For exemple, with the Php Smarty template engine you got 'smarty comment' like {* bla bla *} or you can add render_filter w

RE: [T4] Problems with Dialog component

2007-11-23 Thread Kolesnikov, Alexander GNI
It looks like I am having a similar problem to described here. I used a dojo Dialog and it worked and looked fine until I decided to make it visible using the updateComponents property of a button. Now it appears at the very bottom of the page and *behind* the gray background so that I can't do any

Boolean ValueEncoder

2007-11-23 Thread Geoff Callender
Hi, I've struck a problem while trying to do a Select on a Boolean with 3- value logic: I display "", "true", and "false". The problem is that when the user chooses "", Tapestry sets the value field to Boolean.FALSE instead of null. Here's the template code: encoder="booleanValueEncoder"

Re: [T5] A Hibernate question?

2007-11-23 Thread Angelo Chen
Hi Lasitha, I don't know if the thread you pointed out is applicable to this topic, I started that one, the problem was due to the pesisted object, I finally solve that problem by removing the @Persist, now I'm trying to persist everything in the client side to avoid this problem(only the object

Re: [T5] A Hibernate question?

2007-11-23 Thread lasitha
On Nov 23, 2007 1:57 PM, lasitha <[EMAIL PROTECTED]> wrote: > On Nov 23, 2007 1:18 PM, Donyee <[EMAIL PROTECTED]> wrote: > > > > when i submit the editpage, i got a error: > > Illegal attempt to associate a collection with two open sessions > > Related discussion: > http://article.gmane.org/gmane.c

Re: [T5] A Hibernate question?

2007-11-23 Thread lasitha
On Nov 23, 2007 1:18 PM, Donyee <[EMAIL PROTECTED]> wrote: > > when i submit the editpage, i got a error: > Illegal attempt to associate a collection with two open sessions > ... Donyee, i don't have time to look over you specific scenarion right now, but you might be running into this: https://is

Re: T5: Tapestry-Hibernate, do we have to save()?

2007-11-23 Thread lasitha
On Nov 23, 2007 4:29 AM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > lasitha wrote: > > > > Since the above events fire on both the original request and the one > > from the redirect, you'll probably need a null check to differentiate: > > can you explain more about about this null > check, any exam