Re: [ANNOUNCE] Announcing Tapestry 5.3.1

2011-12-21 Thread jose luis sanchez
No binary package available yet … 8-( Anyway, congratulations for the release :) El 21/12/2011, a las 23:29, Massimo Lusetti escribió: > > The Tapestry Team is very proud to announce the availability of Apache > Tapestry 5.3.1. > > http://tapestry.apache.org/2011/12/21/announcing-tapestry-5

Re: prototypejs is dead - time to bring t5-jquery in?

2011-12-16 Thread Jose Luis Sanchez
nd jQuery out-of-the-box and anyone could provide your own implementation too. This way, there's no useless code in either option. -- *Jose Luis Sanchez* Senior Developer *E-mail*: joseluis.sanc...@m-centric.com *Phone* : +34 91 277 03 16 mCentric mobilising imagination c/ Jose Echegara

Re: Tapestry 5.3.x binary release

2011-12-14 Thread Jose Luis Sanchez
Maven repository? http://search.maven.org/#search%7Cga%7C1%7Ctapestry mrg On Wed, Dec 14, 2011 at 9:31 AM, Jose Luis Sanchez wrote: Hi everyone, This is a public petition for , mainly, Tapestry maintainers. As my company does not use nor maven nor gradle ( sigh :-( ), and we are still sticking

Tapestry 5.3.x binary release

2011-12-14 Thread Jose Luis Sanchez
ng time :-( -- *Jose Luis Sanchez* Senior Developer *E-mail*: joseluis.sanc...@m-centric.com *Phone* : +34 91 277 03 16 mCentric mobilising imagination c/ Jose Echegaray, 8 Building 3 28230 Las Rozas (Madrid). SPAIN. This message may contain confidential information or privileged material, and

Re: Fwd: Default values for a grid : concept erroneus ?

2011-11-24 Thread Jose Luis Sanchez
need that. :) -- *Jose Luis Sanchez* Senior Developer *E-mail*: joseluis.sanc...@m-centric.com *Phone* : +34 91 277 03 16 mCentric mobilising imagination c/ Jose Echegaray, 8 Building 3 28230 Las Rozas (Madrid). SPAIN. This message may contain confidential information or privileged materi

Re: Fwd: Default values for a grid : concept erroneus ?

2011-11-24 Thread Jose Luis Sanchez
("transactionDate", endDate(toDate))) .add(Restrictions.ge("partitionDate", Integer.parseInt(tformatter.format(fromDate .add(Restrictions.le("partitionDate", Integer.parseInt(tformatter.format(toDate)))) .addOrder(Order.asc("id")).list();

Fwd: Default values for a grid : concept erroneus ?

2011-11-23 Thread jose luis sanchez
> >> El 23/11/11 20:06, Thiago H. de Paula Figueiredo escribió: >>> >>> Hi! >>> >>> Template and code please. :) Either way, instead of persisting search >>> results, I just fetch them in getTransactions(). >>> >> >> Well, this is the page .. no special about it >> >> >> >> >> >> >> >

Re: Default values for a grid : concept erroneus ?

2011-11-23 Thread Jose Luis Sanchez
El 23/11/11 20:06, Thiago H. de Paula Figueiredo escribió: Hi! Template and code please. :) Either way, instead of persisting search results, I just fetch them in getTransactions(). Well, this is the page .. no special about it value="${message:search}"/> Transactions t:exclu

Default values for a grid : concept erroneus ?

2011-11-23 Thread Jose Luis Sanchez
What am i missing here ? BTW. I am migrating to a GridDataSource, but i'd like this concept to be clarified to me, as it can change my mind :) Thanks a lot. -- *Jose Luis Sanchez* Senior Developer *E-mail*: joseluis.sanc...@m-centric.com *Phone* : +34 91 277 03 16 mCentric mobilising

Tapesty CDI at compile time ( or sort of )

2011-10-06 Thread Jose Luis Sanchez
wright way to achieve it. May any of you help me with this ? I do not need any runtime behaviour, just compile time. Thanks everyone, and long life to Tapestry ! ( So to Howard and all the maintainers, of course :) ) -- *Jose Luis Sanchez* Senior Developer *E-mail*: joseluis.sanc...@m

Re: Validating forms inside a loop

2010-02-17 Thread jose luis sanchez
ly have a bug if this is getting called >throw new RuntimeException("This shouldn't happen"); >} >_indexedTrackers.put(_formIndex, tracker); > // Remember the trackers for the render. >setIndexedTrackers(_indexedTrackers); >} > >

