Hi,
I'm getting a NPE in tapestries reflected Request after I contributed
a new RequestFilter (LocaleFilter below; see snippet). My pages appear
as expected which leads me to assume it has something to do with the
Request being completed when my code tries to access it (the stack
hints that to). B
The new archetype doesn't have a dependency on tapestry-spring (it never did).
On Fri, Feb 6, 2009 at 2:19 PM, Otho wrote:
> After generating the new archetype I get a
>
> java.lang.ClassNotFoundException:
> org.apache.tapestry5.spring.TapestrySpringFilter
>
> The same error occurs also when usin
Nice... thanks, Howard.
- Original Message
From: Howard Lewis Ship
To: Tapestry users
Sent: Friday, February 6, 2009 2:08:08 PM
Subject: Re: [T5] Dynamically getting a component from IoC
The idea is that you have somewhere in your application a Block that
supplies the components and
I Just got this error and I could not figure it out yet.
java.lang.RuntimeException: Service id 'SaltSource' has already been defined
by
nu.localhost.tapestry5.springsecurity.services.SecurityModule.buildSaltSource(String)
(at SecurityModule.java:121) and may not be redefined by
nu.localhost.tape
Hello,
just committed english, german and russian translations for
https://issues.apache.org/jira/browse/TAP5-310
Feel free to provide the translations for your language.
--
Best regards,
Igor Drobiazko
2 options.
1) http://tapestry.apache.org/tapestry4.1/components/form/form.html -
perhaps setting
focus="false" in that form is enough for your usecase.
2) define your own js code for tapestry.form.focusField that perhaps
ignores comboboxes.
On Fri, Feb 6, 2009 at 4:03 PM, N Raju wrote:
>
> Hi
>
>
After generating the new archetype I get a
java.lang.ClassNotFoundException:
org.apache.tapestry5.spring.TapestrySpringFilter
The same error occurs also when using a ContextLoaderListener.
Tapestry-Spring and the TapestrySpringFilter are definitely in the
classpath. The spring beans are created n
Not sure how generally useful that would be, but it would solve the problem in
an easy way.
Thinking some more about this, would it not be easier to simply pass the
messages from the page/component event handler method into the service method
that's called to send the email?
> -Original Me
Which Messages resource would it inject?
I suppose we could add the application's Messages object as an injectable value.
On Fri, Feb 6, 2009 at 1:04 PM, Blower, Andy
wrote:
> I thought that it might be possible to use constructor injection to inject
> the Messages resource just like you can wi
I thought that it might be possible to use constructor injection to inject the
Messages resource just like you can with Logger. I take it that this is not
possible to provide in T5 because of lifecycle/reloading issues then Howard?
> -Original Message-
> From: Howard Lewis Ship [mailto:h
The idea is that you have somewhere in your application a Block that
supplies the components and markup that you need.
You delegate to a method that @Injects the ComponentSource and, using
rules that you devise, obtains a page instance and then obtains a
block from that page instance and returns i
Not with the built in stuff. I went to a lot of trouble so that
entering one field fades out the bubbles on any other fields. It's
surprisingly tricky to get right!
On Thu, Feb 5, 2009 at 5:38 AM, James Sherwood
wrote:
> Hello,
>
>
>
> Is it possible to have the nice balloon error run across 2 pa
I'm having a little trouble picturing this ... and I doubt I'll make
your holiday deadline! What you want should work but I'd need to see
at list snippets of the page and component templates I think.
On Fri, Feb 6, 2009 at 4:05 AM, Blower, Andy
wrote:
> I've just run across a problem and I'm stu
I would go a different route.
Using the ComponentSource service, you can get any page in the
application as a Component instance.
>From that you can get the ComponentResources and from that, the Messages
>object.
Just be aware of the lifecycle: once you boost a Messages instance out
of the comp
Thanks for the confirmation Massimo. :)
I'll have to take a look at 5.1.
Cheers,
Levi
Massimo Lusetti wrote:
>
> On Fri, Feb 6, 2009 at 12:19 AM, Howard Lewis Ship
> wrote:
>
>> 5.1 is pretty stable right now and due to some concerns of my own (*),
>> I'll be pushing to release it fairly
Thanks Howard,
That's great news. I appreciate your work!
Cheers,
Levi
Howard Lewis Ship wrote:
>
> 5.1 is pretty stable right now and due to some concerns of my own (*),
> I'll be pushing to release it fairly soon. I think the Spring Web Flow
> support may move out to 5.2.
>
> It's not go
Hi Andreas,
That is very very slick. Thank you, I now understand. ;)
Cheers,
Levi
Andreas Andreou-2 wrote:
>
> Hi, see http://tuckey.org/urlrewrite/manual/2.6/ (i see they also have
> a 3.2 version)
> Just define some outbound-rules (instead of rules) for the cases
> you're interested, i.e
Thanks for the tip Roberto, but I didn't succeed into adding the
app.properties (or just i can't get the key, i don't know)
And it feels strange to use the ValidationMessage for a standart message
Nick
Tapestry Infodea wrote:
I've forgetten a piece of code, you must contribute the
ValidationMe
I am using the delegate, but it's getting the "to-component" of delegate that I
need to do at runtime. I cannot already have the "to-component" declared with
@Inject because I do not know what it is till runtime.
- Original Message
From: Thiago H. de Paula Figueiredo
To: Tapestry use
I've forgetten a piece of code, you must contribute the
ValidationMessagesSource in your AppModule:
public void
contributeValidationMessagesSource(OrderedConfiguration
configuration) {
configuration.add("myprop", "it/infodea/app/internal/myprop");
}
and define myprop.properties in it
You can use the ValidationMessagesSource and ThreadLocale services:
ValidationMessagesSource validationMessagesSource;
ThreadLocale threadLocale;
Messages messages =
validationMessagesSource.getValidationMessages(threadLocale.getLocale());
Roberto.
Nicolas Charles ha scritto:
Hello there,
Hello there,
I'm currently struggling with a proper way to use localization in a
service. My need is fairly simple : i'm using t5-restful-webservices
from Bill Holloway (by the way great job Bill) to offer REST services.
One of my service sends an email. The email is localized. Using the
Asset
Hi
I am new to Tapestry. I am using tapestry 4.1.5 in my application. By
default the form is getting the focus on combo box which is the first form
element in the webpage. But , any user may accidentally change the selected
data in the combo by scrolling the mouse using middle key. Hence I would
On Fri, Feb 6, 2009 at 13:32, Ulrich Stärk wrote:
> Does it work when you move the Unit enum into it's own class file?
No, it doesn't. But I now know why: There are two different Unit
classes from different ClassLoaders. So, I moved Unit out of
Tapestry's app-package and now it works!
Since I re
Thanks for the suggestion Thiago, but it doesn't help unfortunately.
> -Original Message-
> From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com]
> Sent: 06 February 2009 12:42
> To: Tapestry users
> Subject: Re: Problem wiring up two components on a page
>
> On Fri, Feb 6, 2009
On Fri, Feb 6, 2009 at 10:05 AM, Blower, Andy
wrote:
> @Parameter(required=true, defaultPrefix=BindingConstants.COMPONENT)
Try the principal attribute of @Parameter. Maybe it is the solution
for your problem:
@Parameter(required=true, principal = true,
defaultPrefix=BindingConstants.COMPONENT)
-
Does it work when you move the Unit enum into it's own class file?
Uli
Folke Behrens schrieb:
Hi
Type coercion from String to an Enum type doesn't seem work. I get an
IllegalArgumentException even though I wrote a special TypeCoercer and
hooked it in via module.
public static void
contribut
I've just run across a problem and I'm stumped, so I really hope someone can
shed some light on this for me.
I have a page with a paged list component on it, elsewhere on the page I have
another component which contains a select box and a 'go' button to change the
number of things displayed on
On Fri, Feb 6, 2009 at 9:49 AM, Jonathan O'Connor wrote:
> Thiago,
> firstly, I assumed you meant "Normal" == "the Tapestry Dispatcher", but my
> point is that the 4 Tapestry built-in Dispatchers (AssetDispatcher,
> ComponentEventDispatcher, PageRenderDispatcher and RootPathDispatcher) are
> no di
Thiago,
firstly, I assumed you meant "Normal" == "the Tapestry Dispatcher", but
my point is that the 4 Tapestry built-in Dispatchers (AssetDispatcher,
ComponentEventDispatcher, PageRenderDispatcher and RootPathDispatcher)
are no different to my JonathansFunkyDispatcher, and nor should they.
An
Hi
Type coercion from String to an Enum type doesn't seem work. I get an
IllegalArgumentException even though I wrote a special TypeCoercer and
hooked it in via module.
public static void
contributeTypeCoercer(Configuration>
configuration) {
configuration.add(new
CoercionTuple(String.class,
On Thu, Feb 5, 2009 at 10:43 PM, Jonathan O'Connor wrote:
> Thiago,
Hi!
> I guess you want the Class if your doing annotation based protection, and
> the string if you have some sort of map.
You're right. My needs are different from yours. :)
> But, as Daniel mentioned, you can
> get a Compone
On Thu, Feb 5, 2009 at 10:33 PM, Dave Greggory wrote:
> Is it possible dynamically (programmatically) request a component from
> tapestry's IoC (without using @Inject or passing component via parameter)?
>
> I have this MyComponentInterface and a whole bunch of components that
> implement it (ie
On Fri, Feb 6, 2009 at 12:19 AM, Howard Lewis Ship wrote:
> 5.1 is pretty stable right now and due to some concerns of my own (*),
> I'll be pushing to release it fairly soon. I think the Spring Web Flow
> support may move out to 5.2.
Yep, I've already adopted 5.1 (trunk) for a project which wil
34 matches
Mail list logo