On EventBubbling

2010-10-23 Thread Alessio Gambi
Hi, I would like to return a boolean value form the handler instead of using the value of the boolean itself to control the bubbling process (actually the same applies to void). For this purpose, I defined an annotation to prevent events to bubble for the annotated event handler methods, an

Re: [T5.2] Beginner questions about modules, services injection and packages

2010-10-23 Thread Mark
On Sat, Oct 23, 2010 at 6:29 PM, Muhammad Mohsen wrote: > > 2.Modules > I simply created a class, suffixed it "Module" so it ended up being named > "DataAccessModule". > I added a > public static void bind(ServiceBinder binder) { > binder.bind(UserDAO.class, UserDAOImpl.class); > } > method just l

[T5.2] Beginner questions about modules, services injection and packages

2010-10-23 Thread Muhammad Mohsen
Hello everyone, I have a couple of questions I believe to be so primitive but I hope you don't mind answering them :) 1.Services I understand that sfl4j Logger class and ObjectLocator class are automatically available for services and they are considered resources. *http://tapestry.apache.org/tap

Re: Objects session persistance and validation

2010-10-23 Thread Mark W. Shead
I don't think you want to use flash persistence for this. Try just using @Persist. It looks like you are creating a new user every time the page renders. Mark On Sat, Oct 23, 2010 at 3:08 PM, Jim O'Callaghan wrote: > I'm not sure if this is relevant to your current problem, but to tell > Tapest

RE: Objects session persistance and validation

2010-10-23 Thread Jim O'Callaghan
I'm not sure if this is relevant to your current problem, but to tell Tapestry which constructor to use for the bean editor, you should annotate the default (no args) constructor with @Inject - this will allow the BEF to create the relevant entity if none if present. Hope this helps. Regards, Jim

Re: t5: GOT JQuery inplementation fails in extending Tapestry object in IE7

2010-10-23 Thread Andreas Andreou
I agree - hence the pull requests. But that was not what my comment was about. It was about me prefering forking & pulling than having multiple devs in the same project each working on the master directly (esp. if they don't really belong to the same team / organization) On Sat, Oct 23, 2010 at 2

Re: t5: GOT JQuery inplementation fails in extending Tapestry object in IE7

2010-10-23 Thread Kalle Korhonen
Sure forking is easy but somebody still needs to maintain the master - even if another branch takes the place of the original. Kalle On Sat, Oct 23, 2010 at 10:58 AM, Andreas Andreou wrote: > no real need if you ask me - see > http://github.com/got5/tapestry5-jquery/network > > That's what git

Re: t5: GOT JQuery inplementation fails in extending Tapestry object in IE7

2010-10-23 Thread Andreas Andreou
no real need if you ask me - see http://github.com/got5/tapestry5-jquery/network That's what git and github are goot at! On Sat, Oct 23, 2010 at 20:34, Kalle Korhonen wrote: > I wouldn't be too surprised if no one tested with IE7. Perhaps Robin > could give you write access to it? I bet fixing t

Re: t5: GOT JQuery inplementation fails in extending Tapestry object in IE7

2010-10-23 Thread Kalle Korhonen
I wouldn't be too surprised if no one tested with IE7. Perhaps Robin could give you write access to it? I bet fixing the issues would go quite a bit faster that way. Kalle On Sat, Oct 23, 2010 at 7:58 AM, gbrits wrote: > > Just as a heads up: > > I noticed some weid behavior (Tapestry.onDOMLoad

Objects session persistance and validation

2010-10-23 Thread Anton Mezerny
Hi all, I'm trying to write simple registration form using beaneditor component. If I fullfill all reqired fields in the form and submit it - everything works fine, but if server validation occurs (for example passwords don't match), then all data is lost and Registration page renders with validati

Building Beijing Tapestry Developer Community

2010-10-23 Thread cleverpig
hi,all! I'm Dan,a tapestry user and opensource promoter. Is there any tapestry developer lived in Beijing? I have a idea for building Beijing Tapestry Developer Community,so that we can hold a user group or meetup event frequently and conveniently! If you are living in Beijing,please let me know.

t5: GOT JQuery inplementation fails in extending Tapestry object in IE7

2010-10-23 Thread gbrits
Just as a heads up: I noticed some weid behavior (Tapestry.onDOMLoaded not recognized as a function-error, and other stuff) in IE7. I tracked it down to a syntax-error (excessive comma) in tapestry-jquery.js This breaks the entire client-side tapestry-extension magic in IE7 (and probably other