There are some docs about this here:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/event.html
To get the "success" event from the component named Form, use:
onSuccessFromForm()
To get the "submit" event from the component named Submit, so use:
onSuccessFromSubmit()
It's good practice
Hi,
SomePage.java:
...
public Object onSubmit() { System.out.println("Button1"); }
public Object onSuccess() { System.out.println("Button 2"); }
...
SomePage.tml:
...
...
localhost:8080/SomeTest/SomePage
How do you know, in java class, which button did you hit?
Console always display
Where is the book?
Can someone give me a copy? or the download url ?
2007/11/1, Eko S.W. <[EMAIL PROTECTED]>:
>
> I am sorry, but How can we use DateField in 5.0.6?
> I am so late on 5.0.6
>
> Thanks
>
> 2007/10/26, Ted Steen <[EMAIL PROTECTED]>:
> >
> > Very nice!
> > Dont forget to update the p
I am sorry, but How can we use DateField in 5.0.6?
I am so late on 5.0.6
Thanks
2007/10/26, Ted Steen <[EMAIL PROTECTED]>:
>
> Very nice!
> Dont forget to update the part about the DatePicker. It is now
> obsolete. T5.0.6 now includes a DateField as a part of the core.
>
--
Best wishes,
Eko SW
Woaw, can I had the PDF, or I must pay ?
thanks
my personal email is at [EMAIL PROTECTED]
--
Best wishes,
Eko SW
http://swdev.blogs.friendster.com/my_blog/
Basically, I want to be able to store my component .tml files in a database.
I've been looking at the code, stepping through the debugger, and it seems
that I need to implement org.apache.tapestry.ioc.Resource or perhaps extend
AbstractResource.
ClasspathResouce and ContextResource are classes that
Hi,
I got a list for a loop:
@Persist("flash")
private List files;
Questions:
1. do i have to files = new List() in my page constructor?
2. why this files never got empty, I can see it even from another browser?
how to empty this list?
Thanks,
A.C.
--
View this message in context:
http://w
hi,
solution is very simple, just check the extension in onValidate, if not jpg
recorderror, same as other validation.
Angelo Chen wrote:
>
> Hi,
>
> Is there a way to check if file selected by the user is a jpeg file name
> before the uploading starts? thanks.
>
> A.C.
>
>
>
--
View th
lalap,
Using the back/forward button on the browser invokes the browser's
internal caching mechanism and is largely beyond the scope of the
server (tapestry) to control. It is when the browser is *redirected*
back to that page or when the contents of that page are streamed back
to the browser fro
Any ideas as to when we might get a fix for this?
We're stuck in terms of migrating to 4.1.3 until we get a fix.
Thanks,
Dom
---
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the s
It's possible, but there are probably a couple things that need to be
addressed properly first. I think one of Drew's remaining wishes is
to see some of the static classes/configuration re-factored to be more
IoC friendly. I plan on doing this at some point but am still trying
to keep up with
Thank you very much both.
Fernando, I just voted for on bug. Will try to use the patch as well, as I
need namespaces.
Will keep you posted
regards
thanos
Fernando Padilla wrote:
>
> Yes you can output XML directly from the template with some caveats.
>
> 1) By default the contentType is "te
Hi All
I was just wondering if there is any way to add OGNL support to
Tapestry 5 or if there are any plans to do so. I am finding the prop:
quite limiting. I appreciate it does have extremly good performance
compared to OGNL but it would be nice to have the choice.
Would it be possible to have a
Hi,
Is there a way to check if file selected by the user is a jpeg file name
before the uploading starts? thanks.
A.C.
--
View this message in context:
http://www.nabble.com/T5%3A-file-uploader-validation-tf4725955.html#a13512340
Sent from the Tapestry - User mailing list archive at Nabble.c
Or just look on the wiki:
http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner
Cheers,
Nick.
Marcus wrote:
Hi Stephane,
search this forum for "*T5 How to Override the default banner message"
*
Marcus
Details of prop are here:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/parameters.html
Cheers,
Nick.
Peter Stavrinides wrote:
Thanks Chris, that helps answer my question.
Peter
Chris Lewis wrote:
I could be mistaken, but I think you'll find the "language", if you
can call it that
Yes you can output XML directly from the template with some caveats.
1) By default the contentType is "text/html", if you want to change that
you can override it by using this annotation on your page class file:
@Meta("tapestry.response-content-type=text/xml")
2) namespaces are totally ignored
Hi Stephane,
search this forum for "*T5 How to Override the default banner message"
*
Marcus
Hello!
I saw that you had some problems with forgetPage() method, and I was wondering
if you could please tell me how can I use this method, I’ve been searching a
lot on the Internet , but I did not find an exemple. I don’t even know if this
method will be useful to my problem…
So, the problem
Hello!
Id like to know how can I use the forgetPage() method, Ive been searching
a lot, but I did not find an exemple. I dont even know if this method will
be useful to my problem
So, the problem is when the user refresh/ back / forward the page, these
situations cant happen.
Thank
On 10/31/07, Galam <[EMAIL PROTECTED]> wrote:
> hi everyone,
Hi.
> Last time when I check the Tapestry mailing list was probably a year a go. I
> have been waited patiently for the arrival of Tapestry 5. Now, it seems it
> is almost there, but technologies evoves fast. Is Tapestry still a better
hi everyone,
Last time when I check the Tapestry mailing list was probably a year a go. I
have been waited patiently for the arrival of Tapestry 5. Now, it seems it
is almost there, but technologies evoves fast. Is Tapestry still a better
framework for building medium to large scale websites when
You may run in to issues wrt hot class reloading, but maybe not.
Only one way for you to find out. ;)
FYI - I was witness to at least a couple tiny email exchanges between
Howard and Bob discussing their implementations and what kind of
options there might be. The T5 IoC feature set is just too
On Wed, 31 Oct 2007 11:37:43 -0200, llonely <[EMAIL PROTECTED]> wrote:
Many thanks Thiago,
this is surprisingly helpful!
You're welcome. :)
Is XML output possible on template level? Having a template with the
basic structure and update it based on parameter values.
As far as I know, you c
Thanks Chris, that helps answer my question.
Peter
Chris Lewis wrote:
I could be mistaken, but I think you'll find the "language", if you
can call it that, pleasantly dumb compared to OGNL. Let me disclaim
once more - you should consult the docs - but I don't believe there
are any operators at
Many thanks Thiago,
this is surprisingly helpful!
Is XML output possible on template level? Having a template with the basic
structure and update it based on parameter values.
BR
Thiago H de Paula Figueiredo-2 wrote:
>
> On Wed, 31 Oct 2007 09:22:47 -0200, llonely <[EMAIL PROTECTED]> wrote:
I could be mistaken, but I think you'll find the "language", if you can
call it that, pleasantly dumb compared to OGNL. Let me disclaim once
more - you should consult the docs - but I don't believe there are any
operators at all. In templates you simply have 3 constructs:
1) Expansions. These
Hi all
Can anyone point me to some documentation on writing expressions in
tapestry templates. I am looking for some examples of operators and
general syntax.
Thanks
Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
pages and components can be decorated using mixins!
g,
kris
Ognen Ivanovski <[EMAIL PROTECTED]>
Gesendet von: news <[EMAIL PROTECTED]>
31.10.2007 12:39
Bitte antworten an
"Tapestry users"
An
users@tapestry.apache.org
Kopie
Thema
Re: Mixing T5 and Guice --- best practices
Jan Vissers
On Wed, 31 Oct 2007 09:39:36 -0200, Ognen Ivanovski
<[EMAIL PROTECTED]> wrote:
b) decoration of multiple services might not be as expressive as one
would like it to be if one would like use declarative transaction
management. Work is being done here
(http://tapestry.apache.org/tapestry5
On Wed, 31 Oct 2007 09:22:47 -0200, llonely <[EMAIL PROTECTED]> wrote:
Hi all,
I am currently testing tapestry and trying to convert a simple servlet.
I have a typical servlet that gets parameters and returns xml
Generate the XML output using any method you fancy and then return a
StreamR
On Wed, 31 Oct 2007 09:17:52 -0200, Ognen Ivanovski
<[EMAIL PROTECTED]> wrote:
The question is - how to do it? Better yet, how to do it without
boilerplate code all around?
tapestry-ioc allows you to write interceptors on service method calls.
I've already done that: http://tapestry-mine.
Angelo,
We had a situation using T4.1 where some non-persistent
properties where reused in listeners after the page was rendered. It
used to work relatively fine but as the page got more properties it
begun to fail.
Sometimes it got the right value, other times an old value (?!?!)
and -
Jan Vissers wrote:
Please, please don't 'shoot' me - but if this is the case what would be
a reason for me to use T5 IoC, other that for injecting stuff into page
classes?
I think the T5 IoC is great, fast, simple and covers 80% of the things
you need an IoC container for. Plug, allows you t
In some ways I'd agree, in others I wouldn't. I'm finding cases where T5
really made some simple well-defined aspects from previous generations much
more difficult than they need be. These will be getting added to JIRA
though.
All in all though, I do like a lot of the improvements. I'll have to
Hi all,
I am currently testing tapestry and trying to convert a simple servlet.
I have a typical servlet that gets parameters and returns xml
for example http://localhost:8080/myapp/method=login&user=test
result:
ok
after that, return results for user stored in session
http://localhos
lasitha wrote:
However, your post brings up an interesting question: will the
object's state be persisted even after validation fails? My first
Seems obvious that a transaction should be wrapped around the form
validation (or around the whole request) which would rollback in case of
valdati
Hi,
looks like I have to make it @Persist if Long usrID is private, if just the
default it might be persisted even without a @Persist but a warning during
run time, am I right?
A.C.
Angelo Chen wrote:
>
> Hi,
>
> I got a little confused with need to @Persist, example as follow, the
> usrID as
Hi,
I can't find the way to localize the default messages provided by
Tapestry for input validation like :
"You must correct the following errors before you may continue" or "You
must provide a value for ..."
Any help is welcome.
Stephane
39 matches
Mail list logo