In T4, I can use tag in .application to
specify a global meta key/value pair.
How can this be done in T5 ?
Thanks in advance for any assistance!
Shing
Home page : http://www.lombok.demon.co.uk/
___
Yahoo! Answers - Got a questi
Hi all,
I want to email a copy of the default ExceptionReport wile displaying only a
friendly message to users. I built up the email manually in T4, but I would
rather take advantage of the nice error reporting in T5.
I guess this is just a specific case of wanting to use a Tapestry Page a
When can we expect this book to hit the stores???
On 8/8/07, Ognen Ivanovski <[EMAIL PROTECTED]> wrote:
>
> On 2007-08-08, at 18:05, Chris Lewis wrote:
>
> > I've read it and am reading it again, but where did you read about
> > that specific service?
>
> Ah, the service :)
>
> The sources. First
Sorry, wrong thread. My apology.
On 8/11/07, Adam Zimowski <[EMAIL PROTECTED]> wrote:
> When can we expect this book to hit the stores???
>
> On 8/8/07, Ognen Ivanovski <[EMAIL PROTECTED]> wrote:
> >
> > On 2007-08-08, at 18:05, Chris Lewis wrote:
> >
> > > I've read it and am reading it again, bu
When can we expect this book to hit the stores???
On 8/9/07, Kolesnikov, Alexander GNI
<[EMAIL PROTECTED]> wrote:
> Sorry, Thiago, I don't think I should... I think the publisher has already
> contacted them.
>
> -Original Message-
> From: Thiago H de Paula Figueiredo [mailto:[EMAIL
how about contributing your key/value pair to the application
defaults, and resolving your meta information later via symbols?
Robert
On Aug 11, 2007, at 6:14 AM, Shing Hing Man wrote:
In T4, I can use tag in .application to
specify a global meta key/value pair.
How can this be done in T5 ?
Hi,
I'm looking for a way to access a component variable the same way as a page
variable.
So for example when using a loop component I want to provide a setter and
getter of a component as the loop value instead of a setter and getter of the
page.
I want to implement a component that works as
Hi,
When I make a simple EventListener I get this error :
FATAL exception raised: buildTargetProperties() Unknown target type:[object
HTMLSelectElement]
FATAL exception raised: Error: buildTargetProperties() Unknown target
type:[object HTMLSelectElement]
I just can't figure out what is wrong.
T
please elaborate your use case a bit more,
maybe an alternative will be sufficient.
Davor Hrg
On 8/11/07, Thomas Beckmann <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm looking for a way to access a component variable the same way as a
> page
> variable.
> So for example when using a loop component I
how to load messages for the specific page in a component ?
I've a kind of border component used by many pages and would like get for
example page-label value which is defined for each page in its bundle
--
View this message in context:
http://www.nabble.com/t5-how-to-load-messages-tf4254673.htm
Hi!
I am trying to display form errors and highlighted fields in another form
page then the initial form.
More specific: I have a login form in the header component for "quick login"
and if something wrong is happened there the user is directed to the main
login page where the validation errors m
It works using symbol. Thanks!
The following is what I have done.
Add the following to AppModule.java :
public static void contributeApplicationDefaults(
MappedConfiguration
configuration)
{
configuration.add("tempDir",
"/tmp/tapestry5/");
}
In a Tapestry page,
Have you checked out
http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html
?
Shing
--- ra <[EMAIL PROTECTED]> wrote:
>
> how to load messages for the specific page in a
> component ?
> I've a kind of border component used by many pages
> and would like get for
> example pa
I have tried to construct a service using binder.bind
:
binder.bind(IGreeting.class,
DefaultGreeting.class).withId("myGreeting");
Here is the service interface and service class:
public interface IGreeting {
public String getGreeting();
}
===
public class DefaultGr
Our customer should be able to place a component in any of the available page
templates. He has no access to the Page classes. The component works as a
loop component but instead of providing a list of elements to the component,
the user has to provide a query string and the component uses an i
Yes, of course, but that case is not described and I don't know t5 internals
I think I've to inject kind of message provider to get message bundle by
page name
Shing Hing Man wrote:
>
> Have you checked out
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html
> ?
> Sh
Hi,
>From a security point of view, you shouldn't tell the user what was wrong,
as this is a security risk (e.g. a potential attacker now knows that a
certain username exists, and only needs to discover the password). You
could, however, before you redirect him, call a function in the normal login
Have you tried the following ?
@Inject
private ComponentResources resources;
resources.getMessages().get("keyInPropertiesFile")
I think Tapestry search the .properties file in the
following order.
1) the component .properties
2) The page, which contains the component,
.propert
component binding is meant only for retreiving a component,
you can add you own binding
http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefix
the impl that suites your need is probably this:
add to your app module:
public static void contributeBindingSource(
MappedConfi
Hi Daniel,
Have you thought about a "view" mode recently? Instead of adding
more parameters, how about checking if save and delete have been
specified - if they haven't, then make all the properties output-only?
To me, the ability to get a bean displayed without fuss is as
valuable to me
BTW, the page Shing referred you to covers the use-case you gave.
Look for the code passing a message to the border component:
.
(I realise you probably want to do more of the work from the layout though.)
Cheers,
Nick.
ra wrote:
>
> Yes, of course, but that case is not described and I don't
For Global value, can I use static variable ?
Shing Hing Man 写道:
It works using symbol. Thanks!
The following is what I have done.
Add the following to AppModule.java :
public static void contributeApplicationDefaults(
MappedConfiguration
configuration)
{
configura
22 matches
Mail list logo