Validating forms inside a loop

2010-02-17 Thread Jose Luis Sanchez
Hi all. I have a multiple form problem .. and after having search and thought many on this, can't find a solution. clientValidation="false"> Well, that's a sample of what i have. I'll tell my usage : When the user clicks Reject, no clientValidation is done. That's why i di

Editable grid with save actionlink in every row

2010-02-12 Thread Jose Luis Sanchez
Hi all. I've using an editable grid based on http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/tables/editablegridusingencoder1 but instead of having a submit button for the whole form, i've added a Save button as a new property for every row, so every row can be saved on its own.

Re: Updating Hibernate Entites

2010-02-08 Thread Jose Luis Sanchez
You are trying to save a new object while using the old object id , what would end in two entities with same id - something not possible. You should call your DAO update method , instead of save. Hello List, i'm trying to update an Hibernate-Object but alway get an "a different object wit

Change default URI (T5.1)

2010-01-26 Thread Jose Luis Sanchez
Hi all. I have an application under com.mycompany.customer.product packages, that tapestry makes accesible to the container a /product But i do want to change that to /othername. How can this be accomplished without renaming the packages ? I'm pretty sure it's quite easy, but haven't found how

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-07 Thread jose luis sanchez
Book ! Book ! Book ! El 07/11/2009, a las 19:11, Howard escribió: I've been consciously letting Tapestry 5.1 sit and stabilize for a while ... a time that's stretched a few months longer than I initially intended. This is due to a number of factors: my return to independent consulting, my desir

Re: StreamResponse on Success

2009-09-18 Thread jose luis sanchez
Thanks .. that's what i'll do ... some page refresh from javascript .. Em Thu, 17 Sep 2009 11:55:03 -0300, jose luis sanchez escreveu: Anyone on this, please ? Tapestry doesn't do a redirect-after-post when you return a StreamResponse. HTTP doesn't allow to return two

Re: StreamResponse on Success

2009-09-17 Thread jose luis sanchez
Anyone on this, please ? Hi all. I've found myself a problem in an application i've developed using T5.1 There's a page, with 2 datefields, ( From / To ), and a Submit. The Submit button calls the StreamResponse onSuccess() method , returning a CVS file with a list of records. But i'd l

StreamResponse on Success

