Re: Where did all the components come from?

2009-06-18 Thread César Lesc
By the way Smalltalk Seaside framework has a special mode called "Halos", when this mode is enabled all the components have an enclosed div with a toolbar, and you can inspect his state and the html that this component is generating, would be great to have something like that in tapestry :) here

Re: [T5] TapestryIoC Registry Interop with other Servlets

2009-05-19 Thread César Lesc
Thanks a lot Thiago! That i did was to integrate BlazeDS (Flex) with Tapestry5, and it was pretty easy, if someone is interested, there is a little project in google code ( http://code.google.com/p/guice-blazeds/ ) that did the most (if not all) of the work. -

[T5] TapestryIoC Registry Interop with other Servlets

2009-05-19 Thread César Lesc
Hi, I have a Tap5 Webapp that define some services How i can access these services from another servlet in the same webapp? there is any reference to the Registry that i can use? Thanks César. - To unsubscribe, e-mail: users-

Re: T5: DWR Integration

2009-02-18 Thread César Lesc
Hi, i'm considering DWR for a Tapestry project, DWR has integrations with Spring and Guice, do you known how hard could be use DWR with Tapestry IOC? Regards César. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

@CommitAfter and HibernateExceptions

2008-11-20 Thread César Lesc
Hi, i am learning how to use the @CommitAfter annotation, but i want to catch the exception when the database does not allows to delete a record and thus to show the user a friendly messages like "X can't be deleted, check if it is not being in use in Z", or other messages based on the hibernateEx

Re: Why would you use a web framework?

2008-11-05 Thread César Lesc
One tip... go to ohloh and show them how much cost to build your own framework and ask if they are willing to invest such amount of money. http://www.ohloh.net/projects/4017 regards. César. - To unsubscribe, e-mail: [EMAIL PROT

Re: T5: @ApplicationState is misleading - voters wanted!

2008-11-05 Thread César Lesc
I think we must support both @ApplicationStateObject and the new annotation, but i suggest not to change de acronym ASO because is so widely used that would break a lot of useful searchs and is a common lingo in tapestry, so the new annotation may be @ApplicationSessionObject. César.

Re: Javascript frameworks

2008-10-30 Thread César Lesc
I did the tests with Windows and Mac, with FF, Safari and IE and prototype only is the slowest with IE but not too far from YUI, in fact is pretty fast with the others browsers. César. - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: @Property & user accessor methods

2008-10-21 Thread César Lesc
I think you should raise the issue in tap5 not tapestry https://issues.apache.org/jira/browse/TAP5 On Tue, Oct 21, 2008 at 12:33 PM, Joel Halbert <[EMAIL PROTECTED]> wrote: > JIRA raised: https://issues.apache.org/jira/browse/TAPESTRY-2713 > > Joel Halbert wrote: >> >> Hi, >> >> Occasionally I

Re: t5: debugging with jetty

2008-08-22 Thread César Lesc
I set MAVEN_OPTS, launch jetty with maven and just attach the debugger's IDE, in IntelliJ IDEA is called Remote Debug my debug script es like this: export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n" mvn jetty:run César. --

Re: T5: Forms - Best Practice

2008-04-22 Thread César Lesc
Personally i never used but may be you can use the UUID ( http://en.wikipedia.org/wiki/Universally_Unique_Identifier ) for yours employees primary key or alternate key. They are very hard to guess. and if you get very paranoid you can encrypt them. César.

Re: T5, Change default messeges

2008-04-20 Thread César Lesc
Hi jgn, for change the default messages look at http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner César. ps: i'm from Mexico too :) On Sun, Apr 20, 2008 at 8:09 PM, jgn <[EMAIL PROTECTED]> wrote: > > Hi. I would like to know how could I change the default mess

Re: AW: Getting Answers on the User List

2008-04-14 Thread César Lesc
Thanks for the good user (developer) stories in this thread, will be good to put them in the main tapestry web site, and thanks Rob "The Grumpy Dwarf" that unintentionally help these stories to emerge, and show the people behind this list. César. --

Re:

2008-04-01 Thread César Lesc
I'm not an expert but i guess the BeanEditForm component may give you some hints about this. regards, César. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

2008-02-29 Thread César Lesc
May be is a sign that you need to refactor your class because is getting too many responsibilities. :) César. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Zone component - Having a progress indicator.

2008-02-09 Thread César Lesc
I think T5 is using prototype to make ajax calls, you can use the Ajax.Resonders.register to register JS functions that monitor the Ajax activity. César. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [T5.0.6] Is coercion MANDATORY for custom parameter classes?

2007-11-16 Thread César Lesc
You don't have to create a coercion for you custom class, how do you declare the binding in the template?. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [T5.0.6] Is coercion MANDATORY for custom parameter classes? [BUG?]

2007-11-16 Thread César Lesc
That's weird, i do the same but in a component template, and have no problems I have a MenuItem that will render for certains users but not for others. then my layout template define the menuItems as follow ... ... the MenuItem component define the user parameter as @Parameter(required

T5 Hibernate Session Management Lock Problem

2007-11-06 Thread César Lesc
Hi All, I've been using the tapestry-hibernate module without a problem until i faced the following scenario I have a entity called profile with a many to one association with the entity user. suppose that i have the profile P associated with some user U in the database so if try to delete P a fo

Re: [Fwd: T5: basic CRUD pattern]

2007-11-05 Thread César Lesc
may be this post can help your hair. http://article.gmane.org/gmane.comp.java.tapestry.user/45921 Cesar. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5 : How to solve the following problem when update the Integer or Double value In tapestry 5.0.6 ?

2007-10-26 Thread César Lesc
May be you can use a String text field with a Regexp validator http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/validator/Regexp.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: T5: hidden fields

2007-10-24 Thread César Lesc
If you need a hidden field probably is because you need context information in a form, I suggest to use the context parameter of the form component. You can get this parameter in the onSubmit event (or the others forms events as well). If not the case sorry! ;) Cesar. On 10/24/07, Angelo Chen <

