Re: problem with HibernateSqueezer

2006-01-09 Thread Olve Hansen
man, 09,.01.2006 kl. 19.44 +0100, skrev Ted Steen: > there is a problem with the HibernateSqueezer ( > http://wiki.apache.org/jakarta-tapestry/HibernateTapestrySqueezer ) > > sometimes Hibernate extends the persistent classes, this probably has > something to do with caching.. anyway, this is an e

RE: Why I like the rewind cycle

2006-01-09 Thread Patrick Casey
Wouldn't Howard's proposed approach of serializing and compressing all relevant page data in the outbound stream and then echoing it back in the POST still let you do things like loops, but without having to muck around with the rewind cycle? I don't see why his approach would prevent you

Why I like the rewind cycle

2006-01-09 Thread Nathan Kopp
I've written a blog post on why I like Tapestry's poorly-named-yet-very-useful "rewind cycle." Before we get out the torches and pitchforks and eradicate all memories of the dreaded rewind cycle from Tapestry's code, let's have a look at what it has to offer and maybe think about why it was create

page manipulation framework

2006-01-09 Thread Henri Dupre
I'm still in the process of migrating our app to Tapestry 4. We have few complex components and we have to still evolve our version 3 app so this has been a slow process. One complex issue we had was to convert page names to Tapestry 4 friendly names (we had lots of dashes in the page names). I dec

Re: Tapestry 4.0 Release Notice on TheServerSide

2006-01-09 Thread Henri Dupre
On 9 Jan 2006 22:51:28 -, Lennart Benoot <[EMAIL PROTECTED]> wrote: > > Hi Howard and all, > > Honestly speaking, this is a strange mail. > Should the tapestry community get their instructions/hints before leaving > their mailing list and venture the wide world on theserverside? > I don't thin

Re: contrib:Table headings produces nested tables

2006-01-09 Thread jeff emminger
ok, but why the nested tables at all? why not just header On 1/9/06, Mind Bridge <[EMAIL PROTECTED]> wrote: > > this causes all sorts of problems when you have CSS applying padding > > and borders to tables...on top of that the inner table "align" > > attribute is invalid XHTML Strict >

Re: problem with HibernateSqueezer

2006-01-09 Thread Richard Clark
On Jan 9, 2006, at 10:44, Ted Steen wrote: there is a problem with the HibernateSqueezer ( http://wiki.apache.org/jakarta-tapestry/HibernateTapestrySqueezer ) sometimes Hibernate extends the persistent classes, this probably has something to do with caching.. If you're using collections, you

Re: Tapestry 4.0 Release Notice on TheServerSide

2006-01-09 Thread Paul Cantrell
It seems to me that Howard was (rightly) trying to head of some of the more flame-inducing advocacy that can come out of well-meaning but strong-headed passion. It did come off sounding a little bit like marching orders, perhaps, but I think he meant "guidelines" when he said "guidelines."

Re: contrib:Table headings produces nested tables

2006-01-09 Thread Mind Bridge
> this causes all sorts of problems when you have CSS applying padding > and borders to tables...on top of that the inner table "align" > attribute is invalid XHTML Strict The "align" has already been removed in the version on my machine and the change will be checked in when possible. And a q

Re: Tapestry 4.0 Release Notice on TheServerSide

2006-01-09 Thread Leonardo Quijano Vincenzi
I actually disagree in that they were guidelines that should make sense by their own. But many people actually forget them... so, that's if you're trying to help Tapestry they can help. But of course you can always write your own stuff, right? ;). -- Ing. Leonardo Quijano Vincenzi DTQ Software

RE: Tapestry 4.0 Release Notice on TheServerSide

2006-01-09 Thread Patrick Casey
I have to agree with Lennart here; I felt a wee bit uncomfortable reading Howard's mail. I mean really, we're supposed to be a user mailing list here, not the borg collective (yes, I made a Star Trek reference, so sue me :). I don't have a problem with saying "hey, tapestry got me

Re: Tapestry 4.0 Release Notice on TheServerSide

2006-01-09 Thread Leonardo Quijano Vincenzi
With the correct project refactorings that simplify some of the annoying issues of Tapestry (its abuse of abstract classes, some counterintuitive idioms like lazy initialization for properties and the event system order - IMO) I think Tapestry could be the next Hibernate. Unlike Hibernate (whi

Re: Tapestry 4.0 Release Notice on TheServerSide

2006-01-09 Thread Filip S. Adamsen
Lennart Benoot wrote: Hi Howard and all, Hi. Honestly speaking, this is a strange mail. Hmm, yes. Should the tapestry community get their instructions/hints before leaving their mailing list and venture the wide world on theserverside? I don't think so. Well, I think Howard makes a goo

Re: Tapestry 4.0 Release Notice on TheServerSide

2006-01-09 Thread Howard Lewis Ship
Not marching orders, suggestions based on prior experience. On 9 Jan 2006 22:51:28 -, Lennart Benoot <[EMAIL PROTECTED]> wrote: > > Hi Howard and all, > > Honestly speaking, this is a strange mail. > Should the tapestry community get their instructions/hints before leaving > their mailing lis

Re: transaction start and end

2006-01-09 Thread Filip S. Adamsen
Ted Steen wrote: I think I need to read up on those TransactionInterceptors and engine services :) If you got some good reading on these topics I would be glad to have a look at it. These are some of the services you can intercept, I've been thinking about intercepting the Page (and related) s

RE: Tapestry 4.0 Release Notice on TheServerSide

2006-01-09 Thread Lennart Benoot
Hi Howard and all, Honestly speaking, this is a strange mail. Should the tapestry community get their instructions/hints before leaving their mailing list and venture the wide world on theserverside? I don't think so. Anyway, doesn't really matter. I think instead, effort should put into making

Integration Tapestry 4.0 with Spring

2006-01-09 Thread Yura Tkachenko
Hello, How I can integrate spring ( spring + hibernate managers ) with Tapestry 4.0 public abstract HibernateService getHibernateService(); In the .page file, this code would be used to get the named Spring bean: global.springContext.getBean("hibernateService") And the Spring app

Re: transaction start and end

2006-01-09 Thread Ted Steen
I think I need to read up on those TransactionInterceptors and engine services :) If you got some good reading on these topics I would be glad to have a look at it. What do you think of the whole HibernateSqueezer idea? in order to unsqueeze I need a transaction started when the unsqueezing is ta

