as per my comment at : https://issues.apache.org/jira/browse/TAP5-721
I just started looking for a way on how to make this work and have an
architecture question. The logic to handle a missing key message or
exception lives in AbstractMessages and is quite straight forward.
Adding a boolean field
I just created a jira issue
(https://issues.apache.org/jira/browse/TAP5-721) and will have a look
over the weekend to see if I can supply a patch for this. I thought
adding a boolean symbol along the lines of
MISSING_MESSAGE_KEY_FAIL_WITH_EXCEPTION which defaults to false.
Cheers,
Joost
On Wed, M
On Tue, May 26, 2009 at 10:01 AM, Ulrich Stärk wrote:
> On the other hand, Howard has modified Tapestry several times in order for
> minor errors to be thrown as exceptions early on so that developers fix
> their mistakes right away. Throwing an exception on a missing label seems to
> fit in, at l
On the other hand, Howard has modified Tapestry several times in order for minor errors to be thrown
as exceptions early on so that developers fix their mistakes right away. Throwing an exception on a
missing label seems to fit in, at least for me. Maybe we can make it configurable so that everyo
I believe the docs mention specifically that NOT throwing an exception is a
nice feature :)
On Tue, May 26, 2009 at 2:25 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Mon, May 25, 2009 at 6:17 PM, Joost Schouten (mailing lists)
> wrote:
> > Hi,
>
> Hi!
>
> > Is there a way
On Mon, May 25, 2009 at 6:17 PM, Joost Schouten (mailing lists)
wrote:
> Hi,
Hi!
> Is there a way to make tapestry throw an exception when it encounters
> a missing key?
I don't think so, but it looks like a nice feature. Please post a JIRA
about it. ;)
--
Thiago
Hi,
Is there a way to make tapestry throw an exception when it encounters
a missing key? I would prefer this over the silent printing of the
"missing key" message on the page. If an exception is thrown my unit
tests will pick up the incorrect rendering of the component/page in
stead of me having t