Re: How to get RESTful hierarchical URLs

2010-02-21 Thread kamiseq
well you dont create new, view, delete, edit pages rather get, delete, post and put method for customer service pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: T5: logging statements logged twice using Log4j

2010-02-19 Thread kamiseq
set log4j.additivity.org.tuckey=false pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ On 19 February 2010 13:39, britske wrote: > > Hi, > > I'm having the problem (always had as far as I remember, but it starts to > bug me now) that when using Log4j

Re: ZoneUpdater and Zone Race-Condition

2010-02-18 Thread kamiseq
of the page request through > prototype or jquery it is straight forward." > > > -Original Message- > From: kamiseq [mailto:kami...@gmail.com] > Sent: Wednesday, February 17, 2010 3:38 PM > To: Tapestry users > Subject: Re: ZoneUpdater and Zone Race-Condition &g

Re: ZoneUpdater and Zone Race-Condition

2010-02-17 Thread kamiseq
__ 2010/2/17 Dominik Gätjens > to abort the ajax call sounds very very good. But i don't know where i can > do this in Tapestry because Tapestry does the whole AJAX XMLHttpRequest > thing > > -Ursprüngliche Nachricht- > Von: kamiseq [mailto:kami...@gmail.com] &

Re: ZoneUpdater and Zone Race-Condition

2010-02-17 Thread kamiseq
maybe instead of timestamp you may try to return json/xml with pattern as key and data as value, so you will match key with what you actually are looking for. why can't you just abort the request if new char has been hit http://javascript.about.com/library/blajax11.htm

Re: tapestry without js libs

2010-02-10 Thread kamiseq
200, kamiseq wrote: > > ok, >> im wondering why this is hardcoded into component instead moved to mixin, >> so there wouldnt be a problem with js libs, no mixins no js included in html >> page. >> > > It's not that easy. Mixins are applied statically, while valid

Re: tapestry without js libs

2010-02-10 Thread kamiseq
kami...@gmail.com pkaminski@gmail.com __ On 10 February 2010 13:05, Thiago H. de Paula Figueiredo wrote: > On Wed, 10 Feb 2010 09:37:09 -0200, kamiseq wrote: > > I guess because ie BeanEditForm triggers validation event that prototype >> handles so I dont se

Re: tapestry without js libs

2010-02-10 Thread kamiseq
yep I was thinking about BeanEditForm. I will give it a try. > > then I need create my own component and so on. >> > > Why? > I guess because ie BeanEditForm triggers validation event that prototype handles so I dont see a way to intercept that with jQ > > If you really want to run Tapestry wi

Re: tapestry without js libs

2010-02-10 Thread kamiseq
. de Paula Figueiredo wrote: > On Wed, 10 Feb 2010 06:21:27 -0200, kamiseq wrote: > > hi, >> > > Hi! > > > I would like to use jquery and I know I can set it to have no conflicts >> with prototype. >> > > You can use both at the same

tapestry without js libs

2010-02-10 Thread kamiseq
hi, is there any chance to get tapestry lib wihtout any javascript libraires, so I can implement my own logic for client side??? I know that many components depend on javascript but usually I dont use those anyway. I would like to use jquery and I know I can set it to have no conflicts with protot

Re: Tapestry i18n t:Label

2010-02-05 Thread kamiseq
hi, it is good idea but recently I was thinking more about the functionality that you can have a special marker or global function that gets String and then tapestry will produce properties file for you and replace those markers/function with ${message:whatever} so it can be easily translated. fro

Re: form submits empty values if it was dynamically refreshed with AJAX

2010-02-03 Thread kamiseq
rough the form submit. If you switch code and make link fires ajax event then object will not be updated in onValidateForm callback. pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ -- Forwarded message -- From: kamiseq Date: 3 February 20

Re: form submits empty values if it was dynamically refreshed with AJAX

