You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by JoeMayo <yk...@gmail.com> on 2008/12/18 19:21:09 UTC

How to refresh a component in a different html file

Hey, I have a small question in Tapestry.
I need to know how to refresh a component in a different html file than the
one I update from. 
I have border.html which render inside some other html files (the border
holds the header and the footer and the others hold the content between
them). When the content files are being updated, only their content is
refreshed but not the content of border.html. 

Now, in one of those content files I update a component in border.html, but
as I said before, border.html is not refreshed (only for example when I
change a tab in border.html, which causes it to refresh). I cannot refresh
on demand because I can't access that component from the content html files
since it's a different html file (the component is in border.html and I
update it from another html file). 

BTW - border.html is refreshed only when I refresh the browser (f5)

Any ideas? hope I was clear. 

Thanks.
-- 
View this message in context: http://www.nabble.com/How-to-refresh-a-component-in-a-different-html-file-tp21078237p21078237.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to refresh a component in a different html file

Posted by olip <ol...@googlemail.com>.
Hey JoeMayo,

I am currently having the same problem. I use the onEvent component and have
a event handler for it. The eventhandler refreshes the page but my layout
component (which surrounds the page...such in the tapestry tutorial for
nonbelievers the layout.tml component) gets not refreshed every time the
page gets refreshed. Sometimes it gets refreshed sometimes not.

Greetings Oli

JoeMayo wrote:
> 
> 
> Hey, I have a small question in Tapestry.
> I need to know how to refresh a component in a different html file than
> the
> one I update from. 
> I have border.html which render inside some other html files (the border
> holds the header and the footer and the others hold the content between
> them). When the content files are being updated, only their content is
> refreshed but not the content of border.html. 
> 
> Now, in one of those content files I update a component in border.html,
> but
> as I said before, border.html is not refreshed (only for example when I
> change a tab in border.html, which causes it to refresh). I cannot refresh
> on demand because I can't access that component from the content html
> files
> since it's a different html file (the component is in border.html and I
> update it from another html file). 
> 
> BTW - border.html is refreshed only when I refresh the browser (f5)
> 
> Any ideas? hope I was clear. 
> 
> Thanks.
> -- 
> View this message in context:
> http://www.nabble.com/How-to-refresh-a-component-in-a-different-html-file-tp21078237p21078237.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: http://n2.nabble.com/How-to-refresh-a-component-in-a-different-html-file-tp1674160p1677670.html
Sent from the Tapestry Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org