T5 Working Tapestry Hibernate with DAO.

2010-10-20 Thread ael
Reference http://code.google.com/p/tapestry5examples/downloads/detail?name=folderTap5_1_0_2-src.jar&can=2&q= Tapestry Hibernate AppModule.java package com.dash.tapestryiocdao.services; import java.io.IOException; import org.apache.tapestry5.*; import org.apache.tapestry5.ioc.MappedConfigurat

Error: SYNTAX_ERR: DOM Exception 12

2010-10-20 Thread tguy
It seems like BeanEditForm will cause this DOM Exception 12 error if a layout template is applied against .tml that contains the bean. If I remove the t:type="layout" from the root element i.e. html tag, the error goes away. This especially true if it is first launch with the primary field left em

RE: Tapestry 5.2.1 with Quercus together on GAE4J?‏

2010-10-20 Thread tguy
FYI, I redeployed and it WORKS You are the man! From: jamesta...@hotmail.com To: ml-node+3229658-1152298189-142...@n5.nabble.com Subject: RE: Tapestry 5.2.1 with Quercus together on GAE4J?‏ Date: Wed, 20 Oct 2010 22:21:01 -0400 Yes I do develop on jetty locally and it works (Windows

RE: Tapestry 5.2.1 with Quercus together on GAE4J?‏

2010-10-20 Thread tguy
Yes I do develop on jetty locally and it works (Windows 7 platform though). I think you probably are right, GAE is running Linux, so case does matter I guess. I followed your suggestions and now I got a new error :) Getting there! 10-20 07:16PM 45.515 com.google.appengine.repackaged.com.google

Re: Tapestry5 Got5-JQuery experiences

2010-10-20 Thread iberck
Thank you for the response andy I hate prototype and other developers thinks the same: http://stackoverflow.com/questions/176324/why-does-everyone-like-jquery-more-than-prototype-script-aclo-us-or-mootools-or-w), I was waiting a tested libraries like these for use Tapestry I have tapestry 5.1

Re: Tapestry 5.2.1 with Quercus together on GAE4 J?‏

2010-10-20 Thread Thiago H. de Paula Figueiredo
On Wed, 20 Oct 2010 22:04:20 -0200, tguy wrote: Yes the pages are all in I.e. orderstart.tml and OrderStart.java. It should be OrderStart.tml. Tapestry is case-insensitive for lots of things but not for template file names. By the way, if you're a Tapestry beginner, develop in Jetty befor

Re: Tapestry 5.2.1 with Quercus together on GAE4J?‏

2010-10-20 Thread tguy
Yes the pages are all in I.e. orderstart.tml and OrderStart.java. Yes php + tapestry + has ;) Sent from my HTC on the Now Network from Sprint! - Reply message - From: "Thiago H. de Paula Figueiredo [via Tapestry]" Date: Wed, Oct 20, 2010 6:54 pm Subject: Tapestry 5.2.1 with Quercus to

Re: Tapestry 5.2.1 with Quercus together on GAE4 J?‏

2010-10-20 Thread Thiago H. de Paula Figueiredo
On Wed, 20 Oct 2010 19:51:37 -0200, tguy wrote: Hi all, Hi! I would like to know if it is possible to make T5.2.1 works on Google App Engine for Java together with Quercus components. I configured everything and I got this error - Tapestry + PHP + GAE? An unexpected application exceptio

Tapestry 5.2.1 with Quercus together on GAE4J?‏

2010-10-20 Thread tguy
Hi all, I would like to know if it is possible to make T5.2.1 works on Google App Engine for Java together with Quercus components. I configured everything and I got this error - An unexpected application exception has occurred. java.lang.RuntimeException Page OrderStart did not generate any mar

tapestry tynamo forum login question.

