October release for v5?

2008-10-07 Thread Joel Halbert
Hi Tapestry Community, Apologies if this question has been answered elsewhere many times, but I wanted to get a feel for when the final production ready release of Tapestry 5 might be available? Is this still scheduled for October? (I've been keenly anticipating Tapestry 5 since May, currently

Re: Namespace prefix for URI 'xmlns' is not defined.

2008-10-08 Thread Joel Halbert
Hi, Just to clarify on this problem: I am using version 5.0.15 If I remove the following element: t:page="Index">refresh the page loads fine. I'd really appreciate any pointers! Also - I take it the problem is not related to https://issues.apache.org/jira/browse/TAP5-125

Re: Namespace prefix for URI 'xmlns' is not defined.

2008-10-08 Thread Joel Halbert
perty: -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser Joel Halbert wrote: Hi, Just to clarify on this problem: I am using version 5.0.15 If I remove the following element: t:page="Index">refresh the page loads fine. I'd really appreciate any pointers! Also

Namespace prefix for URI 'xmlns' is not defined.

2008-10-08 Thread Joel Halbert
Hi, I'm trying to set up my first page in Tapestry but I don't seem to be able to shake this exception: java.lang.RuntimeException: Namespace prefix for URI 'xmlns' is not defined. at org.apache.tapestry5.dom.Element.toNamespacePrefix(Element.java:502) I'd be grateful for any suggestions.

"named" page context parameters ?

2008-10-08 Thread Joel Halbert
Hi, Is it possible to have "named" page context parameters? (along the lines of Wicket PageParameters). I would like to be able to have bookmarkable URLs but rather than indexing page context parameters (in onActivate) by ordinal in a list I would rather key them by name. Thx, Joel -- SU3

Re: "named" page context parameters ?

2008-10-09 Thread Joel Halbert
Hi Ivan, I'm trying out your extension, thanks, one question though: The following class seems to be missing from the zip you linked to below (http://wfrag.org/files/tapext.zip): ru.nsc.ict.catalogue.annotations.QueryParameter can i get it anywhere? Thx Joel Ivan Dubrov wrote:

Custom URL Encoding strategy ?

2008-10-09 Thread Joel Halbert
Hi, Is it possible to register your own url encoding strategy for T5 ? i..e I would like to be able to encode T5 URL's (say in links) to a particular format, and then decode these on the way back in to T5 format. Much appreciated, Joel -- SU3 Analytics Ltd 61b Oxford Gardens W10 5UJ London

Re: "named" page context parameters ? - using a Custom ValueEncoder

2008-10-09 Thread Joel Halbert
so that the forward slashes come out as key1%252F%252Fvalue1%252F%252Fkey2%252F%252Fvalue2 Is there anyway to override the default encoding of TapestryInternalUtils.encodeContext(id) ? thx Joel Halbert wrote: Hi Ivan, I'm trying out your extension, thanks, one question though: The foll

Re: "named" page context parameters ? - using a Custom ValueEncoder

2008-10-09 Thread Joel Halbert
ok; } else { res.put(currKey, tok); } tokIsKey = !tokIsKey; } return null; } } Thiago H. de Paula Figueiredo wrote: Em Thu, 09 Oct 2008 08:06:09 -0300, Joel Halbert <[EMAIL PROTECTED]> escreveu:

Re: Registering a custom ValueEncoder with ValueEncoderSource

2008-10-09 Thread Joel Halbert
I figured it out: public static void contributeValueEncoderSource(MappedConfigurationValueEncoderFactory> configuration) { configuration.add(Map.class, new GenericValueEncoderFactory(new MapValueEncoder())); } thx Joel Halbert wrote: Hi, I would like to register

Registering a custom ValueEncoder with ValueEncoderSource

2008-10-09 Thread Joel Halbert
Hi, I would like to register my own custom ValueEncoder (to be used by the ContextValueEncoder) for specific types. Are there any examples of registering a custom ValueEncoder with ValueEncoderSource? Thanks, Joel -- SU3 Analytics Ltd 61b Oxford Gardens W10 5UJ London Tel: +44 20 8960 2634

Re: [T5] What is your missing feature / bloking bug before 5.0 ?

2008-10-10 Thread Joel Halbert
I was wondering whether anyone missed the lack of direct support for named context parameters? I try to keep my pages as stateless as possible (thus bookmarkable) and better support for "named" context variables would make this much easier. José Paumard wrote: François, I think we all agree t

Re: [T5] What is your missing feature / bloking bug before 5.0 ?

