Re: New Tapestry tutorial -> documentation structure

2009-09-10 Thread ice
Volunteer for spanish translation/proofreading! Michael Gerzabek wrote: > > Sebastian Hennebrueder schrieb: >> >> Furthermore, do you agree that we only translate the tutorial into >> languages where at least 2 persons are ready to keep the translation >> up to date. I propose this backup for

Re: Website concept

2009-09-11 Thread ice
Agree to all of that. Fantastic analysis Sebastian. The whole documentation should revolve around Tapestry 5.x, and make it clear, an easy snapshot of what the framework looks like. Then more detailed information on demand. Michael Gerzabek wrote: > > Sebastian, great job! The main point is y

Re: How big is the Tapestry community?

2009-06-07 Thread ice
Sergey Didenko wrote: > > What about putting the poll to the top of Tapestry official site: > > - I use Tapestry professionally > - I use Tapestry for my hobby projects > - I do not use Tapestry > > and so on? > > A survey sounds good, although IMHO it is unlikely that you'll get many respo

RE: [Tapestry Central] Tapestry 5 Support in IDEA Maia

2009-06-10 Thread ice
+1 for Eclipse Galileo plugin! Blšták Peter wrote: > > Can one has the source code for the IDEA plugin or for initial Hugo's IDEA > plugin ? > Would be nice to have Tapestry 5 support for Eclipse too. And source code > would be a help. > > Thanks > > P. > > -Original Message- > From:

Re: Switch from Prototype to jQuery?

2009-06-10 Thread ice
Standing from the point of view that i prefer jQuery to prototype, i would like to see (Tapestry 5.2? ) a move into breaking down what the core web functionalities, from those that depend on Javascript, particularly any extensions, such as Prototype. But plain switching to jQuery is even worse.

Re: Switch from Prototype to jQuery?

2009-06-10 Thread ice
I voted on the issue in JIRA, since i believe is an important part of Tapestry that needs to be revisited. It seems a bit awkward to have a project called tapestry-core that depends in two third-party javascript libraries. It's not just java developers who are affected by using Prototype,but als

Re: Switch from Prototype to jQuery?

2009-06-10 Thread ice
want. Thiago H. de Paula Figueiredo wrote: > > On Wed, Jun 10, 2009 at 11:32 AM, ice wrote: > >> It seems a bit awkward to have a project called tapestry-core that >> depends >> in two third-party javascript libraries. > > The problem is: how would Tapestry do that?

Re: Switch from Prototype to jQuery?

2009-06-10 Thread ice
excellent resource iberck! i also like this one mentioned in the blog post: http://selectors.turnwheel.com/slickspeed.php jQuery was a clear winner against Prototype in my Ubuntu/Firefox 3 box (287 vs 386) iberck wrote: > > > Hi, there is a interest survey results of JavaScript Frameworks

Re: Switch from Prototype to jQuery?

2009-06-10 Thread ice
Even more of a reason to encapsulate as much as possible all this patches. Otherwise, as time passes, the API would end up polluted with javascript patches to support required behaviour. In my view, javascript/css is a very dangerous arena, and deep integration can lead you to lock-ins such as th

Re: Switch from Prototype to jQuery?

2009-06-10 Thread ice
My point is that Tapestry-core should be about generation of state management of pages, and generation of markup. javascript niceties are a plus, but not core. Moving away UI related code into another module should make it easier to encapsulate the problem, and deal with it in a succession of ref

Re: Switch from Prototype to jQuery?

2009-06-10 Thread ice
Thiago H. de Paula Figueiredo wrote: > > Tapestry-core almost donsn't have UI-related code, and all it's all in the > components and CSS files (that are overridable and can be configured to > not be used). > Thiago H. de Paula Figueiredo wrote: > > Tapestry-core has two parts: the fr

Re: Switch from Prototype to jQuery?

2009-06-10 Thread ice
> Em Wed, 10 Jun 2009 17:16:03 -0300, ice escreveu: > >> well, that's kind of my idea really. to seperate them into two parts. >> That way, changes to the UI layer don't break the core. > > Changes to the UI layer, as Tapestry is now, won't break the cor

Re: Switch from Prototype to jQuery?

2009-06-13 Thread ice
Very interested in following your progress! Onno Scheffers wrote: > > Thanks guys. > If anyone is interested, I'll be documenting my progress here: > http://piraya-blog.blogspot.com > > Current status: I have a web-project up and running and I'm able to switch > between Prototype-mode and Non-