Re: T5: Newbie question - example needed

2007-10-23 Thread César Lesc
Thanks for the link, if you want more blocks in action see the wiki: http://wiki.apache.org/tapestry/Tapestry5HowToCreateATabPanel César. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: T5 - Inject an Application State Object into a Service

2007-09-13 Thread César Lesc
Thank you all for the advice, I'm using now the ApplicationStateManager service, its look better than using the RequestGlobals, the T5 core Application State documentation does not mention this service but i think it should because is very useful. César. --

Re: T5 - Inject an Application State Object into a Service

2007-09-12 Thread César Lesc
aso; > @Inject service; > void onAction() { >service.doSomethingWith(aso); > } > } > > I'm sure your situation's more complicated - just had to get the > obvious out of the way :) > Cheers. > > On 9/12/07, César Lesc <[EMAIL PROTECTED]> wrote: > > I need to use

T5 - Inject an Application State Object into a Service

2007-09-12 Thread César Lesc
I need to use data stored in an ASO (user information) to process the a requests in a service object, i guess the service object must be in perthread scope, because the ASO stores his data in the session, but the @ApplicationState annotation is not working inside the service. Finally i found the Re

Re: [T5] Restricting Page Access

2007-08-24 Thread César Lesc
A little mistake myPage MUST extends SecurePage of course :) On 8/24/07, César Lesc <[EMAIL PROTECTED]> wrote: > If you have a base class for your protected pages then onActivate > event will trigger first on the parent then in the child if return > value of the parent o

Re: [T5] Restricting Page Access

2007-08-24 Thread César Lesc
If you have a base class for your protected pages then onActivate event will trigger first on the parent then in the child if return value of the parent onActivate event is null. This work fine in my project, I don´t use any annotation for this just declare: public abstract class SecurePage{ C