Re: [T5.1] Obtaining The Page Name In A MarkupRendererFilter

2010-05-11 Thread Steve Eynon
(transformation.getClassName()); } catch (IllegalArgumentException e) { // not a page... goodbye! return; } ... or... if (!transformation.getClassName().contains(.pages.)) // not a page... goodbye! return; Any ideas? Cheers, Steve. On 7 May 2010 12:00, Steve Eynon steve.ey

Re: [T5.1] Obtaining The Page Name In A MarkupRendererFilter

2010-05-11 Thread Steve Eynon
all just catch the NumberFormatException? On 11 May 2010 15:01, Nicolas Bouillon nico...@bouil.org wrote: Le 11/05/2010 18:48, Steve Eynon a écrit : Hello, Following a suggestion from a fellow T5 user (cheers Nicolas!) I've changed my page name injecting strategy. I now have

Re: Noob problem with Guessing Game tutorial

2010-05-11 Thread Steve Eynon
Not sure what the current T5 deal is with putting .tml files in the WEB-INF, but I'm certain it's not recommended. Again, as Sergey and I have suggested, place your .tml files in the same package as your java / class files. With your current maven setup, that would be:

Re: Noob problem with Guessing Game tutorial

2010-05-11 Thread Steve Eynon
Scary that the exception talks about components when it should be looking for a page. What does your web.xml look like? What is your app package set to? It should be: context-param !-- The only significant configuration for Tapestry 5, this informs Tapestry of where to look for

Re: Noob problem with Guessing Game tutorial

2010-05-11 Thread Steve Eynon
...  I'm a C++ programmer trying to make the switch over to Java/web and am looking for a way to avoid having to learn all the 'plumbing' required in servlet/JSP baseline programing. If you have something else you'd like me to try, I'm still game on giving it a go. Phil Steve Eynon wrote

Re: URLRewriting and tapestry.force-absolute-uris

2010-05-09 Thread Steve Eynon
legacy URLs into T5 friendly ones. It supports Forwards Redirects, regex and wildcards and I think even lets you run java code for more complicated transformations. Steve. -- Steve Eynon mobie: (+592) 678 4236 On 4 May 2010 06:08, Christian Riedel cr.ml...@googlemail.com wrote: Hm... but how

[T5.1] Input string is not valid; the character at position X is not valid

2010-05-08 Thread Steve Eynon
require a robust and client pleasing site. I'd much prefer to define a page method along the lines of: Object onIllegalPathInEventContext(String illegalPath); which Tapestry calls allowing me to deal with the situation explicitly. Maybe in a future release? Steve. -- Steve Eynon mobie: (+592

[T5.1] Obtaining The Page Name In A MarkupRendererFilter

2010-05-07 Thread Steve Eynon
to contribute for this? And if so, where would I get the current Page name from? Cheers, Steve. -- Steve Eynon mobie: (+592) 678 4236 - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail

Re: [T5.1] Obtaining The Page Name In A MarkupRendererFilter

2010-05-07 Thread Steve Eynon
= linkEncoder.decodePageRenderRequest(request).getLogicalPageName(); String actualPageName = classResolver.canonicalizePageName(logicalPageName); Cheers, Steve. -- Steve Eynon mobie: (+592) 678 4236 On 7 May 2010 10:25, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Fri, 07 May 2010 11:05:56 -0300

Re: EasyFCKEditor FileUpload with Tomcat?

2010-05-05 Thread Steve Eynon
C:\Apps\apache-tomcat-6.0.24\conf\Catalina\localhost\wwwfiles.xml with the content ?xml version=1.0 encoding=UTF-8? Context docBase=C:\Users\Ville\Documents\NetBeansProjects\wwwfiles /Context Steve. -- Steve Eynon mobie: (+592) 678 4236 On 5 May 2010 10:45, hunta peter.bethk

Re: AjaxFormLoop: property changes have no effect

2010-04-20 Thread Steve Eynon
Excellent - I'm really happy I found this email for I to, fell into the same trap. I entered the world of ValueEncoders after playing with Field Translators and TypeCoercers and thought maybe they did the same thing. I also (wrongly) thought that as I supplied the AjaxFormLoop with a source List,

Re: [T5.1] How do you advise ClassNameLocator?

2009-05-09 Thread Steve Eynon
. Of course you can override ClasspathURLConverter as any service in Tapestry. On Wed, May 6, 2009 at 6:49 PM, Steve Eynon steve.ey...@alienfactory.co.ukwrote: Arr, yes, thanks Igor. The JavaDocs for ClasspathURLConverter even states it exists for OSGi (Eclipse) apps: This is a hook

[T5.1] How do you advise ClassNameLocator?

2009-05-05 Thread Steve Eynon
. Steve. -- Steve Eynon www.bushmasters.co.uk mobie: (+592) 6784236 - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: [T5.1] How do you advise ClassNameLocator?

2009-05-05 Thread Steve Eynon
TapestryIOCModule is annotated with @PreventServiceDecoration so that explains why I can't override it. Might it be an idea to just annotate individual dangerous services rather than a blanket ban on overriding all IOC services? Steve. -- Steve Eynon www.bushmasters.co.uk mobie: (+592) 6784236

Re: [T5.1.0.2] / [T5.1.0.3] BlackBird Info Logging

2009-05-03 Thread Steve Eynon
2009/4/24 Blower, Andy andy.blo...@proquest.co.uk: Any time a message, of any category, is added, Blackbird will popup (by design). This surprises me, I also assumed that (since it's a development/debugging tool) the console would be disabled in production mode. I'd be very interested to

[T5.1.0.4] Distinguishing Between Internal and Scripts when Combining

2009-05-03 Thread Steve Eynon
Hi, If you add a script with an external url then script combining is disabled. From DocumentLinkerImpl : public void addScriptLink(String scriptURL) { ... // If a script with an external URL is added, we can't combine the scripts after all. if (combineScripts

Re: [T5.1.0.2] / [T5.1.0.3] Combining JavaScript Libraries in IE 6

2009-04-15 Thread Steve Eynon
traces are being produced on the server so I was guessing it's a quirk with IE 6 script loading but wasn't sure if it was down to our skewed IE 6 or not. Steve. P.S. It's a great idea - are there any plans in the pipeline to do similar with stylesheets? -- Steve Eynon www.bushmasters.co.uk mobie

Re: [REQUEST] Live T5 web sites, quotes, marketting

2009-04-15 Thread Steve Eynon
applications - a developers dream. Have fun, Steve. -- Steve Eynon www.bushmasters.co.uk mobie: (+592) 6784236 - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

[T5.1.0.2] / [T5.1.0.3] Combining JavaScript Libraries in IE 6

2009-04-14 Thread Steve Eynon
Hi, I noticed that if I added script on page in a component during the beginRender() method via... renderSupport.addScript() ...I recieved a javascript error in IE 6 complaining that the Tapestry object did not exist on the line: Tapestry.onDOMLoaded(function() { This only happens if

[T5.1.0.2] / [T5.1.0.3] BlackBird Info Logging

2009-04-14 Thread Steve Eynon
Hiya, The Tapestry js object has debug, warn and error logging methods to BlackBird but no info logging. Is this due to design because the logging methods are only supposed to be used by Tapestry internal components (and hence not yet required)? Or maybe an wee oversight? Personally, I'm excited

Re: [T5] using nbsp; in template

2007-12-27 Thread Steve Eynon
See the Template Doctypes section at http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html for more info. Steve. On 16/12/2007, Arve Klev [EMAIL PROTECTED] wrote: I put this line at the top of the template: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

Re: Problems Deploying T5 Apps with Component Modules in Jetty

2007-12-09 Thread Steve Eynon
my input as criticism - I just want to know if you were aware of these seemingly emerging T5 best practices and had found reasons to avoid them. If so, please share! sincerely, chris Steve Eynon wrote: Except for maybe adding extra configuration for a test version of an application I

Re: Problems Deploying T5 Apps with Component Modules in Jetty

2007-12-08 Thread Steve Eynon
parameter, so I can now have the component module picked up by both a stand-alone Jetty instance and the Eclipse Jetty Launcher. Cheers, Steve. On Dec 5, 2007 4:58 PM, Thiago HP [EMAIL PROTECTED] wrote: On 12/5/07, Steve Eynon [EMAIL PROTECTED] wrote: To clarify, I only have the one component

Re: Problems Deploying T5 Apps with Component Modules in Jetty

2007-12-08 Thread Steve Eynon
, 2007 9:12 AM, Steve Eynon [EMAIL PROTECTED] wrote: To clear this one up, I was in error. My App Module class extended the Component Module class. (Doh!) I now remember doing this to have the Jetty Launcher in Eclipse pick up the component module configuration. During my tour

[T5] Component Module Templates Not Rendering

2007-12-08 Thread Steve Eynon
Hello, The templates in my component module are not being rendered when I deploy my app in a standalone version of Jetty via the webapps dir. All is fine when deployed with the Jetty Launcher in Eclipse. If I add a BeforeRenderTemplate method to the component I can see it being called, so I

Re: [T5] Component Module Templates Not Rendering

2007-12-08 Thread Steve Eynon
are using Ant filters when copying resources into the deployed WAR? Try expoding the WAR and checking the files direclty. Filtering (the thing that finds @FOO@ and replaces the value with something else) will corrupt binary files quite often. On Dec 8, 2007 10:10 AM, Steve Eynon [EMAIL

Re: Problems Deploying T5 Apps with Component Modules in Jetty

2007-12-05 Thread Steve Eynon
'know' which modules it has loaded? If so perhaps an exception should be thrown, or at least a log message made, if an app attempts to (indirectly) load a module more than once. Thiago HP wrote: On 12/5/07, Steve Eynon [EMAIL PROTECTED] wrote: java.lang.RuntimeException: Service id

Problems Deploying T5 Apps with Component Modules in Jetty

2007-12-05 Thread Steve Eynon
Hello, I have a number of T5 web apps that all use a common component module. In the component's module class (as defined by the Tapestry-Module-Classes property in its jar's MANIFEST.MF) there is a simlpe build method: public static AssetFinder buildAssetFinder(@InjectService AssetSource

Re: Problems Deploying T5 Apps with Component Modules in Jetty

2007-12-05 Thread Steve Eynon
. Does there happen to be two copies of your war lying around? It sounds like that builder method is being called more than once (very odd), or that another part of the app is contributing a service with the same name - but if that were the case you'd probably know it. Steve Eynon wrote: Hello

<    1   2   3   4