Re: best book for T5

2009-06-16 Thread ice
+1 when is the english version going to be released? :) GMAIL1 wrote: > 2009/6/15 Thiago H. de Paula Figueiredo > +1. The more books, the better. :) > > -- > Thiago > > > -- View this message in context: http://n2.nabble.com/best-book-for-T5-tp306579

Re: Switch from Prototype to jQuery?

2009-06-18 Thread ice
That sounds a real way forward to me. Take the minimum set of required features (and even better if done by the author of jQuery), and use it as your javascript abstraction layer. keep up with the great work Onno! Onno Scheffers wrote: > > Sizzle. It's created by John Resig, the author of jQu

Re: [Announce] Tapestry XPath project - v1.0.0 released

2009-06-24 Thread ice
Testify+XPath sounds great! Thanks a lot :) Paul Field-2 wrote: > > I'd like to announce the first stable release of the Tapestry-XPath > project > at Tapestry360: > > https://tapestry.formos.com/projects/tapestry-xpath/ > > Tapestry XPath allows you to use XPath expressions to query the T

Form component's validate parameter cause excpetions when clients use zh-cn language

2012-03-28 Thread Fight Ice
When the client web browser use the zh_cn locale to load my login page, i get a exception like this : Render queue error in BeginRender[admin/Login:username]: d != java.lang.String but if client use the en locale, it works correctly. if i want to use zh_cn locale to load my login page, i found t

RE: Form component's validate parameter cause excpetions when clients use zh-cn language

2012-03-28 Thread Fight Ice
Thanks! just add two lines to the app.properties: minimum-string-length=\u60a8\u5fc5\u987b\u4e3a %2$s \u63d0\u4f9b\u81f3\u5c11 %1$d \u5b57\u7b26\u3002 maximum-string-length=\u60a8\u6700\u591a\u80fd\u4e3a %2$s \u63d0\u4f9b\u81f3\u5c11 %1$d \u5b57\u7b26\u3002 All works correctly!

How to prevent form being submit in mixins when validation failed

2012-05-12 Thread Fight Ice
I have a mixins to validate the username field and email field using ajax. but in my ValidateField.js file, i use: Event.observe(this.sourceField.form,'submit',this.doSubmit.bindAsEventListener(this)); doSubmit:function(event){ return this.state; } but the form still submit even the "d

Tapestry Regexp Validator

2012-05-18 Thread Fight Ice
Tapestry 5.3.2: I try to use Email validator in my email input field, but it doesn't work. Then I use the regexp validator in my properties file like this: email-regexp=^[a-zA-Z0-9_\-]+@[a-zA-Z0-9_\-]+(\.[a-zA-Z0-9_\-]+)+$ It still doesn't work. Finally I found even regexp like this "^[1-9]" does

RE: Tapestry Regexp Validator

2012-05-18 Thread Fight Ice
in template file: in properties file: productAmount-regexp=^[1-9] The product amount can't start with zero. > From: ricr...@hotmail.com > To: users@tapestry.apache.org > Subject: Tapestry Regexp Validator > Date: Fri, 18 May 2012 15:58:12 +0800 > > > Tapestry 5.3.

RE: Tapestry Regexp Validator

2012-05-18 Thread Fight Ice
productAmount-regexp=^[1-9][0-9]* > Subject: Re: Tapestry Regexp Validator > From: tawus.tapes...@gmail.com > Date: Fri, 18 May 2012 13:43:28 +0530 > To: users@tapestry.apache.org > > > Can you share the code ? > > > On May 18, 2012, at 1:28 PM, Fight Ice wro

RE: Tapestry Regexp Validator

2012-05-18 Thread Fight Ice
> that so ? > > if it is a number not starting with zero shouldn't it be ^[1-9][0-9]* or > ^[1-9]\\d* > > On May 18, 2012, at 1:55 PM, Fight Ice wrote: > > > > > in template file: > > > > > t:validate="

RE: Tapestry Regexp Validator

2012-05-18 Thread Fight Ice
Solved! In my java file: @Property private int productAmount; The "productAmount" is int type. So the regexp validator doesn't works. Thanks a lot Taha! This case confused me. Why and how this happened?

RE: Tapestry Regexp Validator

2012-05-18 Thread Fight Ice
So I can't use int type for the field which uses the regexp. Could anyone give me some advices for this case?

Hibernate Transaction

