Thanks Geoff.
That is the first idea i came up with and i think that it works.
But Howard has worked hard to let us use any simple POJO as pages ;-).
Is there any other solution to have a common check on the pages
activation event without extending a common subclass ?
Stephane
Geoff Callende
Thanks Josh,
I think that your solution is the best but also the hardest way !
Checking every properties in every pages ... wooahh !
Would not it be very handy to have the framework raise an event in case
of a session loss (for example as for a 404 error) that we could catch
to simply redirect
I have wrote a simple test with AbstractIntegrationTestSuite and selenium.
I run my test with TestNG within eclipse, but I got the folloing message all
the time.
^^
Starting Jetty instance on port (/ mapped to
/Users/stellit/Documents/workspace/ajax-test/src/main/webapp)
[WARN] WebA
How about this:
public static stripExceptionPrefix(String message) {
return message.substring(message.indexOf(":")).trim();
}
Stick that somewhere and just use that?
-Filip
On 2008-04-12 05:29, Bill Holloway wrote:
In using onException, I send the resulting string to a conditionally-s
On Tue, Apr 8, 2008 at 7:24 PM, Robin Helgelin <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 8, 2008 at 7:07 PM, Dave Dombrosky <[EMAIL PROTECTED]> wrote:
> > Is there still no solution to this problem? I am also trying to
> > override the default SaltSource, but the tapestry5-acegi package
> > al
Hi,
webdefault.xml is the web.xml for your test application, so you need to
provide one and set the tapestry.app-package context parameter etc.
-Filip
On 2008-04-12 12:47, Stellit wrote:
I have wrote a simple test with AbstractIntegrationTestSuite and selenium.
I run my test with TestNG with
Hi,
Yes, there is another solution. Use request filters:
http://www.mail-archive.com/users@tapestry.apache.org/msg21568.html
I use this approach. I check for an annotation on my page class in my
filters and act accordingly.
-Filip
On 2008-04-12 11:19, Stephane Decleire wrote:
Thanks Geoff.
Hello!
I changed my application to use the Index.tml instead
of Start.tml, because pagelink component for index page
renders www.mydomain.com/, which looks much better than
www.mydomain.com/start
However now there is a problem that all the invalid
tapestry URLs are rendered as my index page with
Hi.
I'm quite new to tapestry so it's maybe only a stupid newbie issue.
I created a new project with (copied from website):
mvn archetype:create \
-DarchetypeGroupId=org.apache.tapestry \
-DarchetypeArtifactId=quickstart \
-DgroupId=org.apache.tapestry \
-DartifactId=tutorial1 \
-Dpack
Hi Jakob,
You need to compile after making changes, even if the changes you made
does not involve any classes. This is so that the templates etc. can be
pushed to target/classes where Jetty looks for them.
Which IDE are you using?
-Filip
On 2008-04-12 13:46, Jakob Keres wrote:
Hi.
I'm qui
Hi Stephane,
I don't think that's a problem - POJOs can be subclasses (after all,
every class is a subclass indirectly of Object). What we're talking
about here is a shared behaviour and it seems to me entirely
appropriate to put the shared behaviour into a superclass.
It's not the only
Am Samstag, den 12.04.2008, 13:54 +0200 schrieb Filip S. Adamsen:
> Hi Jakob,
>
> You need to compile after making changes, even if the changes you made
> does not involve any classes.
OK.
> Which IDE are you using?
Eclipse - of course :)
Thx,
Jakob
--
Hi Friends,
please take a look at my blog about Java EE and my problems with it.
http://mhshams.blogspot.com/
--
sincerely yours
M. H. Shamsi
in my page validate method i use cycle to forward to another page. I did
"debugging" and it show the code does run fine. but i dont get the resut that i
want. the page doesnt get redirected
public void pageValidate(PageEvent event) {
if(getUserExists()){
Hi Jakob,
Also, which version of Jetty are you using? I don't believe there's a
way to get component reloading working yet with Eclipse + Jetty6,
although there is with Eclipse + Jetty5.
Andy
On Sat, 2008-04-12 at 13:46 +0200, Jakob Keres wrote:
> Hi.
>
> I'm quite new to tapestry so it's mayb
Sure, that'll work. I guess I was wondering if there were a built-in
feature to disable this or if something in the JVM were involved that
I could configure. I should've worded my question that way!
Thanks!
Bill
On 4/12/08, Filip S. Adamsen <[EMAIL PROTECTED]> wrote:
> How about this:
>
> pu
There are so many interesting replies over here. As for me I found this list
is very interesting. This is a great place where you can find a lot useful
information. Also if you can ask right question definitely you can get right
answer which is great. Anyway as Java developer my first technology wa
Am Samstag, den 12.04.2008, 11:28 -0400 schrieb Andy Huhn:
> Hi Jakob,
>
> Also, which version of Jetty are you using?
Jetty6 but...
> I don't believe there's a
> way to get component reloading working yet with Eclipse + Jetty6,
> although there is with Eclipse + Jetty5.
...it's working. I
Well, fortunately and unfortunately, that was it.
Thanks again, Peter, for finding my mistake. And sorry again for
cluttering up the list with my poor proofreading skills.
Andy
On Fri, 2008-04-11 at 12:41 -0400, Andy Huhn wrote:
> Oh, brother. If that's it, take my keyboard away from me. :o)
> I think that your solution is the best but also the hardest way ! Checking
> every properties in every pages ... wooahh !
:) Hehehe... yeah, I tend to lean towards correct over easy.
On Sat, Apr 12, 2008 at 2:24 AM, Stephane Decleire
<[EMAIL PROTECTED]> wrote:
> Thanks Josh,
>
> I think that
Your blog doesn't seem to be about Tapestry.
I believe there are standards, but the standards have boarders which may be
redefined as the standard evolves. What is inside the boarder will be
interoperable, What is outside is left to the implementer.
It is very possible to misunderstand the standard
Hi all,
I don't know if this functionality has been built into the zone component
yet (using 5.0.11 release), but what I'm trying to do is return additional
javascript along with html markup in an ajax response. Is this possible, and
if so how would one go about doing it?
And while I'm here, I'v
Hi guys.
I have implemented a new PersistentFieldStrategy (cookie based), and am
having just one problem...
@Inject
private RequestGlobals requestGlobals
isn't processed... and I know of no other way to get it into the strategy to
make it work (it is from the base package).
I don't care how
Hi,
I would like to keep a log of visits made by viewers, what page he goes,
from what IP he comes, etc. what is a good place to do this, a dispatcher?
or any good suggestions in adding a logging facility in T5? Thanks,
Angelo
--
View this message in context:
http://www.nabble.com/t5%3A-loggin
It's great that we have these workarounds to prevent leaving
ValidationTrackerImpl objects littered throughout the session, but I'm
having trouble understanding how it came to this. After all, I can't
think of a single case where I'd want a form's validation errors to be
retained after the
Hi Jakob,
Well, I tried what you mentioned, and it now picks up changes to my .tml
right away--definitely an improvement over before. I think I am seeing
the same problem you are seeing, though, because it is not picking up
changes to my page classes.
If I modify a page class and save in Eclipse
No, it doesn't about Tapestry.
its about my problems during migration from lightweight containers to the
Java EE standard world.
On Sat, Apr 12, 2008 at 11:27 AM, adasal <[EMAIL PROTECTED]> wrote:
> Your blog doesn't seem to be about Tapestry.
> I believe there are standards, but the standards
27 matches
Mail list logo