Restore former behavior of URL encoding [WAS: Re: new URLEncoder Service]

2008-11-07 Thread Martin Grotzke
Hi, I also want to keep the former behavior of URL encoding but have issues with form submissions. For keeping the former behavior I added a custom URLEncoder service which does mostly what was before done in TapestryInternalUtils (see the code at the end of the post). However, when I do a form

Re: T5: changed URI encoding - create valid URIs in javascript

2008-11-07 Thread Martin Grotzke
the > activation context. I think the rationale for the activation context is > that it makes nicer looking URLs but that's not needed for Ajax calls. > So you can either create your own specialized URL encoder in Javascript > or you can change your Ajax calls to use the request

T5: changed URI encoding - create valid URIs in javascript

2008-11-07 Thread Martin Grotzke
Hi, with the fix of TAP5-302 (URL encoded strings that contain symbols such as %2f (encoded "/") are decoded incorrectly in some environments) the URI encoding/decoding changed. AFAICS URIs containing anything else than a-z, A-Z, 0-9 or one of -_.: are considered invalid. Therefore, when I have

Bug with grid default-sorting

2008-10-13 Thread Martin Grotzke
Hi, can anybody help with https://issues.apache.org/jira/browse/TAP5-135 (Grid.getSortContraints NPE when sortColumnId != null)? Is there any workaround for this or any other solution? 1) We really want to upgrade T5 because of https://issues.apache.org/jira/browse/TAPESTRY-2561 2) We really nee

Re: t5.0.15 datefield

2008-09-24 Thread Martin Grotzke
ncluded in the next release. > Nice night, > Luca > > > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Martin Grotzke http://www.javakaffee.de/blog/ signature.asc Description: This is a digitally signed message part

Re: T5 How to tell T5 to send 301 (moved permanently)

2008-08-13 Thread Martin Grotzke
ge-context-and-404-response-to16649174.html#a16649174 > > It works fine for 404, you might have to extend it to include the URL > to the page you are redirecting to. > > Hth, > > Lutz > > > On Thu, Aug 7, 2008 at 3:16 PM, Martin Grotzke > <[EMAIL PROTECTED]> wrote:

T5 How to tell T5 to send 301 (moved permanently)

2008-08-07 Thread Martin Grotzke
Hi, when I return a link in some method T5 send a 302. I want to send a 301 to the client. Is this possible with tapestry, without using the servlet stuff? Thanx && cheers, Martn signature.asc Description: This is a digitally signed message part

Re: T5: Different behavior of Palette Component in FireFox, Safari and IE

2008-07-10 Thread Martin Grotzke
sues.apache.org/jira/browse/TAPESTRY-2507 - Palette > component forces an unwanted form submit under FireFox 3 > > Yunhua > > On Thu, Jul 10, 2008 at 5:44 AM, Martin Grotzke > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > we experience exactly the same issue: w

Re: T5: Different behavior of Palette Component in FireFox, Safari and IE

2008-07-10 Thread Martin Grotzke
Hi, we experience exactly the same issue: with FF3 the palette submits the form, with FF2 this is not the case. Max, when you submit the issue in jira please send a ping here, so that I can vote :) Cheers, Martin On Wed, 2008-07-09 at 18:23 +0200, Maximilian Weißböck wrote: > Palette Component

Re: T5 application not responding, blocked at PerThreadServiceCreator.createObject

2008-05-15 Thread Martin Grotzke
'm not > sure how much changed between .10 and .11 API-wise. It already seems > like ancient history to me :-) > > On Fri, May 9, 2008 at 5:56 PM, Martin Grotzke > <[EMAIL PROTECTED]> wrote: > > On Fri, 2008-05-09 at 17:43 -0700, Howard Lewis Ship wrote: > >&g

Re: T5 ASO cannot have a non default constructor in 5.0.11?

2008-05-11 Thread Martin Grotzke
s ;) Thanx && cheers, Martin > > -Filip > > On 2008-05-11 16:12, Martin Grotzke wrote: > > On Sun, 2008-05-11 at 15:13 +0200, Filip S. Adamsen wrote: > >> Hi, > >> > >> Tapestry is trying to inject services into your ASO's constru

Re: T5 ASO cannot have a non default constructor in 5.0.11?

