Re: BaseURLSource with access to current request

2013-09-23 Thread Andy Pahne
Thanks. I used configuration.addInstance(…, …) I also had to change the constructor of my overriding service, the injected constructor parameter needed an explicit @InjectService(Request) annotation. Both changes together and there wasn't an Exception anymore. Andy Am 23.09.2013 um

BaseURLSource with access to current request

2013-09-22 Thread Andy Pahne
of BaseURLSource that has access to the current Request? I guess that's possible, but I am not familiar with Tapestry-IOC and googling for approaches only, I only found solutions that are somewhat static and do not depend on the current request. Andy

Re: BaseURLSource with access to current request

2013-09-22 Thread Andy Pahne
No, that does not work. When I try to inject the Request object as a method parameter, the application won't start. An Exception is thrown on startup: 2013-09-22 20:40:30,689 ERROR ServiceOverride:64 - Construction of service ServiceOverride failed: Error invoking service contribution method

Re: BaseURLSource with access to current request

2013-09-22 Thread Andy Pahne
Am 22.09.2013 um 18:48 schrieb Nicolas Bouillon nico...@bouil.org: Hi, You can try starting you application server with this JVM options : -Dtapestry.hostport-secure=443 -Dtapestry.hostport=80 Nicolas. That is not really an option, because I don't want to deploy to multiple tomcat

Re: BaseURLSource with access to current request

2013-09-22 Thread Andy Pahne
with the exception below. What am I doing wrong with my attempt to configure my CustomBaseURLSource? Andy java.lang.RuntimeException: Exception constructing service 'AssetPathConstructor': Cannot cast java.lang.Class to org.apache.tapestry5.services.BaseURLSource at org.apache.tapestry5

setupRender(): redirecting to different page

