Re: Validator name for numeric fields

2012-03-01 Thread Thiago H. de Paula Figueiredo
On Thu, 01 Mar 2012 17:44:22 -0300, Markus Grell wrote: Greetings! Hi! What's the name of the system validator for numeric fields in a form? One of the fields in my form is of type "Double". Tapestry is intelligent enough to validate that and provide the message "You must provide a numeri

Re: Problem with tapestry-yuicompressor in Tomcat

2012-03-01 Thread Paul Stanton
I found a solution too: ;) On 2/03/2012 1:34 AM, antalk wrote: I had the same issue and found a solution: https://issues.apache.org/jira/browse/TAP5-1729?focusedCommentId=13220036&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13220036 -- View this message in

Validator name for numeric fields

2012-03-01 Thread Markus Grell
Greetings! What's the name of the system validator for numeric fields in a form? One of the fields in my form is of type "Double". Tapestry is intelligent enough to validate that and provide the message "You must provide a numeric value for " if I try to submit with letters. For translating this m

Re: Hibernate/Tapestry5 - MySQL database

2012-03-01 Thread Thiago H. de Paula Figueiredo
On Thu, 01 Mar 2012 15:33:45 -0300, CHAUVEL wrote: Hi there, Hi! I tried during 2 days to change my MySQL db from hibernate using Tapestry5. My DB is called: panaderia and the table I'm using is Usuario. There are already 3 fields in this table: id long email varchar login varchar I want

Re: Thoughts about the Tapestry Grid Component

2012-03-01 Thread Thiago H. de Paula Figueiredo
On Thu, 01 Mar 2012 10:49:34 -0300, Tonne indie wrote: - Using the Grid component inside a Loop leads to erroneous sorting behavior. Example: 1 Grid, used inside a loop leads to 3 rendered grids on the client. Changing the sort of one of them, sorts all grids since the sorting

Hibernate/Tapestry5 - MySQL database

2012-03-01 Thread CHAUVEL
Hi there, I tried during 2 days to change my MySQL db from hibernate using Tapestry5. My DB is called: panaderia and the table I'm using is Usuario. There are already 3 fields in this table: id long email varchar login varchar I want to add a new field called name from hibernate/tapestry5 (withou

Thoughts about the Tapestry Grid Component

2012-03-01 Thread Tonne indie
- The Grid itself renders the client id only when inplace is set true, is there a specific reason why its id is omitted on inplace false? (also see https://issues.apache.org/jira/browse/TAP5-1569) - Using the Grid component inside a Loop leads to erroneous sorting behavior. Exam

Re: First mixin attempt question

2012-03-01 Thread Andrew Dahl
Thanks! Tiny things like that can really hold up us noobs. I could not find anything in jumpstart that actually showed using a custom mixin, just how to build one. Andy\rew On 2/29/2012 3:08 PM, Christian Riedel wrote: Hi Andrew, try mixins="venses/EventBind" you need to specify the namespac

Re: Tapestry and JPA

2012-03-01 Thread heapifyman
Hi Andreas, thanks again. 2012/3/1 Andreas Fink > Yes. I am using jetty (7) in development and production. It works > perfectly fine. > I am following, pretty much directly, the setup here: > http://open.bekk.no/embedded-jetty-7-webapp-executable-with-maven/ > During development i start it fro

Re: ?t:lb=t being appended to query parameter

2012-03-01 Thread Howard Lewis Ship
You'll see the t:lb (loopback) parameter on pages where some component has a pageReset() lifecycle method. On Wed, Feb 29, 2012 at 4:59 PM, George Christman wrote: > I think it's happening because I have a tree on the left nav bar and I'm > reloading the index page with a new parameter. > > -- >

Re: Problem with tapestry-yuicompressor in Tomcat

2012-03-01 Thread antalk
I had the same issue and found a solution: https://issues.apache.org/jira/browse/TAP5-1729?focusedCommentId=13220036&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13220036 -- View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-with-tapestry

Re: Tapestry and JPA

2012-03-01 Thread Andreas Fink
Yes. I am using jetty (7) in development and production. It works perfectly fine. I am following, pretty much directly, the setup here: http://open.bekk.no/embedded-jetty-7-webapp-executable-with-maven/ During development i start it from a main method / tools menu (eclipse), in production with y

Re: fckeditor for Tapestry 5.3

2012-03-01 Thread Dragan Sahpaski
Hi Kalle, Merging this with tynamo? Why not. You can email me what needs to be done. Although before we do it I would like at lest to make some tests to make the module at least half decent. I'm thinking it would also be nice to have support for ALL ckeditor features like image and flash upload o

Re: How to display special characters in tml page

2012-03-01 Thread Christian Riedel
...then something is misspelled. your project name doesn't matter - it must be the page name that has to be equal to the properties (and .tml) name. don't forget to check out the user guide: http://tapestry.apache.org/user-guide.html http://tapestry.apache.org/localization.html Am 01.03.2012

Re: Tapestry and JPA

2012-03-01 Thread heapifyman
Hi Andreas, thanks for the hint. Indeed I hadn't defined a DS. I tried your example now and it seems to be working, At least I don't get any exceptions during startup anymore. I had to tweak your code a little though: Context envC = ic.createSubcontext("java:comp/env"); Context jdbcC = envC.create

Re: tapestry5-jquery-2.6.0 change theme

2012-03-01 Thread Emmanuel DEMEY
Hi you have to modify the JQuerySymbolConstants.JQUERY_UI_DEFAULT_THEME constant in your AppModule. https://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/services/JQueryModule.java Manu 2012/3/1 resign > Hi, > i use > tapestry5-jquery-2.6.0 with tapestry

tapestry5-jquery-2.6.0 change theme

2012-03-01 Thread resign
Hi, i use tapestry5-jquery-2.6.0 with tapestry 5.2.6. Now i have to switch the default theme (ui-lightness) to smoothness. What i have to do? Thanks resign. PS: yes, i dd search, but unfortunately i can't find anything :-( -- View this message in context: http://tapestry.1045711.n5.nabble.

Re: How to display special characters in tml page

2012-03-01 Thread Shing Hing Man
Please check your web.xml. In mine :     app   org.apache.tapestry5.TapestryFilter My global properties file is  called app.properties (from filter name) , and it is in the same folder as web.xml. Also note that  each page/component  could have its own properties file.  The valu

Re: How to display special characters in tml page

2012-03-01 Thread karthi
I tried that in properties file but it says missing key -- [[missing key: stock]] My project name is Registration, in that under resources - pages package created one Registration.properties file and in that added that key and value In test.tml file when I called like this ${message:stock} i

Re: How to display special characters in tml page

2012-03-01 Thread Christian Riedel
or like this... .properties: market=Börse .tml ${message:market} Am 01.03.2012 um 11:04 schrieb Shing Hing Man: > > > One solution is to use the outputraw component. > > > In .properties file : > erdos=Erdö > > In .tml : > > > > Shing > > > > > Fr

Global validation messages translation

2012-03-01 Thread Markus Grell
Greetings! I need to translate the messages of the standard validators. The Tapestry documentation reads: - Each validator (such as "required" or "minlength") has a default message used (on the client side and the server side) when the constraint is violated; that is, when the user input is n

Re: How to display special characters in tml page

2012-03-01 Thread Shing Hing Man
One solution is to use the outputraw component. In .properties file  :  erdos=Erdö In .tml : Shing From: karthi To: users@tapestry.apache.org Sent: Thursday, March 1, 2012 8:56 AM Subject: How to display special characters in tml page How to show the