2008-05-11 Thread Martin Grotzke
pstate.html > > -Filip > > On 2008-05-11 14:54, Martin Grotzke wrote: > > Hi, > > > > I'm just upgrading our app from 5.0.10-SNAPSHOT to 5.0.11 and get > > exceptions for ASOs that have a non default constructor (additionally to > > the d

T5 ASO cannot have a non default constructor in 5.0.11?

2008-05-11 Thread Martin Grotzke
Hi, I'm just upgrading our app from 5.0.10-SNAPSHOT to 5.0.11 and get exceptions for ASOs that have a non default constructor (additionally to the default constructor): Caused by: java.lang.RuntimeException: Error invoking constructor com.freiheit.shopping24.shop.search.model.AnalysedSearchParam

Re: T5 dateField component does not allow specifying format (in 5.0.11)?^

2008-05-10 Thread Martin Grotzke
e/TAPESTRY-2198 > > Cheers, > > Geoff > > On 11/05/2008, at 8:55 AM, Martin Grotzke wrote: > > > Hi, > > > > I'm just upgrading our app to 5.0.11. I see that the dateField > > component > > changed (IIRC because of licensing issues). Is it correct

T5 dateField component does not allow specifying format (in 5.0.11)?^

2008-05-10 Thread Martin Grotzke
Hi, I'm just upgrading our app to 5.0.11. I see that the dateField component changed (IIRC because of licensing issues). Is it correct, that this version of dateField does not allow setting the format/localization? If so, is this also the case for 5.0.12-SNAPSHOT? Thanx && cheers, Martin sign

T5 setting initial sort order for grid in T5.0.11

2008-05-10 Thread Martin Grotzke
Hi, I'm just upgrading our T5 app from 5.0.10-SNAPSHOT to 5.0.11. Before we specified the initial sort order with this: _grid.setSortColumnId("month"); _grid.setSortAscending(false); With 5.0.11 this is gone. Can anybody tell me how one can specify the initial sort order (coumn and ascending

Re: T5 application not responding, blocked at PerThreadServiceCreator.createObject

2008-05-09 Thread Martin Grotzke
I'll have a look... Cheers, Martin > It already seems > like ancient history to me :-) > > On Fri, May 9, 2008 at 5:56 PM, Martin Grotzke > <[EMAIL PROTECTED]> wrote: > > On Fri, 2008-05-09 at 17:43 -0700, Howard Lewis Ship wrote: > >> The problem wi

Re: T5 application not responding, blocked at PerThreadServiceCreator.createObject

2008-05-09 Thread Martin Grotzke
ce these problems. Thanx for your help, cheers, Martin > > On Fri, May 9, 2008 at 5:39 PM, Martin Grotzke > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > yesterday we deployed our application upgraded from T5.0.5 to 5.0.10 > > (SNAPSHOT 2008-02-11) on the produc

Re: T5 application not responding, blocked at PerThreadServiceCreator.createObject

2008-05-09 Thread Martin Grotzke
er to track this down, but it will take about 2 weeks until we could shift our application with the latest T5 to production. That's why I asked directly on this list... Cheers, Martin > > On Fri, May 9, 2008 at 5:39 PM, Martin Grotzke > <[EMAIL PROTECTED]> wrote: > &g

T5 application not responding, blocked at PerThreadServiceCreator.createObject

2008-05-09 Thread Martin Grotzke
Hi, yesterday we deployed our application upgraded from T5.0.5 to 5.0.10 (SNAPSHOT 2008-02-11) on the production system, now it hangs from time to time with several thread blocked at PerThreadServiceCreator.createObject. We started with default settings for thetapestry.page-pool.hard-limit and so

Re: T5 (5.0.11) - ready for production deployment

2008-03-27 Thread Martin Grotzke
Hi, we also have a production app running T5 http://www.smatch.com, very stable, up and running. Cheers, Martin On Wed, 2008-03-26 at 21:14 +0100, Jan Vissers wrote: > Hi, > > I have an opportunity to use T5 (5.0.11) in an assignment. My question is; > is it safe for me to do so? The applicati

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: M

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

2008-03-18 Thread Martin Grotzke
; is totally fine and simply I was wrong when I thought this would end up with & going into the request... So nothing has to be done or changed or anything :) Thanx && cheers, Martin > > Cheers, > > Martin (Kersten) > > > -Ursprüngliche Nachricht- > Von:

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

