Re: Layout component

2012-12-20 Thread ZKN __
mponent До: "Tapestry users" Изпратено на: Четвъртък, 2012, Декември 20 17:49:59 EET On Thu, 20 Dec 2012 12:32:51 -0200, ZKN __ z...@abv.bg > wrote: > Hi, Hi! > I have a question regarding Layout component: > http://tapestry.apache.org/layout-component.html &

Layout component

2012-12-20 Thread ZKN __
Hi, I have a question regarding Layout component: http://tapestry.apache.org/layout-component.html Since pages and components "are more equal than they are different" I was wondering if base pages (located in the base package) can be used as layout components? We already have a Layout compon

Re: tapestry.js formatLocalizedNumber

2012-10-09 Thread zkn
Thanks! That worked. On 09.10.2012, at 10:58, Lance Java wrote: > I've had troubles with this sort of thing before with other web frameworks > before where this was very difficult to do. These locale specific > date/number formats are stored in prop files that are part of the jre > installation a

tapestry.js formatLocalizedNumber

2012-10-08 Thread zkn
Hi, I have a problem with French number formats in text fields. I've contributed my own translator for BigDecimal properties and it works fine except that I had to disable the JS validation. The French number format looks like this: 100 000 000,00 where the grouping separator is space and deci

Re: Confirm mixin with form validation errors

2012-09-17 Thread ZKN __
ри 17 13:40:26 EEST Hi You are using tapestry-jquery and trying to access a prototype library method. Try bind instead of observe regards Taha On Sep 17, 2012, at 4:00 PM, ZKN __ wrote: > > Thank you! > I tried to implement this but not much success for now. I'm n

Re: Confirm mixin with form validation errors

2012-09-17 Thread ZKN __
Thank you! I tried to implement this but not much success for now. I'm not really good at js and jQuery so perhaps I'm doing something wrong. Here is my code initialize: function(element) { var el = $(element); var form = jQuery(el).closest("form"); form.observe(Ta

Re: Global setting for date format

2012-09-05 Thread ZKN __
That's what I was trying to avoid - find different solutions for each case. Cause I might even just do ${myDateField} and I would expect it to be formatted as I need. Since the project is already deployed I don't want to go through each case and occurrence to check if it is using valid format

Re: Global setting for date format

2012-09-05 Thread ZKN __
For example in beandisplay component. Displaying all date fields for an object in the same default date format. Оригинално писмо От: Lance Java lance.j...@googlemail.com Относно: Re: Global setting for date format До: users@tapestry.apache.org Изпратено на: Сряда,

Re: Global setting for date format

2012-09-05 Thread ZKN __
Hi Lance, I was refering to DateField but I wanted the same thing applied everywhere even when I just output a text. I just want to be sure that someone did not forget to put a specific attribute somwhere in the code. Оригинално писмо От: Lance Java lance.j...@goog

Re: page instances to particular threads

2012-08-20 Thread zkn
hanism. > > mrg > > > On Mon, Aug 20, 2012 at 4:47 AM, ZKN __ wrote: >> >> Hi, >> this is from the tapestry documentation "By reserving page instances to >> particular threads, all the difficult, ...". >> >> Does it mean that a page

page instances to particular threads

2012-08-20 Thread ZKN __
Hi, this is from the tapestry documentation "By reserving page instances to particular threads, all the difficult, ...". Does it mean that a page is bound to a thread and it will always get executed by the same thread? Also does it mean that this thread will not execute any other type of req

Re: relative page links in components

2012-08-01 Thread ZKN __
path. > Оригинално писмо >От: "Thiago H de Paula Figueiredo" thiag...@gmail.com >Относно: Re: relative page links in components >До: "Tapestry users" >Изпратено на: Сряда, 2012, Август 1 04:34:26 EEST > On Thu, 26 Jul 2012 09:12:23 -0300

Re: relative page links in components

2012-07-30 Thread ZKN __
ty > private String pageName; > > and then you can use a pagelink in the component template > > ... > > > regards > Taha > > On Jul 27, 2012, at 12:37 PM, ZKN __ wrote: > > > Thanks guys. > > The way I did is defin

Re: relative page links in components

2012-07-27 Thread ZKN __
I ( > > http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/ComponentResources.html > > ). > > > > Cheers, > > > > Alex K > > > > On Thu, Jul 26, 2012 at 8:12 AM, ZKN __ wrote: > > > >> &g

relative page links in components

2012-07-26 Thread ZKN __
Hi, I have a component that's to be included in different pages. Inside the component I have page links that need to be relative to the current page. Something like this: ${message:edit} The

Re: component initialization on post back

2012-07-23 Thread ZKN __
ers >Изпратено на: Понеделник, 2012, Юли 23 14:41:11 EEST > Try onActivate() or onPrepareForSubmit(). > > > On Mon, Jul 23, 2012 at 7:19 AM, ZKN __ wrote: > > > Hi, > > I have a custom component that needs to be initialized every time before

component initialization on post back

2012-07-23 Thread ZKN __
Hi, I have a custom component that needs to be initialized every time before use. For this I wrote a method like this: @SetupRender public void prepare() { But this method only gets invoked on an initial get request. It doesn't get invoked when I submit a button inside this component. So