2012-11-09 Thread Andy Pahne
I am trying to do a simple thing, which used to work with previous versions, at least as far as I can remember. Plwase see code snippet below. The thing is: it never redirects to the ArticleUnknown page, even when article is null. I had a look at the docs (component rendering cheat sheet and

Re: setupRender(): redirecting to different page

2012-11-09 Thread Andy Pahne
Thank you. I simply remembered it wrong. For the curious: this works as expected: Object onActivate(long articleID) { this.article = articleService.getPublicArticle(articleID); if(this.article == null){ return articleUnknown;

template/class reloading and gradle's jetty run

2012-11-01 Thread Andy Pahne
); configuration.add(SymbolConstants.EXECUTION_MODE, DevelopmentMode); } I am fairly new to gradle, so I am not sure, if this a gradle problem or if I misconfigured T5. Any help or pointers would be appreciated. Thanks Andy Pahne -- View this message in context: http://tapestry.1045711.n5

Re: template/class reloading and gradle's jetty run

2012-11-01 Thread Andy Pahne
was working with T5 in previous projects. My previous experience was, that a change was picked up without a full context restart. Andy -- View this message in context: http://tapestry.1045711.n5.nabble.com/template-class-reloading-and-gradle-s-jetty-run-tp5717491p5717527.html Sent from

Re: template/class reloading and gradle's jetty run

2012-11-01 Thread Andy Pahne
RunJettyRun is a neat plugin which I have not been aware of. Unfortunatly for me it does the same: on every change of a template or class file, it reloads the whole context instead of simply reloading that one changed entity. Though, I admit, it does that much quicker than gradle does, so I am

Re: template/class reloading and gradle's jetty run

2012-11-01 Thread Andy Pahne
Yeah, I heard you are a great fan of IntelliJ. I might have to look into that sometimes -- View this message in context: http://tapestry.1045711.n5.nabble.com/template-class-reloading-and-gradle-s-jetty-run-tp5717491p5717556.html Sent from the Tapestry - User mailing list archive at

Re: template/class reloading and gradle's jetty run

2012-11-01 Thread Andy Pahne
Thanks a lot, that did it. -- View this message in context: http://tapestry.1045711.n5.nabble.com/template-class-reloading-and-gradle-s-jetty-run-tp5717491p5717562.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: template/class reloading and gradle's jetty run

2012-11-01 Thread Andy Pahne
Thank you all, the problem is solved. I am using RunJettyRun now and together with the settings that Kalle and Thiago posted, it works like a charm. The authors of RunJettyRun strongly recommand on their project page to use DCEVM hot-deploy feature to work with RJR, it's really faster and

T5.3 MethodInvocation

2012-10-26 Thread Blower, Andy
In Tapestry 5.3, the Invocation interface was deprecated in favour of MethodInvocation. I'm updating our code to use the new MethodInvocation interface and there are some things missing, most of which I can simply use getMethod() for. E.g. (please correct me if any of these are wrong)

RE: T5.3 MethodInvocation

2012-10-26 Thread Blower, Andy
Found it, there's getReturnValue() in the MethodInvocationResult interface. -Original Message- From: Blower, Andy [mailto:andy.blo...@proquest.co.uk] Sent: 26 October 2012 15:38 To: users@tapestry.apache.org Subject: T5.3 MethodInvocation In Tapestry 5.3, the Invocation interface

RE: Tapestry 5.3.4-rc-7

2012-08-28 Thread Blower, Andy
I've just tried the YUIcompressor 2.4.7 module from the T5.3.5 candidate and I am having issues with it too. It seems to be inserting the string get after closing curly braces which causes syntax errors when the browser parses the JS. Is this the issue you were seeing? -Original

T5.3.5 candidate release dependency issue - yuicompressor

2012-08-21 Thread Blower, Andy
(*)/ Thanks, Andy. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

RE: T5.3.5 candidate release dependency issue - yuicompressor

2012-08-21 Thread Blower, Andy
/artifact/com.yahoo.platform.yui/yuicompressor/2.4.7 -Original Message- From: Blower, Andy [mailto:andy.blo...@proquest.co.uk] Sent: 21 August 2012 12:59 To: Tapestry users Subject: T5.3.5 candidate release dependency issue - yuicompressor Hi, Having trouble installing the latest version

Post-redirect-get paradigm

2012-07-24 Thread Blower, Andy
playing tricks on me or can anyone link to it for me. Thanks, Andy - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

RE: [T5.3] Contributing a Service Override using addInstance()

2012-02-24 Thread Blower, Andy
- From: Blower, Andy [mailto:andy.blo...@proquest.co.uk] Sent: 22 February 2012 17:35 To: Tapestry users Subject: RE: [T5.3] Contributing a Service Override using addInstance() Yes that works! I had no idea you could do such a thing as I'd not see it anywhere in the documentation. I don't know

RE: [T5.3] Contributing a Service Override using addInstance()

2012-02-22 Thread Blower, Andy
() methods on the Configuration/OrderedConfiguration/MappedConfiguration interfaces? On Tue, Feb 21, 2012 at 6:33 AM, Blower, Andy andy.blo...@proquest.co.uk wrote: Thanks for the reply Steve. The two classes I mention are Tapestry IoC classes, not my own. What you describe is how most of our

RE: [T5.3] Contributing a Service Override using addInstance()

2012-02-21 Thread Blower, Andy
) { config.add(ToOverrideInterface.class, override); } The @Local is important, otherwise T5 doesn't know which serivce to inject (yours or the one you're trying to override). Steve. On 20 February 2012 20:54, Blower, Andy andy.blo...@proquest.co.uk wrote: I managed to get this to work

RE: [T5.3] Contributing a Service Override using addInstance()

2012-02-20 Thread Blower, Andy
that contributionType is an interface and I get a service proxy like every other service? Can anyone help me? -Original Message- From: Blower, Andy [mailto:andy.blo...@proquest.co.uk] Sent: 15 February 2012 14:51 To: users@tapestry.apache.org Subject: [T5.3] Contributing a Service Override using

[T5.3] Contributing a Service Override using addInstance()

2012-02-15 Thread Blower, Andy
I've read the section below about contributing a service override. This method is exactly what I need to resolve an issue I'm having getting a conditional override implemented, but it doesn't appear to work if the service implementations' constructor has any other T5 service dependencies in the

IoC multiple service instances

2011-12-01 Thread Blower, Andy
explanation makes sense. Thanks, Andy.

[T5.2] Label tags not getting id attribute rendered, why?

2010-12-17 Thread Blower, Andy
the 'label' suffix. I'd like to know why this was done before I raise a JIRA. Thanks, Andy.

RE: [T5.2] Label tags not getting id attribute rendered, why?