2008-03-18 Thread Martin Grotzke
m on the server side? What you are > describing is not what I would expect, if you are seeing this then there > might be something else going on. > > Josh > > On Tue, Mar 18, 2008 at 7:41 AM, Martin Grotzke <[EMAIL PROTECTED]> wrote: > > Hi, > > > > On Tue

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

2008-03-18 Thread Martin Grotzke
s mean that you are seeing a problem on the server side? Nope, as I just wrote I simply asumed that - misleadingly ;) Cheers, Martin > What > you are describing is not what I would expect, if you are seeing this > then there might be something else going on. > > Josh > >

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

2008-03-18 Thread Martin Grotzke
e: "With HTML, the browser translates "&" to "&" so > the Web server would only see "&" and not "&" in the query string of > the request." > > http://htmlhelp.com/tools/validator/problems.html#amp > > It's not a

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

2008-03-18 Thread Martin Grotzke
amp; in place of & are actually correct > and should not cause problems (I personally have never seen these urls > cause any). I would say that a request parameter appended with &param=value would be seen by the server as amp;param instead of just param. Cheers, Martin > >

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

2008-03-18 Thread Martin Grotzke
ot;; so the & is rendered as & Cheers, Martin > That is actually the correct behavior and it shouldn't be causing a > problem in your browser. Are you seeing a problem? > > http://htmlhelp.com/tools/validator/problems.html#amp > > Josh > > > On Mo

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

2008-03-17 Thread Martin Grotzke
Hi, I have a an html element (iframe) that get's a property of my page class (the current query string) appended to its src attribute. The query string may contain the "&" char, which always gets expanded as "&". Is there any possibility to prevent T5 from encoding this char? Thanx && cheers, Ma

Re: T5.0.10: DateField on IE

2008-02-26 Thread Martin Grotzke
If you're working on linux, there's the possibility to run IE: http://www.tatanka.com.br/ies4linux/page/Main_Page Cheers, Martin On Mon, 2008-02-25 at 12:08 -0800, Howard Lewis Ship wrote: > I've done some work on it in 5.0.11, and tested with Mac Firefox 2 and > Windows IE 7. I don't have acce

Re: T5: Put template in other directory

2008-02-22 Thread Martin Grotzke
Hi, it should be possible to resolve templates as you want, see http://www.nabble.com/T5%3A-Personalizing-page-and-component-template-td14098291.html for example. Cheers, Martin On Fri, 2008-02-22 at 09:23 -0600, Robert Zeigler wrote: > Page templates can be placed in the context root (or appro

Re: T5 template selection based on the current request (e.g. request parameters)

2008-02-07 Thread Martin Grotzke
more elegant than this > unfortunately - you can see the same thing in RoR (widgets, etc). > > Hope this helps - sorry I couldn't be more specific about the dynamic > layout. > > chris > > Martin Grotzke wrote: > > Yep, you're right. But there are

Re: T5 template selection based on the current request (e.g. request parameters)

2008-02-07 Thread Martin Grotzke
te: > Hello Martin, > What isn't clear, is what is the question? If it's how to implement it I > guess the post you've already found describes it good enough. > > Renat > > On 06/02/2008, Martin Grotzke <[EMAIL PROTECTED]> wrote: > > > > Hello, >

T5 template selection based on the current request (e.g. request parameters)

