Re: Make Tapestry a "full" web framework?

2008-03-18 Thread Christian Edward Gruber
I love it when someone invents new people to stage internet conversations. note the "just only" and other little language features that this troll uses in all his posts, regardless of the story. Even if I'm wrong in that supposition, this is open-source software. If this was a real reque

T5: Page w/ activation context needs property set

2008-03-18 Thread Bill Holloway
I have an actionlink method to redirect to a page that has an activation context but that also needs to have a settable property set on it before I send the browser there. I don't want to pump the property into application state. I would like to be able to use _componentResources.createPageLink (

Re: Make Tapestry a "full" web framework?

2008-03-18 Thread Joshua Jackson
I agree. I have requested this before for Tapestry to be a full web framework since right now it's just only a plain web framework. On 3/19/08, yuan gogo <[EMAIL PROTECTED]> wrote: > Tapestry is good. > But I personally think it's lack of something that should be built-in. > e.gsecurity! > > It's

Make Tapestry a "full" web framework?

2008-03-18 Thread yuan gogo
Tapestry is good. But I personally think it's lack of something that should be built-in. e.gsecurity! It's right that tapestry can work well with acegisecurity, but it's not native, is it? And we programmer need time to write the configuration, debug it's boring! Even there has been tape

Re: AW: @Cached and caching in general

2008-03-18 Thread Fernando Padilla
:) True. I definitely won't say that this will solve all cases 100%. But for basic rendering.. this allows you to essentially set "expires" for fragments of the page. And yes it caches all operations that go through PageRenderSupport. And if I could take over the markupWriter properly, I

Re: AW: @Cached and caching in general

2008-03-18 Thread Howard Lewis Ship
I'm generally against these approached. Cache the data, make it fast to access. Let Tapestry do a full render every time. You'll end up with confusing, unforseen consequences. Rendering is increasingly a complex dance between components. That's the power and the penalty of Tapestry. Component

Re: @Cached and caching in general

2008-03-18 Thread Howard Lewis Ship
Nope. It's dangerous stuff that should be used with care. On Tue, Mar 18, 2008 at 10:01 AM, Tobias Marx <[EMAIL PROTECTED]> wrote: > Wouldn't it be useful to make the @Cache annotation the default annotation > for all methods? > > I can not imagine a case where it would make sense that during t

Re: AW: @Cached and caching in general

2008-03-18 Thread Davor Hrg
thanks :) It's 00:46 here, I'll try it out in the morning, If I make it work I'll create a wiki page for it... Davor Hrg On Wed, Mar 19, 2008 at 12:38 AM, Fernando Padilla <[EMAIL PROTECTED]> wrote: > here you go :) > > Should be able to drop these into your project. > > The Buffer.java is the

Re: AW: @Cached and caching in general

2008-03-18 Thread Fernando Padilla
here you go :) Should be able to drop these into your project. The Buffer.java is the component ( so somewhere under components package ), and the BufferServices needs to go somewhere where Tapestry will not enhance it, so I put it under the services package. ). :) Sorry, but the "cacheKey/E

Use of @InjectService

2008-03-18 Thread Howard Lewis Ship
Just a heads up; I'm seeing lots of informed and useful postings of code to the list. Bravo! One thing I do keep seeing is code such as: public class MyServiceImpl implements MyService { public MyServiceImpl(@InjectService("Session") Session session) { ... Several preview releases back, I w

Re: BeanEditForm & Zones

2008-03-18 Thread Howard Lewis Ship
Please add an issue to JIRA. On Tue, Mar 18, 2008 at 1:35 PM, José Paumard <[EMAIL PROTECTED]> wrote: > > Hi all, > > It seems to me that the BeanEditForm element could have a zone attribute. > Am I wrong on this point, or maybe blind ? > > José > --

Re: T5: HibernateSessionManager

2008-03-18 Thread Josh Canfield
You need to call session.flush after you save, this will send your data to the database and trigger any constraint exceptions. http://www.hibernate.org/hib_docs/v3/api/org/hibernate/Session.html#flush() I'm pretty sure that the tapestry-hibernate thread/request management is done within the contex

Re: AW: @Cached and caching in general

2008-03-18 Thread Davor Hrg
I'm interested in the one for T5 :) if you are not allowed to share source, maybe few hints how to make it Davor Hrg On Tue, Mar 18, 2008 at 7:22 PM, Fernando Padilla <[EMAIL PROTECTED]> wrote: > We have a component that we call "Buffer" :) it takes a timeout, > optional cachekey, and optional