2010-12-17 Thread Blower, Andy
2010 16:51 To: Tapestry users Subject: Re: [T5.2] Label tags not getting id attribute rendered, why? It makes sense to me to not output redundant html And if you know the id of the control you can get to its label by $$('label[for=' + id + ']') On Fri, Dec 17, 2010 at 18:35, Blower, Andy

[T5.2.4] Why does BaseURLSource use getLocalPort() rather than getServerPort() ? A bug?

2010-12-15 Thread Blower, Andy
Line 31 of BaseURLSourceImpl: int port = request.getLocalPort(); Which calls same method in the underlying ServletRequest. getLocalPort javadoc: Returns the Internet Protocol (IP) port number of the interface on which the request was received. getServerPort javadoc: Returns the port

RE: [T5.2.4] Why does BaseURLSource use getLocalPort() rather than getServerPort() ? A bug?

2010-12-15 Thread Blower, Andy
- From: Blower, Andy [mailto:andy.blo...@proquest.co.uk] Sent: 15 December 2010 12:17 To: 'Tapestry users' Subject: [T5.2.4] Why does BaseURLSource use getLocalPort() rather than getServerPort() ? A bug? Line 31 of BaseURLSourceImpl: int port = request.getLocalPort(); Which

RE: Tapestry Web Site Updated

2010-11-23 Thread Blower, Andy
Nice to see new and improved documentation. A couple of comments: 1) I find the green to initially be nice, but overused. When I am reading a documentation page the green titles and links don't contrast enough with the white page and it's *really* hard on the eyes. 2) No navigation, just a

Tapestry 5.2 - page pooling replacement

2010-10-27 Thread Blower, Andy
the tapestry.page-pool.* configuration values have any effect any more? Cheers, Andy

RE: [T5.2.1] TAP5-1177 In a partial page update request, if the server returns an empty string for the content, the client-side is left as is, rather than cleared

2010-10-15 Thread Blower, Andy
. Please add to JIRA and I'll see about fixing it soon. On Thu, Oct 14, 2010 at 12:12 PM, Blower, Andy andy.blo...@proquest.co.uk wrote: I've spent all day chasing down an issue that appeared when we upgraded to Tapestry 5.2.1 - it doesn't occur with T5.2.0, and I finally managed to find

RE: [T5.2.1] TAP5-1177 In a partial page update request, if the server returns an empty string for the content, the client-side is left as is, rather than cleared

2010-10-15 Thread Blower, Andy
request, if the server returns an empty string for the content, the client-side is left as is, rather than cleared You should be able to monkey-patch just this function, rather than all of tapestry.js. On Fri, Oct 15, 2010 at 1:59 AM, Blower, Andy andy.blo...@proquest.co.uk wrote: Raised

[T5.2] Problem switching to VALIDATE from VALIDATE_FORM

2010-10-15 Thread Blower, Andy
is to change to @OnEvent(EventConstants.VALIDATE_FORM). This only calls the validate method once per submission. This seems to have affected us in two places when deprecated events were updated to the new version. Is this a known issue? Thanks, Andy

RE: [T5.2] JavaScript combination

2010-10-12 Thread Blower, Andy
stacks. Is that not working correctly? On Mon, Oct 11, 2010 at 9:19 AM, Blower, Andy andy.blo...@proquest.co.uk wrote: I've been trying the new stack implementation in T5.2.1 and it's much better. I am having a problem with the order they're put into the page. It seems (I'm guessing/trying

RE: [T5.2] JavaScript combination

2010-10-11 Thread Blower, Andy
be requested in an order that means that extensions appear before the definitions of what they're trying to extend. This is a real problem, especially when using modules. Is there a way to define the order JS stacks are outputted? -Original Message- From: Blower, Andy [mailto:andy.blo

[T5.2] Live class reloading not working with jetty

2010-10-05 Thread Blower, Andy
? Thanks, Andy

RE: [T5.2] JavaScript combination

2010-09-21 Thread Blower, Andy
; a piece of code that blindly imports a JS that is already part of a stack. And yes, I think you may be right, that that should trigger an import of the stack itself. On Mon, Sep 20, 2010 at 6:26 AM, Blower, Andy andy.blo...@proquest.co.uk wrote: I've created my first stack, and I'm slightly

RE: [T5.2] JavaScript combination

