T5 embedded components

2007-06-15 Thread Janko Muzykant
hi, lets assume I have a root component with its html template. one of components used in a template contains a component that interests me the most. is it possible to get this embedded component from the root one? I mean, is it generally possible to any component with allocated id from the "root"

Re: Using Hibernate detached objects in Tapestry (thread-safety question)

2007-06-15 Thread Geoff Callender
Do any of these problems exist if you get a session bean to do the work for you? For example, a page to edit the user, using a session bean called OrderService and an entity bean (using Hibernate if you like, as I do) called Order. When you're building the page... IOrderServiceLocal or

Re: Using Hibernate detached objects in Tapestry (thread-safety question)

2007-06-15 Thread Norman Franke
I should note that I'm using Tapestry 4.0.x for my application. I'm also pretty new to both Hibernate and Tapestry, so this may not be the best. It does, however, seem to work well. My application only uses detached objects that it persists in the client page for change detection (to determ

Re: T5 How to use with your own list of products, List?

2007-06-15 Thread Erik Vullings
Hi Daniel, Really cool what you did there - and that after only a few days of using T5. Hope to see more of it! BTW I've linked your page to the T5 Wiki Howto http://wiki.apache.org/tapestry/Tapestry5HowTos Cheers Erik On 6/15/07, Daniel Jue <[EMAIL PROTECTED]> wrote: I wrote a generic sele

Re: T4.1.2 and Tapestry-Prop

2007-06-15 Thread Renat Zubairov
I've just recompiled it with 1.4 and it works perfectly. I assume that proper way to handle it would be to compile it in 1.4 and upgrade repository or do the way TestNG have done it - with maven classifiers. Renat On 15/06/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: Yeah that is what my prob

Re: T4.1.2 and Tapestry-Prop

2007-06-15 Thread Chris Chiappone
Yeah that is what my problem is also. The documents say it should be compatible with Java 1.3 On 6/15/07, Renat Zubairov <[EMAIL PROTECTED]> wrote: Yes it works. However it has some problems with Java 1.4 because I had an impression that it was build for 1.5. There is a open Jira for that but

Using Hibernate detached objects in Tapestry (thread-safety question)

2007-06-15 Thread Michael Sims
I know this isn't strictly Tapestry related, but since there has been a lot of discussion here over the years related to integrating Hibernate with Tapestry, I was hoping I could draw on the community knowledge about this topic and get a little advice. My apologies if this has been discussed befo

Re: T4.1.2 and Tapestry-Prop

2007-06-15 Thread Renat Zubairov
Yes it works. However it has some problems with Java 1.4 because I had an impression that it was build for 1.5. There is a open Jira for that but it's not fixed yet On 15/06/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: I'm curious if the tapestry-prop package should work with Tapestry 4.1.2?

Re: Integration testing Tapestry 4 applications

2007-06-15 Thread Renat Zubairov
Yes, I had the same impression. Also JNDI is not in jetty but in jetty-plus. On 15/06/07, Hugo Palma <[EMAIL PROTECTED]> wrote: Regarding the JNDI lookup, i actually don't know if it's even possible like this, because the tapestry-test library still uses Jetty 5. Even if it did use Jetty, i don'

Re: T5 How to use with your own list of products, List?

2007-06-15 Thread Daniel Jue
I wrote a generic selection component that I am using a lot. It is based on someone else's work with the BeanSelectionModel, in Tap 4. It uses Bean Utils. http://www.phy6.net/wiki/tiki-index.php?page=Tapestry+5+GenericSelectionModel This may help you out some. Another thing I did to make thing

[T5.0.5] Replacement for tapestry.test.pagelevel.NoOpURLEncoder ?

2007-06-15 Thread Daniel Jue
I see the source code for this class in the online api-docs, but it doesn't appear to be in the current snapshot. I believe it was around back in 5.0.4. Has something better replaced it? Can I just use ResponseImpl with no ill repercussions? I came across it when trying to use some T5 Acegi co

T5 How to use with your own list of products, List?

2007-06-15 Thread Erik Vullings
Hi all, I'm studying the component, which I want to use for populating a select list with products, e.g. the HTML should look like Product 1 etc... I've used it succesfully with a string of names (look at the BlockDemo example in the source code), as well as with an ENUM (look at the Palette

Re: T5: Sending parameters with prototype

2007-06-15 Thread Erik Vullings
I'm not sure what you mean with 'sending parameters', but I've used it as follows: In my border/layout class (with a component), I've included prototype.js and my own utils.js. In utils.js, I have declared a function doSomethingUseful(productId), which wraps prototype's Ajax.Updater function.

Re: State problems: contrib:Table in loop

2007-06-15 Thread Steve Shucker
You need to specify the "tableSessionStoreManager" property. If the loop iterates over something that's stored in the session anyway, you can add a Serializable field to that object (or wrap it in another object containing this field) and implement the two methods of ITableSessionStoreManager

Re: T4: when a session http is closed?, where a session http is closed?

2007-06-15 Thread César Augusto Mateus
Thank you very much Norman, I´m doing it following your recommendation... On 6/15/07, Norman Franke <[EMAIL PROTECTED]> wrote: I do this with a servlet listener. One defines it in the web.xml and implements HttpSessionListener. Seems to work for me, although it doesn't use HiveMind... -Norman

State problems: contrib:Table in loop

2007-06-15 Thread Alexei Orishchenko
The page contains loop that renders contrib:Table on each iteration (list of users, orders for each user). I have problems with pagers of these tables. For example, I go to the 2nd page in the table for 2nd user but the page isn't changed. Seems, the Tapestry stores 1 table state for these tables.

T5 - Component Parameters

2007-06-15 Thread David Avenante
Hi, Is it possible to access, in a component or in a page, at the html element properties ? For exemple, the html element how acces in my component at the "button" value of my type properties. Thank's - To unsubscribe, e-mail

T4.1.2 and Tapestry-Prop

2007-06-15 Thread Chris Chiappone
I'm curious if the tapestry-prop package should work with Tapestry 4.1.2? Thanks, -- ~chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T4: when a session http is closed?, where a session http is closed?

2007-06-15 Thread Norman Franke
I do this with a servlet listener. One defines it in the web.xml and implements HttpSessionListener. Seems to work for me, although it doesn't use HiveMind... -Norman On Jun 15, 2007, at 11:05 AM, César Augusto Mateus wrote: is some way to capture the moment at which a session HTTP is clos

Re: Integration testing Tapestry 4 applications

2007-06-15 Thread Hugo Palma
Regarding the JNDI lookup, i actually don't know if it's even possible like this, because the tapestry-test library still uses Jetty 5. Even if it did use Jetty, i don't think the tapestry-test API allows you to add resources. m...i'll have to dig a little more into that... Renat Zubairov

Re: Split mailing list for T5/T4,4.1

2007-06-15 Thread Igor Drobiazko
I'm interested in both t4 and t5. For me it would be no problem to subscribe to both lists. But as Jesse already mentioned in the thread before, splitting the list would fracture the community. I'm pretty sure there are a lot of users reading but not writing to the list. Seeing the list growing u

Re: Split mailing list for T5/T4,4.1

2007-06-15 Thread Jun Tsai
+1 2007/6/15, Holger Stolzenberg <[EMAIL PROTECTED]>: The fact (mentioned earlier) is that if someone is interessted in T4 and T5 he could subscribe to both lists. -Ursprüngliche Nachricht- Von: Renat Zubairov [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 15. Juni 2007 16:26 An: Tapestr

T4: when a session http is closed?, where a session http is closed?

2007-06-15 Thread César Augusto Mateus
is some way to capture the moment at which a session HTTP is closed? (perhaps with a service in hivemind) I need to do this: clear a threadLocal just when the session http is closed. (Purpose: the threadLocal must be clean before returning to pool of threadLocals of the container ) Any idea or way

AW: Split mailing list for T5/T4,4.1

2007-06-15 Thread Holger Stolzenberg
The fact (mentioned earlier) is that if someone is interessted in T4 and T5 he could subscribe to both lists. -Ursprüngliche Nachricht- Von: Renat Zubairov [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 15. Juni 2007 16:26 An: Tapestry users Betreff: Re: Split mailing list for T5/T4,4.1

[T4] Question on TableRows

2007-06-15 Thread Marcos Chicote
Hi! I'm developing a page where I have a Form and a Table component (actually Table component is not used, I use TableView, TableColumns, etc). The idea is that when someone clicks on a TR of the table a JS function is called and the form is filled with information about that row (so the user can

Re: Tapestry 4.1.2 Expected release Date

2007-06-15 Thread Renat Zubairov
Agree with you Jesse, but I'm pretty sure that "good enough" solution can only emerge from the frequent iterations and frequent feedback from the users - mean frequent releases of the functionality. IMHO in Tap5 most important thing that is missing is AJAX, let it be very simple, very primitive bu

Re: Split mailing list for T5/T4,4.1

2007-06-15 Thread Renat Zubairov
What if developers are working on the production version (fixing bugs) and developing new version at the same time? I guess that's the most common situation for in all companies that were using Tapestry for a while. Renat On 15/06/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Daniel Jue a écrit :

Re: Integration testing Tapestry 4 applications

2007-06-15 Thread Renat Zubairov
Hi Nice approach, however we are using Cruise Control that runs HTTPUnit based tests on the reference environment where latest version of the subsystem was recently reinstalled (also by cruise control, maven and cargo). This has an advantage of the independent database schema (our reference envir

T5: Sending parameters with prototype

2007-06-15 Thread Joshua Jackson
Dear all, Has anyone succeed in sending parameters with prototype in T5? I haven't succeed in this. Can anyone show me a snippet for this? Thanks in advance -- Let's create a highly maintainable and efficient code YM!: thejavafreak Blog: http://www.nagasakti.or.id/roller/joshua/ -

Integration testing Tapestry 4 applications

2007-06-15 Thread Hugo Palma
Thought i'd share my experience with this. Hope to get some comments with improvement and more ideas. http://blogs.logical-software.com/roller/logicalme/entry/1 Cheers, Hugo

Re: T5: Type Coercion vs. Translator

2007-06-15 Thread tovarisch
I'm a bit confused about coercion and translators. What if I want to use BigDecimal for two kind of data but with different representation (say 2 and 4 decimals)? I can create two named translators, but what about coercion? Thanks. Howard Lewis Ship wrote: > > There's (for the moment) two conf

Re: AW: Split mailing list for T5/T4,4.1

2007-06-15 Thread jb
I believe splitting is a real good idea. But if not than maybe it will make sense to mention the version in the subject? Jens - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]