About Tapestry form fields

2008-03-18 Thread emilis k.
Hello, As I see tapestry goes to candidate realyse, thats greate. I want to ask about form field hints. is it possible to create Annotation like @Validate for hints binding from properties files? Emilis Kuke

BeanEditForm & Zones

2008-03-18 Thread José Paumard
Hi all, It seems to me that the BeanEditForm element could have a zone attribute. Am I wrong on this point, or maybe blind ? José - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: T5: Passing a component to layout

2008-03-18 Thread Howard Lewis Ship
can be replaced by . An annoymous block never renders and is used to prevent the rendering of its contents. On Tue, Mar 18, 2008 at 11:40 AM, Martin Kersten <[EMAIL PROTECTED]> wrote: > I hope I am not walking a dead road but here is what I understood: > > 1. You have a side-bar > 2. This side

Re: T5: your opinion on grid's sorting

2008-03-18 Thread Howard Lewis Ship
I see these little extra characters as a bit of a rabbit hole=; I'd rather add yet another parameter to identify which columns should be sortable, On Tue, Mar 18, 2008 at 12:09 PM, SergeEby <[EMAIL PROTECTED]> wrote: > > You are not alone :) > > /Serge > > > > > Adam Zimowski wrote: > > > > I

Re: T5: your opinion on grid's sorting

2008-03-18 Thread SergeEby
You are not alone :) /Serge Adam Zimowski wrote: > > I'd like to propose enhancement which makes it easier to define which > columns are sorted. > > The grid component, as of 5.0.11, by default applies and enables > sorting to all columns. If one wants to change it, one must give grid > the m

Re: AW: AW: AW: [T5] How to get ampersand (&) rendered raw / notencodedas &?

2008-03-18 Thread Filip S. Adamsen
I believe Josh Canfield dug up the W3C reference to begin with. Credit where credit is due. :) -Filip On 2008-03-18 19:53, Martin Grotzke wrote: On Tue, 2008-03-18 at 19:42 +0100, Martin Kersten wrote: Hi Martin (G.), dude I wasn't aware of it either. Nice to know! Thanks! Thanx to Filip

Re: AW: @Cached and caching in general

2008-03-18 Thread Andreas Andreou
I had done http://andyhot.di.uoa.gr/tapfx/app?service=page/Cache for T3 and T4 @ http://tapfx.sourceforge.net/ but it needed ehcache Perhaps combine the two (esp. since there's no T5 version) and move to tacos? On Tue, Mar 18, 2008 at 8:22 PM, Fernando Padilla <[EMAIL PROTECTED]> wrote: > We hav

Re: AW: AW: AW: [T5] How to get ampersand (&) rendered raw / notencodedas &?

2008-03-18 Thread Martin Grotzke
On Tue, 2008-03-18 at 19:42 +0100, Martin Kersten wrote: > Hi Martin (G.), > >dude I wasn't aware of it either. Nice to know! Thanks! Thanx to Filip :) Cheers, Martin > > > Cheers, > > Martin (Kersten) > > -Ursprüngliche Nachricht- > Von: Martin Grotzke [mailto:[EMAIL PROTECTED]

AW: AW: AW: [T5] How to get ampersand (&) rendered raw / notencodedas &?

2008-03-18 Thread Martin Kersten
Hi Martin (G.), dude I wasn't aware of it either. Nice to know! Thanks! Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: Martin Grotzke [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 18. März 2008 19:39 An: Tapestry users Betreff: Re: AW: AW: [T5] How to get ampersand (&) re

AW: T5: Passing a component to layout

2008-03-18 Thread Martin Kersten
I hope I am not walking a dead road but here is what I understood: 1. You have a side-bar 2. This side bar displays its content depending on the current page type 3. You would like to encapsulate your side bar. Easiest solution I can think of is to dispose your side bar into sub components

Re: AW: AW: [T5] How to get ampersand (&) rendered raw / not encodedas &?

2008-03-18 Thread Martin Grotzke
On Tue, 2008-03-18 at 18:53 +0100, Martin Kersten wrote: > Hi Martin (G.), > > and to recap it would result into & replacements and it would > be interpreted by some browsers correctly and some incorrectly? Hopefully all browsers would interpret & correctly as & when sending the request - as Fil