2008-10-10 Thread Joel Halbert
(other than that I did want to make clear I think it's a great framework!) Joel Halbert wrote: I was wondering whether anyone missed the lack of direct support for named context parameters? I try to keep my pages as stateless as possible (thus bookmarkable) and better support for &

Re: [T5] What is your missing feature / bloking bug before 5.0 ?

2008-10-10 Thread Joel Halbert
t page if looking at paginated data) and a "sort by" field (for the clients sort by selection). Already we have 3. There can easily be more, say if the client is "filtering" the view. Thiago H. de Paula Figueiredo wrote: Em Fri, 10 Oct 2008 09:58:23 -0300, Joel Halbert <[EM

Re: [T5] What is your missing feature / bloking bug before 5.0 ?

2008-10-12 Thread Joel Halbert
rstName); } if (lastName != null) { link.addParameter("lastname", lastName); } return link; } void onActivate() { _firstName = _request.getParameter("firstname"); _lastName = _request.getParameter("las

T5 (5.0.15): Layout issue - unable to resolve layout

2008-10-12 Thread Joel Halbert
Hi, I'm having issues using layouts (T5 5.0.15), with a tml, something like this: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> etc However, I get the exception, *Caused by: java.lang.IllegalArgumentException: Unable to resolve 'layout' to a component class na

Re: T5 (5.0.15): Layout issue - unable to resolve layout

2008-10-12 Thread Joel Halbert
geEby wrote: Hi, Layouts are regular components that need to be created by you and are not handled differently. Make sure your Layout Java class is under src/main/java//components and the associated tml is in src/main/resources//components /Serge Joel Halbert-2 wrote: Hi, I'm hav

Re: T5 (5.0.15): Layout issue - unable to resolve layout

2008-10-12 Thread Joel Halbert
or example: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Carl Joel Halbert wrote: Hi Serge, Thanks, that worked - I didn't realise that the Layout.java and tml files had to be in a directory named /component. May I ask one more question, which is how to sup

Stripping out tapestry tags from markup

2008-10-12 Thread Joel Halbert
Hi, Is it possible to configure T5 to remove all t: tags from markup before rendering? Thx Joel -- SU3 Analytics Ltd 61b Oxford Gardens W10 5UJ London Tel: +44 20 8960 2634 Mob: +44 75 2501 0825 www.su3analytics.com SU3 Analytics Ltd is a company registered in England and Wales under compan

T5: Activation Context - expected behaviour?

2008-10-12 Thread Joel Halbert
Hi, 2 questions re: the activation context: 1. Why is onActivate called multiple times? If I have two onActivate methods: void onActivate(int inventoryId) void onActivate(int inventoryId, Map params) then for a link which presents both arguments in it's activation context I see that the meth

Re: T5: Activation Context - expected behaviour?

2008-10-12 Thread Joel Halbert
kers for question 2 below would be most appreciated! Joel Halbert wrote: Hi, 2 questions re: the activation context: 1. Why is onActivate called multiple times? If I have two onActivate methods: void onActivate(int inventoryId) void onActivate(int inventoryId, Map params) then for a link whic

T5: Page reuse patterns

2008-10-12 Thread Joel Halbert
Hi, I'm not sure what the correct T5 pattern to apply to the following page composition situation: I have a typical scenario - a page with 3 elements a "top nav", a "side nav" and a "content pane". I wish to reuse the code for "topNav" and "sideNav" but i want the content pane to vary (i.e

Re: hidden input field, TAPESTRY5

2008-10-13 Thread Joel Halbert
Just out of interest, does any one know what the rational was for not making hidden fields part of the core codebase? Is it simply because Activation Contexts should be used in preference to hidden fields for keeping state between requests? Bill Holloway wrote: The tapestry5-components project

notation for multiple js includes

2008-10-19 Thread Joel Halbert
Hi, What's the correct syntax for including mulitple js files in an include annotation? Is it @IncludeJavaScriptLibrary({"${tapestry.scriptaculous}/prototype.js ABC.js"}) or @IncludeJavaScriptLibrary("${tapestry.scriptaculous}/prototype.js ABC.js") ? (neither seems to work for me) Thx Joel -

Re: notation for multiple js includes

2008-10-19 Thread Joel Halbert
I was being particularly dim (it is a Sunday morning after all) @IncludeJavaScriptLibrary(value={"${tapestry.scriptaculous}/prototype.js", "${tapestry.scriptaculous}/prototype.js"}) works fine (unsuprisingly). Joel Halbert wrote: Hi, What's the correct syntax

Re: Core dump when debugging @OnEvent methods on Page (JDK 1.6.0_10, Eclipse 3.3.2)

2008-10-20 Thread Joel Halbert
I managed to resolve the issue by refactoring all the code out of the event handling method, and delegating the call to another method : @OnEvent("save") void save() { doSave(); } If the breakpoint is placed in doSave() instead of save() it all works fine. Jo

Core dump when debugging @OnEvent methods on Page (JDK 1.6.0_10, Eclipse 3.3.2)

2008-10-20 Thread Joel Halbert
Hi, Has anyone experienced core dumps when trying to debug T5 Page Event handler methods using a 1.6.0_10 jdk, on eclipse 3.3.2 ? I keep getting the following dump when my breakpoint is hit : # # An unexpected error has been detected by Java Runtime Environment: # # Internal Error (javaCalls

Re: [T5] Unclosed empty HTML tags (bug?)

2008-10-20 Thread Joel Halbert
I've seen a loop iterator around tags produce the following: value instead of value But it only happens only when I try to render the "selected" attribute of the option in the loop, something like: selected="${isSelected}">value (excuse any typos). results in: value Francois Armand

@Property & user accessor methods

2008-10-21 Thread Joel Halbert
Hi, Occasionally I get stung when I declare an @Property on my page and then at some point later I create custom accessor methods for the property - which of course are never invoked since the @Property generated code wipes over them. I realise this is pretty minor, and all of my own doing,

Re: @Property & user accessor methods

2008-10-21 Thread Joel Halbert
JIRA raised: https://issues.apache.org/jira/browse/TAPESTRY-2713 Joel Halbert wrote: Hi, Occasionally I get stung when I declare an @Property on my page and then at some point later I create custom accessor methods for the property - which of course are never invoked since the @Property

Re: @Property & user accessor methods

2008-10-21 Thread Joel Halbert
Cunning, thanks. T'is done https://issues.apache.org/jira/browse/TAP5-301 César Lesc wrote: I think you should raise the issue in tap5 not tapestry https://issues.apache.org/jira/browse/TAP5 On Tue, Oct 21, 2008 at 12:33 PM, Joel Halbert <[EMAIL PROTECTED]> wrote: JIRA ra

Trapping the "user is on a new page event" and calling ComponentResources.discardPersistentFieldChanges() on new page?

2008-10-24 Thread Joel Halbert
Hi, Is there a hook you can leverage to trap an event when the user navigates to a new page? Specifically I want to be able to call ComponentResources.discardPersistentFieldChanges() on the previous page when this happens... Cheers, Joel -- SU3 Analytics Ltd 61b Oxford Gardens W10 5UJ Londo

Re: Trapping the "user is on a new page event" and calling ComponentResources.discardPersistentFieldChanges() on new page?

2008-10-24 Thread Joel Halbert
2008 14:21:05 -0300, Joel Halbert <[EMAIL PROTECTED]> escreveu: Hi, Is there a hook you can leverage to trap an event when the user navigates to a new page? I didn't understand how different this situation would be from simply catching the end of the rendering of a page. This w

Re: Trapping the "user is on a new page event" and calling ComponentResources.discardPersistentFieldChanges() on new page?

2008-10-24 Thread Joel Halbert
-Original Message- From: Thiago H. de Paula Figueiredo [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 14:29 To: Tapestry users Subject: Re: Trapping the "user is on a new page event" and calling ComponentResources.discardPersistentFieldChanges() on new page? Em Fr

Re: Trapping the "user is on a new page event" and calling ComponentResources.discardPersistentFieldChanges() on new page?

2008-10-24 Thread Joel Halbert
site. In both cases, the first page is still open in their browser. -Wendell Joel Halbert wrote: I'm less interested in the back button event and more interested when when a new page is requested i.e. the user deliberately navigates away from the current page. Logically speaking T5 would

reference pages by logical id (rather than by path)

2008-10-26 Thread Joel Halbert
Is possible to reference pages by logical id rather than by path? i.e. I would like to be able to reference a page like this: t:page="name:editimages" rather than t:page="manage/inventory/images/Edit" You would of course need to maintain the mapping from logical page id to physical path, but

Changing the default client side CSS

2008-10-26 Thread Joel Halbert
Hi, Is it possible to override the default CSS that is used for client side form field validation error messages? Thx, Joel -- SU3 Analytics Ltd 61b Oxford Gardens W10 5UJ London Tel: +44 20 8960 2634 Mob: +44 75 2501 0825 www.su3analytics.com SU3 Analytics Ltd is a company registered in En

Re: Changing the default client side CSS

2008-10-26 Thread Joel Halbert
OK, that was pretty dim of me, since changing the css is as simple as overriding the css in //assets/5.0.15/tapestry/default.css Another question then: is it possible to change the HTML template used globally for all error messages ? Joel Halbert wrote: Hi, Is it possible to override

T5: Page lifecycle method called after onActivate but before event handling and page rendering methods?

2008-10-26 Thread Joel Halbert
Is there a lifecycle method which is called after onActivate but before any of the event handling methods or page rendering methods? -- SU3 Analytics Ltd 61b Oxford Gardens W10 5UJ London Tel: +44 20 8960 2634 Mob: +44 75 2501 0825 www.su3analytics.com SU3 Analytics Ltd is a company registered

Re: reference pages by logical id (rather than by path)

2008-10-27 Thread Joel Halbert
I like using classes, as you say it makes it re-factor proof. This is in-fact what Wicket does too. Thiago H. de Paula Figueiredo wrote: Em Sun, 26 Oct 2008 06:39:21 -0300, Joel Halbert <[EMAIL PROTECTED]> escreveu: Is possible to reference pages by logical id rather than by path?

T5 arguments to methods in expressions

2008-10-27 Thread Joel Halbert
Hi, Does T5 support arguments to methods in expressions? e.g. something like the argument to the inner loop source below: t:source="promotedCols(${var:index})">item ${var:index} Is this allowed? I ask because the above code does not throw an exception,

Re: T5 arguments to methods in expressions

2008-10-28 Thread Joel Halbert
, 2008 at 11:26 AM, Joel Halbert <[EMAIL PROTECTED]> wrote: Hi, Does T5 support arguments to methods in expressions? e.g. something like the argument to the inner loop source below: item ${var:index} I expect to revamp the property expression language in 5

Re: T5: Page lifecycle method called after onActivate but before event handling and page rendering methods?

2008-10-28 Thread Joel Halbert
Well, typically loading model data, which I would want to do from a single place, once the onActivate method(s) had been called. Thiago H. de Paula Figueiredo wrote: Em Sun, 26 Oct 2008 11:24:52 -0300, Joel Halbert <[EMAIL PROTECTED]> escreveu: Is there a lifecycle method which is

Modifying default HTML templates for form validation messages

2008-10-28 Thread Joel Halbert
Is it at all possible to override the default HTML templates for form validation error messages, and if so, are there any pointers on the web? Thanks, Joel -- SU3 Analytics Ltd 61b Oxford Gardens W10 5UJ London Tel: +44 20 8960 2634 Mob: +44 75 2501 0825 www.su3analytics.com SU3 Analytics Lt

Re: Modifying default HTML templates for form validation messages

2008-10-28 Thread Joel Halbert
be possible using css. Uli Joel Halbert schrieb: Is it at all possible to override the default HTML templates for form validation error messages, and if so, are there any pointers on the web? Thanks, Joel - To

Re: Modifying default HTML templates for form validation messages

2008-10-28 Thread Joel Halbert
nothing more I can tell you. Uli Joel Halbert schrieb: I want to change the template itself, there is only so much I can change with the css. Ulrich Stärk wrote: What exactly are you trying to achieve? Overriding the default messages is a matter of putting a properties file into the right

Support for external assets ?

2008-11-03 Thread Joel Halbert
Hi, Can an asset reference an external resource? e.g. @IncludeJavaScriptLibrary(value={"url:http://www.myurl.com/resource.js"}) If it's not supported was there a reason for this? (If there's no particular reason I might raise a ticket) Thx, Joel -- SU3 Analytics Ltd 61b Oxford Gardens W10 5U

Re: Support for external assets ?

2008-11-03 Thread Joel Halbert
Just realised that you can use: RenderSupport.addScriptLink(String url) Joel Halbert wrote: Hi, Can an asset reference an external resource? e.g. @IncludeJavaScriptLibrary(value={"url:http://www.myurl.com/resource.js"}) If it's not supported was there a reason for this?

Access to T5 Services - how to get a handle on to Registry?

2008-11-03 Thread Joel Halbert
Hi, I am writing a binding for looking up symbols. In my binding factory I need access to the SymbolSource service. How can you access a T5 Service within a class that is not managed by Tap IoC (thus the dependency can not be injected) and does not have access to the ServletContext (thus th

Re: Access to T5 Services - how to get a handle on to Registry?

2008-11-03 Thread Joel Halbert
, @InjectService("SymbolSource") SymbolSource symbolSource ) { configuration.add("list", new ListBindingFactory(bindingSource)); configuration.add("symb", new SymbolBindingFactory(symbolSource)); } (IoC on ste

Making runtime Services (e.g. Request) available in a custom binding

2008-11-07 Thread Joel Halbert
Hi, I want to create a binding which is dependent on data within the user session. How can runtime information such as the request/session be made available to the Binding? In other bindings I have written I have injected any services I needed into the BindingFactory - but BindingFactory is

T5: Using an annotation to define which is the page activation context / onActivate method ?

2008-11-08 Thread Joel Halbert
Hi, Is it possible to use an annotation to define which method should be used to set the page activation context? i.e. I would like to define an onActivate() method, but have it called something else, e.g. onActivateX(). A reason for wanting to do so is to ensure that i may have a single onActiva

Re: T5: Using an annotation to define which is the page activation context / onActivate method ?

2008-11-08 Thread Joel Halbert
PageRender? hmmm (being Saturday I've very likely missed something here) On Sat, 2008-11-08 at 14:40 +0000, Joel Halbert wrote: > Hi, > > Is it possible to use an annotation to define which method should be > used to set the page activation context? > i.e. I would like to define an

Rationale behind all possible onActivate methods invoked when context is supplied

2008-11-08 Thread Joel Halbert
Hi, I've been thinking about how onActivate methods are called... If i have a page with two onActivate methods: MyPage.onActivate(int modelId1, int modelId2); MyPage.onActivate(int modelId1, int modelId2, int modelId3); and if i have a link to this page which supplies the full 3 argument conte

Re: Rationale behind all possible onActivate methods invoked when context is supplied

2008-11-08 Thread Joel Halbert
i knew i was missing something, thanks! (I must try and remember what i read in the docs) On Sat, 2008-11-08 at 08:23 -0800, Martin Papy wrote: > You can short cut the second call if the first method return a boolean. ( > false I believe )... > > Martin > > > Joel Halbert

Re: Making runtime Services (e.g. Request) available in a custom binding

2008-11-08 Thread Joel Halbert
current per-thread > Request object. > > The end result is you can treat Request as you like ... as the current > Request ... even though it is a shared global object. > > > On Fri, Nov 7, 2008 at 10:05 AM, Joel Halbert <[EMAIL PROTECTED]> wrote: > > Hi, > >

Re: Rationale behind all possible onActivate methods invoked when context is supplied

2008-11-10 Thread Joel Halbert
ince > this pattern gets repeated a lot, you often end up with hundreds of these > onActivate methods ...its a lot of boilerplate code that could be optimized. > > cheers, > Peter > > Em Sat, 08 Nov 2008 13:05:50 -0300, Joel Halbert <[EMAIL PROTECTED]> >

T5: Page instance variable default values

2008-11-10 Thread Joel Halbert
Hi, With reference to: http://tapestry.apache.org/tapestry5/guide/lifecycle.html "Tapestry takes special care to purge all instance variables back to their default value at the end of each request." How is the default value determined? I have noticed that if I declare a class variable on my pa

Re: T5: Using an annotation to define which is the page activation context / onActivate method ?

2008-11-11 Thread Joel Halbert
/guide/lifecycle.html > > > 2008/11/8 Joel Halbert <[EMAIL PROTECTED]> > > > just realised that the order of invocation of onActivate methods is the > > other way around to that which i thought it was: > > http://markmail.org/message/7o52hrmcvli3jsje > > &

Improvements to Loop

2008-11-11 Thread Joel Halbert
Hi, Thoughts please on the following enhancements to Loop: a) utility "parameters/methods" for isFirst and isLast iteration, maybe something like: // hello! // bye! b) easy access to the current index value, without having to provide your own. Although

Re: Improvements to Loop

2008-11-12 Thread Joel Halbert
that's nice and elegant, thanks. On Tue, 2008-11-11 at 08:43 -0800, Howard Lewis Ship wrote: > If you inject the Loop component and make it a property, you can refer > to loop.index, which saves you from having to create an index > property. > > On Tue, Nov 11, 2008 at 2

Re: Improvements to Loop

2008-11-13 Thread Joel Halbert
Would anyone find feature (a) outlined below (adding isFirst and isLast parameters to loop, along the lines of https://issues.apache.org/jira/browse/TAP5-205) useful? If there is any interest I will raise a ticket and people can vote on it. On Tue, 2008-11-11 at 10:55 +, Joel Halbert wrote

Re: Improvements to Loop

2008-11-19 Thread Joel Halbert
; If you inject the Loop component and make it a property, you can refer > to loop.index, which saves you from having to create an index > property. > > On Tue, Nov 11, 2008 at 2:55 AM, Joel Halbert <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Thoughts

T5: page lifecle methods & persistent fields : bug or expected behaviour?

2008-11-19 Thread Joel Halbert
Hi, I am seeing unexpected behaviour when using persistent fields and the page lifecycle method, pageAttached(), (T 5.0.15). I have a persistent field, @Persist private Map myMap; I also have a page lifecycle method, void pageAttached() { if (myMap == null){ myMap = new HashMap();

Re: Improvements to Loop

2008-11-19 Thread Joel Halbert
dex}. That's just a hunch though. > Steve > > On Wed, Nov 19, 2008 at 9:03 AM, Joel Halbert <[EMAIL PROTECTED]> > wrote: > Hi, > I just tried implementing the suggestion below - to inject the > Loop to > access it's index so

Re: T5: page lifecle methods & persistent fields : bug or expected behaviour?

2008-11-20 Thread Joel Halbert
I'm going to raise this as a bug in JIRA, unless anyone thinks it shouldn't be. On Wed, 2008-11-19 at 16:07 +0000, Joel Halbert wrote: > Hi, > > I am seeing unexpected behaviour when using persistent fields and the > page lifecycle method, pageAttached(), (T 5.0.15). &g

Re: T5: page lifecle methods & persistent fields : bug or expected behaviour?

2008-11-20 Thread Joel Halbert
https://issues.apache.org/jira/browse/TAP5-374 On Thu, 2008-11-20 at 09:15 +, Joel Halbert wrote: > I'm going to raise this as a bug in JIRA, unless anyone thinks it > shouldn't be. > > On Wed, 2008-11-19 at 16:07 +, Joel Halbert wrote: > > Hi, > > &g

Re: [T5] Persistent fields may not be updated until after the page has finished loading

2008-11-22 Thread Joel Halbert
in relation to this thread - and specifically in relation to using pageAttached() to initialise p[age fields - I raised the following possible bug the other day, https://issues.apache.org/jira/browse/TAP5-374 I was wondering if this was something anyone else had noticed/reproduced? On Fri, 2008

T5: Construction of service 'Alias' has failed due to recursion: the service depends on itself in some way. Please check.

2008-11-26 Thread Joel Halbert
Hi, I get the following: "Caused by: java.lang.IllegalStateException: Construction of service 'Alias' has failed due to recursion: the service depends on itself in some way. Please check org.apache.tapestry5.services.TapestryModule.buildAlias(Logger, String, AliasManager, Collection) (at Tapestry

Re: T5: Construction of service 'Alias' has failed due to recursion: the service depends on itself in some way. Please check.

2008-11-26 Thread Joel Halbert
uch improved logging to the console when this > happens, it should help you diagnost what happened. What I see looks > correct, but there may be something else going on that we can't see. > > On Wed, Nov 26, 2008 at 8:58 AM, Joel Halbert <[EMAIL PROTECTED]> wrote: > >

Re: T5: Construction of service 'Alias' has failed due to recursion: the service depends on itself in some way. Please check.

2008-11-26 Thread Joel Halbert
For the time being I'm going to solve the problem by simply hardiwing the charset On Wed, 2008-11-26 at 17:35 +0000, Joel Halbert wrote: > the problem appears to be related to another conitribution method: > > public void contributeAppli

Re: T5: Construction of service 'Alias' has failed due to recursion: the service depends on itself in some way. Please check.

2008-11-26 Thread Joel Halbert
Factory.class, new XhtmlMarkupWriterFactoryImpl("UTF-8"))); } I should not imaging that injecting services into the alias contribution is something that will be required much anyway On Wed, 2008-11-26 at 17:42 +, Joel Halbert wrote: &

Re: Add yourself to the Tapestry Users Map

2009-09-03 Thread Joel Halbert
Wow, there are a couple of people who must live in the arctic circle. -Original Message- From: Howard Lewis Ship Reply-To: Tapestry users To: Tapestry users Subject: Add yourself to the Tapestry Users Map Date: Thu, 3 Sep 2009 10:03:57 -0700 I maintain a map of Google Map of Tapestry

AribaWeb

2009-12-01 Thread Joel Halbert
Any T5 users ever heard of AribaWeb. Any opinions of it? http://aribaweb.org/ I'm just curious, I'd never heard of it until today. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail:

T5 jsession id in url crashing tap URLEncoder

2009-03-17 Thread Joel Halbert
I am seeing bot requests to our site which have the session id encoded in the request url because they are not using cookies: e.g. 66.249.70.177 - - [17/Mar/2009:08:43:23 +] "GET /store/product/2799% 3Bjsessionid=1660715C3C8E125693B0B98550FFEC87 HTTP/1.1" 500 3931 "-" "Mozilla/ 5.0 (compatibl

Re: [T5] problem with CSS in tml.

2009-04-19 Thread Joel Halbert
${currentSong.album} As you can see when i click on page it loads AlbumDetails with context. Now this parameter is what is causing exceptions (i think). The page loads fine but I cannot see any images, just colors and text is formatted as CSS. What could be the problem? Thanks -- Joel H

Re: [T5] problem with CSS in tml.

2009-04-19 Thread Joel Halbert
looks like you have a badly anchored image somewhere on your page.. Something is being generated like the incorrectly rooted images path causes tap to think this resource is page local and tries to call onActivate on the current page passing in the images string as an argument. Check that all y

Re: [T5] problem with CSS in tml.

2009-04-19 Thread Joel Halbert
With respect to: is style.css the correct root for this css file? Maybe it should be /style.css, or /css/style.css or summat? WRT the inline format, again, the path to images might need to be /images or whatever. Either way, if tap doesn't recognise the path to images as being correct it wil

Re: once-only onActivate method

2009-04-20 Thread Joel Halbert
ender-annotated method. For example, they get called when an autocomplete textfield is used in mid-form. How do I do this in Tap 5? (My intent is to clear any stale changes in my Cayenne DataContext.) Thanks. -- Joel Halbert 020 3051 8637 075 2501 0825 j...@storequery.com www.storequery.co

Re: Solving the T5 Documentation Dilemma

2009-05-01 Thread Joel Halbert
The primary concern, at the moment, seems to be encouraging people to contribute documentation, tutorials and examples. Making the adding, updating and extension of docs as open (so anyone can do it) and simple (so it is not an arduous task) is the key to this. Howard's suggestion of using the conf

Re: T5: Passing named/structured-type params in URLs?

2009-05-11 Thread Joel Halbert
There was a jira feature request raised for named params some time ago: https://issues.apache.org/jira/browse/TAP5-264 Andy - in the meantime, another alternative is to create a custom ValueEncoder for activation contexts which can encode and decode a map. You could then encode the map context us

Re: T5: Passing named/structured-type params in URLs?

2009-05-12 Thread Joel Halbert
cann't seem to dig it out. -Original Message- From: Andy Buckley Reply-To: Tapestry users To: Tapestry users Subject: Re: T5: Passing named/structured-type params in URLs? Date: Tue, 12 May 2009 16:07:06 +0100 Joel Halbert wrote: > There was a jira feature request raised for na

RE: T5: Passing named/structured-type params in URLs?

2009-05-13 Thread Joel Halbert
' for apps where the context values are themselves meaningful paths. Is this possible? This would lead to a url like: /docs/my/path/to/doc/document1-param1-param2 Which kind of works for me. Thanks! Alfie. -Original Message- From: Joel Halbert [mailto:j...@su3analytics.com] Se

Re: Solving the T5 Documentation Dilemma

2009-05-13 Thread Joel Halbert
ditto. -1 forum -Original Message- From: Christian Edward Gruber Reply-To: Tapestry users To: Tapestry users Subject: Re: Solving the T5 Documentation Dilemma Date: Wed, 13 May 2009 09:29:10 -0400 -1 on forum for the same reasons. On 13-May-09, at 07:36 , Alfie Kirkpatrick wrote: > -

Re: How big is the Tapestry community?

2009-06-08 Thread Joel Halbert
Google Trends is often useful as a proxy: http://www.google.com/trends?q=tapestry%2C+ruby+on+rails%2C +struts&ctab=0&geo=all&date=all&sort=0 (I think that the high level of stuts usage in India is due to the outsourced enterprise community there) -Original Message- From: hari ks Reply-

Re: How big is the Tapestry community?

2009-06-08 Thread Joel Halbert
this is probably a better proxy: http://www.google.com/trends?q=java+tapestry+%2C+java+struts%2C+ruby +rails+&ctab=0&geo=all&date=all&sort=0 -Original Message- From: Joel Halbert Reply-To: Tapestry users To: Tapestry users Subject: Re: How big is the Tapestry communit

Re: [Tapestry Central] Why chose Tapestry?

2009-06-18 Thread Joel Halbert
> >>> tolerant of errors is absurd! Tapestry 5 is designed to improve > >>> productivity for all developers, by streamlining, simplifying, being > >>> smart and being concise ... not to mention live class

Re: [Tapestry Central] Why chose Tapestry?

2009-06-18 Thread Joel Halbert
aven tries to solve. In a small operation > you can get away with doing dependency management manually, but not for > enterprise applications or any development of scale. > > regards, > Peter > > - Original Message - > From: "Joel Halbert" > To: user

Re: [Tapestry Central] Why chose Tapestry?

2009-06-18 Thread Joel Halbert
the rug is never a winning strategy. > >> Coming down off my soap box, I should also add that Tapestry 5.1 works > >> a little bit differently than 5.0 in this respect, so it does (in fact) > >> defer more of the page loading and validation until a link is actually > &

Re: lack of committers

2009-06-22 Thread Joel Halbert
Maybe there are so few committers because everyone is so busy being productive using this great framework to roll out loads of software? :-) -Original Message- From: Thiago H. de Paula Figueiredo Reply-To: Tapestry users To: Tapestry users Subject: Re: lack of committers Date: Mon, 22

URL encoding issue

2010-06-18 Thread Joel Halbert
Hi Folks, I have an onSubmit from which i return a URL, which all works fine, unless I have a path fragment with certain characters, such a spaces. So If I return a URL such as: http://localhost:8080/web/buy/sports tops I get: Input string 'sports tops' is not valid; the character ' ' at p

Re: URL encoding issue

2010-06-18 Thread Joel Halbert
age context for you. 2010/6/18 Joel Halbert Hi Folks, I have an onSubmit from which i return a URL, which all works fine, unless I have a path fragment with certain characters, such a spaces. So If I return a URL such as: http://localhost:8080/web/buy/sports tops I get: Input string &

Page Navigation - Link vs Page when appending a query string to the result

2010-06-18 Thread Joel Halbert
I want to return the user to a page that has a context and some query params: I can do this, using Link: public Object onSubmit(){ Link link = ls.createPageRenderLinkWithContext(Buy.class, product); link.addParameter("x", x); link.addParameter("y", y); return

Re: Customising T5 URL Encoding

2010-06-20 Thread Joel Halbert
input, i + 1)); } if (!safeForInput.get(ch)) { throw new IllegalArgumentException( String .format( "Input string '%s' is not valid; the chara

Re: Page Navigation - Link vs Page when appending a query string to the result

2010-06-20 Thread Joel Halbert
right solution; I think another callback event, much like passivate, but passed the Link so it can be customized. See https://issues.apache.org/jira/browse/TAP5-1190 On Fri, Jun 18, 2010 at 8:30 AM, Joel Halbert wrote: I want to return the user to a page that has a context and some query param

t:loop - callbak before each iteration?

2010-06-20 Thread Joel Halbert
Hi, When using t:loop is there a method we can declare on the component that Tapestry will call before each iteration ? or is there another way to do this Joel

Re: t:loop - callbak before each iteration?

2010-06-20 Thread Joel Halbert
Of course, thanks! J On 20/06/10 17:34, Thiago H. de Paula Figueiredo wrote: On Sun, 20 Jun 2010 13:24:23 -0300, Joel Halbert wrote: Hi, Hi! When using t:loop is there a method we can declare on the component that Tapestry will call before each iteration ? or is there another way to do

Re: Customising T5 URL Encoding

2010-06-20 Thread Joel Halbert
Agreed, it would be good to have this as a configuration option. On 20/06/10 19:20, Kai Weber wrote: * Nicolas Bouillon: The Tapestry URL encoding is not a problem for me in general, just for one use case when i wanted to migrate a site to tapestry and keeping the same URL (with accents, s

Re: It's payback time!

2010-12-18 Thread Joel Halbert
done. On Sat, 2010-12-18 at 13:00 +0100, Christian Riedel wrote: > I voted for you :-) > > > > Am 18.12.2010 um 12:44 schrieb Antonio Fernández: > > > > > Hi Howard ! > > > > My short comment is already posted. ;-) > > > > > > Best Regards, > > Antonio > > > > > > El 17/12/2010 23:39, H

No service implements the interface org.springframework.context.ApplicationContext.

2011-01-04 Thread Joel Halbert
Hi & Happy New Year, I'm trying to replicate the following example, to generate an HTML email using the tapestry tapx Template extension. https://github.com/hlship/tapx/blob/master/tapx-templating/src/test/java/com/howardlewisship/tapx/templating/integration/SendMail.java When I run the example

  1   2   >