2010-09-20 Thread Blower, Andy
-Original Message- From: Howard Lewis Ship [mailto:hls...@gmail.com] Sent: 17 September 2010 22:31 To: Tapestry users Subject: Re: [T5.2] JavaScript combination On Fri, Sep 17, 2010 at 9:20 AM, Blower, Andy andy.blo...@proquest.co.uk wrote: A few questions: Is there any

RE: [T5.2] JavaScript combination

2010-09-20 Thread Blower, Andy
with this system. Is this working as intended or any I missing something here? Thanks, Andy -Original Message- From: Blower, Andy [mailto:andy.blo...@proquest.co.uk] Sent: 20 September 2010 11:28 To: 'Tapestry users' Subject: RE: [T5.2] JavaScript combination -Original Message

[T5.2] JavaScript combination

2010-09-17 Thread Blower, Andy
by default? What's the status of minifying css js? Thanks, Andy.

RE: Tapestry tree render without recursion?

2010-09-11 Thread Blower, Andy
The links in that Jira don't work for me. It looks like a 3 year old issue so maybe that's not surprising. -Original Message- From: Josh Canfield [mailto:joshcanfi...@gmail.com] Sent: 10 September 2010 17:52 To: Tapestry users Subject: Re: Tapestry tree render without recursion?

[T5.2] Classloader problem with a service

2010-09-10 Thread Blower, Andy
Unfortunately we've got another T5.2 migration issue that I can't figure out. I wonder if this is to do with the service class reloading added in 5.2 - is there a way of disabling it to check? I've posted the error trace below, basically a service (ScholarUniverseSearchEngine) is trying to

RE: [T5.2] Classloader problem with a service

2010-09-10 Thread Blower, Andy
Thank you Jim - that did the trick. -Original Message- From: Jim O'Callaghan [mailto:jc1000...@yahoo.co.uk] Sent: 10 September 2010 14:45 To: 'Tapestry users' Subject: RE: [T5.2] Classloader problem with a service Andy, I haven't tried this but apparently: public static void

[T5.2] Name property doesn't match id or is missing

2010-09-09 Thread Blower, Andy
We're upgrading from tapestry 5.1 to 5.2 and have spotted some strange things with the name property of various components. Tapestry forms no longer include the name property at all. Other elements such as the tapestry select component used to have matching id and name properties and now they

RE: [T5.2] No object of type ClientBehaviorSupport is available from the Environment

2010-09-06 Thread Blower, Andy
, Sep 3, 2010 at 7:14 AM, Blower, Andy andy.blo...@proquest.co.uk wrote: I was already on that Jim, good suggestion though - and it works (or breaks I suppose) so I've been able to debug this issue a little. ClientBehavourSupport is pushed into the env and used 110-ish times before it's popped

RE: [T5.2] No object of type ClientBehaviorSupport is available from the Environment

2010-09-03 Thread Blower, Andy
, after:JavaScriptSupport); configuration.add(Heartbeat, heartbeat, after:RenderSupport); configuration.add(DefaultValidationDecorator, defaultValidationDecorator, after:Heartbeat); Why did this change? What should I change it to so this works? Thanks, Andy -Original Message- From: Jim

RE: [T5.2] No object of type ClientBehaviorSupport is available from the Environment

2010-09-02 Thread Blower, Andy
. On Wed, Aug 25, 2010 at 8:29 AM, Blower, Andy andy.blo...@proquest.co.uk wrote: Can anyone make sense of this one: ERROR [16:22:34,848] btpool0-1 (services.TapestryModule.RequestExceptionHandler:62) - Processing of request failed with uncaught exception: No object of type org.apache.tapestry5

[5.2.0] all our apps completly broken in IE8 (numerous javascript errors)

2010-08-27 Thread Andy Pahne
or is it me alone? Andy - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

[5.2.0] a form (no Form component) is modified by Tapetry

2010-08-27 Thread Andy Pahne
(with and without IE7 compatible mode). This occured after an upgrade to Tapestry 5.2.0 I would expect that tapestry would not mess with my form in any way, but it seems that this is not the case here. Does anybody know why? Or how I can prevent this? Andy

Re: [5.2.0] a form (no Form component) is modified by Tapetry