Re: [T5] url asset prefix?

2008-03-18 Thread Fernando Padilla
here is one example: If I have a component that wants to bring in css and js, I don't want to just bring that in multiple times, every time the component is used.. going through the addStylesheet and addScriptLink methods is the Tapestry way of doing it.. makes sure duplicates aren't brought i

Re: AW: @Cached and caching in general

2008-03-18 Thread Fernando Padilla
We have a component that we call "Buffer" :) it takes a timeout, optional cachekey, and optional lastmodified (to tell you) We have it for Tap4 and Tap5, if anyone really wants it, I bet I can liberate it.. you would just have to change the cache hooks to use whatever cache you want to use...

T5: Passing a component to layout

2008-03-18 Thread Bill Holloway
Sidebars in our application will change from page to page. Normally, I'd just pass them from the page to the layout as a block defined in the page. However, some sidebars will have forms whose events I'd like to trap within the sidebar. Blocks can't do that of course. So I want my sidebar to be

Re: Tapestry at my company

2008-03-18 Thread Daniel Jue
I honestly don't know much about Apache Wicket, except that there is a Wicket user who likes to spread lies, misinformation and FUD on the Tapestry Users Group because he feels it is the necessary way to promote Wicket over Tapestry. He is known by many names, such as Emmanuel Sowah, Francis Amanfo

AW: Tapestry at my company

2008-03-18 Thread Martin Kersten
> There's a spectrum of frameworks out there. I think Tapestry 5 > scores high marks across the board, from tiny to giant projects > and the notes I've been collecting form users back that up. > I can't quite see writing GMail in Tapestry 5 (but then again, > GMail isn't written in GWT either)

RE: Tapestry at my company

2008-03-18 Thread Jonathan Barker
A toast to fools! But for them, the rest of us would not succeed! > -Original Message- > From: Chris Lewis [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 18, 2008 1:39 PM > To: Tapestry users > Subject: Re: Tapestry at my company > > Actually I have a different perspective, arguably

RE: @Cached and caching in general

2008-03-18 Thread Jonathan Barker
Hibernate makes it easy to do some really interesting things without a great deal of thought. Any time you start working with large data sets you have to think carefully about what Hibernate is doing on your behalf - like the inner loop example. For some reporting tasks, you might want to use Hi

Re: T5: HibernateSessionManager

2008-03-18 Thread Julian Wood
I have a UserService: public class UserServiceImpl implements UserService { private Session session; public UserServiceImpl(@InjectService("Session")Session session) { this.session = session; } public void save(User user) { session.save(user); } } I bind thi

AW: AW: [T5] How to get ampersand (&) rendered raw / not encodedas &?

2008-03-18 Thread Martin Kersten
Hi Martin (G.), and to recap it would result into & replacements and it would be interpreted by some browsers correctly and some incorrectly? So wont help. I see. Any solution (beside providing an iframe component). I would like to see a 'raw:' binding or do I miss something? Cheers, Martin

Re: Tapestry at my company

2008-03-18 Thread Howard Lewis Ship
Nope, just ignore him is the best thing. But even I have trouble practicing what I preach. On Tue, Mar 18, 2008 at 10:38 AM, Chris Lewis <[EMAIL PROTECTED]> wrote: > Actually I have a different perspective, arguably much less mature but > certainly more practical. Before I knew who this stain wa

Re: Tapestry at my company

2008-03-18 Thread Howard Lewis Ship
On Tue, Mar 18, 2008 at 10:24 AM, Darío Vasconcelos <[EMAIL PROTECTED]> wrote: > The thing that bothers me is, > > I'm pretty sure that the Wicket community is misrepresented by this little > troll, and he's probably laughing every time he checks this mailing list to > see what kind of responses

Re: AW: @Cached and caching in general

2008-03-18 Thread Davor Hrg
Tobias is right to ask about his, I'm usin php for a long time now and output_buffer functions "ob_*" are great for simplifying complex pages, adding caching without interferring with internal code people have asked about getting html output of page and etc. if framework would allow access to

Re: Tapestry at my company

2008-03-18 Thread Chris Lewis
Actually I have a different perspective, arguably much less mature but certainly more practical. Before I knew who this stain was I wrote a message that quite directly confronted and disarmed him, and then I realized that he is simply impervious. Really, he is. Every week or so a new one will pop u

RE: [T5] url asset prefix?

2008-03-18 Thread Jonathan Barker
One of the features of Assets is localization. I don't see how that would work with the url prefix. Is there a reason whey you don't want to use a url right in your template, or perhaps in a message file? Actually, if you used a message file then you could localize the asset. Jonathan >

Re: AW: [T5] How to get ampersand (&) rendered raw / not encoded as &?

2008-03-18 Thread Martin Grotzke
Hi Martin (K.) :) just to have this complete, the template part was this: http://foo/?foo=bar&${queryString}"; with queryString beeing a page property... Cheers, Martin On Tue, 2008-03-18 at 18:11 +0100, Martin Kersten wrote: > Hi Martin, > > how is the query string is appended? There is