Re: [ANNOUNCE] Tapestry 4.0 (final)

2006-01-09 Thread Filip S. Adamsen
Greg Ward wrote: On 07 January 2006, Howard Lewis Ship said: After nearly two years of work, the Tapestry development team is proud to announce the next major release of the Tapestry web application framework (http://jakarta.apache.org/tapestry/). Congratulations. Have the docs on upgrading

RE: [ANNOUNCE] Tapestry 4.0 (final)

2006-01-09 Thread Ben Dotte
I agree it would be wonderful to have a starters guide to Hivemind. I've come to learn how to do a number of things with Hivemind mostly by learning from example from sources like http://www.theserverside.com/articles/article.tss?l=HivemindBuzz and Kent's book, but I still feel like I don't fully u

Re: transaction start and end

2006-01-09 Thread Filip S. Adamsen
Ted Steen wrote: A nice thing with transactions scoping the whole page request is that properties bound to components, and thus updated by tapestry, will be committed "transparently" thanks to hibernate. but you still got a point with the logically grouped database interactions. It would be nice

Re: transaction start and end

2006-01-09 Thread Ted Steen
A nice thing with transactions scoping the whole page request is that properties bound to components, and thus updated by tapestry, will be committed "transparently" thanks to hibernate. but you still got a point with the logically grouped database interactions. It would be nice to do the small, l

Re: [ANNOUNCE] Tapestry 4.0 (final)

2006-01-09 Thread Greg Ward
On 07 January 2006, Howard Lewis Ship said: > After nearly two years of work, the Tapestry development team is proud > to announce the next major release of the Tapestry web application > framework (http://jakarta.apache.org/tapestry/). Congratulations. Have the docs on upgrading from T3 improved

contrib:Table headings produces nested tables

2006-01-09 Thread jeff emminger
why is it that the contrib:Table renders its headings as entire new table within the th? some rendered html source from the Table example at https://tapestrywebcomponentexamples.dev.java.net: [snip] Birth Date   SSN

Re: Long compilation of Tapestry page

2006-01-09 Thread Filip S. Adamsen
Which version of Tapestry are you using? If you're on 4.0, the delay might be caused by the HiveMind initialization. Regards, Filip On Jan 9, 2006, at 4:06, Yura Tkachenko wrote: Hi, everybody Is it normal if my tapestry page first compilation about 2-4 seconds? Because the same page in JSF

Re: transaction start and end

2006-01-09 Thread Filip S. Adamsen
Hi Ted, I wouldn't recommend the approach you're taking here. Instead of having the Hibernate transaction span over one page request, you should - as you said yourself - use multiple transactions for logically grouped database interactions. It is much better to have one Session span over one

RE: css background-image

2006-01-09 Thread Aaron Bartell
I didn't initially see the benefit, but I just went out to google and found this particular page that explained it better to me: http://jakarta.apache.org/tapestry/3.0.3/doc/DevelopersGuide/components.asse ts.html Here is the main point of the page: "Tapestry uses the assets concept to address two

Re: Navigation rules

2006-01-09 Thread Yura Tkachenko
Thanks Sergiy Looks like now everything good. I just started Tapestry and as for me this framework have some very splendid ideas, which isn't supported by JSF. It's awesome framework :-). http://www.opensubscriber.com/message/tapestry-user@jakarta.apache.org/3033609.html -

Re: problem with HibernateSqueezer

2006-01-09 Thread Ted Steen
I`ll go with the getSuperclass() solution.. thanks! On 1/10/06, Ido M. Tamir <[EMAIL PROTECTED]> wrote: > On Monday 09 January 2006 13:44, Ted Steen wrote: > > there is a problem with the HibernateSqueezer ( > > http://wiki.apache.org/jakarta-tapestry/HibernateTapestrySqueezer ) > > > > sometimes

Service point tapestry.ResetEventCoordinator

2006-01-09 Thread tmarx
Is "tapestry.ResetEventCoordinator" still part of the Tapestry core in the final 4.0 ? What possible errors could cause a: "Service point tapestry.ResetEventCoordinator does not exist" ? (for within the hivemind configuration) Thanks! m2f Sent from

Re: problem with HibernateSqueezer

2006-01-09 Thread Ido M. Tamir
On Monday 09 January 2006 13:44, Ted Steen wrote: > there is a problem with the HibernateSqueezer ( > http://wiki.apache.org/jakarta-tapestry/HibernateTapestrySqueezer ) > > sometimes Hibernate extends the persistent classes, this probably has > something to do with caching.. no not caching, minimi

Tapestry 4.0 Release Notice on TheServerSide

2006-01-09 Thread Howard Lewis Ship
Please visit the article, http://www.theserverside.com/news/thread.tss?thread_id=38407 , and show your support for Tapestry. Guidelines: No bashing of other frameworks. No flamewars. Be polite. Many will have closed minds and belligerant attitudes. They can not be saved from themselves, and will

Tacos PartialForm

2006-01-09 Thread Matias Blasi
We are using the Tacos PartialForm component, in which we put a sumbit with a listener bound. Our problem is that when we submit that form the listener isn't called. Is it the whished behaivour? If true, how can I replace that funtionality? Pd: We are using Tacos-20050421, because we are using Ta

Re: problem with HibernateSqueezer

2006-01-09 Thread Ted Steen
the source is right here; http://wiki.apache.org/jakarta-tapestry/HibernateTapestrySqueezer On 1/9/06, Patrick Casey <[EMAIL PROTECTED]> wrote: > > You could set proxy=false in your hibernate mapping to prevent this > kind of class enhancement, but you'd take a serious performance hit. Wit

RE: problem with HibernateSqueezer

2006-01-09 Thread Patrick Casey
You could set proxy=false in your hibernate mapping to prevent this kind of class enhancement, but you'd take a serious performance hit. Without seeing the source for the hibernate squeezer I can't offer a solution on that end. --- Pat > -Original Message- > From: Ted Ste

problem with HibernateSqueezer

2006-01-09 Thread Ted Steen
there is a problem with the HibernateSqueezer ( http://wiki.apache.org/jakarta-tapestry/HibernateTapestrySqueezer ) sometimes Hibernate extends the persistent classes, this probably has something to do with caching.. anyway, this is an example of what data.getClass().getCanonicalName() could retur

Re: Submit action method ignored

2006-01-09 Thread Richard Clark
On Jan 9, 2006, at 4:44, tmarx wrote: Is this a bug? The save method is not called after submitting the form: What's in your html file (and page file, if you have it)? ...R - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Long compilation of Tapestry page

2006-01-09 Thread Richard Clark
A lot of things affect the page display speed in Tapestry. If there's low free memory in Tomcat (look at the /manager/status page when Tomcat is running) or if your page uses a substantial amount of OGNL, it will show the speeds you report. Also, many developers test with caching off, which

Re: Spindle 3.2.9 Released

2006-01-09 Thread NYG
Hello Geoff, thanks for all the hard works! Geoff Longman <[EMAIL PROTECTED]> wrote: I'm updating the docs for the existing stuff and then will devoting all free time (slim now but will be increasing over the next month) to Spindle for T4. I'm ecouraged that I've been able to devis

Re: PropertyUtils.write() method

2006-01-09 Thread NYG
Thanks Richard! I found that out myself shortly after I sent out that email. Richard Clark <[EMAIL PROTECTED]> wrote: http://jakarta.apache.org/hivemind/hivemind/apidocs/org/apache/ hivemind/util/PropertyUtils.html On Jan 8, 2006, at 19:31, NYG wrote: > > In page 59 of K

Re: css background-image

2006-01-09 Thread Stephane Decleire
I just wonder why in the first hand we use an asset to put an image in a html page and in the other hand we just hardcode the url in this specific case ... -- Stéphane Decleire [EMAIL PROTECTED] Patrick Casey wrote: Do you consider adding a .css page via the style parameter of the s

Re: using the in a .script

2006-01-09 Thread Chris Norris
Duh, it's in a CDATA block and the parser is ignoring it. err... On 1/9/06, Chris Norris <[EMAIL PROTECTED]> wrote: > > I'm having trouble understanding how to use this. When I use it, it just > renders the xml right into the javascript. Here's my .script: > > > "-//Apache

Re: using the in a .script

2006-01-09 Thread Andreas Idl
I think you should move the foreach outside of the

RE: css background-image

2006-01-09 Thread Patrick Casey
Do you consider adding a .css page via the style parameter of the shell component to be insufficiently elegant? It's the usual approach. --- Pat > -Original Message- > From: Stephane Decleire [mailto:[EMAIL PROTECTED] > Sent: Monday, January 09, 2006 6:42 AM > To: tapestr

using the in a .script

2006-01-09 Thread Chris Norris
I'm having trouble understanding how to use this. When I use it, it just renders the xml right into the javascript. Here's my .script: http://jakarta.apache.org/tapestry/dtd/Script_3_0.dtd";>

problem detecting the changed files when using the reset service

2006-01-09 Thread Andrei Chiritescu
Hi, When using a development environment(use the reset service or disable the cache) I have noticed that when the file size has not changed(but the contents did) tapestry did not reloaded that resource(page/jwc/script). So, I guess, that tapestry marks as changed and reloads a file if the size

Re: css background-image

2006-01-09 Thread Leonardo Quijano Vincenzi
Stephane Decleire wrote: Hi, Is there an elegant way to use css background-image like "background-image: url(images/fond1.gif)" in Tapestry ? Thanks in advance. Using a stylesheet like everyone else... or put your style="background-image: url(images/fond1.gif)" in the relevant HTML compone

Re: Spindle 3.2.9 Released

2006-01-09 Thread Geoff Longman
I'm updating the docs for the existing stuff and then will devoting all free time (slim now but will be increasing over the next month) to Spindle for T4. I'm ecouraged that I've been able to devise a way to handle T4 annotations though! Geoff On 1/9/06, Martin Strand <[EMAIL PROTECTED]> wrote: >

css background-image

2006-01-09 Thread Stephane Decleire
Hi, Is there an elegant way to use css background-image like "background-image: url(images/fond1.gif)" in Tapestry ? Thanks in advance. -- Stéphane Decleire [EMAIL PROTECTED]

Re: SubmitOnChange deprecated?

2006-01-09 Thread Leonardo Quijano Vincenzi
The direct change is using Javascript onchange events. You can put submit(), refresh() or cancel() AFAIK: onchange="javascript:this.form.refresh();" You can also use AjaxEventSubmit from the Tacos project if you want Ajax for that. http://tacos.sourceforge.net/components/AjaxEventSubmit.html

Re: Creating a war with my Tapestry app

2006-01-09 Thread Leonardo Quijano Vincenzi
I actually have it in WEB-INF and it works there for JBoss (which uses Tomcat). In any case it's not hard to try both ;). -- Ing. Leonardo Quijano Vincenzi DTQ Software Schulte Marcus wrote: actually, I think, the context.xml should go into META-INF, not WEB-INF --

Parameter parameters must not be null

2006-01-09 Thread tmarx
Just replaced the 4.0 RC3 jars with the 4.0 jars...strangely I get a runtime error in the hivemind.xml file when I start up jetty. So I replaced the 4.0 jars again with the 4.0 RC3 jars and it was working again. In the changelog seems to be missing something? Caused by: org.apache.hivemind.Appl

Re: Spindle 3.2.9 Released

2006-01-09 Thread Martin Strand
lol I bet you haven't heard that one before, Geoff On Mon, 09 Jan 2006 13:57:38 +0100, Vincent <[EMAIL PROTECTED]> wrote: Hi Geoff, Is there any plans for the new released Tapestry 4.0? best regards, Vincent On 1/8/06, Geoff Longman <[EMAIL PROTECTED]> wrote: I know this is a letdown next

Re: Spindle 3.2.9 Released

2006-01-09 Thread Vincent
Hi Geoff, Is there any plans for the new released Tapestry 4.0? best regards, Vincent On 1/8/06, Geoff Longman <[EMAIL PROTECTED]> wrote: > I know this is a letdown next to Tapestry 4.0 going final but I was > able to restore online updates for Spindle (Tap 3 unfortunately) and > updated the docs

Submit action method ignored

2006-01-09 Thread tmarx
Is this a bug? The save method is not called after submitting the form: public abstract class EditPage extends implements PageBeginRenderListener{ public void save() { ... } } m2f Sent from www.TapestryForums.com Read

Long compilation of Tapestry page

2006-01-09 Thread Yura Tkachenko
Hi, everybody Is it normal if my tapestry page first compilation about 2-4 seconds? Because the same page in JSF compiles much faster. I have Intel Celeron 1,7 GHz and 512 MB of RAM, I use JDK 1.5 and Tomcat 5.5. Is it normal behavior? Thanks, Yura. --

Long compilation of Tapestry page

2006-01-09 Thread Yura Tkachenko
Hi, everybody Is it normal if my tapestry page first compilation about 2-4 seconds? Because the same page in JSF compiles much faster. I have Intel Celeron 1,7 GHz and 512 MB of RAM, I use JDK 1.5 and Tomcat 5.5. Is it normal behavior? Thanks, Yura. --

transaction start and end

2006-01-09 Thread Ted Steen
Hi! I`m planning on having my hibernate transaction span over one page request.. Is pageAttached(...) and pageDetached(...) the right place to start and end the transaction? I guess this is the first and last thing that happen on a request. Also, is it wise to have the transaction scope over a who

Re: SubmitOnChange deprecated?

2006-01-09 Thread Shing Hing Man
Instead of using the parameter submitOnChange=true, you put in the piece of javascript manually : 2004/2005 I 2005/2006 I 2005/2006 II I do not know why it has been

SubmitOnChange deprecated?

2006-01-09 Thread tmarx
Why is SubmitOnChange deprecated and what is its successor? Thanks! Toby m2f Sent from www.TapestryForums.com Read this topic online here: <> http://www.tapestryforums.com/viewtopic.php?p=12791#12791 m2f