You are right, no difference still does not invoke the service override
method.
Anything else that I can try?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T-5-3-Alert-and-AlertManager-Tutorials-tp4732469p4736001.html
Sent from the Tapestry - User mailing list archive at
I'd be surprised of @Contribute didn't work, it's tapestry-ioc which
does the processing and it's very much an integral part of tapestry.
You can try "public static void
contributeServiceOverride(MappedConfiguration
configuration)", but I'm not sure that will make the difference.
On Thu, Aug 25,
Here you go -
org.apache.tapestry5.TapestryFilter
app
/*
Also I put a system out in the method like this -
@Contribute(ServiceOverride.class)
public static void
setupApplicationServiceOverrides(MappedConfiguration
configuration) {
System.out
> tapestry.app-package
> tapp
I was thinking of the filter name:
app
org.apache.tapestry5.TapestryFilter
Where are you putting the breakpoint/logging to determine that the
method is getting called? Are you sure the change is getting deployed?
I cut and paste the method from my AppModule a
Hope the following helps -
In web.xml:
tapestry.app-package
tapp
At least the following methods are called in AppModule -
public static void bind(ServiceBinder binder) {
public static void
contributeApplicationDefaults(MappedConfiguration
configuration) {
But
Can you give the stack trace, perhaps it's failing before that service is
loaded.
On Aug 24, 2011 8:44 PM, "TG" wrote:
> Yup GAEJ failed, but the method you wrote was not invoked. It might works
if
> it does? :o
>
> --
> View this message in context:
http://tapestry.1045711.n5.nabble.com/T-5-3-Ale
Can you give the stack trace, perhaps it's failing before that service is
loaded.
On Aug 24, 2011 8:44 PM, "TG" wrote:
> Yup GAEJ failed, but the method you wrote was not invoked. It might works
if
> it does? :o
>
> --
> View this message in context:
http://tapestry.1045711.n5.nabble.com/T-5-3-Ale
Yup GAEJ failed, but the method you wrote was not invoked. It might works if
it does? :o
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T-5-3-Alert-and-AlertManager-Tutorials-tp4732469p4732903.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Load a page? Does GAE fail?
On Aug 24, 2011 7:22 PM, "TG" wrote:
> I put the method in AppModule but it does not seem to be invoked, anything
> else I need to do?
>
> Thanks.
>
> --
> View this message in context:
http://tapestry.1045711.n5.nabble.com/T-5-3-Alert-and-AlertManager-Tutorials-tp47324
I put the method in AppModule but it does not seem to be invoked, anything
else I need to do?
Thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T-5-3-Alert-and-AlertManager-Tutorials-tp4732469p4732706.html
Sent from the Tapestry - User mailing list archive at Nabble.
I don't use GAE, but this might help:
@Contribute(ServiceOverride.class)
public static void
createNOOPPeriodicExecutor(MappedConfiguration
configuration) {
configuration.add(PeriodicExecutor.class, new PeriodicExecutor() {
@Override
public PeriodicJob addJob(Sch
I am stuck with issue https://issues.apache.org/jira/browse/TAP5-1616. What a
bummer, seems like AlertManager depends on threading too? :(
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T-5-3-Alert-and-AlertManager-Tutorials-tp4732469p4732600.html
Sent from the Tapestry -
You have old jars.
You should grab tapestry-xxx-5.3-alpha-13.jar
On Wed, Aug 24, 2011 at 6:12 PM, TG wrote:
> I got the following in my WEB-INF/lib -
>
> plastic-5.3.jar
> tapestry-annotations-5.3.0.jar
> tapestry-beanvalidator-5.3.0.jar
> tapestry-core-5.3.0.jar
> tapestry-func-5.3.0.jar
> tapes
> AlertManager is located in what jar? I am not using Maven. And I can't import
> it from Eclipse ...
It's in tapestry-core. What build do you have?
If you're not already, try grabbing the alpha from
https://repository.apache.org/content/repositories/staging/org/apache/tapestry/tapestry-core/5.3-
I got the following in my WEB-INF/lib -
plastic-5.3.jar
tapestry-annotations-5.3.0.jar
tapestry-beanvalidator-5.3.0.jar
tapestry-core-5.3.0.jar
tapestry-func-5.3.0.jar
tapestry-hibernate-5.3.0.jar
tapestry-hibernate-core-5.3.0.jar
tapestry-ioc-5.3.jar
tapestry-json-5.3.0.jar
tapestry-test-5.3.0.ja
jar tvf | grep AlertManager
would be able to locate it.
combine that command in a loop with all the tapestry jars in the same directory
and on the bash prompt (if you're on mac/linux)
for i in `ls *.jar`
do
jar tvf $i | grep AlertManager
done
and that will spit it out.
HTH
Chris
the one l
AlertManager is located in what jar? I am not using Maven. And I can't import
it from Eclipse ...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T-5-3-Alert-and-AlertManager-Tutorials-tp4732469p4732546.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
don't forget the typos! :)
On Wed, Aug 24, 2011 at 5:24 PM, Josh Canfield wrote:
> I just happen to have thrown it in my self...
>
> Throw this in your template
>
>
>
> @Inject
> private AlertManager alertManager;
>
> and
>
> alertManager.info("Not to self, explore options.");
I just happen to have thrown it in my self...
Throw this in your template
@Inject
private AlertManager alertManager;
and
alertManager.info("Not to self, explore options.");
This puts a message once. You can use the
alertManager.alert(Duration.TRANSIENT, Severit
I would like to use the transient alert in the new T 5.3, but I could not
find any sample codes anywhere. Does it exists? Could someone kindly send me
a sample or two? :)
TIA
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T-5-3-Alert-and-AlertManager-Tutorials-tp4732469p4
20 matches
Mail list logo