2010-10-20 Thread cablepuff
Hi i have a few question. how do i set up jdbc relam is doing this k? public class AppModule { @Inject private static DataSource dataSource; private static JdbcRealm realm; private static final String AUTHENTICATION_QUERY = "select PASSWORD from USER_ROLE

Re: Which T5.2 to use?

2010-10-20 Thread Howard Lewis Ship
We're also working on the new web site, which can be previewed here: http://people.apache.org/~uli/tapestry-site/release-notes-521.html On Wed, Oct 20, 2010 at 12:15 PM, Robert Zeigler wrote: > 5.2.1 was just released as the "current" 5.2.1 release, currently considered > "beta".  It is primari

Re: Which T5.2 to use?

2010-10-20 Thread Robert Zeigler
5.2.1 was just released as the "current" 5.2.1 release, currently considered "beta". It is primarily a bug-fix over 5.2.0, which was released as an "alpha" status release. 5.2.2 is still a snapshot/not officially released. I would go with 5.2.1, or possibly 5.2.2-SNAPSHOT. Robert On Oct 20,

Re: Trigger a client-side event AFTER Zone update?

2010-10-20 Thread Juan E. Maya
Hi Stefan, The zone rises an Event when it's updated. You can check it on the documentation: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html You just have to listen for the JS Tapestry.ZONE_UPDATED_EVENT and add any JS you want. This is p

Re: login with stored procedure

2010-10-20 Thread Andrey Gladilin
Seems that this advise does not work for me. Look, I implement a realm which calls stored procedure login(username, password), which accepts plain text password. Code: public class ProcRealm extends AuthorizingRealm { protected DataSource dataSource; private static final Logger log = Logge

Which T5.2 to use?

2010-10-20 Thread Stefan Schuetz
Hi again, i want to upgrade my current project from 5.1.0.8 to 5.2 My main reason is TAP5-733 [I have this bug with 5.1.0.8 too] and there are a lot of changes i like to play with too. So, which version of 5.2 should i take? 5.2.0 , 5.2.1 or 5.2.2 ? I could not found a Changelog/Known Bugs list

Trigger a client-side event AFTER Zone update?

2010-10-20 Thread Stefan Schuetz
Hi guys, i have an ajaxformloop (could be a simple zone too). After adding a row i need to trigger a client-side action to do some stuff with the inserted elements. How can i do this? To be more precise: After the DOM is ready a script finds all elements within an ajaxformloop-generated table

Re: Pollution of service namespaces

2010-10-20 Thread Howard Lewis Ship
Stripping away qualified service ids (from T4/HiveMind) was one of the simplifications that came with Tapestry. Finding a way to deal with naming conflicts now is going to pose a bit of a challenge. We're we are headed is something more like Guice, where there is no concept of a service id: just

Re: setSortAscending on BeanModel in Grid

2010-10-20 Thread Josh Canfield
If you want to you can provide a custom sort model, it's a pretty simple interface. Alternatively, if all you want to do is start with sort descending then you could just do this: _grid.getSortModel().updateSort("entered"); // sorts ascending _grid.getSortModel().updateSort("entered"); // now sor

Re: Tapestry 5.1 and openJPA

2010-10-20 Thread Josh Canfield
It sounds like your problem is more directly related to either spring or open jpa. While you might find someone on this list with experience in those technologies you might have more luck if you run it by someone with spring/openjpa... Josh On Wed, Oct 20, 2010 at 6:22 AM, Richard Hill wrote: >

Re: setSortAscending on BeanModel in Grid

2010-10-20 Thread Rich M
Hi, I don't use 5.2, but it seems based on your code this should work (I do this in 5.1.0.5): ColumnSort colSort = _grid.getSortModel().getColumnSort("txnId"); while(!colSort.equals(ColumnSort.DESCENDING)){ _grid.getSortModel().updateSort("txnId"); //Should invert the sort

Tapestry 5.1 and openJPA

2010-10-20 Thread Richard Hill
Hi All, I'm using openJPA directly (no hibernate), and am having a problem with defining a persistence provider. When I request a page with an injected Dao I get the following exception: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFacto

setSortAscending on BeanModel in Grid

2010-10-20 Thread Darren Williams
Hi, we have been trying to work out a way to set the default sort order on our BeanModel to descending by default, since this is what out SQL query does but it appears as though the grid does not expose this method as shown below. Is there another way we can do this? All the examples I have see

Re: Component parameters-unintended persistent binding

2010-10-20 Thread Jeshurun Daniel
Yes Josh, I believe Tapestry sends back the index page instead of a 404 error, so for all four images it must have sent back the index page, which explains the queries, once for each image.  Thanks to everyone who looked into this!Jeshurun --- On Tue, 10/19/10, Josh Canfield wrote: From: Josh

Pollution of service namespaces

2010-10-20 Thread Inge Solvoll
Some time ago, we had to change the id of one of our Spring beans. Reason: chenillekit registers a service named "configurationService", which was the name of our internal service as well. This is a good example of a slightly polluted namespace, you can't name your service logically according to t

Re: Tapestry5 Got5-JQuery experiences

2010-10-20 Thread Andreas Andreou
i had ported it to Tapestry 5.2.0 ( http://github.com/andyhot/tapestry5-jquery/tree/tap-5.2 you'll also need http://github.com/andyhot/tapestry5-clientresources/tree/tap-5.2 ) and then used it to port tapestwitter from prototype into jquery ( see http://github.com/andyhot/tapestwitter ) I didn't e

Re: login with stored procedure

2010-10-20 Thread Andrey Gladilin
Thanks Kalle, I will try. I will compare hashes, but a bit later. By now I need the simplest way to make my application up and running. On Wed, Oct 20, 2010 at 10:42 AM, Kalle Korhonen wrote: > In your contributeWebSecurityManager(...) simply call: > yourRealm.setCredentialsMatcher(new SimpleCr

Tapestry5 Got5-JQuery experiences

2010-10-20 Thread iberck
Anyone has tested http://github.com/got5/tapestry5-jquery for integrate jquery with tapestry5? I want to use it in production but I'm not sure Thanks in advance -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry5-Got5-JQuery-experiences-tp3228056p3228056.html Sent