Re: submit inside dipslay:none

2008-01-30 Thread Andreas Andreou
Not sure... perhaps you need some css rules that set margin, padding to zero for forms? On Jan 31, 2008 9:33 AM, learner <[EMAIL PROTECTED]> wrote: > when i added the form like below, the submit button work ! but... how come the > dialog is shift to the right? if i take out the .. it will display

Re: submit inside dipslay:none

2008-01-30 Thread learner
when i added the form like below, the submit button work ! but... how come the dialog is shift to the right? if i take out the .. it will display properly at the middle :

Re: T5.0.8 client side validation bubble display on IE6 windows xp

2008-01-30 Thread Davor Hrg
it is most likely composed of png images, all browsers but IE support semi transparent png's but for ie backgound image filters must be used to make it work Davor Hrg On Jan 31, 2008 6:49 AM, Dapeng <[EMAIL PROTECTED]> wrote: > the new bubble looks very cool > > but ... it works not that ok under

T5: checkbox questions

2008-01-30 Thread Angelo Chen
Hi, Got two questions about my checkbox in a form, template at end of this email: 1. Why the 'check here to approve' was not shown in the example below? even I remove the ? I'd like to display that text after the check box. 2. How to implement this: I will enable submit button if the checkbo

T5.0.8 client side validation bubble display on IE6 windows xp

2008-01-30 Thread Dapeng
the new bubble looks very cool but ... it works not that ok under windows xp, IE6 see my screen shothttp://dapeng.spiralcomms.com/temp/ie6.png is this a known bug ??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: submit inside dipslay:none

2008-01-30 Thread Andreas Andreou
See http://tapestry.apache.org/tapestry4.1/components/dojo/dialog.html there's a "dont' wrap portions of a form" section! On Jan 31, 2008 4:44 AM, learner <[EMAIL PROTECTED]> wrote: > i'm using dojo. when my below dialog pop up, i cannot do submit. the below tag > is inside "" tag.any idea whe

[ANN] t5components - release 0.5.5

2008-01-30 Thread Sven Homburg
Hi there, the t5components release 0.5.5 is out now. new template service based on FreeMaker look at change log project page with demo click here http://213.160.23.119:8080/t5components/ - best regards Sven -- View this message in context: http://www.nabble.com/-ANN--t5components---relea

submit inside dipslay:none

2008-01-30 Thread learner
i'm using dojo. when my below dialog pop up, i cannot do submit. the below tag is inside "" tag.any idea where i did wrong? : :

tacos 4.1 dojox and dijit

2008-01-30 Thread learner
tacos 4.1 doesnt have built in dojox and dijit ? is there any similar web component like dijit that come with default nice components? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

RE: Limitations of @Script Component T-4.1.3

2008-01-30 Thread Ken in nashua
Well I really need to specify the script in a loop for every iteration. Is this possible? Furthermore, can the loop be I a component template ...or does it have to be a page template?Best regards Ken in nashua From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: RE: Limitations of @Script Compone

RE: T5 - Need help getting started with Tapestry 5

2008-01-30 Thread Jacob Bergoo
Hi @Kevin I will use the latest quickstart (5.0.7) and see if the project structure changed. I noticed that in my structure I still have Start.html under WEB-INF... thanks for the tips. @Jonathan Thanks forpointing out the inconsistency in the pom file for the tapestry versions.. I have changed

Re: T5: BeanEditForm doesn't pick up .properties

2008-01-30 Thread Howard Lewis Ship
I see you point, and it just highlights the fact that .tml files are allowed at the webapp root level which, itself, is an exception to the rule. For components, the .tml and .properties file must be bundled in the same package folder as the .class file. For pages, and only pages, we allow the .t

RE: Limitations of @Script Component T-4.1.3

2008-01-30 Thread Ken in nashua
Well I just had a thought... instead of dressing my DOM's within each loop iteration, I could animate an ID of some sort and iterate them at the bottom of the page in one sweep within the script. ? From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Limitations of @Script Component T-4.1.3Date: Wed,

Limitations of @Script Component T-4.1.3

2008-01-30 Thread Ken in nashua
Folks, Can I place this @Script component anywhere in the template? I am hoping to place it within a loop cycle so that it's relevent markup will be generated for every loop iteration. I am anticipating ID animation on every iteration (ouch!). Or am I obligated to use it ony once specificall

RE: T5 - Need help getting started with Tapestry 5

