hi all,
i just noticed that if an LinkSubmit component with a parameters binding
to a TextField causes an exception (on submit) if that input field remains
empty (null). The reason is that the listener bound to the LinkSubmit
requires
exactly one parameter. And if the TextField remains empty Tape
Hi all,
I have a surely simple problem with the contrib:table modell.
I want to align the headline and the values of all rows on the left side.
I link a CSS-file to manage this task with the parameters: columnsClass,
valuesClass and rowsClass of the contrib:table component.
But when the page
Hi,
Is there a default namespace that one can use in a library similar to
the default "application" namespace for an application ?
I have 2 pages in a library (say Page1 and Page2). When i make a link on
one of those pages from an application page, i use the id i have
declared in the tag of m
Hi
You could try the following. In the page you have the method
getNamespace().getId() which returns you the id of the namespace the
page is currently registered in, so if you want to link ot a page with
in the same namespace you can link to getNamespace().getId() + ":" +
pageName
If someone
Thanks Robert but that solution can't be used in the @InjectPage
annotation which needs a constant value ... :-(
--
Stéphane Decleire
Robert Binna a écrit :
Hi
You could try the following. In the page you have the method
getNamespace().getId() which returns you the id of the namespace the
Thats true, but you could create a method instead of your annotated
method with the following content.
IPage getPage() {
return getRequestCycle().getPage(getNamespace().getId() + ":" +
pageName);
}
Stephane Decleire wrote:
Thanks Robert but that solution can't be used in the @InjectPage
Folks,
I created a component.
TEMPLATE
CLASS
public abstract class MyComponent extends BaseComponent {
@Parameter(required = false, cache = true)
public abstract String getFileName();
public abstract void setFileName(String fileName);
}
SPEC
But I continue to re
Not as elegant as an annotation but that works.
Thanks a lot !
--
Stéphane Decleire
Robert Binna a écrit :
Thats true, but you could create a method instead of your annotated
method with the following content.
IPage getPage() {
return getRequestCycle().getPage(getNamespace().getId() + "
Folks,
I created a component.
TEMPLATE
CLASS
public abstract class MyComponent extends BaseComponent {
@Parameter(required = true, cache = true)
public abstract String getFileName();
public abstract void setFileName(String fileName);
}
SPEC
But I continue to rec
hi,
i think you need to use a property or a @Persist instead of a parameter.
-Ursprüngliche Nachricht-
Von: Ken nashua [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 23. Januar 2007 16:08
An: users@tapestry.apache.org
Betreff: tapestry-4.0.2 @Parameter : 'fileName' is not bound and can n
Hello,
I have a @Form with a validationDelegate. Inside this form there is a
custom component. There are also several @TextFields with
validators-rules after the custom-component. The custom component has
a @Submit button.
My problem is, when the submit button of that custom component is
pressed
Hi all,
I would like to use the (very cool) EventListener AJAX-stuff in Tapestry
4.1. in our project - however I am facing a little obstacle. Basically,
the ids of the Elements to listen to are not known when writing the
Page, due to various complex requirements.
So, simple question: Is it p
Hello,
I have spent some time to learn Tapestry, and it will be my WebFront
framework. In this time I've learned a little about J2EE too.
Now I've to create the architecture of my project. It must be a
multi-tier architecture, with Apache & Tomcat, a J2EE AS (JBoss or
Glassfish), and finally
Thanks, @Persist binded my properties to the session as they had no where to
be stored.
Not sure how useful @Parameter will be now. When would you want to use this
annotation?
Best regards
Ken in nashua
Original Message Follows
From: "Ken nashua" <[EMAIL PROTECTED]>
To: users@tapestr
Thanks, @Persist binded my properties to the session as they had no where to
be stored.
Not sure how useful @Parameter will be. The cache attribute was
misleading When would you want to use this annotation?
Best regards
Ken in nashua
Original Message Follows
From: "Ken nashua"
Hello,
To speed up the startup of your app, I would consider using "appfuse"
http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuse
which wraps Tapestry with Spring and Hibernate.
Joel
Il giorno mar, 23/01/2007 alle 18.02 +0100, Cyrille37 ha scritto:
> Hello,
> I have spent some time to learn Tapes
You should not use @Persist in your component : @Persist should be used
in the page and passed to the component as a parameter !
--
Stéphane Decleire
Ken nashua a écrit :
Thanks, @Persist binded my properties to the session as they had no
where to be stored.
Not sure how useful @Parameter
You should definitely get Kent's book on
Tapestry(http://www.agileskills2.org/EWDT/).
Cyrille37 wrote:
Hello,
I have spent some time to learn Tapestry, and it will be my WebFront
framework. In this time I've learned a little about J2EE too.
Now I've to create the architecture of my project.
Yes, book would be better than AppFuse. AppFuse might
have improved since I looked at that about a year ago,
but at that time it was way too confusing for people
not quite familiar with all the frameworks and tricks.
--- Hugo Palma <[EMAIL PROTECTED]> wrote:
> You should definitely get Kent's boo
Stephanie, where in the docs does it explain this?
Are you referring to the template or a *.page file? please clarify.
Also, if my component is the originating source of these attributes
(FileUpload.filename which means, there is no page to generate them or model
to acquire this from) then how
Joel Grignou a écrit :
Hello,
To speed up the startup of your app, I would consider using "appfuse"
http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuse
which wraps Tapestry with Spring and Hibernate.
Thanks for that Joel.
I'd learned some J2EE Stuff while learning Tapestry: Appfuse, Spring2
Stephanie, if you look at my original post for this thread... I did
precisely what you said. I declared the parameter in the html template (web
page I believe you were referring to), and sent it into the component.
Parameters have no place to be stored do they? The properties need to be
persist
Hi
I want to encrypt (most of) the query string part of a tapestry webapp.
So instead of having an URL like..
http://localhost:8080/myapp/dir/Page,component.subcomponent.subsubcomp.subsubsubcomp.sdirect?sp=Sblahblah
..I would like something like..
http://localhost:8080/myapp/AJHKSGFDLJHAGSDFL
Hi,
a custom encoder from the friendly-url guide
http://tapestry.apache.org/tapestry4.1/usersguide/friendly-urls.html
could be just as well used for unfriendly-urls
Michael
I want to encrypt (most of) the query string part of a tapestry webapp.
So instead of having an URL like..
http://lo
If you're using Tapestry 4, friendly URL support could probably help you here.
Write a class that implements ServiceEncoder. Then implement decode(), where
you read your encrypted data and translate it to standard Tapestry parameters,
and encode(), where you do the reverse. Then apply the encode
Can someone please advise on this thread...
@Persist appears to work in preventing binding exceptions
@Parameter (cache = true) does not work and produces
propertyNotFoundException
If I use both simultaneously, I receive
Property fileName has already been accounted for by the element at
Anno
When i say page, i mean page object which implements the IPage
interface. This object embeds your component. So, you need to have
something like that :
In your page java code, you need to declare a property which will be
persistent to store the information between different calls :
@Persist
I think you should arm yourself with lot of patience. We are doing here
a development which involves Tapestry as interface and various JBoss
services and EJB3
I think most problems we have had where related to:
- various configuration, packaging and classloader conflicts. Such
problems can easy mak
The start of conference season is just around the corner, and I'm
updating my presentations.
Probably THE most common question I get is "How well does Tapestry
scale?" usually qualified with "Can you name some high volume web
sites?".
PLEASE refresh my memory. Preferably with some simple hits/d
I think (parts of?) the NHL website is done with Tapestry: www.nhl.com
No idea about stats though...
MARK
Howard Lewis Ship wrote:
The start of conference season is just around the corner, and I'm
updating my presentations.
Probably THE most common question I get is "How well does Tapestry
s
hi,
i remember a thread about encryption some time ago.
the essence of it was, that you send the parameters as is and add an encrypted
hash of your parameters with it, so that you can be sure nobody modified them.
thats also the way we do it
-Ursprüngliche Nachricht-
Von: Mike Oestere
how about doin a google search "inurl:service=page" ;-)
-Ursprüngliche Nachricht-
Von: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 24. Januar 2007 02:39
An: Tapestry users
Betreff: WANTED: Tapestry Success Stories
The start of conference season is just around the cor
hi ken,
i think your problem is, that you did not really get the difference between
'parameter' and 'property'.
a parameter has to be set to a component from the outside as a binding. as an
analogy you may refer to constructor-value.
a property can be set bye the component while its rendering.
33 matches
Mail list logo