2012-05-27 Thread Fight Ice
java code: Transaction ts=session.beginTransaction(); Criteria criteria=session.createCriteria(Item.class); criteria.add(Restrictions.idEq(product.getItem().getId())); criteria.setLockMode(LockMode.PESSIMISTIC_WRITE); Item item=(Item)criteria.list().get(0); ... ts.commit(); ... Transaction tc=ses

RE: Hibernate Transaction

2012-05-27 Thread Fight Ice
Thx, I use HibernateSessionSource.create(). Is this thread safe?

About per-thread service

2012-05-30 Thread Fight Ice
I have read the source code of HibernateCoreModule.java and HibernateSessionManagerImpl.java . The HibernateSessionManager service is per-thread, but I didn't find any code for concurrency(like using ThreadLocal). How Tapestry make HibernateSessionManager service to be per-thread.

RE: About per-thread service

2012-05-30 Thread Fight Ice
The @Scope(ScopeConstants.PERTHREAD) makes the service per-thread, and finally the SessionFactory.openSession() will be called(SessionFactory is thread safe). One session for one thread(request)?

onActivate event and ajax request

2012-06-09 Thread Fight Ice
java code String onActivate(EventContext eventContext){ if(eventContext.getCount==0){ return "index"; } if(eventContext.getCount==1){ //do something } // ... } Object onSubmitComment(@RequestParameter(COMMENT_PARAM) String comment){ //do something } I used firebug and found that client receive "

RE: onActivate event and ajax request

2012-06-09 Thread Fight Ice
@Inject private Request request; if(eventContext.getCount()==0){ if(request.isXHR()){ return null; } return "index"; } Any better idea?

Re: Web frameworks

2013-11-20 Thread ICE Ernesto Arteaga Zavala
o H. de Paula Figueiredo > > Tapestry, Java and Hibernate consultant and developer > > http://machina.com.br > > > > - > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > -- Saludos, --- "Nada que se consiga sin pena y sin trabajo es verdaderamente valioso." Joseph Addison --- ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo

Palette and zone

2014-06-09 Thread ICE Ernesto Arteaga Zavala
Hi all, There is a special way to configure zone property and events. I actually declare one but doesnot do anything. Here how I configured it. Thanks in advance! ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo

How to get Body Request

2014-07-24 Thread ICE Ernesto Arteaga Zavala
Hi guys, Quick question, Is there a way to get the payload (body information) from request interface on tapestry5? And where can I have a tutorial or API. Thanks in advance!

Re: How to get Body Request

2014-07-24 Thread ICE Ernesto Arteaga Zavala
2014-07-24 16:47 GMT-05:00 Thiago H de Paula Figueiredo : > On Thu, 24 Jul 2014 18:38:45 -0300, ICE Ernesto Arteaga Zavala < > arterza...@gmail.com> wrote: > > Hi guys, >> > > Hi! > > Quick question, Is there a way to get the payload (body information) &g

Re: How to get Body Request

2014-07-24 Thread ICE Ernesto Arteaga Zavala
2014-07-24 17:33 GMT-05:00 Thiago H de Paula Figueiredo : > On Thu, 24 Jul 2014 19:31:35 -0300, Thiago H de Paula Figueiredo < > thiag...@gmail.com> wrote: > > On Thu, 24 Jul 2014 19:04:09 -0300, ICE Ernesto Arteaga Zavala < >> arterza...@gmail.com> wrot

Re: How to get Body Request

2014-07-24 Thread ICE Ernesto Arteaga Zavala
2014-07-24 21:22 GMT-05:00 Thiago H de Paula Figueiredo : > On Thu, 24 Jul 2014 20:12:43 -0300, ICE Ernesto Arteaga Zavala < > arterza...@gmail.com> wrote: > > 2014-07-24 17:33 GMT-05:00 Thiago H de Paula Figueiredo < >> thiag...@gmail.com> >> : >> >

Re: How to get Body Request

2014-07-25 Thread ICE Ernesto Arteaga Zavala
2014-07-25 6:53 GMT-05:00 Thiago H de Paula Figueiredo : > On Fri, 25 Jul 2014 00:51:34 -0300, ICE Ernesto Arteaga Zavala < > arterza...@gmail.com> wrote: > > Yep I know that and that's why I started asking for a particular way to >> do something, how to get my dat

Re: How to get Body Request

2014-07-25 Thread ICE Ernesto Arteaga Zavala
2014-07-25 8:52 GMT-05:00 Thiago H de Paula Figueiredo : > On Fri, 25 Jul 2014 10:33:08 -0300, ICE Ernesto Arteaga Zavala < > arterza...@gmail.com> wrote: > >5. *Request Payload*view source >>* <= This is the pay load (request body)* &g

Re: Localize grid "There is no data to display."

2012-09-08 Thread ICE Ernesto Arteaga Zavala
-- "Nada que se consiga sin pena y sin trabajo es verdaderamente valioso." Joseph Addison --- ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo

Re: Ways to do page refresh

2013-07-01 Thread ICE Ernesto Arteaga Zavala
ibe@tapestry.**apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Saludos, --- "Nada que se consiga sin pena y sin trabajo es verdaderamente valioso." Joseph Addison --- ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo

Re: Bean Edit Form w/ Select Menu

2012-04-16 Thread ICE Ernesto Arteaga Zavala
or additional commands, e-mail: users-h...@tapestry.apache.org > > -- Saludos, --- "Nada que se consiga sin pena y sin trabajo es verdaderamente valioso." Joseph Addison --

Re: Possible to build a Table from multiple sources?

2012-04-25 Thread ICE Ernesto Arteaga Zavala
How do you really want to display your info? Provide an example... 2012/4/25 Az Madu > Hi guys, > > I'm trying to construct a table (Tapestry 5) unsuccessfully so far, and > have been scouring the forums (Nabble) and elswhere for examples on > building a table. So far it appears that it's on

Re: Example of jquery tabs with formfragments

2012-05-30 Thread ICE Ernesto Arteaga Zavala
- "Nada que se consiga sin pena y sin trabajo es verdaderamente valioso." Joseph Addison --- ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo

Re: Can grid without data show headers?

2012-05-30 Thread ICE Ernesto Arteaga Zavala
--- "Nada que se consiga sin pena y sin trabajo es verdaderamente valioso." Joseph Addison ------- ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo

Re: Example of jquery tabs with formfragments

2012-05-30 Thread ICE Ernesto Arteaga Zavala
> > >> > >> value="message:locator-label" /> > > >> > > >> > > >> value="locator.locatorType" /> > > >> > t:id="locator" > > >> value="locator.locator" /> > > >> > > >> > > >> > >> class="t-beaneditor-row"> > > >> > >> t:mixins="jquery/button" /> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> -- > > >> View this message in context: > > >> > > > http://tapestry.1045711.n5.nabble.com/Example-of-jquery-tabs-with-formfragments-tp5713510p5713511.html > > >> Sent from the Tapestry - User mailing list archive at Nabble.com. > > >> > > >> - > > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > >> For additional commands, e-mail: users-h...@tapestry.apache.org > > >> > > >> > > > -- Saludos, --- "Nada que se consiga sin pena y sin trabajo es verdaderamente valioso." Joseph Addison --- ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo

Re: Forms - BeanEditor and t:select

2012-06-01 Thread ICE Ernesto Arteaga Zavala
consiga sin pena y sin trabajo es verdaderamente valioso." Joseph Addison --- ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo

Re: BigDecimal on Tapestry pages

2012-07-04 Thread ICE Ernesto Arteaga Zavala
@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Saludos, --- "Nada que se consiga sin pena y sin trabajo es verdaderamente valioso." Joseph Addison --- ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo

Re: Uploading then displaying Images

2012-07-19 Thread ICE Ernesto Arteaga Zavala
e-mail: users-h...@tapestry.apache.org > > -- Saludos, --- "Nada que se consiga sin pena y sin trabajo es verdaderamente valioso." Joseph Addison --- ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo

Re: BigDecimal on Tapestry pages

2012-08-14 Thread ICE Ernesto Arteaga Zavala
gt; > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Saludos, --- "Nada que se consiga sin pena y sin trabajo es verdaderamente valioso." Joseph Addison --- ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo

Re: datefiled and null value 2

2012-09-06 Thread ICE Ernesto Arteaga Zavala
ble.com. > > > > - > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > -- Saludos, -

Re: Best pratice - CRUD Security - Tapestry 4.0 - persistence BY EJB3

2006-05-19 Thread Steve \&quot;Ice Cube\" Lombardi
Thank for Your Reply, it's likely what i have to do... even if i'm using EJB3 persistence with JBoss 4... it's implemented by Hibernate but i don't know if this particular feature is implemented... for example Query By Criteria and Query By Example are not part of the EJB3 Feature And Anothe