Hello,
I need to retrieve the session ID (JSESSIONID) from IRequestCycle. Is there
way to do that ?
Would be nice if someone have the solution of this non-urgent problem.
Cheers,
Didier
Hi,
I would like retrieve a tapestry specification definition (.page) and the
template (.html) from a database.
For doing that, I create a class that implements
ISpecificationResolverDelegate.
The method findPageSpecification must return a IComponentSpecification. So I
instanciate a
Hi,
I would like retrieve a tapestry specification definition (.page) and the
template (.html) from a database.
For doing that, I create a class that implements ISpecificationResolverDelegate
.
The method findPageSpecification must return a IComponentSpecification. So I
instanciate a
);
AssetSpecification template = new AssetSpecification();
??? how to fill the asset with a String retrieved from a database ???
template.setLocation(new DescribedLocation(spec.getSpecificationLocation(),
));
spec.addAsset($template, template);
Any idea ?
D.
2006/12/1, Tapestry User List [EMAIL PROTECTED
=tapestry.page.SpecificationResolverDelegate
create-instance
class=com.vms.infrastructure.tapestry.DatabasePageResolver /
/implementation
Tapestry User List wrote:
IComponentSpecification spec = new ComponentSpecification();
spec.setComponentClassName(CommonPage.class.getName());
Resource
Hello,
It seems nobody has ever been able to implement the ITemplateSourceDelegate
interface.
Does it mean that it is simply not possible ?
I tried to implement this interface but as others people, I got a
NullPointerException in the method TemplateParser.addTextToken().
Here my code:
public
);
}
}
2006/12/11, Tapestry User List [EMAIL PROTECTED]:
Hello,
It seems nobody has ever been able to implement the
ITemplateSourceDelegate interface.
Does it mean that it is simply not possible ?
I tried to implement this interface but as others people, I got a
NullPointerException in the method
Hi,
Happy new year
I have created a class that implements ServletContextListener.
In the method public void contextDestroyed(ServletContextEvent event),
I need to retrieve an Application State Object (ASO) of tapestry 4
with an application scope (not session).
My question is how to
Ben
-Original Message-
From: Tapestry User List [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 04, 2007 8:45 AM
To: tapestry-user@jakarta.apache.org
Subject: how to retrieve an Application State Object (ASO) with an
application scope from the ServletContext ?
Hi,
Happy new
ServletContextListener you can just call
MyApplicationObject.getInstance().
Not the prettiest solution but I believe this would work.
Ben
-Original Message-
From: Tapestry User List [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 04, 2007 9:19 AM
To: Tapestry users
Subject: Re: Re: how to retrieve
and if you add this method in your subclass :
public void pageValidate(PageEvent event) {
super.pageValidate(event);
}
I think that should work.
All the best,
D.
2007/1/18, Stephane Decleire [EMAIL PROTECTED]:
Hi,
Yes, your persistent properties will be available in all your
i meant:
public void pageBeginRender(PageEvent event) {
super.pageBeginRender(event);
}
2007/1/18, Tapestry User List [EMAIL PROTECTED]:
and if you add this method in your subclass :
public void pageValidate(PageEvent event) {
super.pageValidate(event);
}
I think
Hi !
I'm developing a Tapestry application. For adding a component library,
I need to edit the application xml file. I need to add dynamically a
library at the start of the web application. Is there a way to do that
programatically without editing the application xml file?
?xml version=1.0?
A way to resolve my problem would be to externalize the application
xml file. Is there a way to link an application xml file outside the
war ? So that I will be able to edit this file.
Redeploy the war is not a issue if the application xml file is changed.
D.
2007/2/20, Tapestry User List
is I can't mofify the application
xml file because it is in a war file. So I would like to add the
component library either dynamically or by externalizing the
application xml file outside the war file and link it.
Hope it helps to understand my problem.
D.
2007/2/20, Tapestry User List [EMAIL
ok kiuma, I will have a look. Thanks. D.
2007/2/20, Andrea Chiumenti [EMAIL PROTECTED]:
Ok I think that what you need is here www.jfly.org.
ciao,
kiuma
On 2/20/07, Tapestry User List [EMAIL PROTECTED] wrote:
Let me explain why I need that:
I'm developing web application with the notion
Hi,
I have configuration data (hivemind.xml) which may change reasonably often,
and which I'd like to be able to change without rebuilding the war file.
What's the best way to make this available to HiveMind in Tapestry?
Is there a easy way to do that or do I have to subclass ApplicationServlet
That's what I did and it works pretty well. Thank you. D.
2007/3/6, Jesse Kuhnert [EMAIL PROTECTED]:
Subclass ApplicationServlet (or replace it).. There's not very much
code there to manage so it shouldn't be too bad.
On 2/21/07, Tapestry User List [EMAIL PROTECTED] wrote:
Hi,
I have
Hi all,
Some of compponents I use insert html code that I would like to remove
just before sending it to the client.
the code that i'd like to remove is in the header. it is a script declaration:
script type=text/javascript
19 matches
Mail list logo