2008-01-30 Thread Jonathan Barker
I noticed a few specifics: - The hsofttect library 0.5.4 required Tapestry 5.0.9 (I think). Just get your tapestry release up to 5.0.9. There have been lots of changes to justify it anyway. - You have a mix of parameterized (${tapestry-release-version}) and fixed versions (5.0.7 for tapestry-sp

Re: T5 - Need help getting started with Tapestry 5

2008-01-30 Thread Kevin Menard
Hi Jacob, I recommend using the maven archetype from a recent version of Tapestry. You can do this even without messing up your existing project. Just copy over the relevant portions from the generated POM. Note that a lot has changed since Tapestry 5.0.5. The template extension has changed fro

Re: T5: BeanEditForm doesn't pick up .properties

2008-01-30 Thread Massimo Lusetti
On Jan 30, 2008 8:02 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > Is your Contact.properties file in the correct place? It should be on > he classpath, with the .class file (not with the .tml file). Verify > this by putting ${site-label} into your template somewhere to see what > you get.

T5 - Need help getting started with Tapestry 5

2008-01-30 Thread Jacob Bergoo
Hi, sorry for asking again, but I am stuck at something that I think that a lot of persons already has configured so therefor I ask again. I have worked before with Spring 2.0, Tapestry 4.0.2, Hibernate 3.2, Oracal 10G and Dojo/Tacos... but now I want to set up a new environment with T5, Spring 2

Re: Tapestry[5] - Overriding the form error messages

2008-01-30 Thread Anteneh Alemayehu
Thanks Howard, I saw that and I personally like the popup bubbles feature, But there is a requierement to override and display all the error messages in one specific Message area. Thanks again, Anteneh Howard Lewis Ship wrote: > > Starting with 5.0.9, the validation errors appear as popup b

Re: Override Header Names for Grid Component

2008-01-30 Thread Howard Lewis Ship
I noticed recently that I never finished the Grid, in terms of supporting overrides of header cells. There's an outstanding issue on this, fix coming soon. On Jan 29, 2008 8:26 AM, Peter Stavrinides <[EMAIL PROTECTED]> wrote: > Hi Doug, > > Unfortunately I could only get the grid partially working

Re: Tapestry[5] - Overriding the form error messages

2008-01-30 Thread Howard Lewis Ship
Starting with 5.0.9, the validation errors appear as popup bubbles adjacent to the fields. On Jan 30, 2008 7:15 AM, Anteneh Alemayehu <[EMAIL PROTECTED]> wrote: > > Hi Everyone, > > I have a specific message area on the top of the page to display the eror > messages. > > I might have more than one

Re: scary error messages

2008-01-30 Thread Marcel Schepers
At this time I am not able to provide a detailed description of the setup. However I can provide a fragment of the console/error log. I will provide the details tomorrow. Thanks for your kind words! Marcel On Jan 30, 2008 8:31 PM, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > This has come up befo

Re: scary error messages

2008-01-30 Thread Jesse Kuhnert
This has come up before but I've never been able to see it happen myself so am still in the dark as to the cause. Does anything happen in your app just before this error shows up? Has jetty re-deployed your context? Are you running with caching enabled or disabled? Are you running with something

Re: T5: BeanEditForm doesn't pick up .properties

2008-01-30 Thread Howard Lewis Ship
Is your Contact.properties file in the correct place? It should be on he classpath, with the .class file (not with the .tml file). Verify this by putting ${site-label} into your template somewhere to see what you get. On Jan 29, 2008 10:54 PM, Michael Gerzabek <[EMAIL PROTECTED]> wrote: > -- Con

scary error messages

2008-01-30 Thread Marcel Schepers
Hello, Tapestry (or more likely Javassist) generated scary error messages, such as 'compile error: no such class: $StampCatalogue_23'. StampCatalogue is an abstract Tapestry page. In case these messages show up, Jetty has to be restarted in order to restore from this chaos. I am using Tapestry ve

Re: How to use LinkImpl in T5.0.9 ?

2008-01-30 Thread Howard Lewis Ship
If you wish to send a redirect to an external URL, then you may simply return an instance of java.net.URL from an event handler method. On Jan 30, 2008 12:21 AM, Kheldar666 <[EMAIL PROTECTED]> wrote: > > Hello everybody ! > > Can anybody post an exemple of how to use the 'new' LinkImpl in T5.0.9 ?

RE: [T5] Why can't i directly access attributes from my superclass?

2008-01-30 Thread Mahen Perera
oops,. i misunderstood your question. sorry abt that. i thought you were trying to access the attribute from a page ,, i.e a .tml file -Original Message- From: Marcelo Lotif [mailto:[EMAIL PROTECTED] Sent: 30 January 2008 17:28 To: Tapestry users Subject: Re: [T5] Why can't i directly

Re: [T5] Why can't i directly access attributes from my superclass?

2008-01-30 Thread Marcelo Lotif
I'm using 5.0.10-SNAPSHOT. I'm not trying to access the attribute on a page, it's just a control attribute, and i must have it in some of my classes. For me, is simpler to declare it in a superclass and access it directly in the subclasses, since subclasses inherit the attributes from the superclas

RE: [T5] Why can't i directly access attributes from my superclass?

2008-01-30 Thread Mahen Perera
>From what i know, you need to have a getter for each attribute that you are trying to access in the page. This is the way tapestry works AFAIK HTH Mahen -Original Message- From: Marcelo Lotif [mailto:[EMAIL PROTECTED] Sent: 30 January 2008 16:32 To: Tapestry users Subject: [T5] Why can

Tapestry 5 - Custom Component Validation

2008-01-30 Thread Xinhua
I create a custom component (AttrLable) which extends AbstractField. In the BeginRender(MarkupWriter writer), I will need to override the label tag based on whether there is an error in the input field which is associated to this label. On the form submission, I will do the form validation and i

Re: [T5] Why can't i directly access attributes from my superclass?

2008-01-30 Thread Howard Lewis Ship
You'll see an explanation in the console. I suspect you are using a slightly older Tapestry preview release; more recently, this situation is an error. Because of how Tapestry instruments your code, instance variables must be private. On Jan 30, 2008 8:31 AM, Marcelo Lotif <[EMAIL PROTECTED]> wr

Re: How to use LinkImpl in T5.0.9 ?

2008-01-30 Thread Chuck Kring
If you are talking about using LinkImpl to send a redirect, use the following: @Inject private Response response; response.sendRedirect("yourUrl"); Christian Gorbach wrote: hi http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html you can simply return an URL object c)hristian

Re: tap

2008-01-30 Thread Anteneh Alemayehu
Thank you, =)=)=) Best regards! Anteneh Hi Anteneh, you can try this: @Inject private BeanModelSource _beanModelSource; @Inject private ComponentResources _resources; @Retain private BeanModel _model; public void pageLoaded() { _model = _beanModelSource.

[T5] Why can't i directly access attributes from my superclass?

2008-01-30 Thread Marcelo Lotif
Hi all, I have an attribute used by many of my pages, so i want to put it on an abstract superclass. But, if i mark my attribute as protected or public (on the superclass), and try to use it on my subclass directly, I get a strange error: An unexpected application exception has occurred. Render q

[T5]how can i insert multi-row records in a page using tapesry

2008-01-30 Thread robinson wang
i think inputing records in batch is a common need ,but i don't know how to definite objects for multi-row having a same meaning item,is there anyone could help?

Tapestry[5] - Overriding the form error messages

2008-01-30 Thread Anteneh Alemayehu
Hi Everyone, I have a specific message area on the top of the page to display the eror messages. I might have more than one form per page, How can I overide the error messges from the form validation and display on the message area. Any Idea? Thank you, Anteneh -- View this message in conte

Re: T5: Tapestry-Hibernate and thread

2008-01-30 Thread Angelo Chen
this works, thanks. Davor Hrg wrote: > > you inject the ThreadCleanupHub into your service, > > generaly speaking: make sure you dont share DB entities between those > threads since > the new thread will have a completely new hibernate session. > > > Davor Hrg > > > -- View this message

Re: Tapestry and Apache Lenya

2008-01-30 Thread Kristian Marinkovic
have you tried to debug your page? have you checked that your manager is not null? from the posted code i do not see where it is initialized. g, kris "Danny Waldmann" <[EMAIL PROTECTED]> 30.01.2008 14:40 Bitte antworten an "Tapestry users" An Kopie Thema Tapestry and Apache Lenya

Tapestry and Apache Lenya

2008-01-30 Thread Danny Waldmann
Hi! I'm new to Tapestry and try to access the Apache Lenya 2.0 repository with Tapestry. My Code looks like that: import org.apache.avalon.framework.service.ServiceException; import org.apache.avalon.framework.service.ServiceManager; import org.apache.cocoon.environment.Request; import org.apa

RE: T5: TypeCoercer uses unsafe route for void to Integer

2008-01-30 Thread Joel Wiegman
Michael, I just encountered this yesterday. I actually think this is a bug because the default NullFieldStrategy for TextFields is to leave nulls as null, but the bug is that it still goes through the type conversion hierarchy to do so (why not just return me null if you get a null?). The more in

Re: T5: Edit page best practice - Mk VI

2008-01-30 Thread Davor Hrg
I was trying out few options, but subclassing is the simplest. When subclassing generic data is preserved, and prop: binding can resolve to actual return type of a method. generic data is preserved for: - fields : List strings; - methods List getNames(List users) - subclasses : class UserEdi

T5: TypeCoercer uses unsafe route for void to Integer

2008-01-30 Thread Michael Capper
Hi, I've got a BeanForm in my Tapestry 5.0.9 Application, with the Bean expecting some Integers as input. When I submit the form without entering any data in these fields, I get an RuntimeException in the TypeCoercerImpl (line 130), because while converting my void to Integer it uses void -->

Re: T5: Edit page best practice - Mk VI

2008-01-30 Thread Martin Grotzke
On Wed, 2008-01-30 at 21:38 +1100, Geoff Callender wrote: > * Perhaps what we really need is @Persist("redirection")?!?!?! +1, this would make things more easy! Cheers, Martin On Wed, 2008-01-30 at 21:38 +1100, Geoff Callender wrote: > Good point, Davor. The way I've used flash persistence it c

Re: tap

2008-01-30 Thread Filip S. Adamsen
Nabble is weird like that sometimes... -Filip Sven Homburg skrev: great news !! 2008/1/29, Anteneh Bayouh <[EMAIL PROTECTED]>: -- View this message in context: http://www.nabble.com/tap-tp15169809p15169809.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Basic queries about Tapestry

2008-01-30 Thread Filip S. Adamsen
That's what most of us do. ;) -Filip Thiago HP skrev: Emmanuel can have some good points, but, looking at this mailing list history, he is a troll, citing Wicket (which seems to me to be a very good framework, with a lot in common with Tapestry and, obviously, some philosofy differences) in alm

Re: tap

2008-01-30 Thread Marcelo Lotif
Hi Anteneh, you can try this: @Inject private BeanModelSource _beanModelSource; @Inject private ComponentResources _resources; @Retain private BeanModel _model; public void pageLoaded() { _model = _beanModelSource.create(SomeBean.class, true, _resources);// wh

Re: T5 - BeanEditForm and ASO

2008-01-30 Thread Thiago HP
On 1/29/08, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > Not required. > > However, you will generally want the property to be @Persistent if it > is not an ASO, otherwise the data provided in a form submission can be > lost during the redirect to the render of the page. I would suggest flash pe

Re: Basic queries about Tapestry

2008-01-30 Thread Thiago HP
Emmanuel can have some good points, but, looking at this mailing list history, he is a troll, citing Wicket (which seems to me to be a very good framework, with a lot in common with Tapestry and, obviously, some philosofy differences) in almost any message he posts. What about letting his pure tro

Re: T5: Edit page best practice - Mk VI

2008-01-30 Thread Geoff Callender
Good point, Davor. The way I've used flash persistence it could just as well have been session persistence. The effect would be identical. * Perhaps what we really need is @Persist("redirection")?!?!?! It's a serious suggestion. After all, what we're aiming for is persistence during a redi

Re: T5: Tapestry-Hibernate and thread

2008-01-30 Thread Davor Hrg
Yes, you can easily create a service that can call your code in a separate thread, and call ThreadCleanupHub.cleanup(); after it. this way any part of your application can use it, and later on you can even use a Thread pool if many such threads are needed. If you create a worker class that execut

Re: T5: Autocomplete not working in form in block in zone

2008-01-30 Thread Massimo Lusetti
On Jan 18, 2008 5:27 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > Yep, I haven't tackled the forms + ajax + zones work yet. Does this goes into Jira?! Regards -- Massimo http://meridio.blogspot.com - To unsubscribe, e-ma

Re: T5: Tapestry-Hibernate and thread

2008-01-30 Thread Massimo Lusetti
On Jan 30, 2008 9:18 AM, Davor Hrg <[EMAIL PROTECTED]> wrote: > you inject the ThreadCleanupHub into your service, Better delegating this to another services delegated to serve this pourpose. Regards -- Massimo http://meridio.blogspot.com ---

Re: How to use LinkImpl in T5.0.9 ?

2008-01-30 Thread Christian Gorbach
hi http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html you can simply return an URL object c)hristian Kheldar666 wrote: > > Hello everybody ! > > Can anybody post an exemple of how to use the 'new' LinkImpl in T5.0.9 ? > Do we still have to use the Internal component ? Is t

RE: Tapestry 5 book

2008-01-30 Thread Kolesnikov, Alexander GNI
Yeah, but thanks to it there should be more experienced Tapestry users with time :) By the way, the code for the book can be downloaded from http://sundraw.ws/stuff/ Alex -Original Message- From: Peter Stavrinides [mailto:[EMAIL PROTECTED] Sent: 30 January 2008 06:40 To: Tapestry users

How to use LinkImpl in T5.0.9 ?

2008-01-30 Thread Kheldar666
Hello everybody ! Can anybody post an exemple of how to use the 'new' LinkImpl in T5.0.9 ? Do we still have to use the Internal component ? Is there now a more elegant and recommanded way to create a Link to an external URL -the use of an Internal componant is not safe at all- ? Thanks for the a

Re: T5: Tapestry-Hibernate and thread

2008-01-30 Thread Davor Hrg
you inject the ThreadCleanupHub into your service, then you pass it to the new thread either as a parameter, or if the Runnable you run is inner class or annoymous innser class then you just use that... tapestry will give you a same reference for any service, but will redirect method calls to rig