2009-09-17 Thread jose luis sanchez
( Sorry, got wrong thread ) :-( Hi all. I've found myself a problem in an application i've developed using T5.1 There's a page, with 2 datefields, ( From / To ), and a Submit. The Submit button calls the StreamResponse onSuccess() method , returning a CVS file with a list of records. But

StreamResponse on Success

2009-09-17 Thread jose luis sanchez
Hi all. I've found myself a problem in an application i've developed using T5.1 There's a page, with 2 datefields, ( From / To ), and a Submit. The Submit button calls the StreamResponse onSuccess() method , returning a CVS file with a list of records. But i'd like to show a label with the

Re: First try with chenilleKit.

2009-09-14 Thread jose luis sanchez
There's a lib dependency problem between chenillekit and tapestry. You should add and exclussion in the chenillekit tapestry dependency. Add this to your pom.xml file org.chenillekit chenillekit-tapestry 1.1.0 * j

2 Tapestry apps in same tomcat

2009-08-19 Thread jose luis sanchez
Hi all. I've developed two diffent T5 apps ( T5.1.0.5), and have them deployed in the same tomcat server. My question is : Will there be any improvements ( speed, memory consuming ) if i share T5 libs between them both ? ( in tomcat/lib folder ) Thanks. ---

Re: T5.1 and JNI

2009-08-17 Thread jose luis sanchez
Problem solved .. a javah incorrect creation :( Hi guys. I'm using a JNI library directly inside a service i have binded into T5.1, but i can't get it to run because of a UnsatiesfiedLinkError. I'll show you how my setup is : ( System is ubuntu 9.04 ) Library in /etc/lib/mylib.so AppModule

T5.1 and JNI

2009-08-17 Thread jose luis sanchez
Hi guys. I'm using a JNI library directly inside a service i have binded into T5.1, but i can't get it to run because of a UnsatiesfiedLinkError. I'll show you how my setup is : ( System is ubuntu 9.04 ) Library in /etc/lib/mylib.so AppModule.java public static void bind(ServiceBinder bind

Re: [T5] Create audit annotation

2009-07-31 Thread jose luis sanchez
It should be like that .. but i believe the @Persist tag stores the value of the field at runtime, so it should get the field value .. but looking at the tapestry source code i can't get HOW to do it .. do you think i'm right ? Em Thu, 30 Jul 2009 15:34:33 -0300, jose luis sanchez

Re: t5: determine page's locale?

2009-07-31 Thread jose luis sanchez
As easy as @Inject private Locale currentLocale; localeLabel = currentLocale.getDisplayName(currentLocale); if (currentLocale.equals(Locale.FRENCH)) { } If i understood well what u need is the PersistentLocale. That's the one that takes the local from the url U can see more det

Re: [T5] Create audit annotation

2009-07-30 Thread jose luis sanchez
ome of its implementation (PropertyWorker, InjectWorker and so on...) Also have a look to TapestryModule class and contributeComponentClassTransformWorker() method. -Message d'origine- De : jose luis sanchez [mailto:joseluis.sanc...@m-centric.com] Envoyé : jeudi 30 juillet 2009 19:01

Re: [T5] Create audit annotation

2009-07-30 Thread jose luis sanchez
Yeah,sure .. i was looking for Tapestry annotations howto .. and realized that are java5 related, not 5. Lately, T5 is solving so many problems i'm start to think everything is related to it :-) Em Thu, 30 Jul 2009 14:01:05 -0300, jose luis sanchez escreveu: Hi all. Hi! But i

[T5] Create audit annotation

2009-07-30 Thread jose luis sanchez
Hi all. I'm trying to create an annotation for auditing methods in my application, in order to log to a file who is doing what. The use of the annotation should be like this ... @Audit(user=user, what=method) private void storingAccount(.) where user and method should be parameters ...

Re: [T5] Problems with commitAfter

2009-07-24 Thread jose luis sanchez
Apparently, there's been a rollback .. but ... why ? there's no error .. how can i get more info ? @Log @CommitAfter public void onAction() { Customer customer = new Customer(); customer.setPhone(99L); customer.setType(CustomerType.STANDARD); theSession.s

Re: [T5] Problems with commitAfter

2009-07-24 Thread jose luis sanchez
Looking inside the database :-) Even after changing to another page, quitting the application , etc .. How do you check that data is not persisted, Jose? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For addit

Re: [T5] Problems with commitAfter

2009-07-22 Thread jose luis sanchez
estry5/tapestry-hibernate/userguide.html The advisor is only necessary when using @CommitAfter with your own *services*. The @CommitAfter annotation works with *components* automatically. ? On Tue, Jul 21, 2009 at 9:13 PM, jose luis sanchez wrote: Hello all. I'

[T5] Problems with commitAfter

2009-07-21 Thread jose luis sanchez
Hello all. I'm experiencing weird problems with the @CommitAfter tag ... Have a hibernate schema, a configuration, and everything ok ( it runs , checked ), now, the only WAY of getting a data to be persisted into database is using a transaction, like this @OnEvent(component="addCustomer",

Re: Removing SSO after successfull submit

2009-07-14 Thread jose luis sanchez
13:21 schrieb jose luis sanchez: Hello. I'm using a Session Object to store the data in a multipage creation wizard. After the last screen, th3e object is persisted in database, so i no longer need it. The problem arises when i hit again the "add new object" button, and the

Removing SSO after successfull submit

2009-07-14 Thread jose luis sanchez
Hello. I'm using a Session Object to store the data in a multipage creation wizard. After the last screen, th3e object is persisted in database, so i no longer need it. The problem arises when i hit again the "add new object" button, and the fields keep the previous data ... because the SSO

Re: How to inform a user that a form is submitted?

2009-07-14 Thread jose luis sanchez
I can only think of one way of doing this : You should have two buttons, a 'submit button' one, and a 'confirm button'. Everytime you hit the submit button, the form should be saved, to a SessionState object and return TO THE SAME page. Then, on second page refresh ( after the hit button ),

Multiple submit button and client validations

2009-07-14 Thread jose luis sanchez
Hi all. I have a form with two grid components inside. i fill every grid with data input from several textfields, using its own submit button. Name Surname [ GRID ] CarPlate CarName [ GRID ] Every field has required validation constraints, and this is the problem. When i hit whichever '

Re: Problems deploying tapestry App in Tomcat 5.x/6.x

2009-07-14 Thread jose luis sanchez
Yes, that was the problem !! Thanks .. now, i have excluded the javassist that chenillekit depends on .. and old one, and everything looks and works ok :-) Maybe you have dublicate javassist jar in your classpath. - To u

Re: FormFragment hide/show effect

2009-07-09 Thread jose luis sanchez
Hi again. It looks like this problem is firefox related ( 3.0.x / 3.5 ) , both windows and ubuntu .. in internet explorer works ! Hi all. I have a somewhat complex form ( a big form with 2 form fragments inside ), like The page is loaded via an onActivation call

FormFragment hide/show effect

2009-07-09 Thread jose luis sanchez
Hi all. I have a somewhat complex form ( a big form with 2 form fragments inside ), like The page is loaded via an onActivation call ( it's an Edit object page ), and the checkboxes gets filled the information provided from the object. If the boolean properties of

Re: Problems deploying tapestry App in Tomcat 5.x/6.x

2009-07-07 Thread jose luis sanchez
The .tml http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; xmlns:p="tapestry:parameter"> t:value="sourcePlan"

Problems deploying tapestry App in Tomcat 5.x/6.x

2009-07-07 Thread jose luis sanchez
Hello all. I have an application created in tapestry 5.1.0.5, and when i run it with a mvn jetty:run It runs perfect. Also with mvn tomcat:run But, when i run it with mvn tomcat:run-war or copy the resulting war inside a working tomcat installation ( both 5.0.28 and 6.0.20 ), the app just do

Re: Integrating DisplayTag in Tapestry

2009-07-02 Thread jose luis sanchez
Yes, i'm actually using grid with great success in other pages of my app, but it's missing the 'group by' facility displaytag gives to me. On Thu, Jul 2, 2009 at 8:58 AM, jose luis sanchez wrote: Sorry, the format screwed up. What i basically want is 'group by&

Re: Integrating DisplayTag in Tapestry

2009-07-02 Thread jose luis sanchez
Sorry, the format screwed up. What i basically want is 'group by' property in a grid table. How can this be achieved, anyone ? Thanks. Hello All. I am currently developing an application using tapestry 5.1.0.5, and well, quite amazed by the advantages and ease of development it gives to me (

Integrating DisplayTag in Tapestry

2009-07-02 Thread jose luis sanchez
Hello All. I am currently developing an application using tapestry 5.1.0.5, and well, quite amazed by the advantages and ease of development it gives to me ( being used to struts 1.x :-) ). But now, i'm facing a problem, that i used to solve with Displaytag, and have not found any similar i

Tapestry and org.restlet ?

2009-06-19 Thread jose luis sanchez
Hello all. I'm developing a restlet based application, based on org.restlet framework 1.1.5 ( latest stable ), BUT would like to add a web-interface for similar stuff in the same deployment. Being tapestry 5.1.0.5 a restful?less? framework, how could this be achieved ? Can i mix both ? does tapes

Tapestry and org.restlet ?

2009-06-18 Thread jose luis sanchez
Hello all. I'm developing a restlet based application, based on org.restlet framework 1.1.5 ( latest stable ), BUT would like to add a web-interface for similar stuff in the same deployment. Being tapestry 5.1.0.5 a restful?less? framework, how could this be achieved ? Can i mix both ? does t