AW: @Cached and caching in general

2008-03-18 Thread Tobias Marx
I had the idea while looking at this benchmark here: http://www.dmst.aueb.gr/dds/pubs/conf/2002-SANE-DynCont/html/throughput.gif I am currently trying out Resin as it allows to use PHP and Servlets at the same time - so you can mix old PHP code with Tapestry on a single webserver and replace p

Re: [T5] How to get ampersand (&) rendered raw / not encoded as &?

2008-03-18 Thread Martin Grotzke
Hi, On Tue, 2008-03-18 at 10:06 -0700, Josh Canfield wrote: > Hi Martin, > > I'm confused by your statement: > > I would say that a request parameter appended with ¶m=value > > would be seen by the server as amp;param instead of just param. > > Does this mean that you are seeing a problem on

Re: [T5] How to get ampersand (&) rendered raw / not encoded as &?

2008-03-18 Thread Martin Grotzke
Hi, On Tue, 2008-03-18 at 17:51 +0100, Filip S. Adamsen wrote: > > I would say that a request parameter appended with ¶m=value > > would be seen by the server as amp;param instead of just param. > > W3C says otherwise: "With HTML, the browser translates "&" to "&" so > the Web server would o

Re: AW: @Cached and caching in general

2008-03-18 Thread Filip S. Adamsen
That's a special case, really. Do what you want. -Filip On 2008-03-18 18:20, Tobias Marx wrote: Ok...let's say factor 10 (unless you have many loops inside of loops inside of loops that use queries on large tables). Original-Nachricht Datum: Tue, 18 Mar 2008 18:14:28 +0100

Re: Tapestry at my company

2008-03-18 Thread Darío Vasconcelos
The thing that bothers me is, I'm pretty sure that the Wicket community is misrepresented by this little troll, and he's probably laughing every time he checks this mailing list to see what kind of responses happened as a result to his last dull characterization as a genuine Tapestry user. Nevert

Re: Class and template auto-reloading in IntelliJ

2008-03-18 Thread Bill Holloway
That fixed it! Bill On Tue, Mar 18, 2008 at 11:03 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > The Jetty Integration allows you to configure which of Jetty's XML > configuration files to use. I run with only jetty.xml enabled, not > the other 10 or so. That could be the difference. > >

AW: @Cached and caching in general

2008-03-18 Thread Martin Kersten
You might want to know what tapestry does with your templates. Tapestry reads your template and parses it - only once it changes! So generating two pages (even with different content) just results in using a parsed, preprocessed in memory representation of your template. So tapestry strictly avoid

Re: AW: @Cached and caching in general

2008-03-18 Thread Tobias Marx
Ok...let's say factor 10 (unless you have many loops inside of loops inside of loops that use queries on large tables). Original-Nachricht > Datum: Tue, 18 Mar 2008 18:14:28 +0100 > Von: "Filip S. Adamsen" <[EMAIL PROTECTED]> > An: Tapestry users > Betreff: Re: AW: @Cached and

AW: [T5] How to get ampersand (&) rendered raw / not encoded as &?

2008-03-18 Thread Martin Kersten
Holy dude, I forget. Just use OutputRaw this way: instead of: First one writes the raw from of the query leaving & intact (and all other chars) and the second one would touch it. check out the source for this little component to tweak the filtering / unfiltering as needed (URL-Encoding?). T

AW: @Cached and caching in general

2008-03-18 Thread Tobias Marx
> The problem is context I guess. Usally your component depends on lots > of stuff. Parameters, URL, Services, Page-state, component state, > HTTP-Parameters and so on. Yes...but it must be possible somehow as some PHP template engines also do it. Isn't there already some mechanism in the inte