2010-08-27 Thread Andy Pahne
https://issues.apache.org/jira/browse/TAP5-1261 Am 28.08.2010 00:13, schrieb Andreas Andreou: Can you add a JIRA for this - i think i've seen something like this logged into the FF console (but didnt seem to make the page malfunction)

Re: [5.2.0] all our apps completly broken in IE8 (numerous javascript errors)

2010-08-27 Thread Andy Pahne
would replace them with jquery, just like Onno. And if I did so, jQuery.noConflict() then would stil not work in IE8 without compatible mode... Thanks, Andy Am 28.08.2010 00:19, schrieb based2: http://www.prototypejs.org/2009/3/27/prototype-1-6-1-rc2-ie8-compatibility-element-storage-and-bug

Can't contribute RegexAuthorizer / classpath assets not being served [5.2.0]

2010-08-26 Thread Andy Pahne
(TapestryAppInitializer.java:214) at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:95) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) Am I missing something or is the documentation outdated? Andy

Re: Can't contribute RegexAuthorizer / classpath assets not being served [5.2.0]

2010-08-26 Thread Andy Pahne
source I find that there is no RegexAuthorizer anymore, not in 5.2.0 and not in 5.2.1-SNAPSHOT. The upgrade instructions also don't mention this. I am still searching for a solution... Andy Am 26.08.2010 16:14, schrieb Andy Pahne: I am working with Tapestry 5.2.0. Some classpath assets

[T5.2] Property is not readable (was RE: Identity of the active page not established)

2010-08-25 Thread Blower, Andy
Thanks Robert, overriding with the latest version of PageResponse fixed it. I now have a problem with property conduits not being created where they were created fine in 5.1, e.g. @SessionState(create = false) @Property private Profile personalProfile; Caused by:

RE: [T5.2] Javassist 3.12.1.GA checksum error

2010-08-25 Thread Blower, Andy
the same error, maven just told me that it didn't find anything at the https version of the url below. It's probably related. On Mon, Aug 23, 2010 at 1:26 PM, Blower, Andy andy.blo...@proquest.co.ukwrote: I'm trying to migrate our application to T5.2, but I'm getting a checksum error

RE: [T5.2] Property is not readable (was RE: Identity of the active page not established)

2010-08-25 Thread Blower, Andy
versions and is saving me the trouble of randomly finding Tapestry coding issues. That's nice, although it means I have 2 years worth of unnoticed problems to work through... Andy -Original Message- From: Howard Lewis Ship [mailto:hls...@gmail.com] Sent: 25 August 2010 15:21 To: Tapestry

[T5.2] No object of type ClientBehaviorSupport is available from the Environment

2010-08-25 Thread Blower, Andy
Can anyone make sense of this one: ERROR [16:22:34,848] btpool0-1 (services.TapestryModule.RequestExceptionHandler:62) - Processing of request failed with uncaught exception: No object of type org.apache.tapestry5.services.ClientBehaviorSupport is available from the Environment. Available

[T5.2] Javassist 3.12.1.GA checksum error

2010-08-23 Thread Blower, Andy
by Tap5.1.0.5 and that is fine from the same repository. Thanks, Andy.

[T5.2] Identity of the active page not established

2010-08-23 Thread Blower, Andy
I disabled checksum checking and got our app running with T5.2. I've already fixed a few migration issues, but still not got a page to render yet. I'm getting the following error, but I have no idea why: ERROR [17:11:11,834] btpool0-1 (onesearch.pages.SessionEnded:82) - Render queue error in

Where do I get Tapestry 5.2 from?

2010-07-15 Thread Blower, Andy
be that hard. I'm sure that the Project Information page used to have a link to where the snapshots are, but I can't see it. Sorry for the stupid question, but can anyone help me? Thanks, Andy

RE: Where do I get Tapestry 5.2 from?

2010-07-15 Thread Blower, Andy
christianedwardgru...@gmail.com wrote: An alpha has not yet been released.  I believe Howard has said that an alpha or beta is close, but not quite there. Christian. On Jul 15, 2010, at 10:19 AM, Blower, Andy wrote: The download link on the website takes me to a page with only 5.0

RE: [Tapestry Central] Everyone out of the Pool! Tapestry goes singleton!