2008-02-06 Thread Martin Grotzke
Hello, I have a question concerning the relation between template and page class, which admittedly has already been raised sometimes :) Especially, the thread "T5: Personalizing page and component template" (http://www.nabble.com/T5%3A-Personalizing-page-and-component-template-td14098291.html) se

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: T5 Encoding issue (repost)

2008-01-28 Thread Martin Grotzke
On Mon, 2008-01-28 at 18:54 +0100, Francois Armand wrote: > I spoke to fast : it seems that in T5.0.9, even "slashes" are handled > correctly with utf-8 filter activated. This would be really great - then we should take the effort and upgrade... Good luck to you, cheers, Martin On Mon, 2008-01-

Re: T5 Encoding issue (repost)

2008-01-28 Thread Martin Grotzke
static String urlDecode(String input) { // only decode slashes String decoded = input.replace(SLASH_REPLACEMENT_CHAR, "/"); return decoded; } On Mon, 2008-01-28 at 17:19 +0100, Francois Armand wrote: > Martin Grotzke wrote: > > Hi, > > >

Re: T5: Edit page best practice - Mk III - now Mk V

2008-01-28 Thread Martin Grotzke
gt; >>> > >>> void cleanupRender() { > >>> _form.clearErrors(); > >>> } > >>> > >>> Some notes: > >>> > >>> 1. Detached object - Person is a detached entity. I am deliberately > >>> avoiding refreshing it every time in setupRender() because a) it > >>>

Re: t:type="loop" problem

2007-09-16 Thread Martin Grotzke
> > Michael > > > > --------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Martin Grotzke http://www.javakaffee.de/blog/ signature.asc Description: This is a digitally signed message part

Re: [T5]Encoding Problem while submiting form with a Upload component.

2007-08-28 Thread Martin Grotzke
On Tue, 2007-08-28 at 12:22 +0200, Christian Koeberl wrote: > > I have a form with a 'textfield' and a 'upload' field . > > The Chinese words I input in textfield will be irrecognizable when I > > submit the form . > > I wondered, why nobody found this bug before. Anyway, I filed the > bug yeste

Re: [T5] Eclipse WTP - conflict between class reloading and context reloading

2007-07-30 Thread Martin Grotzke
Hi, you should set up your environment as it's described in the tutorial (http://tapestry.apache.org/tapestry5/tutorial1/env.html). AFAIK T5 class reloading does work with jetty 5 + jetty launcher only. Cheers, Martin On Mon, 2007-07-30 at 11:42 -0700, entelechon wrote: > I am using Eclipse WT

Re: [T5] Select, palette, multiselect

2007-07-30 Thread Martin Grotzke
On Fri, 2007-07-27 at 17:37 -0300, Thiago H de Paula Figueiredo wrote: > And has anyone implemented a Select-like component for multiple option > selection? It would be very nice to have both multiselect and palette, as > T4 has. Take a look at this thread, it's really easy to implement multise

Re: T5 component parameter binding not updated

2007-07-25 Thread Martin Grotzke
). > > > > There may be a bug here, however. It looks like Tapestry may be overly > > aggressive in terms of caching the value of ${currentPage}, as if it were a > > literal value and not a dynamic expression. Again, prop:currentPage will do > > the right thing. &g

Re: T5 component parameter binding not updated

2007-07-25 Thread Martin Grotzke
t looks like Tapestry may be overly > aggressive in terms of caching the value of ${currentPage}, as if it were a > literal value and not a dynamic expression. Again, prop:currentPage will do > the right thing. > > > On 7/20/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: >

RE: T5 component parameter binding not updated

2007-07-20 Thread Martin Grotzke
Anybody out there? What should I check for analysing this issue? Thanx && cheers, Martin On Fri, 2007-07-13 at 18:17 +0200, Martin Grotzke wrote: > I suppose that what I'm expecting is not the way it should work. > > Can I do anything to see what's the rea

RE: T5 component parameter binding not updated

2007-07-13 Thread Martin Grotzke
I suppose that what I'm expecting is not the way it should work. Can I do anything to see what's the reason for this? Any help appreciated, thx, Martin On Thu, 2007-07-12 at 09:43 +0200, Martin Grotzke wrote: > On Thu, 2007-07-12 at 08:45 +0200, Kristian Marinkovic wrote: >

RE: T5 component parameter binding not updated

2007-07-12 Thread Martin Grotzke
onent Search:pager: Binding [EMAIL PROTECTED] is read-only. Is there another way of resetting a parameter binding? How is it intended to work, when is a cached parameter reset? Thanx && cheers, Martin > > > @Parameter(cache=false,...) > > g, > kris > > >

T5 component parameter binding not updated

2007-07-11 Thread Martin Grotzke
Hi, I wrote a simple pager component but one parameter (currentPage) is not updated in a second request. In the template I have the following: In the page class this currentPage accessor: public int getCurrentPage() { return _currentPage; } which is an int and has the cor

Re: tutorial not working with jetty plugin.

2007-07-11 Thread Martin Grotzke
an find out more about this... > this is really important for my organization. > > thanks in advance! > Peter > > Thanks in advance > peter > > Martin Grotzke wrote: > > Hi, > > > > I don't remember if it was this error that we also encountered