Re: AW: @Cached and caching in general

2008-03-18 Thread Filip S. Adamsen
A factor 100?? C'mon. If, and I stress IF, your application would benefit that much from this, fine. But Tapestry 5 applications in general would - I guarantee you - not see such an improvement. -Filip On 2008-03-18 18:07, Tobias Marx wrote: My theory is that such a disk-caching behaviour coul

AW: [T5] How to get ampersand (&) rendered raw / not encoded as &?

2008-03-18 Thread Martin Kersten
Hi Martin, how is the query string is appended? There is always a difference in writing text and html. If you write text everything gets converted. If you write html (raw) everything will work. Please just post the tml-part in question. Maybe we can give a shorty for it. Cheers, Martin (Ke

Re: @Cached and caching in general

2008-03-18 Thread Filip S. Adamsen
Tapestry already does some caching on invariant properties, and when it doesn't the overhead of actually reading the property again is negligible unless it result in a database query etc. Also, I have plenty of pages where properties change while rendering the page. So, no. It wouldn't be usef

AW: @Cached and caching in general

2008-03-18 Thread Tobias Marx
My theory is that such a disk-caching behaviour could speed up Tapestry applications by factor 100although Tapestry 5 is quite fast. The template parsing is still quite slow because it uses Velocity and everything that avoids template parsing would increase the speed a lot. Origi

AW: @Cached and caching in general

2008-03-18 Thread Martin Kersten
The problem is context I guess. Usally your component depends on lots of stuff. Parameters, URL, Services, Page-state, component state, HTTP-Parameters and so on. Providing such a low-level cache might sound reasonable but remembering my own requirements lots of days back (2001) the cache depende

AW: Tapestry at my company

2008-03-18 Thread Martin Kersten
Temper... Temper... Temper... Even if he makes your blood boiling, just play nice... . -Ursprüngliche Nachricht- Von: Chris Lewis [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 18. März 2008 18:05 An: Tapestry users Betreff: Re: Tapestry at my company You were wrong. We are both arrogant

Re: [T5] How to get ampersand (&) rendered raw / not encoded as &?

2008-03-18 Thread Josh Canfield
Hi Martin, I'm confused by your statement: > I would say that a request parameter appended with ¶m=value > would be seen by the server as amp;param instead of just param. Does this mean that you are seeing a problem on the server side? What you are describing is not what I would expect, if yo

Re: Tapestry at my company

2008-03-18 Thread Chris Lewis
You were wrong. We are both arrogant and hostile, so piss off and be gone with ya! Rob Smeets wrote: > Guys, > > I hoped you would rally behind me and offer some ideas to counterfight my > colleagues. Rather you are calling me names. I am very dissapointed and hope > you will all one day grow up.

AW: @Cached and caching in general

2008-03-18 Thread Martin Kersten
@Chached is only used during a single page rendering cycle. It would not apply to your situation. (as far as I know) Source: http://sqllyw.wordpress.com/2008/03/15/new-features-in-tapestry-5011/ Your scenario would be implementable using your own component. The component would represent a fragmen

Re: @Cached and caching in general

2008-03-18 Thread Tobias Marx
Wouldn't it be useful to make the @Cache annotation the default annotation for all methods? I can not imagine a case where it would make sense that during the rendering of a page returns different results... Original-Nachricht > Datum: Tue, 18 Mar 2008 11:53:09 -0500 > Von: "Ad

Re: @Cached and caching in general

2008-03-18 Thread Tobias Marx
Ok. Thanks...this is what I wanted to know. What about an annotation for "components"/"pages ? @CachedOutput (time=3600) In this case a "component" or "page" would not render itself every time but cache its output to the filesystem (a cache directory). Every hour it would re-generate/refresh it

Re: Tapestry at my company

2008-03-18 Thread Filip S. Adamsen
You forgot "YHBT. YHL." Now GTFO. -Filip On 2008-03-18 17:35, Rob Smeets wrote: Guys, I hoped you would rally behind me and offer some ideas to counterfight my colleagues. Rather you are calling me names. I am very dissapointed and hope you will all one day grow up. I thought the Tapestry com

Re: @Cached and caching in general

2008-03-18 Thread Adam Zimowski
@Cache works on per request basis, so that anything you return from a method which has @Cache annotation will get actually "built" or "retrieved" only once - but only once per http request. So if you're building an expensive HTML fragment: @Cached public String buildExpensiveHtmlFragment() { //.

Re: @Cached and caching in general

2008-03-18 Thread Davor Hrg
@Cached is an annotation that caches method call result per request. so while page is rendering if multiple pieces of template require that property it gets called only once... Davor Hrg On Tue, Mar 18, 2008 at 5:44 PM, Tobias Marx <[EMAIL PROTECTED]> wrote: > I have not used T5 yet, but would @C

Re: [T5] How to get ampersand (&) rendered raw / not encoded as &?

2008-03-18 Thread Filip S. Adamsen
Hi, On 2008-03-18 15:41, Martin Grotzke wrote: Hi, On Tue, 2008-03-18 at 14:19 +0100, Chris Lewis wrote: Martin, I'm guessing your mail client converted Josh's message because it rendered the & in the url as & - just as you have explained and shown. Ok, thanx :) As he said, url's with & i

Re: Tapestry at my company

2008-03-18 Thread Adam Zimowski
Your reply serves only one purpose - to make use look bad when this thread gets indexed by web crawler, and some wanderer stumbles upon it thinking you're actually real. Well, every body on the Tapestry list knows you're the only troll here. You're a big, nasty troll whose purpose is to waste our v

@Cached and caching in general

2008-03-18 Thread Tobias Marx
I have not used T5 yet, but would @Cached use the file system for caching HTML fragments similiar to caching mechanisms in some php frameworks? Or is this a pure memory-based cache? I am thinking about migrating an old PHP application to T5 - it has really a lot of traffic and any users are log

Re: Tapestry at my company

2008-03-18 Thread Rob Smeets
Guys, I hoped you would rally behind me and offer some ideas to counterfight my colleagues. Rather you are calling me names. I am very dissapointed and hope you will all one day grow up. I thought the Tapestry community have nice people. You have proved to be very arrogant and bad tempered. I hope

AW: Tapestry at my company

2008-03-18 Thread Stroeber, Andreas
I suggest scheme. The more people grow up, the more they behave childish. -Ursprüngliche Nachricht- > For trolls such as yourself... I'd suggest you adopt struts 1 to > ensure maximum pain. Plain servlets and JSPs would be even better! ---

Re: [t4] rendering DirectLink from Java code (renderer)

2008-03-18 Thread Ben Dotte
You're right about the number of methods in IDirect, sorry I forgot to clarify that. I guess all of the places I am doing this, the class implementing IDirect is an abstract Tapestry page or component. This way Tapestry fills in all the details on those other methods and all I need to implement is

Re: [t4] rendering DirectLink from Java code (renderer)

2008-03-18 Thread Petri Wessman
Ben Dotte wrote: > Hi Petri, > > To generate a DirectLink href programmatically, you'll need a class > that implements IDirect. In the trigger() method on that, you can call > the intended listener. Refer to an instance of the class implementing > IDirect for the first parameter of DirectServicePa

Re: Tapestry at my company

2008-03-18 Thread Gabriel Landais
Lance Java a écrit : For trolls such as yourself... I'd suggest you adopt struts 1 to ensure maximum pain. Plain servlets and JSPs would be even better! -- Gabriel <[EMAIL PROTECTED]> http://www.codelutin.com tel : 02 40 50 29 28 / fax : 09 59 92 29 28

Re: Class and template auto-reloading in IntelliJ

2008-03-18 Thread Howard Lewis Ship
The Jetty Integration allows you to configure which of Jetty's XML configuration files to use. I run with only jetty.xml enabled, not the other 10 or so. That could be the difference. On Mon, Mar 17, 2008 at 8:45 PM, Bill Holloway <[EMAIL PROTECTED]> wrote: > I hate to keep this thread going, b

Re: Tapestry at my company

2008-03-18 Thread Francois Armand
Rob Smeets wrote: Hi All, [] I really really hope that no Wicket's dev are aware of that continuous fud. And I really really hope that no Tapestry user is doing the same thing on Wicket's list (or anywhere else, for the matter). -- Francois Armand Etudes & Développements J2EE Groupe Lina

Re: Tapestry at my company

2008-03-18 Thread Lance Java
For trolls such as yourself... I'd suggest you adopt struts 1 to ensure maximum pain. On 18/03/2008, Rob Smeets <[EMAIL PROTECTED]> wrote: > > Hi All, > > Tomorrow is our last day of debate at my work about which framework to > choose for our upcoming huge project. > Its seems Wicket is winning th

Re: [t4] rendering DirectLink from Java code (renderer)

2008-03-18 Thread Ben Dotte
Hi Petri, To generate a DirectLink href programmatically, you'll need a class that implements IDirect. In the trigger() method on that, you can call the intended listener. Refer to an instance of the class implementing IDirect for the first parameter of DirectServiceParameter, set the Direct engin

Re: Tapestry at my company

2008-03-18 Thread Sven Homburg
forty two 2008/3/18, Rob Smeets <[EMAIL PROTECTED]>: > > Hi All, > > Tomorrow is our last day of debate at my work about which framework to > choose for our upcoming huge project. > Its seems Wicket is winning the race for it's innovativeness, finess and > excellent support, they claim, unfortunat

Re: Tapestry at my company

2008-03-18 Thread Adam Zimowski
Oh, shut up already. On Tue, Mar 18, 2008 at 9:44 AM, Rob Smeets <[EMAIL PROTECTED]> wrote: > Hi All, > > Tomorrow is our last day of debate at my work about which framework to > choose for our upcoming huge project. > Its seems Wicket is winning the race for it's innovativeness, finess and >

Tapestry at my company

2008-03-18 Thread Rob Smeets
Hi All, Tomorrow is our last day of debate at my work about which framework to choose for our upcoming huge project. Its seems Wicket is winning the race for it's innovativeness, finess and excellent support, they claim, unfortunately. Most on my team members are concerned about the radically inco

Re: [T5] How to get ampersand (&) rendered raw / not encoded as &?

2008-03-18 Thread Martin Grotzke
Hi, On Tue, 2008-03-18 at 14:19 +0100, Chris Lewis wrote: > Martin, > > I'm guessing your mail client converted Josh's message because it > rendered the & in the url as & - just as you have explained and > shown. Ok, thanx :) > As he said, url's with & in place of & are actually correct > and s