2010-02-03 Thread kamiseq
and the form itself is working ok as I return the body of the zone in onSuccess or onFail callbacks pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ On 3 February 2010 09:37, kamiseq wrote: > void onValidateForm() { >>>

Re: form submits empty values if it was dynamically refreshed with AJAX

2010-02-03 Thread kamiseq
> > void onValidateForm() { >>try { >>Logger.getLogger(this.getClass()).debug("**onValidateForm"); >>this.version = versionService.updateObjectCfg(objectDetail); >>} catch (Exception e) { >>// Display the cause. In a real system we would try hard

form submits empty values if it was dynamically refreshed with AJAX

2010-02-02 Thread kamiseq
hi, I have a strange problem with my form. a page contains a actionLink button, a div zone and a form in that zone. now both form's submit and action's link event will refresh the zone (and so the form). initially inputs/checkboxes/textareas of the form are disabled (ie ) and sumbit input is cut-ou

Re: message catalog and generated labels from property name

2010-01-26 Thread kamiseq
oh, one more thing can I map values in components like grid to some other names. so if in cell I have "false" or "true", can I map this to something like yes / no pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: message catalog and generated labels from property name

2010-01-26 Thread kamiseq
I think I missed that somehow as you can write a name of the property in mypage.properties file and the new label will be applied as well. but of course that doesn't work when there is a space in label. ok I will check that out. thanks! pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@g

message catalog and generated labels from property name

2010-01-26 Thread kamiseq
hi, my problem is that tapestry in components generates labels as two words (with space between) from property name when camel notation is used so property name like rtobjectDescr will be changed to 'Rtobject Descr' and then I cant change this in my message catalog to something that makes more sens

Re: AbstractSelectModel is not in a controlled package

2010-01-26 Thread kamiseq
hat: > > > "Don't put your SelectCollectionModel inside the components, pages or base > subpackages. Otherwise Tapestry will try to enhance it and fail because the > superclass is not in a controlled package - as the exception message says." > > Uli > > On 25.01

Re: AbstractSelectModel is not in a controlled package

2010-01-25 Thread kamiseq
H. de Paula Figueiredo > wrote: > > On Mon, 25 Jan 2010 20:05:10 -0200, kamiseq wrote: > > > >> I moved the child class to mypackage.util package and it works now. then > >> mypackage.base is controlled by tapestry?? > > > > Yes. > > > > -- >

Re: AbstractSelectModel is not in a controlled package

2010-01-25 Thread kamiseq
I moved the child class to mypackage.util package and it works now. then mypackage.base is controlled by tapestry?? pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ 2010/1/25 Piero Sartini > Forget about what I said. Just needed to do the same thing,

Re: AbstractSelectModel is not in a controlled package

2010-01-25 Thread kamiseq
but the article you sent me is exactly the same article I used before!!! I just dont get why tapestry complaints about its own class AbstractSelectModel... pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ 2010/1/25 kamiseq > no I shouldn

Re: AbstractSelectModel is not in a controlled package

2010-01-25 Thread kamiseq
no I shouldn't have. anyway I will check that at home, thanks pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ 2010/1/25 Geoff Callender > No, it's running. Perhaps you have a corporate firewall blocking 8080? > > On 25/01/2010,

Re: AbstractSelectModel is not in a controlled package

2010-01-25 Thread kamiseq
.com.au:8080/jumpstart/examples/select/easyobject > > http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/tables/gridwithdeletecolumn1 > > HTH, > > Geoff > > On 24/01/2010, at 5:59 AM, kamiseq wrote: > > > ok, then how should I use it, or maybe tut

Re: AbstractSelectModel is not in a controlled package

2010-01-23 Thread kamiseq
erclass is not in a controlled package - as the exception message says. > > Uli > > kamiseq schrieb: > > I dont get it! >> AbstractSelectModel class comes from org.apache.tapestry5.util package so >> why should I care about that class! >> >> should I replace that

Re: AbstractSelectModel is not in a controlled package

2010-01-23 Thread kamiseq
Lets say your AppModule lives in > > com.domain.services > > your AbstractSelectModel should be places in > > com.domain.base > > Hope it helps, > Joost > > > kamiseq wrote: > >> hi all, >> I run into a strange problem, I was googling for this, bu

AbstractSelectModel is not in a controlled package

2010-01-22 Thread kamiseq
hi all, I run into a strange problem, I was googling for this, but still have no idea what is going on :( i followed the http://wiki.apache.org/tapestry/Tapestry5HowtoSelectWithObjects and after running the page I got error message java.lang.RuntimeException: Base class org.apache.tapestry5.util.

Re: t5 handling events by components, event handling sequence

2009-12-09 Thread kamiseq
> > I beg to differ. The framework itself does not use the session. If you're > using an onActivate()/onPassivate() method pair, you don't need to persist > the corresponding fields. ActionLink and EventLink preserve the page context as long as you provide it > to the context parameter. > After y

Re: t5 handling events by components, event handling sequence

2009-12-09 Thread kamiseq
> > I don't understand what's your problem. Page activation context would >> always be kept between any requests of the same page, if you add the context >> that given to the tab component tot he page activation conetext, and provide >> the correct onActivate and onPassivate handler, there would b

Re: t5 handling events by components, event handling sequence

2009-12-09 Thread kamiseq
onent? Isn't > the content of the tabs dependent on the value of the page's context? > > On 09/12/2009, at 4:46 AM, kamiseq wrote: > > > ok one more thing, my tabs are working great but let examine such a > usecase > > > > 1)I have user page with a grid o

Re: t5 handling events by components, event handling sequence

2009-12-08 Thread kamiseq
ok one more thing, my tabs are working great but let examine such a usecase 1)I have user page with a grid of a user list 2)when user is selected I rerender the page with context specified by grid element 3)my url then is something like myapp/user/1 and the tab control is displayed with 3 tabs (fo

Re: t5 handling events by components, event handling sequence

2009-12-08 Thread kamiseq
yep I am just after huge argument with my firend about tapestry and wishes vs reality :) now I understand and it makes some sense although I try to avoid @persist as much as possible and the main problem here is to define how user must use the page and interact with it and what if session expires

Re: t5 handling events by components, event handling sequence

2009-12-08 Thread kamiseq
Ok, but how can I command the component to render actionLink as a link to the page that contains the component or how could I redirect from component to the page in generic way(Could I pass any reference of the page as component's parameter? and then use public method on that page?)? any way to int

t5 Environment property

2009-12-07 Thread kamiseq
hi, I really cant find any proper explanation of Environment and Environmental. >From javadoc I understand that children components are provided with Environmental service set by their parents so there is a way of passing data around but I really dont get the "stack idea" of Environment service. A

t5 handling events by components, event handling sequence

2009-12-07 Thread kamiseq
hi, I ve wrote simple component that renders link and handles event triggered by the link then it sets some value and should render that value. the problem is that I get the value but then the value is lost as tapestry redirects to a page that holds the component Tabs is the page that renders TabN

T5.1 including shared shared functionality on multiple pages

2009-11-29 Thread kamiseq
hi, the topic may be a bit confusing but generally what I try to do is something very simple. let say I have 2 entities MyPage and Book and one book may have multiple pages assigned to it. then my project looks like that /pages /pages/book/ Index CreateBook /pag

tapestry 5 intercepting ajax call

2009-11-28 Thread kamiseq
hi, I read a bit about Ajax in tapestry (so I can use zones or mixins) but there is one thing that I really doesn't understand. let say I have two zones t:id="*zoneA*" and t:id="*zoneB*" with style * display:none* (only zoneA is visible by default). so now I click on actionLink (*B*) that will do