Dynamic mixins

2012-03-09 Thread Brian Long
Hi all, have a problem that seems easy to resolve but I'm making hard work of it, was hoping someone here can help me out. I have a simple component I want to use on different pages in my application, and there's a mixin associated with the select component in this simple component, but I want to

Exception handling in Tomcat 6.0.33

2012-01-31 Thread Brian Long
Hi all, I'm sure I'm not the first person to experience this issue but can't seem to find any answers in the mail archive or on the web. I have an ExceptionReport page implementing ExceptionReporter so any nasty surprises like NPE's result in a nice and friendly We experiencing technical

Re: Exception handling in Tomcat 6.0.33

2012-01-31 Thread Brian Long
               dispatcherREQUEST/dispatcher                dispatcherERROR/dispatcher        /filter-mapping Error handling in Jetty and Tomcat differ, see http://www.cacoethes.co.uk/blog/software/a-tomcat-gotcha for more info. Kalle On Tue, Jan 31, 2012 at 2:50 AM, Brian Long bl...@annadaletech.com wrote: Hi

property expressions

2011-10-25 Thread Brian Long
Hi all, was hoping someone could point me in the direction on a good tutorial on the new property expressions in tapestry 5.2.6? I was using OGNL previously and would like to update these expression to work with ANTLR instead. The ognl expression i had was to decorate text field with different

Re: property expressions

2011-10-25 Thread Brian Long
a lot of helper methods for the logic that was attached to the various fields on my form, but I guess I can't be avoided. Regards, Brian. On 25 October 2011 14:46, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Tue, 25 Oct 2011 12:14:47 -0200, Brian Long bl...@annadaletech.com wrote

pageRenderLinkSource.toAbsoluteURI() returns relative URL

2011-10-03 Thread Brian Long
Hi all, I want determine the URL of my tapestry page, and rather that build the path from the request, I thought I'd use the PageRenderLinkSource service similar to the example posted here http://blog.markwshead.com/825/get-the-url-of-page-in-tapestry-5/, however when I call the method

Re: StackMapTable format error: bad class index

2011-06-03 Thread Brian Long
which tapestry version you are using ? May be this will help http://tapestry.1045711.n5.nabble.com/T5-StackMapTable-format-error-td2408450.html regards Taha On Thu, Jun 2, 2011 at 9:44 PM, Brian Long bl...@annadaletech.com wrote: Hi all, getting this error message sporadically when running

StackMapTable format error: bad class index

2011-06-02 Thread Brian Long
Hi all, getting this error message sporadically when running my tapestry application in jetty, was hoping that someone might have encountered this before and would be able to point me in the general direction of a solution? Thanks, Brian. 2011-06-02 16:08:05,109 {33144006@qtp-18954926-4}

Property expressions

2009-10-05 Thread Brian Long
Hi all, just a quick question, looking at the property expressions guide @ http://tapestry.apache.org/tapestry5/guide/propexp.html it looks like I should be able to evaluate whether a property has a null value (handy for if conditions) without having to use ognl, e.g. instead of t:if

Re: Property expressions

2009-10-05 Thread Brian Long
to a boolean; nil is false, as is any kind of empty collection. Thus t:if test=! payoutTransfers ... /t:if should work. On Mon, Oct 5, 2009 at 8:39 AM, Brian Long bl...@annadaletech.com wrote: Hi all, just a quick question, looking at the property expressions guide @ http

using prop: binding to evaluate an expression?

2009-01-08 Thread Brian Long
Hi, in tapestry 4 you could use ognl to check a page property in a expression like disabled=ognl:!nextAvailable or ognl:(nextAvailable == false), I'm wondering is we can do something similar in T5 without using ognl, just using the prop: binding prefix alone, for example t:pagelink id=next

localization of keys returned as properties in T5

2008-02-07 Thread Brian Long
Sorry about the ambiguous title, but I'll try to explain what it is I'm trying to achieve . . . in T4 it's possible to have properties/keys in an object that can be localized in the html file using the following expression span [EMAIL PROTECTED] value=ognl:messages.getMessage(

Form names in T4.1

2007-05-31 Thread Brian Long
Hi all, this is just a quick question, in previous versions of tapestry a Form was assigned a name using the convention jwcid=[EMAIL PROTECTED], however in T4.1this no longer sets the name but assigns an id=someName. Question is, how do I assign a name to my Form component in 4.1, as informal

Re: Re: dynamic image assets?

2006-11-30 Thread Brian Long
Guys, I'm ashamed to admit that my problem was a classic case of RTFM, as there was an example on the tapestry web site that fixed my dynamic Image asset problem with just a few lines of code. I placed my subscriberImage component on my page, and then added the relevant method to my class:

dynamic image assets?

2006-11-29 Thread Brian Long
Hi, I'm sure there's a simple solution to this problem, but I've yet to figure out just what it is! I have an image associated with each subscriber that registers with my application, and on login I'd like to show them their picture along with their subscriber details. I know I can add an

Re: dynamic image assets?

2006-11-29 Thread Brian Long
: Brian Long [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org Sent: Wednesday, 29 November, 2006 10:51:01 AM Subject: dynamic image assets? Hi, I'm sure there's a simple solution to this problem, but I've yet to figure out just what it is! I have an image associated with each subscriber

Re: multiple stylesheets

2006-09-01 Thread Brian Long
: context-asset name=common path=css/common.css/ context-asset name=apply path=css/apply.css/ Cheers, Nick. Brian Long wrote: Hi all, I'm afraid I might have dug myself into a hole (again!), but I hope someone my have already encountered this problem and is willing to let me know

[no subject]

2006-08-31 Thread Brian Long

multiple stylesheets

2006-08-31 Thread Brian Long
Hi all, I'm afraid I might have dug myself into a hole (again!), but I hope someone my have already encountered this problem and is willing to let me know of a possible solution. I'm trying to add multiple stylesheets to my web project, I'm currently using a @Shell component to enclose my web