[t4] rendering DirectLink from Java code (renderer)

2008-03-18 Thread Petri Wessman
Hello all, I have a new question. I'd need to generate a DirectLink-style link from inside Java code (render method); in other words, generate HTML that would duplicate the effect of this: link text from a Java code method which has access to a IMarkupWriter object (and the IPage, if needed). An

Re: T4.1.3 How to disable a submit button programmatically?

2008-03-18 Thread Andreas Andreou
Just bind the 'disabled' parameter of your submit to a property and get/set that property according to your conditions... On Tue, Mar 18, 2008 at 2:00 PM, Grigoris Ioannou <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a Submit button in my form that I want to have disabled and to only > be dis

Re: InPlaceEditor and special characters

2008-03-18 Thread Sven Homburg
hi moritz, please add an issue http://code.google.com/p/tapestry5-components/issues/list 2008/3/18, Moritz Gmelin <[EMAIL PROTECTED]>: > > Hi, > > the InPlaceEditor component seems to handle special characters (äöü) > incorrectly, I only get ??? instead in my save method. > Anything one can do ab

Re: [T5] How to get ampersand (&) rendered raw / not encoded as &?

2008-03-18 Thread Chris Lewis
Martin, I'm guessing your mail client converted Josh's message because it rendered the & in the url as & - just as you have explained and shown. As he said, url's with & in place of & are actually correct and should not cause problems (I personally have never seen these urls cause any). chris Ma