2010-07-15 Thread Blower, Andy
Me too, like in the next week! :) -Original Message- From: Christian Edward Gruber [mailto:christianedwardgru...@gmail.com] Sent: 15 July 2010 16:59 To: Tapestry users Subject: Re: [Tapestry Central] Everyone out of the Pool! Tapestry goes singleton! 5.2 hasn't even pushed an

RE: Tapestry using 1.3Gb of heap space after capacity testing

2010-06-30 Thread Blower, Andy
? -Original Message- From: Christophe Cordenier [mailto:christophe.corden...@gmail.com] Sent: 29 June 2010 19:35 To: Tapestry users Subject: Re: Tapestry using 1.3Gb of heap space after capacity testing Holy grail ! but is it really feasible... @Andy Sorry i didn't follow all the thread

RE: Tapestry using 1.3Gb of heap space after capacity testing

2010-06-29 Thread Blower, Andy
. Here's a list of the heap dominators using Eclipse MAT, http://lh6.ggpht.com/_YwJn8TJTqJU/TCoNT11ouZI/ACI/G8eTGsth4zM/HeapDominators.png Anyone think I'm on the right track, or barking up the wrong tree completely? Thanks, Andy -Original Message- From: Blower, Andy

Tapestry using 1.3Gb of heap space after capacity testing

2010-04-20 Thread Blower, Andy
? It seems excessive to me, and leaves very little heap for our application to use, we currently have a 2Gb heap limit, and although I know this can be raised I'm still concerned. Thanks, Andy. P.S. If there's anything else I should look at in the heap dump let me know, or if anyone wants

Is there a way of knowing if Tapestry is page rendering or event handling (was: Page render event URLs with large optional context parameter)

2010-02-22 Thread Blower, Andy
? (pretty simply by setting a Boolean flag in setup render..) Thanks, Andy -Original Message- From: Kalle Korhonen [mailto:kalle.o.korho...@gmail.com] Sent: 16 February 2010 18:22 To: Tapestry users Subject: Re: Page render event URLs with large optional context parameter If you

Why can't component classes be abstract? [5.1]

2010-02-22 Thread Andy Pahne
myself. If they exist, T5 should not attempt to recreate them when enhancing component classes. What do you think? Andy Andy - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e

Re: Why can't component classes be abstract? [5.1]

2010-02-22 Thread Andy Pahne
property protected, nor can I generate a public getter/Setter pair. Also abstract getter/setters won't work. (Although they used to work in T4. T4 could instantiate page or component classes, even if they werde abstract). Kind regards, Andy

RE: Is there a way of knowing if Tapestry is page rendering or event handling (was: Page render event URLs with large optional context parameter)

2010-02-22 Thread Blower, Andy
(was: Page render event URLs with large optional context parameter) On Mon, 22 Feb 2010 10:20:59 -0300, Blower, Andy andy.blo...@proquest.co.uk wrote: So, how can I detect if Tapestry is rendering (and which page) from within the pages' onPassivate method? Take a look at the decode

Re: Why can't component classes be abstract? [5.1]

2010-02-22 Thread Andy Pahne
component's value property. Thanks, Andy - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Page render event URLs with large optional context parameter

2010-02-16 Thread Blower, Andy
only idea so far is to use call stack introspection to see where the method was called from, but I'd rather not - seems quite horrible. Anyone have any (more elegant and Tapestry-ish) ideas? Thanks, Andy Blower.

Easy Way to create a select model?

2010-01-28 Thread Andy Pahne
believe I have to deal with SelectModel, OptionModel, OptionGroupModel and whatelse for this simple usecase. I also had a look at the Wiki. I found four pages about selects. I cannot believe that I have to use such bloat for my usecase. I surely must be missing something, or not? Andy

Re: Easy Way to create a select model?

2010-01-28 Thread Andy Pahne
Hi Kristian. Thanks for the code. It does not compile right now. Do you have the source for SimpleOptionModelT also available? Thnak you, Andy Am 28.01.2010 15:17, schrieb Kristian Marinkovic: something like this: usage: SelectModel m = SelectModelUtils.toBeanSelectModel(someList

Re: Easy Way to create a select model?

2010-01-28 Thread Andy Pahne
SimpleOptionModelObject(value, label); } catch (Exception e) { throw new RuntimeException(e); } return new SimpleOptionModelE(bean); } } Andy Pahneandy.pa...@gmail.com 28.01.2010 15:14 Bitte antworten

