i believe only @PageLoaded
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Which-phase-of-page-lifecycle-will-not-occur-when-we-access-page-2nd-time-tp5718142p5718143.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Ok then my question remains. How can I add new properties, is there any way
to add some custom properties or should I simply use System.setPropertie...
Also one other question what is the order of the model load?
AppModule, ExecutionModelus, SubModules defined in AppModule? Also does it
load ever
No, I'm saying you should analyze what values and/or services are needed in
each of your scenarios and Tapestry gives you the flexibility to
do exactly what you want or need.
On Tue, Nov 20, 2012 at 3:19 PM, bhorvat wrote:
> hm...so what you are saying is that I should not set a property that w
hm...so what you are saying is that I should not set a property that will be
used by other module, but instead copy the method into my 3 modules and make
it custom for them, right?
i guess the only problem that I have is code duplication
--
View this message in context:
http://tapestry.104571
This is what execution modes are about.
Execution modes map to modules; those modules are only loaded if the
execution mode is active. It is entirely for these particular kinds of
environmental customizations.
On Tue, Nov 20, 2012 at 3:14 PM, bhorvat wrote:
> I have a few execution environment
I have a few execution environments like prod, qa, dev and such and I want to
set a certain property based on that. Basically I want to set config
property progrematically inside QAMode,ProdMode and DevMode
@Contribute(HibernateSessionSource.class)
public void
addHibernateSessionSource(Ord
> ValidationTrackerImpl is final, so I cannot extend this class. But I found
ValidationTrackerWrapper class, maybe I should extend this?
Sounds good to me
> Do I set it as a persisted property?
It depends on which tapestry version you are using. Later versions of
tapestry will NOT need flash persi
ValidationTrackerImpl is final, so I cannot extend this class. But I found
ValidationTrackerWrapper class, maybe I should extend this?
I'm trying something like this:
public class ValidationFieldTracker extends ValidationTrackerWrapper {
private List fields;
public Valid
Actually, it's even easier... you don't need to worry about the
environmental.
1. Extend ValidationTrackerImpl and override the recordError() methods to
save the error fields
2. Pass your tracker to the form
3. Profit
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/
I know the tapestry team have been having troubles with yuicompressor, I'm
just not familiar to them myself. Please chime in anyone who knows more
about this.
Are you saying that rhino was already on your classpath? Is it a dependency
in your project or is it part of jetty? Run "mvn dependency:tre
Hmm I'm not sure I understand what you mean with, or how to achieve something
like that:
Lance Java wrote
> ValidationTracker is an environmental so you could wrap the existing
> ValidationTracker and push() the wrapper onto the environment and keep
> track of the fields this way.
Can you give m
I'm very sorry I wasn't clear enough. I assumed the mechanism you just
explained in detail now, thanks for clarifying it. The thing is that the
response from my the server was empty, it had nothing at all. Not even an
empty JSON structure.
I'm only wondering, where did the response indicate the li
Lance,
Indeed there was a problem with YUI compressor.
Removing file js-1.6R7.jar from the classpath, fixed the problem.
Regards,
Vladimir
-Original Message-
From: Lance Java [mailto:lance.j...@googlemail.com]
Sent: Tuesday, November 20, 2012 2:04 PM
To: users@tapestry.apache.org
Subjec
Select component with enabled ajax posts ajax request to the server-side.
Then server-side dispatches it to correspondent event handler and it
returns some value. Then this value goes to correspondent
ComponentEventResultProcessor and generates response markup. Then this
markup goes to client-side
You can extract li items with content to separate component, e.g MenuItem
with parameter 'page'. Inside this component you can get this parameter
value, check whether this page is allowed for current user and if yes then
render li with inner PageLink component. If no then render nothing. So it
will
It doesn't matter how these controls are rendered by normal request or by
zone update. They all will be rendered with fixed names and with errors
connected to them.
Just some rules to make this all work:
- place FixedControlName mixin on form or zone.
- define t:id attribute explicitly for all form
Hi Lance,
I use Tapestry 5.3.6
Thanks for pointing, I'll try.
Regards,
Vladimir
-Original Message-
From: Lance Java [mailto:lance.j...@googlemail.com]
Sent: Tuesday, November 20, 2012 2:04 PM
To: users@tapestry.apache.org
Subject: Re: Problem in Production mode
What version of tapestry
Will try that again (nabble ate my XML)
What version of tapestry are you using?
My guess is that it's either the GZIP filter or YUI compressor that are
causing this problem. I'd start by turning them off one at a time to find
the culprit.
Disable YUI compressor in pom.xml
Disable GZIP here:
ht
What version of tapestry are you using?
My guess is that it's either the GZIP filter or YUI compressor that are
causing this problem. I'd start by turning them off one at a time to find
the culprit.
Disable YUI compressor in pom.xml
Disable GZIP here:
http://tapestry.apache.org/configuration.h
19 matches
Mail list logo