Tapestry 3.0.3 + hibernate extended session pattern

2005-12-28 Thread Andrey Tkach
Hello, I use Tapestry 3.0.3 + hibernate extended Session pattern described here http://hibernate.org/43.html. Everything goes ok until session is not invalidated first time (both by application server or by direct calling of invalidate() method) If application server perform httpSession.invalid

RE: IE/Tapestry DatePicker Bug

2005-12-28 Thread Schabek Łukasz
I have updated topic, still need help. http://www.tapestryforums.com/viewtopic.php?p=12452#12452 Rg. -Original Message- From: Schabek Łukasz [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 27, 2005 11:05 AM To: tapestry-user@jakarta.apache.org Subject: IE/Tapestry DatePicker Bug H

dynamically specifying component type

2005-12-28 Thread Stephen Todd
I'm trying to specify which component to use dynamically, but I think what I want to do is outside of conventions. I wanted to do something like the following. in the .html in the .jwc and in the .java public String getComponentType() { // some code return "@" + componentType; // i

RE: libraries and friendly urls

2005-12-28 Thread kiuma
Hi again, I've just found the solution and it was pretty easy. I only implemented a new service encoder for libraries. then i added in my common library hivemodule.xml a contribution to tapestry.url.ServiceEncoders: The TapestryExtPageEncoder source code is trivial. Ciao, kiuma >- -

Re: Preventing XML validation

2005-12-28 Thread Jesse Kuhnert
I don't remember off the top of my head but I believe that you can control some of these things via system variables passed via -D. The standard sax parsers have something like this, I think. ? On 12/28/05, Jeff Lubetkin <[EMAIL PROTECTED]> wrote: > > We have some test environments that do not hav

Re: tapestry for PDFs and DOCs.

2005-12-28 Thread Rusty Phillips
Thanks. I saw a similar thing in the mailing list, although this is much better. If I can't get any other way to work, I may use this. The distinction that I guess I didn't make clear is that I want to actually make use of a tapestry template. UJAC is a fairly weak templating engine, and I'

Re: Jump out of Frame(Tapestry 3.0.3)

2005-12-28 Thread Vincent
Hi , Merry Chrismas, Is there any news about this issue? thanks, Vincent On 12/20/05, Vincent <[EMAIL PROTECTED]> wrote: > Hi AndyHot, > > Currently I am use button to jump to another page and I don't want to > change to the link. > I am wondering is there any way to jump out of frame? > > regard

RE: dynamically specifying component type

2005-12-28 Thread Ben Dotte
Hi Steve, I'm not aware of any way to do this but you may want to take a look at the Block and RenderBlock components. You can define blocks that use different components, then dynamically pick which block to render with RenderBlock. HTH Ben -Original Message- From: Stephen Todd [mailto

Re: dynamically specifying component type

2005-12-28 Thread Robert Zeigler
As Ben Dotte pointed out already, the "tapestry" way of doing this is to use block/render block. The nice thing about this approach is that the blocks you define don't even have to be on the same page as the render block (although if you start defining blocks on other pages, avoid using page render

Re: Way to Reload ASO registry?

2005-12-28 Thread Joachim (PROGS)
Raul Raja Martinez wrote: Hi I have some problems reloading ASO's, Here is what I'm doing: I have a webapp that loads its menu once from the database at application startup and stores it in a ASO. Even though I'm using the DeferSessionClose in hiveutils wich allows me to not have lazy initial

Re: Tapestry 3.0.3 + hibernate extended session pattern

2005-12-28 Thread Michael Echerer
Andrey Tkach wrote: > Hello, Hi! > > > I use Tapestry 3.0.3 + hibernate extended Session pattern described here > http://hibernate.org/43.html. Everything goes ok until session is not > invalidated first time (both by application server or by direct calling of > invalidate() method) As you explai

[ANNOUNCE] Tapestry 4.0-rc-3

2005-12-28 Thread Howard Lewis Ship
The latest (and hopefully, final) release candidate for Tapestry 4.0 is now available. Tapestry is a component based web application framework that provides lots of functionality with minimal Java coding, and creates an environment that supports high levels of reuse. This release fixes a page ini

RE: Preventing XML validation

