Hi,
I was going through the Persistence mechanism implementations in
Tapestry 4.0.2 and came across the following behaviour:
--
For properties marked as @Persist("session"), the mutator(setter)
stores the value in a instance variable and also puts it into session
using
If all you are doing is serving js from your web context folder named
"/js/overlib.js" then I would do it like this:
On 9/27/06, Daniel Castro <[EMAIL PROTECTED]> wrote:
Guys,
I am trying to insert some javascripts, the overlib javascript, as an
asset
of my page
But when I test the overlib
Guys,
I am trying to insert some javascripts, the overlib javascript, as an asset
of my page
But when I test the overlib function and open the sourecode of the generated
page the corresponding that should have been writen is not
written.
How should I include my javascripts inside a page?
--
-
You'll find that all of the demo applications (workbench / timetracker ) in
tapestry4 all use iddy bitty little jetty.xml conf files to run them off of
as well. It's weird finding the right configuration at first but then
copying + pasting is a cinche ;)
On 9/27/06, D&J Gredler <[EMAIL PROTECTED]
I was able to do this recently without too much trouble by studying this
code (though I use HtmlUnit as the client, rather than Selenium):
http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java?view=markup
http://svn
Sorry for the newbie question (the FAQ for this mailing list is
empty?) but I've been banging my head on this wall for a bit.
I've written some small test Tapestry 4 applications and deployed to
Tomcat with no trouble. But what I'd like to do is to completely
embed the servlet engine in
How do you access validators from tapestry.valid (e.g.
tapestry.valid.UrlValidator) as opposed to tapestry.form.validator?
I would like to use the UrlValidator, but I'm not sure how. (Is there a way
to get validators=validators:url to work?
Here you go, it's pretty easy to change whatever you want if you take a look
at tapestrys core exception page configuration file (which you can of course
override with your own contribution values):
http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/descriptor/META-INF/t
Exactly. Then in your *.application file, put something like
and make sure that page has the API that tapestry's internal exception
page has. To save you the trouble, here's tapestry's exception page class:
public abstract class Exception extends BasePage implements
PageDetachListener {
Hi Jacob,
I don't have any didactic example to explain this well, but you can do this
like this:
For each component, you create a model, or a object that each component
receives and interact with him.
So, you create a component that receives a List of Objects, iterating over
then, and, depending
Thanks Steve.
So in Exception.html I could just have a
?
Thanks,
Greg
-Original Message-
From: Steve Shucker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 27, 2006 11:04 AM
To: Tapestry users
Subject: Re: Custom exception page
Look at tapestry's ExceptionDisplay component sou
HmmmCan you still post a bug in JIRA anyways? This sounds like a
possible bug in one the services. (be as detailed as possible about what you
did to have it happen, if that's possible..)
On 9/27/06, Christian Dutaret <[EMAIL PROTECTED]> wrote:
I was running my application with caching disab
I was running my application with caching disabled on my dev environment. If
I enable caching, then guess what... it works as expected (events are sent
only once when A changes). Amazing.
After a closer look, it seems that the updated event registration script is
sent with a different id (formEven
Look at tapestry's ExceptionDisplay component source. It uses something
called an ExceptionAnalyzer and also displays the contents of the
ExceptionDescription.getProperties().
I've got a custom exception page that writes to log4j. Here's what I
use to get the text:
public void logExcept
Can anyone help me out with a snippet of code? On my Exception.html/.page I
have a simple @Insert with getError(). Here's my code, but it doesn't provide a
nice traceback :(
public String getError()
{
ExceptionDescription[] Errors = getExceptions();
String err = "";
for (int
Hi all,
I am observing a very strange behavior with EventListener.
On a first example, I have a PropertySelection component that updates an
Insert component under onchange event using @EventListener annotation. Works
fine.
Now I have the same PropertySelection component (A), now updating anothe
Hi Mael,
thank you for your answer. Have you done this your self? In that case can
you share some example codes? It is much easier to understand how it should
work if I can follow the code.
thanks again,
Jacob
Mael Caldas-2 wrote:
>
> Hi Jacob,
>
> I Think you have to work on a model that rep
Thanks anyway!
I will just have to try out different libs and see if the problem somehow
sorts itself out ;-) It does not feel like a stable way of doing things but
I guess I have no alternative...
Thanks again!
On 9/27/06, D&J Gredler <[EMAIL PROTECTED]> wrote:
I'm on JDK 1.5, so that shoul
The problem happend when tapernates PersistanceStrategy tried to
rollback its state in the injected Page. The page was injected in the
form handler of the login form.
Injecting the page in the pageBeginRender method of the form page,
and cleaning up all persistent objects solved the problem
I'm on JDK 1.5, so that shouldn't be an issue.
The saxpath jar may very well be a dependency of one of the other gazillion
libraries I'm using :-)
I don't know what else to suggest...
On 9/27/06, Hajaansh <[EMAIL PROTECTED]> wrote:
Hi again D&J,
I am just looking at the versions I have. I am
20 matches
Mail list logo