well, in the end the application will be tested thouroughly
if it works everything is fine ;-) I like the global objects and
url friendly patch
> --- Ursprüngliche Nachricht ---
> Von: Ivano <[EMAIL PROTECTED]>
> An: Tapestry users
> Betreff: Re: Tapestry Programmer wanted
> Datum: Tue, 1
I was looking on all kinds of freelance programmer websites like elance.com
for experiences tapestry developers but it is really hard to find
some...most are php or jsp programmers...
Could you maybe send me links to your homepages if you are freelance
programmers yourself and you are looking for
Thanks for your suggestionsi only really find it hard to learn without
examples. Is there already an example application for tapestry4, like the
petshop or hispacta ?
> --- Ursprüngliche Nachricht ---
> Von: Norbert Sándor <[EMAIL PROTECTED]>
> An: "Tapestry users"
> Betreff: Re: .page file
How do I declare persistent properties for a BasePage
once so that it will be the same as if I declare it in every single .page
file?
How can I do that at all within a BasePage.java class ?
There is no file for that to specify properties
--
>It's thread safe. But it will NOT WORK. The same user for different
>request can get different Page instances. And different users can get
>the same page instance.
So whats the point of the tapestry framework then? I thought this
was exactly the kind of "plumbing work", Tapestry wants to avoid
I only want to use the UrlRewriteFilter for *.html
How do I tell within web.xml to use for all other requests
the tapestry filter?
Usually it is set to "/"and you can only work with "*" within
url-pattern.
UrlRewriteFilter
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter
Ok, I agree. For a simple image it is the way to do it.
But what, if it is some piece of html, that is generated from several
attributes from the User class ?
Something like:
Firstname, Lastname, age
Or would you create an extra component for that?
> --- Ursprüngliche Nachricht ---
> Von: An
Hello everyone!
My User class has a field called gender which is 0 or 1 for male or female.
In order to display it as an Icon for "male" or "female" I am using the
following approach and i wonder whether that is good practise and
thread-safe etc...
My hibernate class is called HibernateUser
I ha
How would you handle lookup tables
with tapestry and hibernate ?
The analogues approach using Cayenne is described here:
http://www.objectstyle.org/cayenne/userguide/perform/caching-lookup.html
What about the hibernate approach for tapestry applications
that need to cache lookup tables?
-
Found something similiar using Cayenne...
http://www.objectstyle.org/cayenne/userguide/perform/caching-lookup.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
What about the following:
- a static synchronized hashmap within the global
- initialize it within the constructor of the global object ?
Sarah
> --- Ursprüngliche Nachricht ---
> Von: Pablo Ruggia <[EMAIL PROTECTED]>
> An: Tapestry users
> Betreff: Re: Persistent data outside of page scope (se
If I want to "remember" data within the global object in a map
and generate it within setupForRequest, it is called and generated for every
page requestalthough it should be held within the webserver somewhere.
Where would I generate it if I only want to generate it once
for the whole web appl
Imagine you are within a component.
You need to get the global object.
Then you need to get the specific HashMap.
Then you need to get the object from inside the HashMap.
Then you need to call the method on the object to get the property
you want to know.
These are too many steps, especially whe
Thanks. Ok, I try again.
The following assumptions are made:
1. The number of groups can change on the database without having
to change the java code. (It is not a problem to restart the web application
if that happens.)
2. All the data is loaded on start-up, independent on how many members are
Thank you! The problem however is the following.
Assuming I have 30,000 members online at the same time,
10,000 belong to group A,
10,000 belong to group B,
and
10,000 belong to group C.
I would then keep in memory 10,000 instances of
configuration data for group A people,
10,000 for group B pe
Yes, I do, but only for logged in users.
I read on the Tapestry website or docs, that the visit should
be created as late as possible and that it is bad practise to create
it for every visitor...
The example was maybe not quite good...as most roles are only known after
login...
> --- Ursprünglic
Could anyone of you post a quick example how to correctly
use ThreadLocal within a Tapestry page and a Tapestry component?
My global object currently is a map of group data and the key is the group
key. Different page getter methods need parameters that is derived from the
group data .
E.g. a
Thanks!
So how would such a ThreadLocal example look like ?
The problem with the Visit object is that is should not be created until it
is really necessary
> --- Ursprüngliche Nachricht ---
> Von: Pablo Ruggia <[EMAIL PROTECTED]>
> An: Tapestry users
> Betreff: Re: BasePage, BaseComponent a
Hello everyone!
Both all my pages and components need to perform the same database queries
where client specific stuff (language, country) determines how they are
rendered.
(a) would it be a good idea to do everything in BasePage and let
BaseComponent do a getPage() and then call all methods on t
It would be cool, if the Betterpetshop or some other example tapestry
application was updated whenever things are updated for Tapestry.
As the documentation is never up to date, people could at least learn by
examples.
Or does anyone know a tapestry application that uses hivemind,
hibermate&mysql
20 matches
Mail list logo