>>> when some operation was done in my page (actually ,updating data in
>>> database),data in page refreshed, but data in layout component don't
>>> refresh.
If you are getting old data in the layout but new data in the page
then there is something holding on to the data in the layout.
Are you up
hey, friend, I want to know how to get a not cached version of my page
On 2010-9-21 10:45, Thiago H. de Paula Figueiredo wrote:
On Mon, 20 Sep 2010 23:23:21 -0300, Fanzhen
wrote:
Have a layout component which used by pages , and in layout
component there are some data operation related t
just as what you do in your page ,
1, inject tapestry or spring service which will be used pull data from
your database or something else;
2, define @property or getXXX() method which will be displayed in your
component tml .
3, and at last just use what you have defined in your component .
How are you getting the data the data in your layout? Can you provide some code
as an example?
-- Josh
On Sep 20, 2010, at 7:23 PM, Fanzhen wrote:
>
> Have a layout component which used by pages , and in layout component there
> are some data operation related to finding and showing some dat
On Mon, 20 Sep 2010 23:23:21 -0300, Fanzhen
wrote:
Have a layout component which used by pages , and in layout component
there are some data operation related to finding and showing some data
from database. the problem is that ,
when some operation was done in my page (actually ,updating
Have a layout component which used by pages , and in layout component
there are some data operation related to finding and showing some data
from database.
the problem is that ,
when some operation was done in my page (actually ,updating data in
database),data in page refreshed, but data in
Just wanted to say that I've found debugging T5.2 apps very difficult
because:
- fields in page classes are null due to the new approach to page sharing
- line numbers in page classes are off (may or may not be related to the
fact that our pages are written in Groovy)
How about enabling page poo
Markus-
You can inject ComponentResources, pass the zoneId and eventlink to
your javascript method with a JSONObject in your javascript
initializer call , and then call the tapestry zone update via client
side javascript.
Example Java Code:
@Inject
private ComponentResources resources;
@Environ
I have a "dialog" on a page which has some eventlinks that are
triggering serverside actions via ajax requests.
When some conditions are met, the server will decide to close the
dialog and update a zone in the page.
That requires to send the javascript close command and a zone update
to the browser
Thank you! I think that's exactly what I was looking for.
Mike T
On Mon, Sep 20, 2010 at 1:39 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Mon, 20 Sep 2010 14:16:13 -0300, Michael Taylor
> wrote:
>
> Greetings Tapestry Users,
>>
>
> Hi!
>
>
> I’m wondering what is the
Those are great comments; I had thought about imported JS libraries
"dragging in" a stack and I can't remember why I abandoned it. Perhaps
I was trying to be properly agile (don't implement it until there's a
need).
You case is interesting; a piece of code that blindly imports a JS
that is already
On Mon, 20 Sep 2010 14:16:13 -0300, Michael Taylor
wrote:
Greetings Tapestry Users,
Hi!
I’m wondering what is the best way for a component class to import an
externally hosted javscript library?
I haven't had the time to play with Tapestry 5.2 yet (sad!), but you can
get a JavaScript
Greetings Tapestry Users,
I’m wondering what is the best way for a component class to import an
externally hosted javscript library?
I know that if I want to import a JS file from within my own project I can
use the org.apache.tapestry5.annotations.Import annotation, and tapestry
will make sure
I've created my first stack, and I'm slightly puzzled about the value of this -
or maybe I've simply done something wrong.
The stack mechanism doesn't seem to be removing duplicate javascript references
as I was expecting it to do. Tapestry JS has always worked on a component
requesting the JS
hi lutz,
the use of the 'post' method for the form is hardcoded. the easiest way to
change this is to have some client-side script that rewrites the method
attribute to 'get'. an alternative you could have a heartbeat that
rewrites the generated HTML server-side (take a look at the Label
compo
There's something missing here. How are you submitting the form?
--
View this message in context:
http://tapestry-users.832.n2.nabble.com/Radio-button-and-submit-tp5547402p5549978.html
Sent from the Tapestry Users mailing list archive at Nabble.com.
-
You can listen for the FORM_PREPARE_FOR_SUBMIT_EVENT or
FORM_PROCESS_SUBMIT_EVENT in prototype, for before the zone gets updated. Or
if you use a mixin on the form (or any component in the zone) the mixin
initialization gets run on zone update with the new id.
--
View this message in context:
ht
> -Original Message-
> From: Howard Lewis Ship [mailto:hls...@gmail.com]
> Sent: 17 September 2010 22:31
> To: Tapestry users
> Subject: Re: [T5.2] JavaScript combination
>
> On Fri, Sep 17, 2010 at 9:20 AM, Blower, Andy
> wrote:
> > A few questions:
> >
> > Is there any documentation o
Thanks Thiago, that's just what I was looking for.
I'm curious about what you're trying to accomplish here. :)
>
I'm essentially trying to build a managed flow of pages. I have some core
workflow functionality but it varies across different apps and would like to
centralise the configuration in a
Try to explicitly send as plain-text. Could be that your mail client sends as HTML in response to
existing threads.
Uli
On 18.09.2010 16:47, Igor Drobiazko wrote:
Hm, this one was not rejected. I cannot reply to mails in the other thread.
On Sat, Sep 18, 2010 at 4:45 PM, Igor Drobiazkowrote:
20 matches
Mail list logo