Re: tutorial not working with jetty plugin.

2007-07-11 Thread Martin Grotzke
uot;Create new address" page link. Does anyone know what went wrong? > > Thanks > John > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --

RE: T5: NPE in Base64InputStream and locked/waitingCheckForUpdatesFilter

2007-07-11 Thread Martin Grotzke
't had a chance to test it yet. > > cheers > Ben > > > -Original Message- > > From: Martin Grotzke [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, 11 July 2007 9:06 AM > > To: Tapestry users > > Subject: Re: T5: NPE in Base64InputStream and > > l

Re: T5: NPE in Base64InputStream and locked/waiting CheckForUpdatesFilter

2007-07-10 Thread Martin Grotzke
f request processing threads did not increase. So there seems to be no (direct) interrelationship between the NPE and the locked threads. Cheers, Martin On Tue, 2007-07-10 at 23:43 +0200, Martin Grotzke wrote: > Hi, > > we had an issue with our deployed application that did not respond &g

T5: NPE in Base64InputStream and locked/waiting CheckForUpdatesFilter

2007-07-10 Thread Martin Grotzke
Hi, we had an issue with our deployed application that did not respond anymore. This happened two or three times in the last 4 days, but I was not able to reproduce it until now. The analysis of the logs showed, that there was a NPE in Base64InputStream, and afterwards the application did not res

Re: Antwort: Re: Antwort: RE: T5 Decoupling a Template From its Component Class

2007-07-02 Thread Martin Grotzke
On Tue, 2007-07-03 at 08:27 +0200, Kristian Marinkovic wrote: > > just remove the InjectService annotation from your service > method and try it again :) Cool, really easy :) Thanx a lot, cheers, Martin > > > > Martin Grotzke > <[EMAIL PROTECTED]> > &g

Re: Antwort: RE: T5 Decoupling a Template From its Component Class

2007-07-02 Thread Martin Grotzke
ld provide our custom MarkupWriterFactory? This is not the fact - with @InjectService("MarkupWriterFactory") T5 provides its MarkupWriterFactoryImpl and not our custom MarkupWriterFactory. Did I understand you wrong, or is this a "bug" in T5? Cheers, Martin > > g, &g

RE: T5 Decoupling a Template From its Component Class

2007-07-02 Thread Martin Grotzke
final Object delegate ) which we have to change to @InjectService("myMarkupWriterFactory") then. Is this the intended way? Is it guaranteed, that T5 does not reference the MarkupWriterFactory implementation by the id "MarkupWriterFactory"? Thanx && cheers, Martin >

Re: T5 XHTML compliant markup

2007-07-02 Thread Martin Grotzke
couldn't find an appropriate issue, so I created https://issues.apache.org/jira/browse/TAPESTRY-1621 Cheers, Martin > > On 6/19/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-06-18 at 20:21 +0200, Martin Grotzke wrote: > > > O

RE: T5 Decoupling a Template From its Component Class

2007-07-02 Thread Martin Grotzke
cept up and running if at all possible. > > Any thoughts on this? > > Thanks again. > > David Kendall > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Martin Grotzke http://www.javakaffee.de/blog/ signature.asc Description: This is a digitally signed message part

Re: T5 XHTML compliant markup

2007-07-01 Thread Martin Grotzke
On Sun, 2007-07-01 at 20:04 +0200, Martin Grotzke wrote: > On Fri, 2007-06-29 at 11:57 -0700, Howard Lewis Ship wrote: > This issue is very crucial for us, so until this feature is implemented > we need to implement some workaround or quick fix that creates valid > xhtml output. >

Re: T5 XHTML compliant markup

2007-07-01 Thread Martin Grotzke
;s somehow possible. Thanx && cheers, Martin > > On 6/19/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-06-18 at 20:21 +0200, Martin Grotzke wrote: > > > Our template uses the following DOCTYPE definition: > > > > > > > >

Re: T5 XHTML compliant markup

2007-06-29 Thread Martin Grotzke
To pick up this topic again... On Wed, 2007-06-20 at 08:19 +0200, Martin Grotzke wrote: > On Mon, 2007-06-18 at 20:21 +0200, Martin Grotzke wrote: > > Our template uses the following DOCTYPE definition: > > > > > PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN&qu

