(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
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
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:
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
... 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
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
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
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
=
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
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
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,
. 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
.
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
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
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
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
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
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
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
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
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
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
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
, 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
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
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
'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
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
. 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
301 - 329 of 329 matches
Mail list logo