2005-12-28 Thread Jeff Lubetkin
That's what I would have thought, but I can't find anything in the docs for the sax parser. Does anyone know? Thanks, jeff -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 28, 2005 3:13 AM To: Tapestry users Subject: Re: Preventing XML validatio

Re: dynamically specifying component type

2005-12-28 Thread Stephen Todd
I am doing things here in a way that is backward conceptually to tapestry. I only have one page in my app and the navigation is based on state and not page location. This is because the app navigation and structure is largely dynamic. It would seem like it shouldn't be too complicated to create

Re: Preventing XML validation

2005-12-28 Thread Howard Lewis Ship
If you are using the correct DOCTYPEs, then Tapestry will use internal DTDs for validation and not access the outside world. Check your doctypes carefully. On 12/28/05, Jeff Lubetkin <[EMAIL PROTECTED]> wrote: > That's what I would have thought, but I can't find anything in the docs > for the sax

How to add new Type Convertor to tapestry

2005-12-28 Thread Lukasz Kucharski
Hi To display all errors recorded by ValidationDelegate I wand to use @For loop which will loop over all list of IRender components. To do this I'll use Type Converter that will convert IRender components to String objects. My question is: How do I configure T4 to use user defined Type Converter?

RE: Preventing XML validation

2005-12-28 Thread Jeff Lubetkin
Thanks Howard. I've tracked down the issue, it was a mistyped DOCTYPE. jeff -Original Message- From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 28, 2005 12:10 PM To: Tapestry users Subject: Re: Preventing XML validation If you are using the correct DOCTYPEs,

Effectively Disabling a TextField Input

2005-12-28 Thread Christopher Corde
Hey, I have a textfield that looks as follows: Basically, I want to disable it and force the user to select an account from a popup search. This will place the correct value into the textfield and update the object. This works fine when the field is enabled, but not when I disable it. Does

Tapestry 4.0 CRUD application

2005-12-28 Thread albartell
Hi everyone, I am new to Tapestry (jumping over the fence from MyFaces) and am having trouble with all the different ways to do the same thing. I was initially attracted to Tapestry because of it's mission statement "The simplest choice should be the correct choice." I think what I am strugglin

Re: Effectively Disabling a TextField Input

2005-12-28 Thread Markus Eberle
Hi, On Wednesday 28 December 2005 23:37, Christopher Corde wrote: > Hey, > > I have a textfield that looks as follows: > > value="ognl:dataBean.account" size="40"/> > > Basically, I want to disable it and force the user > to select an account from a popup search. This will > place the correct

Re: Tapestry 4.0 CRUD application

2005-12-28 Thread Jesse Kuhnert
You can download a working war from http://tacos.sourceforge.net, but it doesn't have any crud-ish features, at least not in the hibernate style that you are talking about. Give it a try. The hibernate part is easy, I use it as well and don't think (?) you should have any problems. You just need a

Re: Effectively Disabling a TextField Input

2005-12-28 Thread Gunna Satria
Hi, add informal binding to your textfield either you use : or or you use both :p regards, Gunna Markus Eberle <[EMAIL PROTECTED]> wrote: Hi, On Wednesday 28 December 2005 23:37, Christopher Corde wrote: > Hey, > > I have a textfield that looks as follows: > > >

Re: Effectively Disabling a TextField Input

2005-12-28 Thread Jesse Kuhnert
If it is a field that is never ok for users to actually input into why even make it a text field? Why not a combo-box or something more appropriate sounding? On 12/28/05, Gunna Satria <[EMAIL PROTECTED]> wrote: > > Hi, > add informal binding to your textfield either you use : >value="ognl:

All pages listener/interceptor

2005-12-28 Thread albartell
I am looking for a slick way to implement a global "phase listener" that will be used to check whether or not a user is logged in before letting them proceed to a page on the site. Here is an example of how I did it in JSF: http://mowyourlawn.com/blog/?p=6 I have yet to find a global way in Tape

RE: All pages listener/interceptor