Re: AJAX : DOJO vs JQuery

2007-06-27 Thread Martin Grotzke
jquery + T5 would be really great (we're also going to use this combination) On Wed, 2007-06-27 at 16:43 -0400, Evan Rawson - Work wrote: > i dont know how many you know about jquery, i recently discovered it today, > and from the demo's and plugins i found from it it look very superior verses

Re: [T5] Documentation

2007-06-25 Thread Martin Grotzke
--- > >> > >> - > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > > > > &g

T5 Encoding issue (repost)

2007-06-21 Thread Martin Grotzke
Hi, I just want to pickup this topic in a new thread, to make sure it's noticed - thx to Uli's suggestion in the previous thread :) At first a short summary again: - T5 (the PageRenderDispatcher) tries to decode activation context arguments (in convertActivationContext). - The activation contex

Re: T5 encoding issue

2007-06-20 Thread Martin Grotzke
On Wed, 2007-06-20 at 22:02 +0200, Martin Grotzke wrote: > Hi, > > this is an urgent and important issue for us. Can anybody help > with this? Howard? > > As I wrote below: request.getServletPath() (or request.getPath()) > already provides the decoded path. > a) Should r

Re: T5 encoding issue

2007-06-20 Thread Martin Grotzke
PageRenderDispatcher.convertActivationContext) be skipped? Is anything else the problem? E.g. might the problem be caused by commons URLCodec? Thanx in advance, cheers, Martin On Mon, 2007-06-18 at 12:20 +0200, Martin Grotzke wrote: > On Sun, 2007-06-17 at 23:24 +0200, Martin Grotzke wrote: > &g

Re: T5: change a grid's rowsPerPage property dynamically?

2007-06-20 Thread Martin Grotzke
On Tue, 2007-06-19 at 10:45 +0200, Martin Dietze wrote: > Hi, > > I am using a Grid component for displaying a larger set of > data. On my page I have form which I use to allow the user to > set the perferred page size. When the user selects a new > setting the form submits and changes the page c

Re: T5 XHTML compliant markup

2007-06-19 Thread Martin Grotzke
On Mon, 2007-06-18 at 20:21 +0200, Martin Grotzke wrote: > Our template uses the following DOCTYPE definition: > > PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> > > What's wrong with

RE: T5 validation error images displayed withform.clientValidation="false"

2007-06-19 Thread Martin Grotzke
there's a field > violating the validation rules. > > Ariel > > -Original Message- > From: Martin Grotzke [mailto:[EMAIL PROTECTED] > Sent: Monday, June 18, 2007 9:28 PM > To: Tapestry users > Subject: T5 validation error images displayed > withform.clientVali

Re: T5 validation error images displayed with form.clientValidation="false"

2007-06-18 Thread Martin Grotzke
Created https://issues.apache.org/jira/browse/TAPESTRY-1588, a patch will follow soon hopefully :) Cheers, Martin On Mon, 2007-06-18 at 10:26 -0700, Howard Lewis Ship wrote: > An issue or a patch will be fine. > > On 6/18/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: > >

Re: T5 XHTML compliant markup

2007-06-18 Thread Martin Grotzke
l-formed XML. > > On 6/18/07, Robin Ericsson <[EMAIL PROTECTED]> wrote: > > On 6/18/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > T5 currently renders markup that is not XHTML compliant. > > > > Yes and no. > > >

T5 validation error images displayed with form.clientValidation="false"

2007-06-18 Thread Martin Grotzke
Hi, even if you set clientValidation="false" on a form, T5 renders the validation error image for all input components (for validation errors that might occur): AFAICS with clientValidation="false" this should not be needed and markup could be improved + page load time reduced. Shall we submit

T5 XHTML compliant markup

2007-06-18 Thread Martin Grotzke
Hi, T5 currently renders markup that is not XHTML compliant. E.g. the element '' is rendered as '' - the tag is not closed properly. Is there any way to force T5 to generate XHTML compliant markup? Thx && cheers, Martin signature.asc Description: This is a digitally signed message

Re: T5 encoding issue

