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 thiag...@gmail.com: 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 data from payload?, all

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 thiag...@gmail.com: 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)* {id:0, title:Another

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 thiag...@gmail.com : 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) from request interface

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 thiag...@gmail.com : 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 wrote: Why do you need

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 thiag...@gmail.com : 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 : On Thu, 24 Jul 2014 19:31:35 -0300

Palette and zone

2014-06-09 Thread ICE Ernesto Arteaga Zavala
zone=leaderZone/ t:zone t:id=leaderZone id=leaderZone t:select t:encoder=encoder t:model=model t:value=leader / /t:zone Thanks in advance! ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo

Re: Web frameworks

2013-11-20 Thread ICE Ernesto Arteaga Zavala
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
--- ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo

Re: Localize grid There is no data to display.

2012-09-08 Thread ICE Ernesto Arteaga Zavala
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
--- ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo

Re: BigDecimal on Tapestry pages

2012-08-14 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: Uploading then displaying Images

2012-07-19 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: BigDecimal on Tapestry pages

2012-07-04 Thread ICE Ernesto Arteaga Zavala
...@tapestry.apache.org -- Saludos, --- Nada que se consiga sin pena y sin trabajo es verdaderamente valioso. Joseph Addison --- ICE Ernesto

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: Forms - BeanEditor and t:select

2012-06-01 Thread ICE Ernesto Arteaga Zavala
--- ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo

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)?

Re: Example of jquery tabs with formfragments

2012-05-30 Thread ICE Ernesto Arteaga Zavala
. Joseph Addison --- ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo

Re: Can grid without data show headers?

2012-05-30 Thread ICE Ernesto Arteaga Zavala
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
. Joseph Addison --- ICE Ernesto Arteaga Zavala Ingeniero de Desarrollo

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

RE: Hibernate Transaction

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

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]

RE: Tapestry Regexp Validator

2012-05-18 Thread Fight Ice
in template file: form t:id=addToShoppingCartForm t:type=form t:label for=productAmount/input t:id=productAmount t:validate=required,regexp,min=1 t:type=textField size=3 style=ime-mode:disabled;/ t:textField t:id=itemId style=display:none;/ input type=submit

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 wrote: Tapestry 5.3.2: I try to use

RE: Tapestry Regexp Validator

2012-05-18 Thread Fight Ice
? 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: form t:id=addToShoppingCartForm t:type=form t:label for=productAmount/input t:id=productAmount t:validate=required,regexp,min=1 t:type

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?

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

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 azm...@gmail.com 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

Re: Bean Edit Form w/ Select Menu

2012-04-16 Thread ICE Ernesto Arteaga Zavala
...@tapestry.apache.org -- Saludos, --- Nada que se consiga sin pena y sin trabajo es verdaderamente valioso. Joseph Addison --- ICE Ernesto

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

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!

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

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 two

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 Tapestry

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

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 thiag...@gmail.com +1. The more books, the better. :) -- Thiago -- View this message in context: http://n2.nabble.com/best-book-for-T5-tp3065795p3087263.html

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

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: Hugo Palma

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

Re: Switch from Prototype to jQuery?

2009-06-10 Thread ice
As a start, anything that deals with Javascript should be moved away from the core, since it's not essential. a tapestry-ui module would be great starting point. When i say forcing, i mean that Prototype is already built-in, rather than letting me choose which Javascript framework do i want.

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

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

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

Re: Switch from Prototype to jQuery?

2009-06-10 Thread ice
2009 17:16:03 -0300, ice fra...@gmail.com 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 core, so there'se no need do separate it in two

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 respondents

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

2006-05-19 Thread Steve \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