2005-12-28 Thread Sergiy Kyrylkov
In T3, you can inherit all pages not from BasePage but from your own page class which implements PageRenderListener. Sergiy > -Original Message- > From: albartell [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 29, 2005 1:09 AM > To: tapestry-user@jakarta.apache.org > Subject: All p

Re: Effectively Disabling a TextField Input

2005-12-28 Thread Gunna Satria
Maybe it is because the touch of art :)) Jesse Kuhnert <[EMAIL PROTECTED]> wrote: If it is a field that is never ok for users to actually input into why even make it a text field? Why not a combo-box or something more appropriate sounding? On 12/28/05, Gunna Satria wrote: > > Hi, > add informal

Re: All pages listener/interceptor

2005-12-28 Thread Jesse Kuhnert
Hrmmm...I've done something like this as well, but still haven't found the time to share it with anyone else..It basically works by applying aop style interceptors to tapestrys engine services (almost everything is available via hivemind IOC configuration points). I would look at: http://jakarta.

Re: Tapestry 4.0 CRUD application

2005-12-28 Thread Paul Cantrell
You're welcome to take a look at my latest little side project, which does some basic database to and fro stuff using Hibernate. It's Tapestry 4.0, and I've tried to use new features to be as concise as possible. WARNING: I make no guarantees *whatsoever* that I'm using best practices, so d

Re: How to add new Type Convertor to tapestry

2005-12-28 Thread Lukasz Kucharski
Consider this question closed. I found answer by looking at hivemodule.xml of tapestry framework. For anyone who should have similar problem in the future: To make T4 use new user defined TypeConverter you need to contribute to the configuration point by adding entries in hivemodule.xml. Eg:

Re: Way to Reload ASO registry?

2005-12-28 Thread Raul Raja Martinez
Hi Joachim, thanks for the response, What I really need is to reload the ASO registry at runtime without having to reload the whole hivemind registry. When you say dummy object , do you mean something like a List or Set where I can add and remove children? Thanks Raul. Joachim (PROGS) wrot

Re: Tapestry 4.0 CRUD application

2005-12-28 Thread Kalle Korhonen
Aaron, I'm sort of on the same path as you. I evaluated a lot of starter apps, finally settling with Trails. If you can deal with the latest-not-always-working-have-to-fix-yourself style of development (and that security framework isn't in place yet - but should be anytime now they say), must say

Re: All pages listener/interceptor

2005-12-28 Thread Kalle Korhonen
I would simply use a servlet filter for the purpose - either a custom one or ready-made, such as securityfilter or AcegiSecurity. Kalle On 12/28/05, albartell <[EMAIL PROTECTED]> wrote: > I am looking for a slick way to implement a global "phase listener" that > will be used to check whether or n

Re: All pages listener/interceptor

2005-12-28 Thread Konstantin Ignatyev
Standard OO features still work in Tapestry, you could implement that code in MyProtectedPage class and inherit all pages from this superclass. Or it could be done on component level, for example border component could take care of such checks. Kalle Korhonen <[EM

Re: Tapestry 4.0 CRUD application

2005-12-28 Thread Matt Welch
On 12/28/05, Kalle Korhonen <[EMAIL PROTECTED]> wrote: > > (+Tapestry; though it still feels complex - must be the years with > Struts/JSF that have cluttered my brain :). > I don't think it's the Struts/JSF clutter that make Tapestry feel complex. I never used either of those and I find it comple

Re: Tapestry 4.0 CRUD application

2005-12-28 Thread Shing Hing Man
I have a simple CRUD application written in Tapestry 4 + Hibernate + Hivemind. If you are interested, you can try it out online and download the source via http://137.132.68.134/tapestry4Demo/app Shing --- albartell <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I am new to Tapestry (jumping

Re: Tapestry 4.0 CRUD application

2005-12-28 Thread Paul Cantrell
I think it's the docs that make it feel complex. They've accumulated a lot of cruft from previous versions, and don't quite make clear how very simple it is to actually use 4.0. Having gone to Tapestry from a fair amount of Struts development, and prototyped with (and rejected) JSF for my c

Re: Effectively Disabling a TextField Input

2005-12-28 Thread Christopher Corde
i tried to use an Input to begin with but the Javascript assignment didnt work since it is not a form field. There are way too many values to be in a form field. Users need to narrow down the search of accounts and then select one. The readonly tag worked. I appreciate the help. --- Gunna Satria