2007-06-18 Thread Martin Grotzke
On Sun, 2007-06-17 at 23:24 +0200, Martin Grotzke wrote: > I just stepped through the sources to see where the URI get's > decoded to the activation context arguments, and found that the > o.a.t.internal.services.PageRenderDispatcher.dispatch invokes > convertActivationContext w

Re: T5 encoding issue

2007-06-17 Thread Martin Grotzke
heers, Martin On Sun, 2007-06-17 at 23:01 +0200, Martin Grotzke wrote: > On Tue, 2007-06-12 at 10:38 +0200, Ulrich Stärk wrote: > > In case you are using Tomcat try adding URIEncoding="UTF-8" to your > > connector definition in server.xml. > I just tried that, but it d

Re: T5 encoding issue

2007-06-17 Thread Martin Grotzke
ct decoding of the request parameters / uri? Thanx && cheers, Martin > > Uli > > On Mo, 11.06.2007, 23:13, Martin Grotzke sagte: > > Hi, > > > > I have currently an encoding issue, but am not really sure what's > > the reason for this. > > >

Re: T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-14 Thread Martin Grotzke
the > name ... Ok, solution for this case ;) Cheers, Martin > > Jirka > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Martin Grotzke http://www.javakaffee.de/blog/ signature.asc Description: This is a digitally signed message part

Re: T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-14 Thread Martin Grotzke
app. Apart from this one issue T5 is really wonderful! Cheers, Martin > > Jirka > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Martin Grotzke http://www.javakaffee.de/blog/ signature.asc Description: This is a digitally signed message part

Re: T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-14 Thread Martin Grotzke
ory or anything, so > > that you have to pull other resources like DAOs or services > > from the spring bean factory if you need them > > > > Apart from that it feels really good. > > Thanks for your opinion ... > > Jirka > > > ---

Re: T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-14 Thread Martin Grotzke
ere's no validatorfactory or anything, so that you have to pull other resources like DAOs or services from the spring bean factory if you need them Apart from that it feels really good. Cheers, Martin > > jirka > > Martin Grotzke napsal(a): > > Yes, we already did this,

Re: T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-13 Thread Martin Grotzke
heers, Martin On Wed, 2007-06-13 at 09:26 +0200, Jiri Mares wrote: > Hi Martin, > > why not to implement your own Field and fill it with the name and pass it > into recordError? > > Jirka > > Martin Grotzke napsal(a): > > Yes, I totally understand and it's of c

Re: T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-13 Thread Martin Grotzke
> There's a long history in Tapestry of any time there's a hint of extra > API, people find a way to abuse it. So I'm being very, very > conservative! > > On 6/12/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: > > And what are your concerns with an additi

Re: T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-12 Thread Martin Grotzke
And what are your concerns with an additional method recordError(String,String) on the ValidationTracker (and Form)? Cheers, Martin On Tue, 2007-06-12 at 09:19 -0700, Howard Lewis Ship wrote: > I'm not familiar enough with Hibernate Validator to say. > > On 6/11/07, Martin G

T5 encoding issue

2007-06-11 Thread Martin Grotzke
Hi, I have currently an encoding issue, but am not really sure what's the reason for this. I have an url that contains a url encoded german umlaut (ü) in UTF-8 and looks like the following: http://localhost:8080/app/search/%C3%BCbel (the %C3%BC represents the ü in UTF-8, this url is created by c

RE: T5 included javascript libraries

2007-06-11 Thread Martin Grotzke
On Mon, 2007-06-11 at 11:25 +0200, Martin Grotzke wrote: > Thanx for this explanation, Adam! > > I just set clientValidation to false for my form, however, the js files > are added to body. Is it somehow possible to tell T5 not to add > these libraries (or scriptaculous.js) to t

Re: T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-11 Thread Martin Grotzke
Hi Howard, On Sat, 2007-06-09 at 22:44 +0200, Martin Grotzke wrote: > Does this enable us to use hibernate validator in our business layer > that is completely independent from tapestry? > Hibernate validator is right now our favorite option for validation, > but it might be that we

RE: T5 included javascript libraries

2007-06-11 Thread Martin Grotzke
Currently using one of these solutions that combines prototype and > scriptaculous is not possible with the Form component since it wants to > add a separate file for both prototype and scriptaculous. However > adding compressed versions for each works. > > Adam > > > -

Re: T5 included javascript libraries