Re: Easy Way to create a select model?

2010-01-28 Thread Andy Pahne
Am 28.01.2010 15:32, schrieb Kristian Marinkovic: public class SimpleOptionModelT implements OptionModel { private final T value; private final String label; public SimpleOptionModel(T value, String label) { this.label = label;

Re: Easy Way to create a select model?

2010-01-28 Thread Andy Pahne
Yeah, that's it. Thanks a lot. Am 28.01.2010 15:50, schrieb Ulrich Stärk: You are indeed missing something: http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Select.html t:select t:id=months model=literal:1=Jan,2=Feb,3=Mar,.../ HTH, Uli

RE: Example of overriding the default ValidationDecorator

2009-12-24 Thread Blower, Andy
Unfortunately it seems that it does not help against these error- bubbles. To override the client side you'll need to read tapestry.js and follow some of what it does. Personally I feel that the error bubbles should not be part of the T5 core, but an optional example validation module. I

Xing Group

2009-12-07 Thread Andy Clayton
there. Mit freundlichen Grüssen / With best regards Andy Clayton Senior Consultant, Germany Contract Division Darwin Recruitment [cid:image001.gif@01CA772E.494F3890] W: 00 44 (0) 1277 637 038 M: 00 44 (0) 7595 412 903 F: 00 44 (0) 1277 636 244 E: andy.clay...@darwinrecruitmentmailto:andy.clay

RE: AribaWeb

2009-12-01 Thread Andy Clayton
Hi Are there any T5 developers available at the moment for a new project in Berlin? Should take about 3 months. -Original Message- From: Joel Halbert [mailto:j...@su3analytics.com] Sent: 01 December 2009 12:04 To: users@tapestry.apache.org Subject: AribaWeb Any T5 users ever heard of

RE: T 5.1 vs 5.0 JSON encoding - breaks IE8

2009-11-18 Thread Blower, Andy
+1 (+40 if I count all T5 developers here ;-) Although I suggested a 5.1.1.x release in my previous post, quoted from below, I don't care what it's called as long as there's a non 5.2 bug-fix release. (preferably more than one release..) I think you should write the book, but only if there's

ProgressiveDisplay component - context retrieval

2009-11-17 Thread Andy Pahne
I have defined a ProgressiveDisplay component like in the snippet below. Now I want to know: how can I access the ProgressiveDisplay's context inside my custom RetrieveAvailabilityAndPrice component. I don't know how to do that. Thank you, Andy t:ProgressiveDisplay t:initial

Re: ProgressiveDisplay component - context retrieval

2009-11-17 Thread Andy Pahne
Thiago H. de Paula Figueiredo schrieb: Em Tue, 17 Nov 2009 11:32:40 -0200, Andy Pahne andy.pa...@gmail.com escreveu: Now I want to know: how can I access the ProgressiveDisplay's context inside my custom RetrieveAvailabilityAndPrice component. I don't know how to do that. Create

RE: Getting I18n messages from another page

2009-11-13 Thread Blower, Andy
You could give both pages a base class (assuming that the app catalog is not an appropriate solution) then the base class has the properties and they can be referenced by both pages. (note that the pages shouldn't have prop files) -Original Message- From: Stephan Windmüller

RE: [ANNOUNCEMENT] New Tapestry 5 book

2009-11-12 Thread Blower, Andy
+3 (at least) -Original Message- From: Peter Stavrinides [mailto:p.stavrini...@albourne.com] Sent: 12 November 2009 09:15 To: Tapestry users Subject: Re: [ANNOUNCEMENT] New Tapestry 5 book +1 - Original Message - From: Ivano Luberti lube...@archicoop.it To: Tapestry

RE: [Tapestry Central] Next Steps for Tapestry

2009-11-09 Thread Blower, Andy
attention. (if there are any) Whether or not you're involved in the releases is up to you, but at the moment nothing's happening which is not good. Cheers, Andy Blower. -Original Message- From: Howard [mailto:hls...@gmail.com] Sent: 07 November 2009 18:11 To: users@tapestry.apache.org

RE: i18n overhead

2009-11-09 Thread Blower, Andy
We also have a lot of properties files, but so far only one translation. We will have 20+ translations in due course, so I would be concerned if there were performance problems/implications. We're already using 5.1, so I'd be interested if this version has issues will many files.

RE: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

2009-11-09 Thread Blower, Andy
Picture an existing application that's been deployed using Tapestry 5.1.0.5; the prototype.js is exposed to the client as /assets/scriptaculous/5.1.0.5/prototype.js. Now the application is rebuild with tapx-prototype and redeployed. Without the remapping, the URL would be unchanged and some

Tapestry 5 and EZproxy

2009-10-16 Thread Blower, Andy
with EZproxy? If you have I'd really like to hear from you, especially if you know what's going wrong for us. Thanks, Andy.

RE: Tapestry 5 and EZproxy

2009-10-16 Thread Blower, Andy
forced to upgrade their EZproxy installations so they can use our product. Is there any way round this you can think of? Thanks, Andy. -Original Message- From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: 16 October 2009 17:15 To: Tapestry users Subject: Re

RE: Tapestry upgrading to prototype.js version 1.6.1 for IE8 compliance

2009-10-02 Thread Blower, Andy
I occasionally did this while a bugfix was coming in T5 development, but only between releases. As you say it's not an ideal method. So, could we have a response about when a Tapestry release will come out containing Prototype 1.6.1 - surely it's not going to wait for first T5.2 release

Re: How coooooooooool is this !!!

2009-09-25 Thread Andy Pahne
I felt that it should be hard to develop/support the site without upgrading the technology so I decided to give T5 a shot. In the same time I upgraded MySql, Hibernate, Spring, Debian. CVS to SVN. Ant to Mvn. And so on ... Of course I have undertaken a much too big job and the risk is huge!

RE: Problem with OptimizedSessionPersistedObject not working in Tomcat Jetty

2009-09-07 Thread Blower, Andy
the patch to the JIRA issue. -Original Message- From: Blower, Andy [mailto:andy.blo...@proquest.co.uk] Sent: 03 September 2009 15:11 To: 'Tapestry users' Subject: Problem with OptimizedSessionPersistedObject not working in Tomcat Jetty I don't know if anyone else has spotted

Problem with OptimizedSessionPersistedObject not working in Tomcat Jetty

2009-09-03 Thread Blower, Andy
, please comment if you thing there are any drawbacks or better ones. Thanks, Andy.

regexp validator bug (TAP5-520

2009-08-18 Thread Blower, Andy
I just tried to use regexp=^\d{3,4}$ with a regex validator and it threw a parse error, so I had to change it to regexp=^(\d{3}|\d{4})$ Looking at JIRA, this was fixed by Igor under TAP5-520 in 5.1.0.1, but I'm using 5.1.0.5 so it may not be as fixed as was originally thought. Should this

Problem with custom ValidationDecorator for Ajax form submissions

2009-08-14 Thread Blower, Andy
not the first person to hit this stumbling block, Inge posted about this here: http://markmail.org/message/izdmsolr626wog4k This is pretty serious, we really need to solve this issue for our upcoming milestone release. Thanks, Andy.

tapx-templating: using it in a t5 webapp possible

2009-08-13 Thread Andy Pahne
the actual t5 applications's classpath as the required classpath for t5? So that assets will be found both in the hosting webapp and in the generated offline content? Andy - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

T5 bug with first line of message catalogs

2009-08-12 Thread Blower, Andy
I just ran into a T5 bug where the first line in a message catalog never returns a translated version. I'm sure I dimly recall encountering this before and I'd like to check on the status, can anyone remember / find a bug for this issue. I tried searching and couldn't find one, so maybe I

RE: T5 bug with first line of message catalogs

2009-08-12 Thread Blower, Andy
Found it. TAP5-409, T5 doesn't recognise BOM at the start of UTF-8 files. It would be nice to fix this rather than just document it or leave it. Anyone else have any opinion on this? -Original Message- From: Blower, Andy [mailto:andy.blo...@proquest.co.uk] Sent: 12 August 2009 11:34

Re: AjaxFormLoop: property changes have no effect

2009-08-05 Thread Andy Pahne
meaningfull value Thank you for your feedback. Andy Daniel Jones schrieb: Hi Andy, I think you are a bit confused regarding the ValueEncoder. Your toClient method should provide a unique string identifier which can be used to retrieve that particular vehicle from your list. Your toValue

  1   2   3   4   5   6   >