For better or worse, this is a new exception.
1. Is this failure only happening on the server or does this now happen on
localhost too?
2. You mentioned before that you copied the breadcrumbs code into your
project. Did you delete all the files? I think one or two might still be
hanging around
Hi,
I keep getting the following exception on the AutoComplete Mixin when many
multiple users access it in production. Since I can not reproduce it in my
dev environment or just a few users, can someone please shine some light on
what kind of scenario can cause t:input blank?
Caused by: java.lan
The simplest way would be to save your form data into a bean, and use
the @Persist annotation on your bean so you can display it and then
subsequently save it 2 requests later. By default this will use your
session to store the bean.
Alternatively you can use the @SessionState annotation if yo
the disabled parameter doesn't work
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Checklist-disabled-possible-bug-tp5713681p5713913.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
Hi,
I have a web page that contains a Grid with multiple pages. In the same web
page, we also have a search filter. Based on the filter value, the Grid will
contain different number of pages. When this is tested with single user or a
few users, everything worked perfectly. But in production, with
Is this the method responsible for injecting instance fields within
services ?
*org.apache.tapestry5.ioc.internal.util.InternalUtils.injectIntoFields(Object,
ObjectLocator, InjectionResources, OperationTracker)*
If it is,
if (ap.getAnnotation(Inject.class) != null ||
ap.getAnnotation(InjectResourc
I feel like this should be something dead-simple and am missing
something obvious - I'm sure you guys will have a slick solution here.
:-)
I'm creating a simple form which has a confirmation step. Use case
goes like this:
Step 1: Enter data
Step 2: Validate data show "confirmation" page if OK
St
I only provided abstract proofs for what I'm trying to question, not the
whole thing of course as not to distract anyone away from the main point.
I guess now the only thing is left is the difference between tapestry's
@Inject and java's. I know Howard disagrees with that, did anyone else
notice su
On Thu, 14 Jun 2012 17:42:33 -0300, Muhammad Gelbana
wrote:
*- Do you know you can use injection (no annotations needed) in build,
contribute and advise methods in Tapestry-IoC module classes? ;) *
You mean in the method signature ?
Yes.
It's of course different from injecting services in
*- Do you know you can use injection (no annotations needed) in build,
contribute and advise methods in Tapestry-IoC module classes? ;) *
You mean in the method signature ? It's of course different from injecting
services in the module but how is it different tapestry-wise ?
*- What about its cons
On the contrary, you helped med show that it is a real problem, now maybe other
people will recognize this issue as well!
Thank you!!!
Best regards,
Jacob
Fra: Muhammad Gelbana [m.gelb...@gmail.com]
Sendt: 14. juni 2012 19:33
Til: Poder, Jacob
Emne: Re: [5.3] JSO
On Thu, 14 Jun 2012 15:41:59 -0300, Muhammad Gelbana
wrote:
I'm injecting the service in the module class just to be able to call it
in the registry-contribution method to test the service once the
applications starts up.
Do you know you can use injection (no annotations needed) in build
I'm injecting the service in the module class just to be able to call it in
the registry-contribution method to test the service once the applications
starts up. But actually in production i'm doing the same, to call some of
my services methods to initialize them in a way, but since it looks weird
On Thu, 14 Jun 2012 15:01:49 -0300, Steve Eynon
wrote:
My mistake, the @Inject in the My class needs to be a
org.apache.tapestry5.ioc.annotations.Inject;
or
org.apache.tapestry5.ioc.annotations.InjectResource;
Probably as (already stated - I think), the T5 @Inject uses a
MasterObjectProvide
Hm. They're supposed to operate exactly the same.
On Thu, Jun 14, 2012 at 11:01 AM, Steve Eynon <
steve.ey...@alienfactory.co.uk> wrote:
> My mistake, the @Inject in the My class needs to be a
>
> org.apache.tapestry5.ioc.annotations.Inject;
> or
> org.apache.tapestry5.ioc.annotations.InjectResou
My mistake, the @Inject in the My class needs to be a
org.apache.tapestry5.ioc.annotations.Inject;
or
org.apache.tapestry5.ioc.annotations.InjectResource;
Probably as (already stated - I think), the T5 @Inject uses a
MasterObjectProvider whereas the javax @Inject just looks up Services
- which th
On Thu, 14 Jun 2012 14:00:05 -0300, Muhammad Gelbana
wrote:
public class *AppModule* {
@Inject
private IMy my;
Why this field exists?
public static void bind(ServiceBinder binder) {
binder.bind(IMy.class, My.class);
}
Ok.
public void contributeRegistryStartup(OrderedConfiguration
con
On Thu, 14 Jun 2012 13:59:26 -0300, Massimo Lusetti
wrote:
Hi guys,
Hi, Massimo!
what do you use to add full text capabilities to your tapestry5 web
sites?
The company I work for uses Apache Solr. I've talked to some friends that
work at another company and they seem to be happy wi
Excellent, I use 5.3x thanks Steve.
-George
- Reply message -
From: "Steve Eynon [via Tapestry]"
Date: Thu, Jun 14, 2012 1:24 pm
Subject: Disable clientside x on serverside validation
To: "George Christman"
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Disab
I'm already somewhat unhappy at the complexity of the code; I'd prefer not
to make it any more complicated. I think race conditions on the write lock
are going to be pretty rare and probably only occur on a somewhat saturated
server at initial startup. I think twisting the code ever further.
In
This is only easily done in the later T5.3.x releases. You need to
override the ValidationDecoratorFactory with your local service:
public static void bind(ServiceBinder binder) {
binder.bind(ValidationDecoratorFactory.class,
MyValidationDecoratorFactory.class).withSimpleId();
}
publi
Just tried it on T5.3.3 and it worked fine with both @Inject annotations...
Though I wouldn't advise injecting services into your module - that
just seems... well, weird!
Steve.
On 15 June 2012 01:00, Muhammad Gelbana wrote:
> Well thanks, that was my mistake !
> Although now I tried calling t
Is there a way to disable the clientside x from appearing when a server side
error returns. I use it for clientside validation, so I don't want to
completely disable it with css.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Disable-clientside-x-on-serverside-validation
Well thanks, that was my mistake !
Although now I tried calling the logger in a method called in the
contribute registry startup static method and still tapestry didn't resolve
it:
public class *AppModule* {
@Inject
private IMy my;
public static void bind(ServiceBinder binder) {
binder.bind(IMy.c
Hi guys,
what do you use to add full text capabilities to your tapestry5 web sites?
Cheers
--
Massimo
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.
On Thu, 14 Jun 2012 11:15:18 -0300, Kalle Korhonen
wrote:
I'm just using a template. Oh and this one is clearly superior to 0.4.1
:)
If it weren't superior Kalle wouldn't release it. :)
--
Thiago H. de Paula Figueiredo
-
Works good :)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-use-StyleSheetOptions-with-condition-tp5713879p5713889.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsub
Any ideas how can I disable the checklist component ?
Thanks in advance
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Checklist-disabled-possible-bug-tp5713681p5713888.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
To be honest I've never tried it, but it says here it should be okay:
http://en.wikipedia.org/wiki/Conditional_comment
Steve.
On 15 June 2012 00:13, George Christman wrote:
> Thanks Steven, nice to know the condition argument can handle multiple
> conditions.
>
> --
> View this message in con
Yeah, this isn't a T5 thing - it's Java!
@Inject
private Logger log;
public My() {
log.info("Logger injected in service using @javax.inject.Inject");
}
T5 can't do field injection until it's constructed the class. But when
T5 constructs the class you access the field --> NPE!
Thanks Steven, nice to know the condition argument can handle multiple
conditions.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-use-StyleSheetOptions-with-condition-tp5713879p5713885.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
I was over thinking this, much simpler than I originally thought, Thanks
Taha.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-use-StyleSheetOptions-with-condition-tp5713879p5713883.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
I don't think you can use "@Inject"ed value in the constructor.
The constructor is called first and then injection is done. As you are
accessing the service in constructor, at this point the field injection has not
been done. And as Logger has not been build by the registry, you get Service
no
The clue is in StylesheetLink#add. Try this:
void afterRender() {
js.importStylesheet(new StylesheetLink(ieOnlyStylesheet,
new StylesheetOptions(null).withCondition("(IE 7)|(IE 8)")) );
}
Only the constructor and getter are deprecated.
Steve.
--
Steve Eynon
--
Hi George
@Inject
@Path("ie6.css")
private Asset ie6Stylesheet;
@SetupRender
void addIEScripts()
{
javaScriptSupport.importStylesheet(new StylesheetLink(
ie6Stylesheet,
new StylesheetOptions().withCondition("IE 6")
));
}
regard
Hello, I'm not finding a clear example how to use StylesheetOptions with a
condition. I seen an example here,
http://tapestry.apache.org/css.html
But this has been deprecated in 5.3
Could someone please help me figure out how to use the condition. I only
want to display a style sheet if it's eit
I'm just using a template. Oh and this one is clearly superior to 0.4.1 :)
Kalle
On Thu, Jun 14, 2012 at 4:59 AM, Chris Mylonas wrote:
> Thanks Kalle,
>
> I really like your "best ever tapestry-security release yet"
> I think I remember reading it on 0.4.1 maybe... :P
>
>
>
> On 14/06/2012, at 3
On 14 June 2012 21:20, karthick wrote:
> Servlet.service() for servlet ices threw exception
What's the "ices" servlet and why is it being called?
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional co
The lightbox idea is cool. So is the AddGridRow component idea, if my
users can't stand the idea of a pop-up dialog. I gave it a quick try and
it works well, produces valid html. (And it hides the ugly markup from the
template, to preserve a facade of self-respect.)
Thanks, y'all.
Thanks Kalle,
I really like your "best ever tapestry-security release yet"
I think I remember reading it on 0.4.1 maybe... :P
On 14/06/2012, at 3:53 PM, Kalle Korhonen wrote:
> More people using tapestry-security means more improvements, feature
> requests. We are still staying on top of it a
Its looked like resources are not injected when "javax.inject.Inject" is used.
Denis
Jun 14, 2012 v 2:31 AM, Howard Lewis Ship:
> I'm not seeing anything here. How about you put your source into a Gist (
> gist.github.com) and paste the URL here?
>
> On Wed, Jun 13, 2012 at 3:12 PM, Muhammad G
Concurrency topic:
Would it be possible to change the lazy init to check if write lock is already
locked? It will eliminate the posibility of locking the write lock by more then
one thread.
try {
readLock.lock();
if(is need to init)
{
boolean hasWriteLock = false;
try {
I will try it in the evening! thx! hope, that it will work then.
alex
2012/6/14 Lance Java [via Tapestry] <
ml-node+s1045711n5713870...@n5.nabble.com>
> As I said before, it seems like the zbreadcrumbs MarkupRendererFilter is
> running before the DocumentLinker even though it should run after.
As I said before, it seems like the zbreadcrumbs MarkupRendererFilter is
running before the DocumentLinker even though it should run after.
I'd like you to test a theory that there is a bug in ordered configuration.
I originally asked you to alter the zbreadcrumbs jar but I have found a way
to tes
Sent
Should anyone else want to try as well, please let me know...
Best regards,
Jacob
-Original Message-
From: Muhammad Gelbana [mailto:m.gelb...@gmail.com]
Sent: Wednesday, June 13, 2012 4:15 PM
To: Tapestry users
Subject: Re: [5.3] JSONArray Error while submitting forms
This is cra
45 matches
Mail list logo