hi guys
i got a form requiring user to upload a big file
but i want to show a confirm() dialogbox
i do it like this
// HTML here is abbreviated
it doesn't work ...
and i try to hook the event to the submit button onclick
it works but ... the problem is
i got several
if t
Hi Sven,
I like your Components. Thank You for your work. I tried to include the
dependency and repository into my pom yesterday like said in the
webpage. Unfortunately it didn't work. I'm just shallow in maven so I
assume it was a local problem. Are others observing similar experiences?
BTW
I am having problems getting an event handler to fire for a submit
button. Here is the relevant part from the .tml
t:id="submitButton"/>
and here is the handler from the .java file:
@OnEvent(component="submitButton")
void onSubmitButton()
{
System.out.println("Submit
hmm. I think it's going to be easier to write a new service that handles
messages and picks up the messages from the application level properties
file.
it's unfortunate that i can't get the tapestry service from hivemind,
but I don't have a request and would prefer not to attach to an
arbitra
You need to inject ComponentMessagesSource
which has provides a
Messages getMessages(IComponent component)
The problem is that you have to provide a component to that method,
since that's how the correct resource bundle and also the correct
locale (component.getPage().getLocale() is used ) is iden
> On Jan 28, 2008 5:47 AM, HHB <[EMAIL PROTECTED]> wrote:
>>
>> Hi.
>> Why Tapestry5 came with its own DI container? why not using Spring or
>> Guice
>> as the default container?
>> What are the advantages of T5 DI container over Spring & Guice?
>
> Because those containers are broken or limited.
I was testing t5 (5.0.7) and saw that the form component automatically
throws bubble messages for validation. T5 also seems to utilize
Scriptaculous for achieving this. So my question is - is Tapestry meant to
be specialized or general purpose? All our clients dictate the look-n-feel
of error m
On Jan 28, 2008 5:47 AM, HHB <[EMAIL PROTECTED]> wrote:
>
> Hi.
> Why Tapestry5 came with its own DI container? why not using Spring or Guice
> as the default container?
> What are the advantages of T5 DI container over Spring & Guice?
Because those containers are broken or limited.
> One more th
anyone?
Paul Stanton wrote:
Hi All,
I have a service which does not have access to the request cycle etc
however I need to use the same messages used for the tapestry
components, preferrably from the same Object/Service as the one
available to pages. I've tried creating a setter method for t
I'd like to use MasterObjectProvider to create objects whose constructors take
services as arguments. Tapestry will inject MasterObjectProviderImpl, but I
don't see a way to get access to MasterObjectProvider.provide's arguments. It
wants an AnnotationProvider and an ObjectLocator. I don't se
And, of course, you can run your app from your IDE with
-Dtapestry.production-mode=false (for development mode) but leave the
factory default ("true") undisturbed for production.
On Jan 28, 2008 1:43 PM, Chris Lewis <[EMAIL PROTECTED]> wrote:
> Indeed there is. As of r616036 you can use this to
invalidated form is persisted using @Persist without explicitly
defining strategy
"session" is default strategy, so yes: if you use the same
invalidated form in different windows, expect problems.
When "conversation" strategy is implemented this will work just fine :)
you can however use @Meta ann
I guess I'll be the first to mention...my copy of the book arrived last
week! (Thursday) I've already read a good chunk of it, and skimmed
what I didn't read. Excellent!
Even though I've been plowing my way through learning Tapestry for the
past few months, I found the book to be an excellent,
Indeed there is. As of r616036 you can use this to toggle the behavior:
public static void
contributeFactoryDefaults(MappedConfiguration configuration)
{
configuration.add(TapestryConstants.PRODUCTION_MODE_SYMBOL,
"true"); //false would be development
}
I just noticed this so
Hi,
I make some nice night experience about editing a list in a form.
Here is my template
===
and here is my page
===
public class ListBean {
private List users = new ArrayList(0);
private User user;
@PageL
Hi there,
the t5components release 0.5.4 is out now.
special thanks to Tod Orr and Ted Steen to let include
their components into T5Components
project page with demo click here http://213.160.23.119:8080/t5components/
-
best regards
Sven
--
View this message in context:
http://www.nabbl
Hi Spamglik,
So many changes since 5.05.
try this:
- create a new project using mvn archetype:create
- copy your files to new project.
- put log4j-1.2.14.jar in /ext
- drop /ext/log4j-1.2.8.jar
from http://tapestry.formos.com/nightly/tapestry5/tapestry-core/
- Tapestry templates now
On Mon, 2008-01-28 at 18:54 +0100, Francois Armand wrote:
> I spoke to fast : it seems that in T5.0.9, even "slashes" are handled
> correctly with utf-8 filter activated.
This would be really great - then we should take the effort and upgrade...
Good luck to you,
cheers,
Martin
On Mon, 2008-01-
Yes, but Howard allready answered that it is not a good idea for the moment.
Fernando Padilla wrote:
>
> Do you mean like skins or themes support?
> ( of which locale is just one dimensions for skins )
>
> Kheldar666 wrote:
>> Hi again,
>>
>> We tried your method in our Tapestry demos. It wo
Anyone have any ideas about how someone should go about doing this?
thanks,
-mike
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I've used that in the past, but at the moment I'm trying to stay as minimal as
I can get away with. I don't need WTP/WTS/whatever to do Tapestry5 dev, since
the Jetty plugin runs the app and the XML editor (which ships standard with
Eclipse now) works with the TML files. Or at least I think it
Do you mean like skins or themes support?
( of which locale is just one dimensions for skins )
Kheldar666 wrote:
> Hi again,
>
> We tried your method in our Tapestry demos. It works fine, but it is not
> very convinient for the moment. We were wondering if there is a way to
> implement the same m
For web development in Eclipse, you're going to want the WST or WTP
bundled releases. I can't keep up with all the delivery modes.
There are also release bundles called Callisto/Europa.
Try this:
http://www.eclipse.org/projects/listofprojects.php
Get WTP, if you want to use Eclipse.
Dan
On Jan
Okay, I tried removing that first line, but it didn't help. I'm running the
basic Eclipse 3.3.1.1 "for Java developers" with only a few extra plugins
(subclipse, maven2, jetty). Sounds like something I need to ask the Eclipse
folks about. Thanks anyway.
- Original Message
From: Szem
Francois Armand wrote:
Are you sure this issue is solved in the latest version of T5? So that
you can even have slashes in your activation parameters?
Well, you are right : slashes are not supported. But spaces, "+",
accented letters are well encoded/decoded
I spoke to fast : it seems th
Martin Grotzke wrote:
Hi Francois,
we're currently living with a really ugly hack: we use a patched version
of TapestryInternalUtils, with the methods urlEncode and urlDecode
changed [1].
Ho. Well, I tested almost everything I thought to, and the last item is
"patch Tapestry 5.0.6". I really
My default Tapestry Exception page has stopped working, and I have no idea
why. My configuration is ultra-simple, almost completely hello-world. When
something goes wrong (a syntax error in a template for instance), I get an
"error 500" page from my application server instead of the Tapestry
Excep
Hi again,
We tried your method in our Tapestry demos. It works fine, but it is not
very convinient for the moment. We were wondering if there is a way to
implement the same mecanism that is used by the "Localized Component
Templates". In fact this mecanism would perfectly feet our needs.
If it i
Really important work Geoff, thanks. Which version are you using? I hope you
go through the extra work to keep up with the versions.
Davor, you say the invalidated form is persisted in session by default. Does
multi-window support work in this case, i.e. if the same user opens another
edit page fo
Hi Francois,
we're currently living with a really ugly hack: we use a patched version
of TapestryInternalUtils, with the methods urlEncode and urlDecode
changed [1].
For us this is still an issue we want to investigate, I believe this is
an issue in combination with mod_jk. But my memory is reall
Heh. Sorry if I made you worry. Like you, I'm just a user, so my answer is
drawing more from my experience than anything else.
I'm sure there will be an API stable release. What I meant by saying that
there won't be a "final" release is that I'm sure there will always be room
for improvements.
Martin Grotzke wrote:
Hi,
Hi Martin,
I just want to pickup this topic in a new thread, to make sure
it's noticed - thx to Uli's suggestion in the previous thread :)
At first a short summary again:
- T5 (the PageRenderDispatcher) tries to decode activation context
arguments (in convertAc
"Stability" is relative. T5 in it's more recent releases 5.0.5+ has
shown to be very stable. Probably more stable than other OS projects
out there.
I am also using it in production.
On Jan 28, 2008 9:06 AM, HHB <[EMAIL PROTECTED]> wrote:
>
> When we will get the stable and final release?
>
>
>
I'm sure this is just semantics, but the wording of this makes me quite
nervous. Will there or will there not be a point at which we as
developers can expect our applications to not break between small releases?
Kevin Menard wrote:
I don't think there's a formal plan in place. Howard has been
I have put the contents and brief chapter description here:
http://sundraw.ws
-Original Message-
From: Mahen Perera [mailto:[EMAIL PROTECTED]
Sent: 18 January 2008 15:15
To: Tapestry users
Subject: Tapestry 5 book
Hi all,
Does anyone know the contents of the Tapestry 5 book. Does it
http://213.160.23.119:8080/t5components/
James Lin a écrit :
Hi:
I want to see a very simple example show how to update a table using ajax.
But I could not find one in the tapestry source.
Do anyone have a sample for this?
thanks in advance!
James
I don't think there's a formal plan in place. Howard has been working
pretty hard and the rate of releases has been accelerated as he's begun
working on it full time.
All I can say is that there's likely no one that wants to get the "stable
and final" (btw, there won't really be a final) release
I too don't have the line with:
xml version="1.0" encoding="UTF-8"
and it all works fine in Eclipse 3.3.1.1 (I believe I have WST or at least
some of its plugins).
Hi:
I want to see a very simple example show how to update a table using ajax.
But I could not find one in the tapestry source.
Do anyone have a sample for this?
thanks in advance!
James
_
Climb to the top of the charts! Pl
It worked after all.
The trick was to create a page property with the facilities list and
initialize it during pageBeginRender. It seems that ognl has a problem with
expressions of the type a.b.c where b or c is null.
So the solution was to add in .page:
and in pageB
I think you will find all your answers here:
http://tapestry.apache.org/tapestry5/tapestry-ioc/index.html
- Onno
2008/1/28, HHB <[EMAIL PROTECTED]>:
>
>
> Hi.
> Why Tapestry5 came with its own DI container? why not using Spring or
> Guice
> as the default container?
> What are the advantages of
things are a bit different in newer versions,
for one, form persists submited data if validation fails,
and does not update data on your entity.
the invalidated form is persisted default (session if without @Meta)
and suits my use fine, I reset form only if new entityid shows up,
if you go to: "e
When we will get the stable and final release?
kristian.marinkovic wrote:
>
> there are already T5 releases
>
> 5.0.1
> 5.0.2
> 5.0.3
> 5.0.4
> 5.0.5
> 5.0.6
> 5.0.7
> 5.0.9 (soon)
> ...
> are you looking for something special?
> we use it for production.
>
>
>
>
> HHB <[EMAIL PROTECTED]>
Hi Geoff,
if validation fails the page is displayed again, and the person will be
loaded again in the according GET request - so all input from the user
will be lost.
We're using flash persistence for this: the person would get annotated
with @Persist("flash"), would be reset in cleanupRender and
there are already T5 releases
5.0.1
5.0.2
5.0.3
5.0.4
5.0.5
5.0.6
5.0.7
5.0.9 (soon)
...
are you looking for something special?
we use it for production.
HHB <[EMAIL PROTECTED]>
28.01.2008 14:43
Bitte antworten an
"Tapestry users"
An
users@tapestry.apache.org
Kopie
Thema
When T5 will be
from the nightly docs at
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/
Tapestry now differentiates between development mode and production mode, primarily in how it
reports runtime exceptions. It defaults to production mode.
guess there must be a switch for this...
cheers
hara
please search the mailing list... (www.nabble.com)
HHB <[EMAIL PROTECTED]>
28.01.2008 14:47
Bitte antworten an
"Tapestry users"
An
users@tapestry.apache.org
Kopie
Thema
Basic queries about Tapestry
Hi.
Why Tapestry5 came with its own DI container? why not using Spring or
Guice
as
Hi.
Why Tapestry5 came with its own DI container? why not using Spring or Guice
as the default container?
What are the advantages of T5 DI container over Spring & Guice?
One more thing:
Will Tapestry be rewritten for Tapestry 6?
Thanks you.
--
View this message in context:
http://www.nabble.com/
Hi.
When Tapestry 5 will be released (really)?
I can hardly wait it.
--
View this message in context:
http://www.nabble.com/When-T5-will-be-released--tp15135533p15135533.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
I love puns :-).
This indeed would be a useful feature, if somehow T5 had a notion of
execution phases, or whatever they might be called. You could easily
build this into your application in a somewhat rigid manner with a
service that reads your prop file and provides access to that setting
(
You should file a JIRA for your particular use case. The URL optimization
stuff had been beaten on pretty hard, though, so you shouldn't run into
issues in the general case.
In the meanwhile, you can control the behavior of the URL generation. To
use the old format, add the following:
configura
HI, all!I'm try ZoneDemo (T5.0.7). Non zone symbols display correctly, but
inside block as "". In similar threads I'm can't found the answer.
Anybody faced with a such problem and can help me?Thank you!
--
View this message in context:
http://www.nabble.com/T5%3A-non-english-symbols-in-
sorry but where it is on this page?
--
View this message in context:
http://www.nabble.com/HOWTO-create-advanced-form-on-t5---tp15133856p15135155.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To uns
Here's Mark V of the single page edit. In previous attempts I was
clinging onto client-side persistence of the entity to ensure
optimistic locking, and then "the penny finally dropped" - all you
need to ensure optimistic locking is to ensure the entity's version is
retained - and you can d
http://wiki.apache.org/tapestry/Tapestry5HowTos
On Jan 28, 2008 12:59 PM, yodla <[EMAIL PROTECTED]> wrote:
>
> hi all
> i wish to make a form to put data from it into database. let's say i have
> two classes:
> Student(with property:private String studentName)
> School(private String schoolName).
Hi all,
I am using the example provided in the wiki to display a friendly error
page that uses the ExceptionReporter interface, and this works well, but
I want to also turn it on and off using perhaps a properties file, so
that in development I can benefit from Tapestry's exceptional error
pa
I dont remember having such issues, but...
can you create the simplest example that reproduces this and add
it as an issue (https://issues.apache.org/jira/browse/TAPESTRY) ?
BTW, is it possible that you have another button in your form
which is actually the one triggered when you hit ENTER?
On J
hi all
i wish to make a form to put data from it into database. let's say i have
two classes:
Student(with property:private String studentName)
School(private String schoolName).
Now i wish to create form
first i want to be asked how many student will be in the school(max 10):
and then genera
What's the error?
On 28/01/2008, at 9:07 PM, Foror wrote:
Why it does not work? Any idea how to make the checkbox list?
${value.id}
---
@Persist
private List test;
private IChecked value;
void onActivate() {
if (test == null) {
Why it does not work? Any idea how to make the checkbox list?
${value.id}
---
@Persist
private List test;
private IChecked value;
void onActivate() {
if (test == null) {
test = new ArrayList();
Hi,
I just tried to update to the 5.0.9 Release version and found some
strange behaviour.
I have a dynamically created image from a service on my page.
The method to create the link is as follows
public Link getBPURL(){
return getResources().createActionLink("BPGraph", fals
61 matches
Mail list logo