http://tapestry.apache.org/tapestry5/tapestry-core/guide/rendering.html
On Tue, Jul 22, 2008 at 5:19 AM, Toby Hobson [EMAIL PROTECTED]
wrote:
Hi
Could anyone tell point me to some docs about T5's component lifecycle? I
know there are methods like pageLoaded and onActivate available to pages,
Thanks, Kalle. I'll look into Tacos.
You're right about 0.4.3. It has worked extremely well for me too. But
I've run into a serious problem with event.connect that is most likely a
bug. I don't want to get into what I suspect will be extremely
time-consuming debugging against such an old
Hi Sven,
I tried to extend the GoogleWindow component from the demo and I added the
following method
public void show()
{
getPageRenderSupport().addScript(%s.show%s(%s);, getClientId(), isCenter()
? Center : , isModal());
}
I am calling this method from an ActionLink method that uses
try to add the RenderSupport to your own class
@Environmental
private RenderSupport renderSupport;
public void show()
{
renderSupport.addScript(%s.show%s(%s);, getClientId(), isCenter() ?
Center : , isModal());
}
i hope its helps you
2008/7/22 Petros Petrou [EMAIL PROTECTED]:
Hi Sven,
I
Hi - partly due to the recent interest and partly due to our own desire to
eventually upgrade to a newer dojo version, i've resumed work on this as well
since today...
Interestingly, i've selected to work and finish tacos-jquery first,
the idea being that
fully integrating another library will
Hi Sven,
I had already tried this and is the same problem. However, I just realized
that I am getting this exception whenever I use @Environment even without
using the Window component. I don't know why. I'll post another message
specific to that problem.
Thanks,
Petros
Sven Homburg
I have the following code
Test.java
@Environmental
private RenderSupport renderSupport;
@OnEvent(value = action, component = openWindowActionLink)
void onActionFromOpenWindowActionLink()
{
renderSupport.getClass();
}
Test.tml
aa t:id=openWindowActionLink
wich version of tapestry are you using (5.0.??)
2008/7/22 Petros Petrou [EMAIL PROTECTED]:
I have the following code
Test.java
@Environmental
private RenderSupport renderSupport;
@OnEvent(value = action, component = openWindowActionLink)
void
the RenderSupport service is only available during
the render phase (page rendering)
you are trying to access it during the component event
phase
(i hope i used the correct terms :))
g,
kris
Sven Homburg [EMAIL PROTECTED]
22.07.2008 14:44
Bitte antworten an
Tapestry users
Hi,
I want to add a new property editor to show a dropdown-select from a Java List
of Strings.
I dont know where to put my AppPropertyEditBlocks.java and
AppPropertyEditBlocks.tml files.
If I put them under my services, I get the error:
remove does not appear to work:
t:grid t:source=allDigitalItems t:reorder=article, issue,title
t:remove=id t:row=listItem
t:parameter t:name=articleCell
t:PageLink t:page=details t:context=listItem.id
${listItem.article}
Hallo everybody.
My question is about how could I implement a recursion in tapestry 5?
exactly in a tree component. I have a collection of nodes with a Node
father and a Collection children, then in the tml I have a loop and
check if the actual node is father or not, but I want execute again
Hmm. It looks like there's some old stuff floating around the site. That is
an old component listing.
Go to http://tapestry.apache.org/tapestry5/tapestry-core/
And then go to components, and then to Grid. You will wind up here:
Thanks Kris/Sven,
The version I am using is 5.0.13.
Kris, if I am understanding your explanation correctly this means I have no
way of using this code
renderSupport.addScript(%s.show%s(%s);, window1.getClientId(), isCenter()
? Center : , isModal());
within an action method ?
PS: This is my
You need to rewrite your recursive approach as a non-recursive one.
Take a look at the wiki for the Tree component:
http://wiki.apache.org/tapestry/Tapestry5TreeComponent?highlight=%28Tapestry
5%29
The code is a bit out of date because of changes to the handling of
Javascript, but you can see
hi petros,
right... you can't use it in an onAction method (component event
method)
a possible solution is to save some informaton in a persistent
field (session or flash) that is then evaluated during the render
phase.
as you know, after each component event t5 performs a redirect
to
Hi, fixed my problem:
div xml:space=default
xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
t:block id=dropdown
t:label for=selectList/
t:select t:id=selectList model=selected/
/t:block
/div
and the files are under my pages directory.
Thanks and bye,
Mark
Hi,
I want to
Hi
I have noticed some strange behavior with the ratingField component - if i use
it within a block which is rendered inside a zone the star's no longer appear
and it defaults back to a regular radio group e.g.
t:block t:id=block
t:form t:id=form
div
Hi all,
I have two questions/issues with tapestry-hibernate integration:
1) In my app, I am getting a java.net.SocketException: Broken
pipe at java.net.SocketOutputStream.socketWrite0 exception (I am using
MySQL, btw) after the site has been up for a while. I have tried
several
Hi.
How can I access the web session (class javax.servlet.http.HttpSession) from
a Tapestry4.0 page ? I want this page to place a parameter in the session,
which will be used by another servlet in my app.
Thanks,
Leonel
--
View this message in context:
Have you tried injecting HttpServletRequest into your page, then
use HttpServeltRequest.getSession() ?
@InjectObject(service:tapestry.globals.HttpServletRequest)
public abstract HttpServletRequest getServletRequest();
Shing
--- On Wed, 23/7/08, leonelag [EMAIL PROTECTED] wrote:
Hi,
It's exclude all right - the component reference seems to be outdated.
When in doubt, check the source code.
Anyhow, add and remove were renamed to include and exclude, respectively
some time ago. There's no change in functionality.
-Filip
On 2008-07-22 16:42, [EMAIL PROTECTED] wrote:
22 matches
Mail list logo