T5: Assets, resources and file path

2008-02-29 Thread Martin Kersten
- using inherit for component base parameter). Also I need this base for setting up generated html within a GWT component. Thanks, Martin (Kersten)

AW: T5: Assets, resources and file path

2008-02-29 Thread Martin Kersten
Works like a charm thanks. I wasn't aware of this one. Thanks. -Ursprüngliche Nachricht- Von: Thiago HP [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 29. Februar 2008 13:24 An: Tapestry users Betreff: Re: T5: Assets, resources and file path Have you tried ? -- Thiago ---

AW: Only one user request at the same time

2008-03-02 Thread Martin Kersten
If you drop the later request you would drop the one the browser is waiting for. Scenario: 1. User clicks link -> Request A -> User browser waits for Response A 2. User quickly clicks same link again -> Request B -> User browser only waits for Response B 3. You dismiss Request B (Same as A) 4.

AW: T5: How to handle lookup?

2008-03-03 Thread Martin Kersten
pplier at once. Many options harder to explain, check out the java script sites. There are tutorials for the date pickers where you can grab all those ideas needed from. Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: Angelo Chen [mailto:[EMAIL PROTECTED] Gesendet: Montag, 3.

AW: What happened to property accessor methods generation in T5 ?

2008-03-03 Thread Martin Kersten
like to vow a strict Yes. Cheers, Martin (Kersten) PS: Since I just upgraded to 5.0.10 I am unsure if this has already been added. -Ursprüngliche Nachricht- Von: Hugo Palma [mailto:[EMAIL PROTECTED] Gesendet: Montag, 3. März 2008 11:45 An: Tapestry users Betreff: Re: What happened to

AW: T5: How to handle lookup?

2008-03-04 Thread Martin Kersten
Hi Angelo, by asking for a good practice I have one for you: I use GWT + GWT-Ext works well (but this should work with every kind of java script). This example: When your GWT component loads you simply add your Button / Image behind the textfield of all divs with a given cla

AW: T5: determine button clicked in a beaneditor

2008-03-04 Thread Martin Kersten
apache.org/tapestry/Tapestry5HowToUseForms And add this multi button handling. I am to buzzy right now but I can do it as well at weekend. Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: Angelo Chen [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 5. März 2008 04:03 An: users@tapestry.

AW: AW: T5: determine button clicked in a beaneditor

2008-03-05 Thread Martin Kersten
Hi Angelo, Are you using the onSuccess event? Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: Angelo Chen [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 5. März 2008 10:48 An: users@tapestry.apache.org Betreff: Re: AW: T5: determine button clicked in a beaneditor Hi Martin

AW: T5: determine button clicked in a beaneditor

2008-03-05 Thread Martin Kersten
, Martin (Kersten) -Ursprüngliche Nachricht- Von: Davor Hrg [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 5. März 2008 14:49 An: Tapestry users Betreff: Re: AW: AW: T5: determine button clicked in a beaneditor you can use BeanEditor inside a normal form, and add your own buttons, and

AW: AW: AW: T5: determine button clicked in a beaneditor

2008-03-05 Thread Martin Kersten
, Martin (Kersten) -Ursprüngliche Nachricht- Von: Angelo Chen [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 5. März 2008 11:32 An: users@tapestry.apache.org Betreff: Re: AW: AW: T5: determine button clicked in a beaneditor hi martin, yes, only to return a link: void onSelectedFromUpdate

AW: AW: AW: AW: T5: determine button clicked in a beaneditor

2008-03-05 Thread Martin Kersten
submit the form with the link you cancel the whole workflow. Just an additional idea. Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: Angelo Chen [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 5. März 2008 15:18 An: users@tapestry.apache.org Betreff: Re: AW: AW: AW: T5

AW: T5: Preventing form success

2008-03-05 Thread Martin Kersten
better way would be using the context during redirect. Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: Filip S. Adamsen [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 5. März 2008 20:40 An: Tapestry users Betreff: T5: Preventing form success Hi, I have to show a preview of

AW: AW: T5: Preventing form success

2008-03-06 Thread Martin Kersten
conversation id on the form. As far as I know, Tapestry still have no support for this kind of conversation-driven approach. And I am also not aware of any sub-projects. But using hibernate or SQL one should implement this approach in about 5 to 10 hours. Cheers, Martin (Kersten

AW: AW: AW: T5: Preventing form success

2008-03-06 Thread Martin Kersten
I know. Implementation was quicker then thought (stick to Java serialization for simplicity) and a lot more time was was wasted in investigating unecessary workarounds. Its a pitty. So if it is needed, implement it. Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: Filip S

AW: Newbie Tapestry

2008-03-07 Thread Martin Kersten
. Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: Rob Smeets [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 7. März 2008 11:00 An: users@tapestry.apache.org Betreff: Newbie Tapestry Hi, I am a newbie in Tapestry. Our organization is going to build a large scale web application in

AW: T5: Examples for Cayenne integration?

2008-03-07 Thread Martin Kersten
I think the best way to support Tapestry is a comprehensive single PDF-Document. I know how I started with Spring some years ago. Just a single PDF explaining most things you ever need. Reading it from first page to last page you are a well trained Spring user. 100 pages or so. I loved it. :-) But

AW: T5: persistency over several pages

2008-03-10 Thread Martin Kersten
twice the same time. If not, stick to conversation (use an Id). Such a general conversation service with saving the conversation to db in a distributed system is almost every time the right thing to go to implement multi-page forms / wizards / workflows. Cheers, Martin (Kersten

AW: T5: Please wait before I show you next page

2008-03-12 Thread Martin Kersten
rowser displays the next page. This works since tapestry blocks until the onSubmit (or whatever) is finished so nothing is send unless the whole page (in case of submit a simple redirect) is completed. Think that will solve your problem! :-) Cheers, Martin (Kersten) A.C. -- View

AW: AW: T5: Please wait before I show you next page

2008-03-12 Thread Martin Kersten
is implemented by JS. Just use FireBug (or alike) and check what's happening onSubmit. I am too outdated to answer this question, sorry. Cheers, Martin (Kersten) <<<>>>> Hi Kris and Martin, Javascript works, however, here is a little problem, i display the message

AW: Tapestry at my company

2008-03-18 Thread Martin Kersten
Temper... Temper... Temper... Even if he makes your blood boiling, just play nice... . -Ursprüngliche Nachricht- Von: Chris Lewis [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 18. März 2008 18:05 An: Tapestry users Betreff: Re: Tapestry at my company You were wrong. We are both arrogant

AW: @Cached and caching in general

2008-03-18 Thread Martin Kersten
The problem is context I guess. Usally your component depends on lots of stuff. Parameters, URL, Services, Page-state, component state, HTTP-Parameters and so on. Providing such a low-level cache might sound reasonable but remembering my own requirements lots of days back (2001) the cache depende

AW: [T5] How to get ampersand (&) rendered raw / not encoded as &?

2008-03-18 Thread Martin Kersten
Hi Martin, how is the query string is appended? There is always a difference in writing text and html. If you write text everything gets converted. If you write html (raw) everything will work. Please just post the tml-part in question. Maybe we can give a shorty for it. Cheers, Martin

AW: [T5] How to get ampersand (&) rendered raw / not encoded as &?

2008-03-18 Thread Martin Kersten
ding?). The component in question is org.apache.tapestry.corelib.components.OutputRaw. Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Josh Canfield Gesendet: Dienstag, 18. März 2008 18:06 An: Tapestry users Betreff: Re: [T5]

AW: @Cached and caching in general

2008-03-18 Thread Martin Kersten
context and event handling. But for displaying 'cached' content it might be an option. If you go ahead and try it you may post your benchmarks. I don't know who has stretched it before but I guess caching is always a hot topic so if you can provide new insides your are welcome. Cheers,

AW: @Cached and caching in general

2008-03-18 Thread Martin Kersten
database results and recreate markup sounds more reasonable. You might save you lots of seeking time. But you always know: Only the code / application will tell you! Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: Tobias Marx [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 18. März

AW: AW: [T5] How to get ampersand (&) rendered raw / not encodedas &?

2008-03-18 Thread Martin Kersten
ete, the template part was this: http://foo/?foo=bar&${queryString}"; with queryString beeing a page property... Cheers, Martin On Tue, 2008-03-18 at 18:11 +0100, Martin Kersten wrote: > Hi Martin, > > how is the query string is appended? There is always a difference in &g

AW: Tapestry at my company

2008-03-18 Thread Martin Kersten
> There's a spectrum of frameworks out there. I think Tapestry 5 > scores high marks across the board, from tiny to giant projects > and the notes I've been collecting form users back that up. > I can't quite see writing GMail in Tapestry 5 (but then again, > GMail isn't written in GWT either)

AW: T5: Passing a component to layout

2008-03-18 Thread Martin Kersten
show.contains("search"); } This would be a clean and simple approach you might find useful. Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: Bill Holloway [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 18. März 2008 19:20 An: Tapestry users Betreff: T5: Passing a component

AW: AW: AW: [T5] How to get ampersand (&) rendered raw / notencodedas &?

2008-03-18 Thread Martin Kersten
Hi Martin (G.), dude I wasn't aware of it either. Nice to know! Thanks! Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: Martin Grotzke [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 18. März 2008 19:39 An: Tapestry users Betreff: Re: AW: AW: [T5] How to get ampe

AW: Make Tapestry a "full" web framework?

2008-03-19 Thread Martin Kersten
Maybe a JSecurity option on tapestry would be a deal ;-). www.jsecurity.org I also don't like the ACEGI framework for personal reason. Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: Chris Lewis [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 19. März 2008 08:48 An: Tap

T5: Official Tutorial still Incomplete

2008-03-19 Thread Martin Kersten
heers, Martin (Kersten) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: AW: @Cached and caching in general

2008-03-19 Thread Martin Kersten
t; > On Tue, Mar 18, 2008 at 11:22 AM, Fernando Padilla <[EMAIL PROTECTED]> > wrote: > >> We have a component that we call "Buffer" :) it takes a timeout, > >> optional cachekey, and optional lastmodified (to tell you) >> >> > We have

OnValidate and OnSuccess

2008-03-19 Thread Martin Kersten
. Do I have to inject the textarea with the given id? Cheers, Martin (Kersten) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: OnValidate and OnSuccess

2008-03-19 Thread Martin Kersten
Hi Oivier, I actually use onValidateFromComponent. The problem is that the property in question was not set to the field value to check. Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: Olivier Jacquet [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 19. März 2008 12:47 An

AW: AW: OnValidate and OnSuccess

2008-03-19 Thread Martin Kersten
Regards, Olivier On Wed, 19 Mar 2008 13:47:37 +0100, "Martin Kersten" <[EMAIL PROTECTED]> wrote: > Hi Oivier, > >I actually use onValidateFromComponent. The problem is that the > property in question was not set to the field value to check. > > > Cheers

Re: OnValidate and OnSuccess

2008-03-19 Thread Martin Kersten
-core/guide/validation.html (At bottom) so correct would be: onValidateFromNewItem(String newItemValue) throws ValidationException { } -Ursprüngliche Nachricht- Von: Martin Kersten [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 19. März 2008 11:40 An: Tapestry users Betreff: OnValidate

AW: T5 Reasons for Using Tapestry / Comparison

2008-03-19 Thread Martin Kersten
Tapestry works well without Maven. You dont need it. Just drop all required libraries into the lib-path and you are done. Also I would like to add that developing using tomcat also works well. -Ursprüngliche Nachricht- Von: Daniel Jue [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 19. Mär

AW: T5 Reasons for Using Tapestry / Comparison

2008-03-19 Thread Martin Kersten
ry pages (including debugging and remote caps) in some weeks (when things cool down over here). Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: Daniel Jue [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 19. März 2008 16:43 An: Tapestry users Betreff: T5 Reasons for Using

AW: Component event handlers

2008-03-19 Thread Martin Kersten
Sounds like onActivate? What do you try to do? Can you give us the exact case (event type). Code Snippet? Von: José Paumard [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 19. März 2008 17:18 An: Tapestry users Betreff: Re: Component event handlers Hello Chris,

AW: AW: Component event handlers

2008-03-19 Thread Martin Kersten
I see. When I read the AJAX documentation correctly your code snippet should be on the save side. Sorry but I can't see anything wrong. Cheers, Martin (Kersten) Von: José Paumard [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 19. März 2008 17:

AW: AW: T5 Reasons for Using Tapestry / Comparison

2008-03-19 Thread Martin Kersten
>>> Tapestry And GWT (Google Web Toolkit) >>> >> >> Tapestry and GWT may be compared but it's a kind of different breed. >> Integrating GWT in Tapestry works well and is a kind of quick use. >> >Well, so it worths to say that, explaining why they are different breed, and >that they may

AW: AW: AW: T5 Reasons for Using Tapestry / Comparison

2008-03-20 Thread Martin Kersten
if you compare yourself with others you know ;-) -Ursprüngliche Nachricht- Von: Francois Armand [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 20. März 2008 10:57 An: Tapestry users Betreff: Re: AW: AW: T5 Reasons for Using Tapestry / Comparison Martin Kersten wrote: > [... a lot

users@tapestry.apache.org

2008-04-03 Thread Martin Kersten
As far as I am aware, this is due the fact that in xml you dont have   definied. What you have is   which also work in html. There should be a way to tell DreamWeaver to use #160 instead of the symbol nbsp. Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: 滕训华 [mailto:[EMAIL

AW: Getting Answers on the User List

2008-04-11 Thread Martin Kersten
I start to like him. What a nice smile this little post put on my facec. I like him. He is like the guy who let the sun stay a bit higher if you know what I mean. :-) -Ursprüngliche Nachricht- Von: Rob Smeets [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2008 16:34 An: Tapest

AW: AW: Getting Answers on the User List

2008-04-15 Thread Martin Kersten
Rob your English is by no question admirable but you drove quite to far. I like all those Tapestry folks - special thanks to the core team and Howard from me. Thanks to their affords Web-Development Is fun again. So please stop insulting them. Rob Smeets wrote: > Like those reading now, I'm sme

AW: Trolls (Rob Smeets, Emmanuel Sowah, you know)

2008-04-16 Thread Martin Kersten
> I did not take the time to read all those troll's mailings, but > as long as the troll does not violate the personal rights of > anybody, all of his writings fall under the category "freedom > of speech". Opting to report abuse to google mail and others > seems to me like overreaction. Well

AW: AW: Automatic class reloading on Tomcat 6 not working for me

2008-04-17 Thread Martin Kersten
Is it still true? I use hot replacement for components and somehow the class is reloaded. I thought this issue was solved. Do I miss something? (Using also T6) -Ursprüngliche Nachricht- Von: Peter Stavrinides [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 17. April 2008 11:05 An: Tapes

AW: Encoding problem (UTF-8)

2008-04-30 Thread Martin Kersten
its character enconding. Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: jgn [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 30. April 2008 16:59 An: users@tapestry.apache.org Betreff: Encoding problem (UTF-8) Hi. I am having a problem with encoding. I was using ISO-8859-1 but

Referring ComponentResources blows Component

2008-05-07 Thread Martin Kersten
rm? III: Is the ASO distracted by OnSuccess? IV: Do I misuse something? Thanks, Martin(Kersten) PS: Emigrated to 5.0.11 already, problem was notified with 5.0.10. PSS: What an unexpected deal breaker! - To unsubscribe, e-mail

AW: Detecting cookies disabled

2008-05-09 Thread Martin Kersten
Simply use an immediated redirect. Store a cookie within the page redirecting and on the target page just verify if the cookie is present. Simple like that... :-) Cheers, Martin (Kersten) PS: I was also eager to know if this is possible... Yes it is! :-) -Ursprüngliche Nachricht

ApplicationState not stored during onSuccess?

2008-06-03 Thread Martin Kersten
if(name != null && password != null) //results in correct login but loginStatus change is //not remembered afterwards login(name, password); return true; } Thanks for any hint or help, Martin (Kersten) ---

AW: ApplicationState not stored during onSuccess?

2008-06-03 Thread Martin Kersten
Hi there, I just found a little bit of a hack. OnSuccess I just return an action-link. So I guess that Tapestry just thinks the form processing failed and 'rolled back' the application state changes. So the question is again, what is wrong? Cheers, Martin (Kersten) -Urs

AW: Newbie

2008-06-03 Thread Martin Kersten
:-) -Ursprüngliche Nachricht- Von: Menno Kok [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 3. Juni 2008 15:45 An: Tapestry users Betreff: Re: Newbie Hello men and women, I saw many google search result about tapestry that maked me nervos. Is it true that tapetsry 6 would be not compat

OnActivate and Injected / ASO Objects -> Boom!

2008-06-26 Thread Martin Kersten
Hi all, I am struggling with the onActivate method (activate event). Seams like some of my injected components are not available and strange errors occure. I am using the onActivate method to do a redirect if necessary. To decide uppon the redirect I need some ASO (loginStatus of the session

AW: OnActivate and Injected / ASO Objects -> Boom!

2008-06-26 Thread Martin Kersten
instances first place (with a nifty exception of cause). Its the second time Tapestry let fool myself this way. Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: Martin Kersten [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 26. Juni 2008 11:34 An: Tapestry users Betreff

AW: About the null of the select component

2008-06-29 Thread Martin Kersten
(correct me if I am wrong): onAction -> Validation -> onSuccess() So you see, onAction is quite before the validation phase and therefore there is no such thing as processed selection events or Form elements carrying this kind of Information to you. Cheers, Martin (Kersten) -Ursprün

AW: Fields are shared among application without using @Persist

2008-07-02 Thread Martin Kersten
Hi Ronny, I didnt got it fully but take a look at @ApplicationState annotation. This is how we store LoginStatus: @ApplicationState LoginStatus loginStatus; {... loginStatus.login(user, password); loginStatus.isLoggedIn()... Etc. ...} Cheers, Martin (Kersten) -Ursprüngliche

AW: AW: Fields are shared among application without using @Persist

2008-07-02 Thread Martin Kersten
Hi Ronny, The application state is scoped to the current user/session. So for instance Bob sees another object than Alice would see. Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: Ronny L [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 2. Juli 2008 11:35 An: users

T5: Stop Receiving Request

2008-07-16 Thread Martin Kersten
ad of that size? Since all three major browsers (Opera, FireFox, IE) behave in the same way I guess the problem lies on Server-Side. So who is to blame for? Tapestry? (Dont think so), Tomcat?, Browsers? (In Short: You want to upload 300MB? I just read 10K and Say No To you!) Cheers, Martin (Ke

[T5] Strange Tomcat Behavior I Can Not Explain

2008-07-25 Thread Martin Kersten
ontext to 'initialize'(?) The page before using it with context? Has anyone seen such thing before? My local tomcat does not behave this way. Any Ideas where to look at? Cheers, Martin (Kersten) - To unsubscribe, e-mail: [E

AW: [T5] Strange Tomcat Behavior I Can Not Explain

2008-07-28 Thread Martin Kersten
inside the WEB-INF/lib and not to the WEB-INF/classes May be that's the issue. Renat 2008/7/25 Martin Kersten <[EMAIL PROTECTED]>: > Hi There, > > I encounter a strange Tomcat (6.0.14) behavior. When deploying my > Tapestry web-application (5.0.13), Tomcat tells me that pa

AW: What if Tapestry's I18N was just "UTF-8"?

2008-07-29 Thread Martin Kersten
ease correct me. Cheers, Martin (Kersten) -Ursprüngliche Nachricht- Von: Thiago H. de Paula Figueiredo [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 29. Juli 2008 16:43 An: Tapestry users Betreff: Re: What if Tapestry's I18N was just "UTF-8"? Em Tue, 29 Jul 2008 11:39:21 -0

T5: RC? Beta? Alpha? Final?

2008-07-30 Thread Martin Kersten
eady since 5.0.8! ;-) Cheers, Martin (Kersten) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to do a Batch transaction with Tapestry-Hibernate

2013-10-25 Thread Martin Kersten
se row (entity) which will cause Hibernate to fail with exception leaving the session in an unpredictable state you should consider to be broken. Well that was quite some amount of text. Hopefully you get some additional use out of it. Cheers, Martin (Kersten) 2013/10/25 George Christman &g

Re: [5.4.23] Troubleshooting Live Class Reloading

2013-10-25 Thread Martin Kersten
I had a reload issue regarding to class loading and incompatible class versions for a parameter when changing from alpha 21 to 23. I altered the binding code to not use reloading (preventReloading or something similar, check the auto complete options). I only had to do it for one service I dont nee

DynamicTemplate issue

2013-10-25 Thread Martin Kersten
component to render child components? Cheers, Martin (Kersten)

Re: DynamicTemplate issue

2013-10-26 Thread Martin Kersten
Its not about the binding. Its about discovering any components at all. During the dynamic parser session it seams that no child component related behaviour is triggered at all. I can use any tag name it doesnt matter. I need to check whether I am in production mode also since there seams to be no

Re: Switching off Reloading of Service Implemenation?

2013-10-29 Thread Martin Kersten
(ServiceImpl)ServiceProxyUtil.getImplementation(registry.getService(Service.class)). > > So I dont need to invoke methods using reflection and I have AOP and > > Decoration for the rest of the service methods as long as I use the proxy > > to access the methods. > > > >

Best way to communicate with JS using Tapestry as BackEnd

2013-08-15 Thread Martin Kersten
do, I dont understand right now. So I would love to know what is the current preferred way to use something like the socket.io lib in conjunction with Tapestry as the serving backend? Thanks for reading, Martin (Kersten), Germany

Re: Best way to communicate with JS using Tapestry as BackEnd

2013-08-16 Thread Martin Kersten
I investigated the cometd yesterday and today. The maven repository was broken for this one. Since the last commit is half a year old, I think it is not maintained anymore. I currently at the moment try to do the same but using atmosphere instead if this is not working I will try to redo the cometd

Re: Best way to communicate with JS using Tapestry as BackEnd

2013-08-16 Thread Martin Kersten
That is very useful. Sadly my task at hand needs some server push data. What you suggested is like a lazy init. So after the page loaded go and get some content. (If I understood you correctly) I am comming form the GWT world and there is a need to drop GWT for this project. So I need to learn it

Re: Best way to communicate with JS using Tapestry as BackEnd

2013-08-16 Thread Martin Kersten
I am restricted to Java at the backend. I might have evaluated something like node.js+redis for the socket.io. That would be good. And before switching to node.js I would also evaluate the PlayFramework since they have session.io support out of the box and also allow me to stick to the Java way. Bu

Re: Best way to communicate with JS using Tapestry as BackEnd

2013-08-16 Thread Martin Kersten
Lance currently I go with extending the TapestryFilter and bend it together with AtmosphereServlet30. If I get some results I post it here. If it is working I will make a blog post and donate the code. Maybe we find a more transparent way, then. Fingers crossed. 2013/8/16 Lance Java > Currently

Re: Best way to communicate with JS using Tapestry as BackEnd

2013-08-16 Thread Martin Kersten
Lance you are right. Also I noticed that you are still maintaining the cometd implementation. Nice work. I failed using the tapestry filter. Obviously this isnt the Tapestry way I was trying to do things. I will mimic the way you did with cometd. Thanks for your help, Cheers, Martin (Kersten

Re: Best way to communicate with JS using Tapestry as BackEnd

2013-08-16 Thread Martin Kersten
Right noticed that. The TapestryFilter is all about final methods. I currently use a request handler and borrow ideas from cometd implementation :) 2013/8/16 Thiago H de Paula Figueiredo > On Fri, 16 Aug 2013 12:22:57 -0300, Martin Kersten < > martin.kersten...@gmail.com> wrote

Re: What do we need to learn to use Tapestry 5.4 ?

2013-08-17 Thread Martin Kersten
Wenn is 5.4 planed to hit the road? 2013/8/17 Muhammad Gelbana > As far as I understand. T5.4 will have a major refactor for the client side > related code. And I've passed by many Javascript libraries names like > Backbone, Coffescript and others. > > So to summerize, what new stuff will we, t

Re: How to add dinamic content

2013-08-18 Thread Martin Kersten
ht etc. The whole Ajax XXX sections should held the answer you seek. Cheers, Martin (Kersten), Germany 2013/8/18 nn kk > Hi all, > I want to be able to create and insert component dynamicly. For example, I > want to have "add button" and by every click to add whole new tap

Re: What do we need to learn to use Tapestry 5.4 ?

2013-08-18 Thread Martin Kersten
> > On Sat, Aug 17, 2013 at 3:27 PM, Martin Kersten < > martin.kersten...@gmail.com > > wrote: > > > Wenn is 5.4 planed to hit the road? > > > > > > 2013/8/17 Muhammad Gelbana > > > > > As far as I understand. T5.4 will have a maj

Re: How to implement simple error/exception handling

2013-08-22 Thread Martin Kersten
This is outside the scope of Tapestry (or at least as far as I am aware off). Take a look at this example: http://jumpstart.doublenegative.com.au/jumpstart/together/easycrud/persons If you hit the Delete on any row it opens a modal dialog asking you whether or not the item should be really delete

TransactionHandling

2013-08-22 Thread Martin Kersten
on the end of the mehtod. Since there is a PersistenceContext, I asked myself if I can get the ignore inner transaction pattern? Thanks, Martin (Kersten), Germany

Transactions and AfterCommit

2013-08-23 Thread Martin Kersten
allows this kind of behavior or am I missunderstanding @CommitAfter and this behavior is already present? Is there a standard way to control whether there is a ReadOnly transaction going on or not? I didnt found anything about it. Maybe I am blind. :) Cheers and Thank you, Martin (Kersten

Re: Transactions and AfterCommit

2013-08-23 Thread Martin Kersten
Thanks for taking care. Please add a post here if you find something out. I wait for using the mentioned version to manage my transactions. 2013/8/23 Martin Kersten > TAP5-2159 <https://issues.apache.org/jira/browse/TAP5-2159> > > > 2013/8/23 Taha Hafeez Siddiqi > >&

Re: Transactions and AfterCommit

2013-08-23 Thread Martin Kersten
TAP5-2159 <https://issues.apache.org/jira/browse/TAP5-2159> 2013/8/23 Taha Hafeez Siddiqi > Hi Martin > > You are right. Please file a jira. I will look into it this weekend. > > regards > Taha > > On 23-Aug-2013, at 12:41 PM, Martin Kersten > wrote: > &

Re: Transactions and AfterCommit

2013-08-23 Thread Martin Kersten
ld be able to accidently fool my self many more times than twice. 2013/8/23 Martin Kersten > Thanks for taking care. Please add a post here if you find something out. > I wait for using the mentioned version to manage my transactions. > > > 2013/8/23 Martin Kerst

Re: Transactions and AfterCommit

2013-08-23 Thread Martin Kersten
nsaction.commit(); } } So please come on. Lets get rid of this bug! Thats all nothing more to see... . And its totally fools proof and downward compatible (doesnt change current behavior). Lets change this! And yes we can! Chrs, Martin (Kersten), Germany 2013/8/23 Thi

Re: Transactions and AfterCommit

2013-08-23 Thread Martin Kersten
By the way one might rename it from isNested to isNestedOrNoTransaction. Same behavior more precise in the naming 2013/8/23 Martin Kersten > >>> I disagree. @CommitAfter never claimed to implement nested > transactions, so, if someone expects it with @CommitAfter, they&

Re: Transactions and AfterCommit

2013-08-23 Thread Martin Kersten
mitAfter. Is it executed statement by statement (autocommit?) and are those hitting always the master too? 2013/8/23 Martin Kersten > By the way one might rename it from isNested to isNestedOrNoTransaction. > Same behavior more precise in the naming > > > 2013/8/23 Martin Kersten >

Re: Book proposal withdrawn :-(

2013-08-23 Thread Martin Kersten
I would love to see an Atmoshere support ready made and build into Tapestry. I lack some knowledge but having Socket.io support out of the box would be a huge plus for me. I had to put my own afford out of hands since currently I have a too narrow schedule but wanted to come back to it once I can d

Re: Book proposal withdrawn :-(

2013-08-23 Thread Martin Kersten
No problem. Its just that server push is crucial in the new area of the internet and socket.io seams to became the standard of how to do it right now. Polling is so zeroish (2000+). So in the end this Atmosphere integration would be a good start for tapestry to support server push right out of the

Advice non-interface methods?

2013-08-24 Thread Martin Kersten
Hi there, I found this example page: http://tapestry.apache.org/using-tapestry-with-hibernate.html. The problem I have are these lines: package com.example.tutorial.pages.address;public class CreateAddress { ... @CommitAfter Object onSuccess() { ... } } Is it pos

Re: Advice non-interface methods?

2013-08-25 Thread Martin Kersten
> On Sat, 24 Aug 2013 07:07:51 -0300, Martin Kersten < > martin.kersten...@gmail.com> wrote: > > Hi there, >> > > Hi! > > I found this example page: >> http://tapestry.apache.org/**using-tapestry-with-hibernate.**html<http://tapestry.apache.org/using

Re: Hibernate Transaction Safetyness

2013-08-27 Thread Martin Kersten
I also now have true read only transaction that set the underlying jdbc connection to read only and FlushMode.Never for the session. And yes the read only transactions are also committed so you do not spam your database logs with rollback information. 2013/8/27 Martin Kersten > Hi th

Hibernate Transaction Safetyness

2013-08-27 Thread Martin Kersten
Hi there, after my struggle with the current @CommitAfter implementation and the transaction handling I was able to fix it for the actual project I am working on. I found several places where my coworker and introduced bugs because of the current (flawed) implementation of @CommitAfter. (For

Strange Transaction Behavior on Session Reuse?

2013-08-27 Thread Martin Kersten
something about it. I had the same complain when I walked into this 2008 and now I walked into it again and it was not fixed. I consider the tapestry hibernate modul as being broken until this is fixed and I guess you might feel the same. Cheers, Martin (Kersten), Germany. PS: I know you

Using Hibernate Session outside of @CommitAfter. Bugs I saw in our project

2013-08-29 Thread Martin Kersten
I noticed a new problem with the hibernate module. Currently it is completely correct to use a session outside of a given transaction since Tapestry starts a new one. The coworker did following things: service.createUser(); service.createUserProfile(); works. So now it was my turn so I used th

Re: Using Hibernate Session outside of @CommitAfter. Bugs I saw in our project

2013-08-30 Thread Martin Kersten
I didnt started the project I am only maintaining it. I would love to donate this code since this is so dangerous. I wont think about the money this might have cost to find these bugs in a live system. Especially if the database gots mixed up over these. But you are right annotating actions and pa

Re: Is it possible to get a new Hibernate session and

2013-09-02 Thread Martin Kersten
John, if I understood you correctly you expect the session to be still alive when hibernate answers a action request in order to render a new response? If this is the case then the session is already gone. For each request a new session is born and closed after the rendering phase is completed. Do

Re: Is it possible to get a new Hibernate session and

2013-09-03 Thread Martin Kersten
@Thiago I am absolutely correct here. The LazyLoadingException is indeed resulting from a Transactional problem. The lazy loading has to be done inside the very same transaction unless you reattach the entity for the next transaction. On reattach hibernate reassures the entity has not changed by l

Re: Book proposal withdrawn :-(

2013-09-03 Thread Martin Kersten
ion. I > don't know how feasible this is to you, and unfortunately as a student > i'm not rich so alone I am not going to be 'paying anyones bills'. > However if you find that others are in the same boat, who knows. > > Thanks, > Steve > > On 24 August 2013 2

Re: Tapestry Server Push/Web Socket/Comet implementation

2013-09-03 Thread Martin Kersten
It wont make it into 5.4. Mr Ship talked about it back some time. You might want to take a look Art athmospere. You should be able to include it into Tapestry following the example oft cometd. This will bring you socket.iosupport which should you bring everything for Server side push . Am Dienstag

  1   2   >