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
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
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!
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
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
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
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
verdaderamente valioso.
Joseph Addison
---
ICE Ernesto Arteaga Zavala
Ingeniero de Desarrollo
---
ICE Ernesto Arteaga Zavala
Ingeniero de Desarrollo
sin trabajo
es verdaderamente valioso.
Joseph Addison
---
ICE Ernesto Arteaga Zavala
Ingeniero de Desarrollo
---
ICE Ernesto Arteaga Zavala
Ingeniero de Desarrollo
,
---
Nada que se consiga sin pena y sin trabajo
es verdaderamente valioso.
Joseph Addison
---
ICE Ernesto Arteaga Zavala
Ingeniero de Desarrollo
,
---
Nada que se consiga sin pena y sin trabajo
es verdaderamente valioso.
Joseph Addison
---
ICE Ernesto Arteaga Zavala
Ingeniero de Desarrollo
...@tapestry.apache.org
--
Saludos,
---
Nada que se consiga sin pena y sin trabajo
es verdaderamente valioso.
Joseph Addison
---
ICE Ernesto
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 /
@Inject
private Request request;
if(eventContext.getCount()==0){
if(request.isXHR()){
return null;
}
return index;
}
Any better idea?
---
ICE Ernesto Arteaga Zavala
Ingeniero de Desarrollo
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.
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)?
.
Joseph Addison
---
ICE Ernesto Arteaga Zavala
Ingeniero de Desarrollo
sin pena y sin trabajo
es verdaderamente valioso.
Joseph Addison
---
ICE Ernesto Arteaga Zavala
Ingeniero de Desarrollo
.
Joseph Addison
---
ICE Ernesto Arteaga Zavala
Ingeniero de Desarrollo
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
Thx, I use HibernateSessionSource.create(). Is this thread safe?
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]
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
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
?
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
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?
So I can't use int type for the field which uses the regexp.
Could anyone give me some advices for this case?
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
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
...@tapestry.apache.org
--
Saludos,
---
Nada que se consiga sin pena y sin trabajo
es verdaderamente valioso.
Joseph Addison
---
ICE Ernesto
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
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!
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
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
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
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
+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
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
+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
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.
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
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.
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
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
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
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
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
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
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
52 matches
Mail list logo