Oh, that's easy! Thank you Harald
/M
Geritzer schrieb:
Now I have a lot of beans and I want to make use of BeanEditForm to
edit these. In the documentation I couldn't fint any hints on how to
set the accept-charset attribute. Where do I have to look?
had that problem too...after setting a
Now I have a lot of beans and I want to make use of BeanEditForm to edit
these. In the documentation I couldn't fint any hints on how to set the
accept-charset attribute. Where do I have to look?
had that problem too...after setting a @Meta annotation in the according page
classes it worked.
Guys,
When I manually build a t:form there is the possibility to add the
attribute accept-charset="ISO-8859-1". With that the user input (German
special characters) will be well understood by my app.
Now I have a lot of beans and I want to make use of BeanEditForm to edit
these. In the docum
-- Contact.tml --
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Person
${person.firstName} ${person.lastName}
submitLabel="Änderungen speichern"
reorder="title, firstName, lastName, birthDay, EMail, phone,
fax, mobile, site"/>
bac
cool THNX!
Sven Homburg schrieb:
demo application sources
de.hsofttec
t5components-app
0.5.4
t5components
T5Components Maven Repository
http://213.160.23.119:8080/t5components/maven-repository
Also received mine yesterday, a job well done Alexander! ... it's
simple, concise and to the point... no blabber, but as you said its a
quickstart, not so much for experienced Tapestry users.
Peter
Robin Helgelin wrote:
On Jan 29, 2008 10:53 AM, Kolesnikov, Alexander GNI
<[EMAIL PROTECTE
If you turn off client-side validation for your form, then most of the
Javascript will go away.
There's an outstanding issue to automatically pack/compress all
JavaScript sent to the client. I'd prefer that to be live, so as to
handle not just expected libraries (prototype, etc.) but also
per-app
hi,
That explains the issue, but how to call ThreadCleanupHub in a thread?
Thanks,
A.C.
Davor Hrg wrote:
>
> each request is executed inside a thread,
> but when you separate your own thread you will get new
> resources from tapestry, in your case you will get a new session.
> That session wil
Chris,
The as listed in the instructions is incorrect. It is listed as:
de.hsofttec
And it should be:
de.hsofttec.t5components
I bumped into this too, and once I made the change, everything went fine.
I'm looking forward to trying out the library.
Jonathan
> -Origina
Hi,
I have come a lot futher now with my try on setting up a environment using
Maven 2 and Tapestry 5, Spring 2.5.1, Hibernate 3.2.5.ga and MySql 5.0.8.
But now I have ended up with an exception that I dont understand. When I run
my jetty server I get this:
launching Jetty webapp: /webshop on add
Hi,
I want my custom service to handle file uploads.
How do I get hold of IUploadFile from inside IEngineService.service(...) method?
...
I could perhaps get hold of upload data in a custom ApplicationServlet, and for
specific url-s disable tapestry processing but it would be cleaner if i co
i was wondering how to tell tapestry not to load any of the scriptlous or
prototype libraries. Our company uses our own js libraries, and these
script.aculo.us files increase download times drastically. I think forcing all
tapestry applications with forms to use these files is ridicoulous. I mea
On Jan 29, 2008 3:16 PM, Kolesnikov, Alexander GNI
<[EMAIL PROTECTED]> wrote:
> Howard, Massimo and everyone,
>
> I have just got my copies of the book and was very unpleasantly
> surprised. I knew that the editorial work wasn't perfect, but I wasn't
> ready to this. What I noticed first was
Not required.
However, you will generally want the property to be @Persistent if it
is not an ASO, otherwise the data provided in a form submission can be
lost during the redirect to the render of the page.
On Jan 29, 2008 9:43 AM, Marcus <[EMAIL PROTECTED]> wrote:
> Hi,
>
> All tests of BeanEdit
I've gotten my copies but haven't had a chance to read it in depth.
Too bad about the bad edits. This is why I like Pragmatic Programmers
... its all XML, and the book (print, PDF or online) is generated from
a source the author has 100% control over.
On Jan 29, 2008 6:16 AM, Kolesnikov, Alexande
Hard to see from this, can we see your .properties files?
On Jan 29, 2008 1:59 AM, Michael Gerzabek <[EMAIL PROTECTED]> wrote:
> hi guys
>
> I'm using T5.0.9.
>
> submitLabel="Änderungen speichern" reorder="title, firstName, lastName,
> birthDay, EMail, phone, fax, mobile, site"/>
>
> I provide t
Great that you're moving again.
I'd look for a better alternative that coercing null to 0. That
causes a lot of grief in other areas. There's now more explicit
handling of nulls and blanks from the user via the nulls parameter on
TextField & friends.
On Jan 29, 2008 11:12 AM, Joel Wiegman <[EMAI
On Jan 29, 2008 12:30 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> 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 containe
Hi all,
I got the same error. Did you find a solution to this problem?
Jacob
spamglik wrote:
>
> Hi
> I have updated log4j.jar for 1.2.14 in jetty/extra/ext but that did not
> help .
> :(
>
>
>
> Christian Gorbach wrote:
>>
>> hi,
>> replace your/jetty log4j.jar with a newer one (which
The problem is with the html tag:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
works
http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
worked on 5.0.7 and fails on 5.0.9
Cheers,
Ch
Hi Everyone,
Is there a way to override the Grid columns header?
How can I use one common CSS Classes for all my column headers.
I have a similar problem for the Grid Cells.
I tried setting the t:lean property to true, it doesn't help?
class = "propertyName-header" for Grid Coumns header
great news !!
2008/1/29, Anteneh Bayouh <[EMAIL PROTECTED]>:
>
>
>
> --
> View this message in context:
> http://www.nabble.com/tap-tp15169809p15169809.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---
--
View this message in context: http://www.nabble.com/tap-tp15169809p15169809.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Was there any resolution to this issue?
I just ran into it. My templates work fine with 5.0.7 (prerelease) but
break with 5.0.9.
My headers look like this:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"
xmlns:t="http://tapestry.ap
Thanks Chris,
The link for searching the repository was exactly what I was looking for.
Thanks,
Jacob
Christian Köberl wrote:
>
> Hi!
>
> Jacob Bergoo wrote:
>>
>> When I try to run the application Jetty I got an error for missing
>> commons-dbcp. I have tried to find this jar in the maven r
demo application sources
de.hsofttec
t5components-app
0.5.4
t5components
T5Components Maven Repository
http://213.160.23.119:8080/t5components/maven-repository
2008/1/29, Michael Gerzabek <[EMAIL PROTECTED]>:
>
> Sven,
>
> The component does work n
Never mind... The module class was in src/test/java not src/main/java.
-Original Message-
From: Joel Wiegman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 29, 2008 1:41 PM
To: Tapestry users
Subject: T5: Simple Module not loading [5.0.9]
All,
Let me tell you a quick story... Got a
Thanks Thiago,
jobClass is a string object which I declare and generate the getter and
setter methods on my page to iterate through the jobClasses list and provide
the options for drop down.
private String jobClass;
For the first case Exception was not happened, A blank value and blank list
on
Hi!
Jacob Bergoo wrote:
>
> When I try to run the application Jetty I got an error for missing
> commons-dbcp. I have tried to find this jar in the maven repositories in
> http://repo1.maven.org/maven2/org/apache/commons/ and in
> http://repo1.maven.org/maven2/org/apache/commons/ and there is no
What you posted has
org.apche.commons
rather than
org.apache.commons
Are you missing an 'a' in apache?
On Jan 29, 2008 6:31 PM, Jacob Bergoo <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> I am new to Maven 2 but I am learning as fast as I can. My plan is to set
> up
> a project that is working with Sp
All,
Let me tell you a quick story... Got an error in my app which I'm sure
some of you have seen:
Failure writing parameter value of component
app/controllist/consignment/EditControl:departmentid: Coercion of null
to type java.lang.Integer (via null --> String, String --> Long, Long
--> Integer)
On 1/29/08, Anteneh Bayouh <[EMAIL PROTECTED]> wrote:
> It is not working! My guess is there might be a conflict between the two
> models (employeeModel, which is a BeanModel, and jobClasses model, which is
> a SelectModel).
How exactly is it not working? Some exception? The dropdown is not
being
Hi All,
I am new to Maven 2 but I am learning as fast as I can. My plan is to set up
a project that is working with Spring 2.5.1, Tapestry 5, Hibernate 3.2.5.ga,
MySQL 5.0.
This is what I have done so far:
1) I have Created a project using Quickstart Archtype for Tapestry 5
2) I have added Spr
It is working usign the following fragment code. It is to much code for
tapestry. If you have any way of doing this, Using the SelectModel object.
Now the jobClasses is a list of a string,
public List getJobClasses() {
return employeeDao.getJobClasses();
}
public boolean getSelectedJob
Hi,
All tests of BeanEditForm (in tapestry-core) are using an ASO
(RegistrationData).
ASO is not required for use BeanEditForm or BeanEditor, right?
Using ASO is the best pratice?
Thanks,
Marcus
Hello,
My app needs to know about a directory that may or may not exist in the
context path (if it doesn't exist, it will create it). I thought I could
use symbols to expand such paths, but I cannot. Here's what I was trying
in my contribution:
public static void
contributeApplicationDef
Chris Lewis schrieb:
Perhaps its a bug that has been fixed in svn. You can use the svn or
just wait for the snapshots to be regenerated :-)
That will be tomorrow ;) I'm fine with that.
-
To unsubscribe, e-mail: [EMAIL PROTECT
Perhaps its a bug that has been fixed in svn. You can use the svn or
just wait for the snapshots to be regenerated :-)
Michael Gerzabek wrote:
I set
5.0.10-SNAPSHOT
this morning. I did now a clear project and put
configuration.add(TapestryConstants.PRODUCTION_MODE_SYMBOL, "false");
into my A
I set
5.0.10-SNAPSHOT
this morning. I did now a clear project and put
configuration.add(TapestryConstants.PRODUCTION_MODE_SYMBOL, "false");
into my AppModule.java. The exception reports are cut.
Michael
Chris Lewis schrieb:
That sounds off. I'm using snapshot from svn and it works ok. I did
That sounds off. I'm using snapshot from svn and it works ok. I did word
it wrong, you enable it like this:
configuration.add(TapestryConstants.PRODUCTION_MODE_SYMBOL, "false");
You did say you tried both but I wanted to clear this up. You shouldn't
be seeing neutered exception reports.
Mich
Chris,
Thank you for your comments.
It's true, after I ran into problems with missing labels in beaneditform
I switched to 5.0.10-SNAPSHOT. I tried to contribute FactoryDefaults
but there was no difference between "false" and "true". The exception
page stays 'short'.
Michael
Chris Lewis s
Hi Doug,
Unfortunately I could only get the grid partially working, couldn't
override the header cells either, all the others pieces seemed to
override ok. Was probably something trivial in the end that I was
missing, but we ended up looking at the source and using bits and pieces
to create o
Hi Everyone,
I tried to override the jobClass row in a grid to display as a select drop
down.The following fragment code were used.
It is not working! My guess is there might be a conflict between the two
models (employeeModel, which is a BeanModel,
Hi,
I have multiple services invoved in my web-application that are used
in other sub-projects too. That's why it would be useful to be able
to manually set the file name for the hibernate configuration to be
used (default is always hibernate.cfg.xml).
I tried to do the following in AppM
Michael,
A couple observations/notes:
- I don't know why you had to manually install the library (maybe the
repo was down?), but if you manually installed it then it makes sense
you had to install the other dependencies by hand. Maven manages those,
so installing the component lib artifact by
Sven,
The component does work now. But now I'm getting deeper into troubles
... I was playing with T5 and jetty on port 8088. When I started with
t5components/GPlotter I got an exception saying address already in use.
So I changed the jetty port to and now everything is fine.
A small su
I will second this opinion. The book is great! I'm working through
all the examples and it is by far the fastest way (I've found) to get
up to speed on T5. Alexander did an excellent job of keeping things
simple enough to work through, while hi-lighting the different ways of
accomplishin
oh,
generics support is added in T5.0.10
and is a limited first impl...
(as generics are pretty hard to handle at runtime)
Davor Hrg
On Jan 29, 2008 3:15 PM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> cleanupRender is not a fix for flash persistence, it's more like
> replacement for it.
> flash persi
hi michael,
you ve tried it with the right version of HTTPC.
is this jar in your WEB-INF/lib also?
2008/1/29, Michael Gerzabek <[EMAIL PROTECTED]>:
>
> I tried t5components/GPlotter and got
>
> [ERROR] GoogleMapService Construction of service GoogleMapService
> failed: Error invoking service buil
Howard, Massimo and everyone,
I have just got my copies of the book and was very unpleasantly
surprised. I knew that the editorial work wasn't perfect, but I wasn't
ready to this. What I noticed first was the note about Maven 2.0.5 that
I have removed in one of the very first drafts - and now I fo
I see your reply today.
Thank you VERY much !
2008/1/20, Christian Gorbach <[EMAIL PROTECTED]>:
>
>
> @T5:
> you can use both, prototype and jquery together:
> http://docs.jquery.com/Using_jQuery_with_Other_Libraries
>
> If you want to completly replace prototype you will have to re-implement
> t
cleanupRender is not a fix for flash persistence, it's more like
replacement for it.
flash persistence is made for the same reason (only persisting until
next request)
you can take your example even further and make it generic
thus allowing actual edit page to be as simple as:
public class EditCo
which has been pointed out in
http://www.mail-archive.com/users@tapestry.apache.org/msg20279.html
Actually I was wrong. The property file get's read but the labels on the
page are alsways empty. Any clues?
Michael
Michael Gerzabek schrieb:
hi guys
I'm using T5.0.9.
submitLabel="Änderungen speichern" reorder="title, firstName,
lastName, birthDay, EMail, phone, fax, mobile, site"/>
I pr
I tried t5components/GPlotter and got
[ERROR] GoogleMapService Construction of service GoogleMapService
failed: Error invoking service builder method
de.hsofttec.t5components.T5ComponentsModule.buildGoogleMapService(Logger,
Map) (at T5ComponentsModule.java:48) (for service 'GoogleMapService'):
Thanks for all the comments. They've been invaluable. Below is the
result, Mark Vi.
Kalle, I'm using T5.0.9, but I think 5.0.7 would behave similarly.
Yes, I'm trying frantically to keep up with the releases!
As Davor pointed out, if validation has failed then getting the entity
again
Hi François
Thanks a lot, but actually my goal was more on understanding the loop
inside the form and how the model is updated in such situation.
I keep your link though, I'll have a look on it.
Michael.
Francois Armand a écrit :
Michael Courcy wrote:
You mean that using value="user.loginU
Michael Courcy wrote:
You mean that using value="user.loginUser" tapestry alway update the
same thing.
Thus if I change the method
User {
void setLoginUser(String loginUser){
this.loginUser = loginUser;
System.out.println(loginUser);
}
It should at least output the value I input in my text
each request is executed inside a thread,
but when you separate your own thread you will get new
resources from tapestry, in your case you will get a new session.
That session will not be commited unless you call ThreadCleanupHub
after thread exits.
Calling ThreadCleanupHub is a must if you use any
Francois Armand wrote:
So, if (as it's in my case) you use onActivate(String name) in a page
using a post, the "name" given to onActivate for the post action will
receive a non decoded String. If some validation are done based on
that encoded value, as a check in DB, they fail.
So, as I figur
found solution, session.flush() at end of the thread, not needed if not in a
thread, don't know why.
Angelo Chen wrote:
>
> Hi,
>
> I have following code in a service:
>
> Rec p = new Rec();
> session.save(p);
>
> p.setName("test");
> session.save(p);
>
> this code works, but if it is invok
try http://localhost/myapp/test/p1/p2 not p1,p2
2008/1/29, Dapeng <[EMAIL PROTECTED]>:
>
>
>
> i test on my server like this
>
>
>
>
> http://localhost/myapp/test/p1,p2
>
>
>
>
>
>
>
> public class MyApp {
>
>
> onActivate(String p1, String p2){
> System.out.print(p1 + P2);
> }
>
> }
>
>
>
>
>
You mean that using value="user.loginUser" tapestry alway update the
same thing.
Thus if I change the method
User {
void setLoginUser(String loginUser){
this.loginUser = loginUser;
System.out.println(loginUser);
}
It should at least output the value I input in my textField ...
And that's ri
i test on my server like this
http://localhost/myapp/test/p1,p2
public class MyApp {
onActivate(String p1, String p2){
System.out.print(p1 + P2);
}
}
it seems the onActivate is completely bypassed (since i got nothing
printed in the console)
how to capture two activatio
On Jan 28, 2008 10:07 PM, Sven Homburg <[EMAIL PROTECTED]> wrote:
> 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/
hi guys
I'm using T5.0.9.
submitLabel="Änderungen speichern" reorder="title, firstName, lastName,
birthDay, EMail, phone, fax, mobile, site"/>
I provide the BeanModel like pinpointed in [1] and [2]. I provide a
.properties file where the name of the page [Contact] = name of
file[Contact]. I
On Jan 29, 2008 10:53 AM, Kolesnikov, Alexander GNI
<[EMAIL PROTECTED]> wrote:
> Well, definitely more books are needed. You can't cover everything in
> one book, especially the very first one on the subject. It was mainly
> targeted as a quickstart tutorial.
It's also hard to write about the
Thanks, Mahen,
Well, definitely more books are needed. You can't cover everything in
one book, especially the very first one on the subject. It was mainly
targeted as a quickstart tutorial.
Alex
-Original Message-
From: Mahen Perera [mailto:[EMAIL PROTECTED]
Sent: 29 January 2008 09:45
I also received my book last week, and liked it very much. I was looking
for more sort of internals about the T5 framework tho.
Anyway, the book is great, i learned some stuff that i didnt know about.
Hopefully there will be some books coming along in the future which
explain more details about com
I'm going through something similar right now. Looking at the docs:
http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html#orgapachetapestrycorelibcomponentstextfield
it seems that your:
value="user.loginUser"
determines the field that gets updated when the form is submitt
Hello,
I'm still stick with some encoding issue for URL using UTF-8.
I'm stick with Tapestry 5.0.6. I applied the patch for TAPESTRY- bug (
https://issues.apache.org/jira/secure/attachment/12371922/context_encode_decode_fix_to_5.0.6.patch),
what solves a lot of problem.
But it's not over, an
Hi,
I have following code in a service:
Rec p = new Rec();
session.save(p);
p.setName("test");
session.save(p);
this code works, but if it is invoked in a service under a thread, the
change("test") was never saved to the file(the new record is there), any
idea?
Thanks,
A.C.
--
View this mes
Thanks a lot, Andy! By the way, I completely forgot about the source
code. Will upload it to my site tonight (British time).
Alex
-Original Message-
From: Andy Huhn [mailto:[EMAIL PROTECTED]
Sent: 28 January 2008 22:07
To: Tapestry users
Subject: RE: Tapestry 5 book
I guess I'll be the
Try this:
@OnEvent(value="selected", component="submitButton")
void onSelectedFromSubmitButton() {
System.out.println("Submit Button Handler");
}
//For the form if you wanted to use it...
@OnEvent(value="action", component="myForm")
void onActionFromMyForm() {
System.out.println("F
changing the display/presentation of error messages is
just a matter of providing an own ValidationDecorator and
replacing the DefaultValidationDecorator in the environment.
Replacing or removing the 'bubbles' seems to be a bit harder
because they are hardcoded into tapestry.js. I've not found a
75 matches
Mail list logo