Re: ApplicationState annotation problem since 5.0.11

2008-03-18 Thread Robert Zeigler
As long as you really know what you're doing, there's no issue in using primitives. At issue is that the ApplicationStateManager only understands class types, not names. So, if you had something like: @ApplicationState String userName; @ApplicationState String someOtherString; userName and

Re: ApplicationState annotation problem since 5.0.11

2008-03-18 Thread Baptiste Meurant
Hi Thanks to everybody. I have contributed an ApplicationStateObject for String in AppModule and it is working well now. code below : public void contributeApplicationStateManager( MappedConfiguration configuration) { ApplicationStateCreator creator = new ApplicationSt

[T5] How to set initial sortorder in grid

2008-03-18 Thread Harald Geritzer
hi all, whats the best practice to set the initial sortorder for a grid. in 5.0.11 i set it in my pageLoaded method by grid.getSortModel().getSortContraints().add(new SortConstraint(gridModel.getById(property), columnSort)); but it seems like anything has changed in 5.0.12 and a NullPointer

InPlaceEditor and special characters

2008-03-18 Thread Moritz Gmelin
Hi, the InPlaceEditor component seems to handle special characters (äöü) incorrectly, I only get ??? instead in my save method. Anything one can do about this? M. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

T4.1.3 How to disable a submit button programmatically?

2008-03-18 Thread Grigoris Ioannou
Hi all, I have a Submit button in my form that I want to have disabled and to only be disabled if the form does not contain any errors and the form is not rewinding. So, what I would like to do is (I assume) public void pageBeginRender(PageEvent event) { disable button ??? } if (!delegate.get

RE: IE6 issue with dropdowns

2008-03-18 Thread Joe Trewin
Another (nasty) way to work round this is to dynamically create an IFrame containing a document with the popup content - the IE dropdown controls are then correctly hidden. I've done this before (a long time ago) so that some JS dynamically builds the IFrame and attaches the content nodes to it

Re: ApplicationState annotation problem since 5.0.11

2008-03-18 Thread Kristian Marinkovic
AFAIK you should not use String for ApplicationsStateObjects nor other primitive types at all .. only complex types with a no arg constructor. if you must use a different constructor you have to contribute to the ApplicationStateManager to tell the service how to create the instances properly g,

T5: your opinion on grid's sorting

2008-03-18 Thread Adam Zimowski
I'd like to propose enhancement which makes it easier to define which columns are sorted. The grid component, as of 5.0.11, by default applies and enables sorting to all columns. If one wants to change it, one must give grid the model via "model" parameter. In the spirit of recently changed defaul

Re: ApplicationState annotation problem since 5.0.11

2008-03-18 Thread Baptiste Meurant
Hi Thank you for your quick answer. If I understand well, I have to create a custom ApplicationStateContribution to handle ApplicationState on String class ? Do you have some tips or instructions to do this ? I will try and tell you the result. I am just surprised that this configurations was

Re: ApplicationState annotation problem since 5.0.11

2008-03-18 Thread Gabriel Landais
Alec Leamas a écrit : Hi! What are you really trying to do here? For me, this looks like a typo. Have you contributed an ApplicationStateObject? Then you need to refer to this. I'm pretty sure Tapestry doen't have a String ApplicationState object in place... I would expect something like @A

Re: ApplicationState annotation problem since 5.0.11

2008-03-18 Thread Alec Leamas
Hi! What are you really trying to do here? For me, this looks like a typo. Have you contributed an ApplicationStateObject? Then you need to refer to this. I'm pretty sure Tapestry doen't have a String ApplicationState object in place... I would expect something like @ApplicationState private

Re: IE6 issue with dropdowns

2008-03-18 Thread Dmitry Shyshkin
It is not tapestry problem. In IE6 dropdown always display at top of others page elements. As work around you may use javascript dropdown. For example you may look at dojo combobox http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-validation-specialized-input/auto-completer sasidh

ApplicationState annotation problem since 5.0.11

2008-03-18 Thread Baptiste Meurant
Hello, I am currently upgrading my Tapestry version from 5.0.6 to 5.0.11 and I have a problem with @ApplicationState annotation. Here are my files: Login.tml : http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Login

Re: [T5] How to get ampersand (&) rendered raw / not encoded as &?

2008-03-18 Thread Martin Grotzke
On Mon, 2008-03-17 at 15:24 -0700, Josh Canfield wrote: > If I am understanding you correctly, you are getting something like > this in your source: > > http://host/page?arg1=val1&arg2=val2";> Nope, unfortunately I get src="http://host/page?arg1=val1&arg2=val2"; so the & is rendered as & Cheers,

Re: Typical use of Page Activation Context feature

2008-03-18 Thread Filip S. Adamsen
Hi, It's all in the docs: http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html -Filip HHB skrev: Hi. Does 'Page Activation Context' has a usage other than creating bookmarkable URLs? Can I deal without data other than String in PAC? Thanks. --

Typical use of Page Activation Context feature

2008-03-18 Thread HHB
Hi. Does 'Page Activation Context' has a usage other than creating bookmarkable URLs? Can I deal without data other than String in PAC? Thanks. -- View this message in context: http://www.nabble.com/Typical-use-of-Page-Activation-Context-feature-tp16115718p16115718.html Sent from the Tapestry -