Em Tue, 28 Oct 2008 06:04:02 -0300, Joel Halbert <[EMAIL PROTECTED]>
escreveu:
Well, typically loading model data, which I would want to do from a
single place, once the onActivate method(s) had been called.
Well, the onActivate methods are the ones meant to load data. Take a look
at this
Well, typically loading model data, which I would want to do from a
single place, once the onActivate method(s) had been called.
Thiago H. de Paula Figueiredo wrote:
Em Sun, 26 Oct 2008 11:24:52 -0300, Joel Halbert
<[EMAIL PROTECTED]> escreveu:
Is there a lifecycle method which is called afte
Em Sun, 26 Oct 2008 11:24:52 -0300, Joel Halbert <[EMAIL PROTECTED]>
escreveu:
Is there a lifecycle method which is called after onActivate but before
any of the event handling methods or page rendering methods?
The answer depends on what are you trying to accomplish. :) Could you give
an
Is there a lifecycle method which is called after onActivate but before
any of the event handling methods or page rendering methods?
--
SU3 Analytics Ltd
61b Oxford Gardens
W10 5UJ
London
Tel: +44 20 8960 2634
Mob: +44 75 2501 0825
www.su3analytics.com
SU3 Analytics Ltd is a company registered
This behavior is correct.
Page2 is attach to the request because of the PageLink component.
The PageLink component (or rather, the LinkFactory service behind the
scenes) obtains an instance of Page2 so that it can fire the
"passivate" event on it.
http://tapestry.apache.org/tapestry5/tapestry-c
Hi all,
I'm using 5.0.4, I have two pages, Page1 and Page2, similar to this:
Page1.html
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"; >
Page 1
Page 2
Page2.html
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"; >
Page 2
Page 1
where both pageAttached() and pageDetached() ju
Kopie
Thema
RE: T5 Script component [WAS: Re: T5 page lifecycle]
On Tue, 2007-05-29 at 09:36 +0200, Kristian Marinkovic wrote:
> instead of resolving the path to your resource manually you can
> use the asset service (useful when thinking of portlets)
What exactly is the advantage of
kris
>
>
>
>
>
>
>
> Martin Grotzke
> <[EMAIL PROTECTED]>
>
> 26.05.2007 14:40
> Bitte antworten an
> "Tapestry users"
>
>
>
>
>
>An
> Tapestry users
>
>
t.toClientUrl())
}
@Component(parameters={"src=context:js/mainFunction.js"})
Script script;
g,
kris
Martin Grotzke <[EMAIL PROTECTED]>
26.05.2007 14:40
Bitte antworten an
"Tapestry users"
An
Tapestry users
Kopie
Thema
T5 Script component [WAS: Re: T5 page
thanx, good to know that.
Although, I prefer having a template that can be further developed by
page designers, so I wrote a Script component that can be used like
this:
The script component class:
public class Script {
@Inject
private Request _request;
@Parameter(required = t
Yes, you can. The AssetSource service is public, so you can ask it for a
dynamically determined service.
In 5.0.5 snapshot, you can do the following:
@Inject
private Request _request;
public Request getRequest() { return _request; }
public String getLibraryPath() { return ... }
And in the te
On Fri, 2007-05-25 at 07:54 -0700, Howard Lewis Ship wrote:
> There isn't a component, but you can in your page or component class:
>
> @Inject @Path("context:js/main_functions.js")
> private Asset _library;
is it possible to set the "js/main_functions.js" dynamically
via java, or retrieve it from
There isn't a component, but you can in your page or component class:
@Inject @Path("context:js/main_functions.js")
private Asset _library;
@Environmental
private PageRenderSupport _renderSupport;
void beginRender() {
_renderSupport.addScriptLink(_library);
}
... yes this can/should be wrapp
On Thu, 2007-05-24 at 16:36 -0700, Howard Lewis Ship wrote:
> Need an ls -lR of src/main/webapp
>
> I suspect you have a link to a .js file that doesn't exist. If it did
> exist, the request would be passed off to the servlet container. Since it
> doesn't, and it looks like a Tapestry page reques
Need an ls -lR of src/main/webapp
I suspect you have a link to a .js file that doesn't exist. If it did
exist, the request would be passed off to the servlet container. Since it
doesn't, and it looks like a Tapestry page request, it's being passed into
Tapestry.
On 5/24/07, Martin Grotzke <[EMA
On Thu, 2007-05-24 at 10:42 -0700, Howard Lewis Ship wrote:
> I suspect there's a conflict between your page name, and a folder of your
> web application. How about an ls -lR of your context folder?
Is the context folder what is specified with the context-param
"tapestry.app-package"?
Then here i
I suspect there's a conflict between your page name, and a folder of your
web application. How about an ls -lR of your context folder?
Does main_functions.js exist and if so, where?
On 5/24/07, Martin Grotzke <[EMAIL PROTECTED]> wrote:
Hello,
I have a simple search page with an input field (
Hello,
I have a simple search page with an input field (query) and a submit
button.
The submit implementation returns a page link to receive a bookmarkable
page (with pagename and query param), and the onActivate(String) then
performs a search for the query.
Although, the onActivate(String) is c
18 matches
Mail list logo