2007-06-11 Thread Martin Grotzke
hat would allow you to replace p&s with some other > similar library, such as Dojo. > > On 6/10/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: > > Hi, > > > > T5 adds several js libraries to the body, e.g. prototype.js, > > scriptaculous.js and others. >

T5 included javascript libraries

2007-06-10 Thread Martin Grotzke
Hi, T5 adds several js libraries to the body, e.g. prototype.js, scriptaculous.js and others. Are they all required, or is there a possibility to affect which libs are added to the body? Thx && cheers, Martin signature.asc Description: This is a digitally signed message part

Re: T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-09 Thread Martin Grotzke
nt- > and server-side validation for them. > > On 6/9/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: > > We want to do validation in the business layer (with hibernate > > validator) and get back an exception with a list of invalid values, > > where each invalid value prov

Re: T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-09 Thread Martin Grotzke
sult; > > } > > > > so an additional method seems to be not a big issue. > > > > Would this be possible to add to T5? Shall we submit a patch for this > > here in the list or enter an issue? > > > > Thanx && cheers, > > Martin > > > &g

T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-09 Thread Martin Grotzke
} so an additional method seems to be not a big issue. Would this be possible to add to T5? Shall we submit a patch for this here in the list or enter an issue? Thanx && cheers, Martin -- Martin Grotzke Dipl.-Inf. freiheit.com technologies gmbh Straßenbahnring 22 / 20251 Hamburg

Re: T5: property lifecycle again

2007-06-07 Thread Martin Grotzke
On Thu, 2007-06-07 at 21:28 +0200, Martin Dietze wrote: > On Thu, June 07, 2007, Davor Hrg wrote: > > > It's a guess, but I think that you just need to persist the property. > > @Persist("flash") > > That's what I thought, but it does not work. It seems to have > to do with the way T5 initializes

Re: T5: select component with support for attribute "multiple"

2007-06-07 Thread Martin Grotzke
On Thu, 2007-06-07 at 10:39 +0200, Michael Maier wrote: > Am 06.06.2007 um 23:00 schrieb Martin Grotzke: > > I didn't change the type of _value to be able to use the component > > with or without multiple="true", but perhaps it's better to have a > > dedic

Re: T5: select component with support for attribute "multiple"

2007-06-06 Thread Martin Grotzke
that s.th. isn't right... However, it's very nice, but I think for now I stick to the simple MultiSelect version... Cheers, Martin > > On 6/6/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: > > Hi, > > > > AFAICS doesn't the select component support the att

Re: T5: select component with support for attribute "multiple"

2007-06-06 Thread Martin Grotzke
, ex.getMessage()); > return; > } > } // if > } > > method. Now I have a "multiple-select" component which takes a value > parameter as a set...and it works fine... > > cheers > > Michael > > Am 06.06.

Re: T5: select component with support for attribute "multiple"

2007-06-06 Thread Martin Grotzke
On Wed, 2007-06-06 at 21:51 +0200, Martin Grotzke wrote: > Hi, > > AFAICS doesn't the select component support the attribute > "multiple", only the first selected option is set on the > value. > > Is there some way to get this to work with support for &quo

T5: select component with support for attribute "multiple"

2007-06-06 Thread Martin Grotzke
Hi, AFAICS doesn't the select component support the attribute "multiple", only the first selected option is set on the value. Is there some way to get this to work with support for "multiple"? Thx && cheers, Martin signature.asc Description: This is a digitally signed message part

Re: T5: How to generate page links from Java code?

2007-06-05 Thread Martin Grotzke
On Mon, 2007-06-04 at 17:21 +0700, Ivan Dubrov wrote: > Nick Westgate wrote: > > Hi Martin. > > > > A typical way to do this in previous Tapestry versions is to have > > some simple logic functions in your component class to provide a > > boolean result ("this link is to the current page") which is

Re: T5 class reloading

2007-06-05 Thread Martin Grotzke
On Tue, 2007-06-05 at 09:00 +0200, Martin Grotzke wrote: > On Wed, 2007-05-30 at 09:54 +0200, Francois Armand wrote: > > Le mercredi 30 mai 2007 à 07:28 +0000, Martin Grotzke a écrit : > > > For me changed classes are not picked up automatically, when running > > > mvn

  1   2   >