Hi,
the line
model.add(action, null );
caused the NullPointer.
I am not sure if your suggestion is what I ma looking for.
I am looking for a grid inside a form. A grid row (GridRow component?)
should contain
a textfield and a checkbox for example.
Cheers.
Vashon-Ez wrote:
Maybe you could
It can be pre-ordered from the publisher's website:
http://www.packtpub.com/tapestry5/book
Cheers,
Alexander
--
CONFIDENTIALITY NOTICE: If you have received this email in error, please
immediately notify the sender by
Hello,
this solution will submit the form, but 'onchange', I need to modify the
value of the other select instead of submitting the form
Martin
CarstenM wrote:
Hello,
well, I dont know if its a nice solution but I realized it with
several forms. Then you can handle the form event and
Hi Jim,
Thanks for replying. But isn't it possible to configure this just
using hivemodule.xml without having to create the classes you've
mentioned? Since I'm still new to this and do not have any idea how
would the class look like.
Thanks
On 11/13/07, Jim [EMAIL PROTECTED] wrote:
Tapestry's
Hi,
well, of course this will submit the form (lets say form A) but if your
first select (select A) is
the only component inside form A you can handle it as needed in your page
class like
onSubmitFromFormA(){
setValueToSelectB();
}
In my case I have a .tml file with
I've tried without success to add an onchange event on a select box
without firing the submit of the form.
@OnEvent(value=onChange, component=mySelect)
private String select() {
log.info(new item selected);
return null;
}
Did i miss something or is the only way to get an event on a
Stephane Decleire a écrit :
I've tried without success to add an onchange event on a select box
without firing the submit of the form.
@OnEvent(value=onChange, component=mySelect)
private String select() {
log.info(new item selected);
return null;
}
Did i miss something or is the only
Have you started using the project archetype? This is the easiest way to
have a correct directory srtucture.
Anyway, I think the paths should be
MyProject/src/papo/pages/
MyProject/src/papo/services/
Kind regards,
Joachim
Michael Bernagou wrote:
I have something strange and it made me
Kolesnikov, Alexander GNI wrote:
It can be pre-ordered from the publisher's website:
http://www.packtpub.com/tapestry5/book
That's _really_a good new, congratulations !
So bad that there is no PDF version :/
--
Francois Armand
Etudes Développements J2EE
Groupe Linagora -
No I didn't because I don't understand why the webroot should be in the src
directory.
About that :
MyProject/src/papo/pages/
MyProject/src/papo/services/
It is what I have but I wrote in my message
MyProject/src/papo.pages/
MyProject/src/papo.services/
instead, just to show it is packages in
Are there an ExtJS components for Tapestry yet?
http://extjs.com/what-ext-javascript-library-all-about
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Wed, 14 Nov 2007 08:13:53 -0200, Stephane Decleire
[EMAIL PROTECTED] wrote:
I've tried without success to add an onchange event on a select box
without firing the submit of the form.
@OnEvent(value=onChange, component=mySelect)
private String select() {
log.info(new item selected);
The grid component have a method called setSortColumnId(), but for use it,
you got to have a reference to the component in your page's class
2007/11/13, Christoph Jaeger [EMAIL PROTECTED]:
Hi,
is there an easy way of setting the default order by column for the Grid
component?
Christoph
Nice one - Remove works like a charm.
On 13/11/2007, at 6:19 AM, Shing Hing Man wrote:
The following is my implementation of a
remove component.
Put the following in the component directory:
public class Remove {
protected boolean beginRender(){
return
Yes, forcing the encoding to UTF-8 inside a ByteArrayInputStream did the
trick.
It works now!
I will soon make some tests to compare the two approaches (Template based
XML vs StreamResponse), since perfomance was the main reason I switched to
Tapestry. Will keep you posted.
Many thanks to all
Dear all,
I try to run the tutoriel for Tapestry 5 at the following address:
http://tapestry.apache.org/tapestry5/tutorial1/first.html
I have problem with the first step: create an empty application by using
feature of Maven, archetype.
It 's the first time, i use Maven, I install it
Well it's a matter of convention
When maven build the project, things are in the place they have to be.
Michael Bernagou a écrit :
No I didn't because I don't understand why the webroot should be in the src
directory.
About that :
MyProject/src/papo/pages/
MyProject/src/papo/services/
It is
I understand, and I don't particularly want to get into a discussion
about pros/cons of that, but at the moment that may leave me stranded.
The correct way to handle this would be to declare the script block as
CDATA instead of PCDATA (I'm not sure why its not this way by default),
and so I
Hi
In my Page I have a property User, and I want to directly populate the
value of the form to the bean User
User.java
class User{
private String name;
private String surName;
getters ans setters .
}
Start.java
class Start{
private User user;
getters and setters
}
So is it why my start.tml is not found?? If yes (I'm really not sure), I'm
very surprised about the miss of flexibility T5 have...
For an existing project build in the usual way (Project/src,
Project/webroot), having to change this just for T5 is veru bad...
2007/11/14, Michael Courcy [EMAIL
hi eli,
maven will download any maven plugin that was not already downloaded
from the public repositories. if you run maven with the option -e at the
end
it will display a more complete error message. if you are behind a proxy
ensure you have it set in your settings.xml (please refer to the
On Wed, 14 Nov 2007 11:24:03 -0200, Michael Courcy
[EMAIL PROTECTED] wrote:
input t:type=TextField t:id=user.name t:value=user.name/
Try t:id=name instead of t:id=user.name. ;)
The t:id attribute is not meant as a way to tell Tapestry what are you
editing: it's just an id that you can use
I just found this JIRA and added my vote:
https://issues.apache.org/jira/browse/TAPESTRY-1818
No one is assigned to it and it doesn't have a 'Fix Version', so let
this follow-up illustrate the importance of the issue to me :).
chris
Chris Lewis wrote:
I understand, and I don't particularly
Hi,
have you tried it with
@ApplicationState
private User user;
in your page class ?
Michael Courcy wrote:
Hi
In my Page I have a property User, and I want to directly populate the
value of the form to the bean User
User.java
class User{
private String name;
private String
Hi Joshua,
If you look through the configuration guide:
http://tapestry.apache.org/tapestry4/UsersGuide/configuration.html,
under Application extensions, you'll find the following two entries in
the table:
org.apache.tapestry.specification-resolver-delegate
ISpecificationResolverDelegate
An
The t:id attribute is not meant as a way to tell Tapestry what are you
editing: it's just an id that you can use to refer to it in another
component (Label, for example) or in your page class.
Ok you're right but if I try this
input t:type=TextField t:value=user.name/
I get a failure
On Wed, 14 Nov 2007 12:47:06 -0200, Michael Courcy
[EMAIL PROTECTED] wrote:
input t:type=TextField t:id=name t:value=user.name/
I have to provide the setter and the getter for name and I still get an
error when I submit.
What error? Make sure your user field is not null when the form is
I'm 100% sure, user is not null
I have a getter and a setter for both : name and user
Thanks
Thiago H de Paula Figueiredo a écrit :
On Wed, 14 Nov 2007 12:47:06 -0200, Michael Courcy
[EMAIL PROTECTED] wrote:
input t:type=TextField t:id=name t:value=user.name/
I have to provide the setter
I'm a long time hivemind user. I'm looking to get rid of XML configuration,
so I'm considering transitioning to tapestry-ioc. I have a few questions.
1. Is it ready for production use?
I've found the following features missing.
- Pooled service model
- Explicit primitive, however I think
I've got a embedded component (a searchform) on a page. On page.onActivate()
I need to reference this embedded component (to set a couple of its
input-fields based on the url of the page).
However, although the embedded component is correctly set-up in the page I
get a nullPointerException when
Also,
http://wiki.apache.org/tapestry/PagesAndComponentsInWEB-INF
http://wiki.apache.org/tapestry/SpeclessPagesInWEB-INF
On Nov 14, 2007 4:09 PM, Jim [EMAIL PROTECTED] wrote:
Hi Joshua,
If you look through the configuration guide:
Show us the code! Also, check your console for warnings.
On Nov 14, 2007 7:31 AM, Britske [EMAIL PROTECTED] wrote:
I've got a embedded component (a searchform) on a page. On page.onActivate()
I need to reference this embedded component (to set a couple of its
input-fields based on the url of
Yeah, I know... I thought they will have PDF version too.
-Original Message-
From: Peter Stavrinides [mailto:[EMAIL PROTECTED]
Sent: 14 November 2007 16:00
To: Tapestry users
Subject: Re: [ANN] Tapestry 5 book is available for pre-order
This is good news!!
I don't mind buying the hard
This is good news!!
I don't mind buying the hard copy, but would really have prefered a PDF,
its easier to work with and searchable.
Peter
Kolesnikov, Alexander GNI wrote:
It can be pre-ordered from the publisher's website:
http://www.packtpub.com/tapestry5/book
Cheers,
Alexander
On 06/11/2007, Howard Lewis Ship [EMAIL PROTECTED] wrote:
At one point I really thought about naming the packages
org.apache.tapestry5 (not org.apache.tapestry).
Well the T5 jars are so different from the T4 ones it sort of makes
sense to do that. Of course the problem is if T6 is based off
I always pause when hearing 100% sure. An easy check/test is to remove the
offending input and stick in a simple ${user} and see if indeed you get the
toString() value for your user object.
Michael Courcy [EMAIL PROTECTED] wrote: I'm 100% sure, user is not null
I have a getter and a setter
You're right
here it is, I remove the offending input
and use this instead
${user}-- ${user.name}
And I get
[EMAIL PROTECTED] -- A name
Obviously user is not null.
I think the problem does not come from tapestry but from me.
I want to populate from the form directly to the bean. But this
The main requirement for folder structure is based on on Tapestry but on the
servlet specification. Web accessible files in a .war cannot but in the
WEB-INF folder. Tapestry lets you put .tml files either in the the regular
place for web accessible files or in the WEB-INF at the same location
Maybe you've got a different Model class. The add() method with a null conduit
works fine.
That said, I didn't realize you were inside a form. Howard as mentioned that
this is an area that needs work.
CarstenM [EMAIL PROTECTED] wrote:
Hi,
the line
model.add(action, null );
caused the
Eli,
Your mvn command should run without any manual download or settings.
I have seen the similar error message before. My problem is caused by a
broken maven plugin in my local repository, which is gotten from our
incorrectly-configured repository server. I would suggest you to try
the
Hi,
we have the following problem with our tapestry5 application:
We already have a custom ExceptionReport page which is displayed when an
exception is thrown in the application. However, when the user enters a
non-existing page name, the exception page is not shown, but the standard
tomcat
On Nov 14, 2007 7:23 AM, richard.hensley [EMAIL PROTECTED] wrote:
I'm a long time hivemind user. I'm looking to get rid of XML configuration,
so I'm considering transitioning to tapestry-ioc. I have a few questions.
1. Is it ready for production use?
I've found the following features
Talking about Tapestry-IoC (that I love :), I would like to
1) Ask Howard to take a look at
https://issues.apache.org/jira/browse/TAPESTRY-1874.
2) Ask Howard about setter-based injection, at least for objects that for
some reason or another need to be created outside T-IoC. Spring
I want to populate from the form directly to the bean. But this require
to use either the beanEditForm or a custom component.
You can get this to work. I use the textfield component for editing my bean
objects. This is from a working emplate:
input t:id=*title* t:type=*textfield* t:size=*40*
Thanks Josh, but do you have also a title property with getter and
setter in your page class ?
And if yes (as I guess) whish value is updated when you submit the form
: MyPage.title or MyPage.video.title ?
Josh Canfield a écrit :
I want to populate from the form directly to the bean. But
hmm, after quickly rebuilding the issue (I removed the component
,component-ref, etc) everything works..
well better than the other way around ;-)
Thanks anyway for the quick response,
Cheers,
Geert-Jan
Howard Lewis Ship wrote:
Show us the code! Also, check your console for warnings.
Hi there --
I would like to reduce the load on my tapestry server by having static files
(such as dojo) be served by an external server.
In my case I am thinking about amazon's s3 service.
In order for this to work well, we need to :
1. have all static files served by a separate subdomain.
Hello.
After years of using Tapestry 4.0, I just started experimenting with T5,
and although it brings much improvement, I noticed a few issues:
1. Biggest issue - most of serious web apps out there wil always have few
servlets/filters defined in their web.xml, and thus using
Speaking of which, how does one get a reference to a contained component in T5?
Marcelo Lotif [EMAIL PROTECTED] wrote: The grid component have a method
called setSortColumnId(), but for use it,
you got to have a reference to the component in your page's class
2007/11/13, Christoph Jaeger :
Hi Michael,
Thanks Josh, but do you have also a title property with getter and
setter in your page class ?
No, I only have the video getter/setter
And if yes (as I guess) whish value is updated when you submit the form
: MyPage.title or MyPage.video.title ?
The title property of the
Ok, so the tapestry servlet initializes and stores the hivemind registry
for use within tapestry. My hivemind services and tapestry components
and pages can find each other via injection or context method calls.
That's fine, but now I've got separate servlet in which I need to have
access to
On 11/14/07 3:03 PM, in article [EMAIL PROTECTED],
Vjeran Marcinko [EMAIL PROTECTED] wrote:
Hello.
After years of using Tapestry 4.0, I just started experimenting with T5,
and although it brings much improvement, I noticed a few issues:
1. Biggest issue - most of serious web apps out
That is great
2007/11/15, Kolesnikov, Alexander GNI [EMAIL PROTECTED]:
Yeah, I know... I thought they will have PDF version too.
-Original Message-
From: Peter Stavrinides [mailto:[EMAIL PROTECTED]
Sent: 14 November 2007 16:00
To: Tapestry users
Subject: Re: [ANN] Tapestry 5 book
Chinese user how to buy it??
2007/11/15, Doublel [EMAIL PROTECTED]:
That is great
2007/11/15, Kolesnikov, Alexander GNI [EMAIL PROTECTED]:
Yeah, I know... I thought they will have PDF version too.
-Original Message-
From: Peter Stavrinides [mailto:[EMAIL PROTECTED]
Sent:
1. Add a filter class :
package com.example;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import
- Original Message -
From: Kevin Menard [EMAIL PROTECTED]
To: users@tapestry.apache.org
Sent: Thursday, November 15, 2007 12:21 AM
Subject: Re: [T5] Big problem with url-pattern
1. Biggest issue - most of serious web apps out there wil always have few
servlets/filters defined in their
Hi all,
I know Tapestry 5 is in a pre-release stage, but I've been mulling
using it with an OpenLaszlo front end for a project I've been wanting
to start. I've created a blog at http://buccoo.blogspot.com/
documenting my thoughts on getting it working and although I'm new to
Tapestry in general I
On 15-Nov-07, at 12:42 AM, Christopher Ottley wrote:
I'd appreciate any feedback you guys may have.
Sure... how 'bout: why would you build with ant? ;)
No, seriously though, I'm going to point some people to your blog. My
general contractor is quite enamored with Flex and Laszlo.
Hi,
I'm using Tapestry in a portal environment. In configuration point
tapestry.portlet.services.FactoryServices a service called render is stored,
which I would like to replace with my own class. Is it possible to overwrite
this entry or the configuration point within my hivemodule.xml
I kinda get the idea now that Tapestry by default looks for page
component specification under WEB-INF. But what I don't get is why do
we have to create a class that implements
ISpecificationResolverDelegate and then configure it again in
hivemodule.xml instead of just configuring it in
ty for your detailed answer. sounds good.
cheers,
harald
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Not to beat a dead horse, but I (completely by accident) ran into this
bug again as I was testing my component and was using internal styles -
one of the rules used the direct child operator ''. It took me an hour
before I realized why it wasn't working - it was being filtered as an
entity for
62 matches
Mail list logo