Anyone?
9902468 wrote:
>
> Hi again list,
>
> I'm trying to implement features that need to modify response with a
> filter. Currently my biggest (and only as far as I can tell) problem is
> that T5 flushes the response in PageResponseRendererImpl.
>
> Thus the response is sent to client befo
i use validator like below. how to allow accept of value range 0.00 -->
5,000,000.000 , with "comma" ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Dear all,
I written a small blog post to evangelize people about T5 here:
http://joshuajava.wordpress.com/2008/08/21/why-you-should-consider-tapestry-
5/
Please give me some feedback to make this post even better.
Thanks in advance
IMPORTANT NOTICE:
The information in this email (and any attac
Ben Wong wrote:
> I decided against the dispatcher approach for the reasons ville.virtanen
> brought up. The dispatcher will have to know what pages are secured and
> which aren't.
>
>
Whatever authentication system you use will be burdened with the same
issue. After all it is a critical var
Hi,
I'm using request filters for this right now. It's a pretty good
approach imo, and it's easy to get the security configuration from
wherever you want. My applications aren't that complex so I get by with
annotations on my page classes, but you could easily get this from
somewhere else, li
Yea - to quote you from http://issues.apache.org/jira/browse/TAPESTRY-647
"Which just goes to show why using exceptions for this kind of control
flow really is a bad idea! I'll fix it on my next framework, promise!"
:)
On Wed, Aug 20, 2008 at 3:45 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
See the PageValidateListener interface
Implement that and move the redirect logic into
void pageValidate(PageEvent event);
On Wed, Aug 20, 2008 at 1:24 PM, Jim <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have PageA throwing a PageRedirectException to PageB in its
> pageBeginRender, and PageB throwi
Thank you for the answer. I'll post a message if I should stumble across any
interesting findings.
thanks,
Arve
2008/8/20 Howard Lewis Ship <[EMAIL PROTECTED]>
> This is very odd; it certainly is not something inside Tapestry. I
> would look into what's going on with Maven and Jetty.
>
> Maven
This is very odd; it certainly is not something inside Tapestry. I
would look into what's going on with Maven and Jetty.
Maven may be trying to "filter" the .tml file before Jetty deploys it;
if possible, switch to an exploded WAR format and see exactly what
file is in the exploded WAR ... it may
See http://wiki.apache.org/tapestry/Tapestry5HowToUseForms
Martijn
On Wed, 2008-08-20 at 19:43 +0300, Argo Vilberg wrote:
> hi,
>
> How to handle two different submit buttons click in tapestry.
> @OnEvent(value="submit", component="search")
> void onFormSubmit2()
> {
> }
>
>
>
hi,
How to handle two different submit buttons click in tapestry.
@OnEvent(value="submit", component="search")
void onFormSubmit2()
{
}
@OnEvent(value="submit", component="search")
void onFormSubmit3()
{
}
How t
Hi,
I am using tapestry 4.1.5 and sometimes my app does not react any more and
the browser will just keep loading the page.
The logging will only show
DEBUG [RequestGlobals] Constructing core service implementation for service
tapestry.globals.RequestGlobals
And nothing else happens. I
I decided against the dispatcher approach for the reasons ville.virtanen
brought up. The dispatcher will have to know what pages are secured and
which aren't.
I am using Acegi with Tapestry. I know not everyone uses Acegi, but my
approach (just to share) is to have Acegi handles authorization
Can you give me some guidance on this? I implemented the code as described
in the wiki but the AppModule does not catch the RedirectException? I like
the PageAttached approach over the onActivate but I cannot seem to get the
page redirected. Once again, I am using the tapestry-spring filter, not
Em Wed, 20 Aug 2008 11:55:03 -0300, Markus Joschko
<[EMAIL PROTECTED]> escreveu:
Just want to throw in a non security related use case. Imagine a
wizard where the user jumps to the url of step3 before completing
step1.
A dispatcher approach would be overkill and the onactivate method
seems to
Just want to throw in a non security related use case. Imagine a
wizard where the user jumps to the url of step3 before completing
step1.
A dispatcher approach would be overkill and the onactivate method
seems to be only called if an context is provided which is not
necessarily the case. How should
I love the dispatcher approach for this, I like it simply because it removes
security concerns from pages and is lightweight and customizable.
- Original Message -
From: "9902468" <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Wednesday, 20 August, 2008 4:30:05 PM GMT +02:00 At
On a side note, it's a bad thing to hard code allowed roles to page, we use a
service that is queried if this role is allowed to access this page (Or
execute this action.). That way we can have role - rights matrix that can be
administrated by the super user of the system. (Info can be on a file o
hi all,
I'm presenting data from my domain-model in a grid, and run into some odd
behavior in this circumstances:
>From the domain-model - Person.java:
public class Person implements Serializable, Comparable
{
...
private String id;
public String getId()
I've used Spring with T4 and it has it's merits, but Spring was outvoted for
our two next projects as the projects are small scale and there is always
overhead when using spring. (Trying to keep the technology stack as small as
possible to make "clean" software.)
So we have to make do with T5 + i
Not exactly an answer to your problem but I debug "mvn jetty:run" through
eclipse as an external tool and it works nicely. If you can't get the jetty
launcher to work properly you might want to try this
Toby
2008/8/20 torput <[EMAIL PROTECTED]>
>
> I was trying this tutorial:
> http://tapestry.a
Em Wed, 20 Aug 2008 09:38:36 -0300, 9902468 <[EMAIL PROTECTED]>
escreveu:
One possibility yes, but that approach requires to keep a list of secured
pages to allow un-authorized users access non-secure pages.
(Pages could of course be annotated to be secure or use marker
interface.)
That's
Hi all,
I'm experiencing a little problem with special characters (áãéõó...
and so on) after I switched to T 5.0.14: some files, mainly properties
files, are not displayed properly when they are loaded to my pages.
Since I'm running on a windows machine, all my files are saved in ANSI
by default.
One possibility yes, but that approach requires to keep a list of secured
pages to allow un-authorized users access non-secure pages.
(Pages could of course be annotated to be secure or use marker interface.)
And your approach occurs earlier in the request cycle... Thanks for the
pointer!
-99
Em Wed, 20 Aug 2008 08:23:12 -0300, 9902468 <[EMAIL PROTECTED]>
escreveu:
I have also noticed that onActivate is a bad place to check general
access rights as you cannot be sure that the check implemented to base
class is not overridden or if developer uses one of the
onActivate(param) va
On Wed, Aug 20, 2008 at 2:45 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> Using exceptions for control flow was never one of Tapestry great
> ideas; that's why its gone in Tapestry 5. Exceptions are exceptions,
> representing things that have failed.
>
> In any case, the activate event is a
I personally do use exception if user does not have enough rights, after all,
that is exception, and not the intended flow of usage. (And is usually sign
that someone is trying to gain rights that are not intended for that
person.)
I have also noticed that onActivate is a bad place to check gener
Hi again list,
I'm trying to implement features that need to modify response with a filter.
Currently my biggest (and only as far as I can tell) problem is that T5
flushes the response in PageResponseRendererImpl.
Thus the response is sent to client before my filter can manipulate response
after
Hello,
I have PageA throwing a PageRedirectException to PageB in its
pageBeginRender, and PageB throwing a PageRedirectException to PageC in
its pageBeginRender. However, PageB's PageRedirectException is
resulting in the Tapestry exception-page, without trying to render PageC
-- the exceptio
I have had some time to revisit the form fragment today. It seems that for a
hidden form fragment section to bypass server side validation client side
validation MUST be enabled.
Is there any way to get a hidden form fragment with required fields to
bypass server side validation on submit?
It m
Sven Homburg wrote:
>
> give the showCenter methode the parameter value "true" and it should works
>
> 2008/8/20 Daniel Alonso Sanchez <[EMAIL PROTECTED]>
>
>>
>>
>>
>> # click here for modal
>> window
>>
>>
>> Sorry for disturbing again, but inside my js function called ShowWindow2
>> i
>> h
Where is the link???
2008/8/20 Angelo Chen <[EMAIL PROTECTED]>
>
> [EMAIL PROTECTED]
> (let's talk only about tapestry 5 in this forum, in English too)
>
>
> 孟凡振 wrote:
> >
> > Firstly,thank u for your suggestion!!
> >
> > 学习是一个过程,不管你现在多牛x,你也是从中国式的英语过度过来的吧,呵呵。况且,俺还不知道您的英语如何。
> > 我只是一个刚毕业的学生,有了想法,
Sven Homburg wrote:
>
> # click here for modal
> window
>
# click here for modal
window
Sorry for disturbing again, but inside my js function called ShowWindow2 i
have the following code
function showWindow2(idSeccion )
{
${window2.componentResources.id}.setTitle("Ayuda")
give the showCenter methode the parameter value "true" and it should works
2008/8/20 Daniel Alonso Sanchez <[EMAIL PROTECTED]>
>
>
>
> # click here for modal
> window
>
>
> Sorry for disturbing again, but inside my js function called ShowWindow2 i
> have the following code
>
> function showWindo
# click here for modal
window
Sorry for disturbing again, but inside my js function called ShowWindow2 i
have the following code
function showWindow2(idSeccion )
{
${window2.componentResources.id}.setTitle("Ayuda");
${window2.componentResources.id}.setURL("${generar
click here for modal
window
2008/8/20 Daniel Alonso Sanchez <[EMAIL PROTECTED]>
>
> Hi again to everybody, i have came back again with more doubts and
> questions
> %-|
>
> I'm using the Window class of t5components, but i have a problem: i wan't
> partial behaviour of GoogleWindow sample (disab
Hi again to everybody, i have came back again with more doubts and questions
%-|
I'm using the Window class of t5components, but i have a problem: i wan't
partial behaviour of GoogleWindow sample (disabled background), but with the
behaviour of the others (not automatically open, just manually).
Actually, I've been doing it. XHR doesn't. But there's a trick you
can pull. You set the target attribute of the form tag to a hidden
iframe on the page and DON'T do XHR. Normal form submission. The
effect is somewhat the same, but you don't have a client-side
javascript callback once the subm
I was trying this tutorial:
http://tapestry.apache.org/tapestry5/tutorial1/env.html
But with runjettyrun and also newer versions of other required tools.
When I try to run the tutorial1 inside Eclipse, this is what I get. Any idea
what I should do?
[INFO] mortbay.log Logging to
org.slf4j.impl.
Antonio Ordoñez wrote:
Hallo everybody.
My question is about how could I implement a recursion in tapestry 5?
Tapestry does not support recursion. It's a pity, especially for your
very use case, but according to Howard, it's a design choice that brings
simplicity, scaling possibility and other
40 matches
Mail list logo