Petition, idea or something

2008-05-22 Thread Manuel Corrales
Hi, i am a relative inexperienced developer. I have worked with a couple of presentation frameworks and there is a feature i would really like to have, that no framework i know has. Here the thing: sometimes i do not like to have getters and setters for all my classes because of my domain modeling

Re: Overriding default validation messages

2008-05-21 Thread Manuel Corrales
Its ok, i did the same thing (exactly the same question), that how i know about the wiki now. :) On Wed, May 21, 2008 at 5:22 PM, Toby Hobson <[EMAIL PROTECTED]> wrote: > Sorry ... I should have looked at the wiki first > > Thanks Manuel > > Tob > > - Original

Re: Overriding default validation messages

2008-05-21 Thread Manuel Corrales
I think this is the best way (if not the only) http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner Regards. On Wed, May 21, 2008 at 5:10 PM, Toby Hobson <[EMAIL PROTECTED]> wrote: > Hi > > How do I change the default validation message for a validator i.e. I want

Re: Autocomplete component

2008-05-20 Thread Manuel Corrales
ng the client side behavior when the user chooses a value is > not possible, as far as I could find. > > > Josh > > On Tue, May 20, 2008 at 4:06 PM, Manuel Corrales > <[EMAIL PROTECTED]> wrote: > > Hi, i have s doubt about autocomplete component. Accor

Autocomplete component

2008-05-20 Thread Manuel Corrales
Hi, i have s doubt about autocomplete component. According to the documentation, you can return a list of any objects on the onProvideCompletions, my question is, when i choose a value, this value is going to be the object from that list? or just a string and i have to make a match beetwen the stri

Form with errors

2008-05-19 Thread Manuel Corrales
Hi, i have a left menu with a link (Add new Item). When i press the link, i go to a form to create a new Item. If i have some server side validation error, the error messages are shown on the screen, but the issue is that if i press the Add new Item from the left menu, the form does not clean itsel

Re: Little confused

2008-05-18 Thread Manuel Corrales
out my business with the item >... >// I'd normally return here, but since you need >// something done in onSubmit... > } > > Object onSubmitFromAdd() { >// do what you need to do >return ...; > } > > I sometimes persist the item if neede

Re: Little confused

2008-05-17 Thread Manuel Corrales
Well, i think i am really screwing thnigs up. Very sorry for abusing of your time, i have almost everything working ok. Thanks for your time! On Sat, May 17, 2008 at 2:57 PM, Manuel Corrales <[EMAIL PROTECTED]> wrote: > Ok, me bothering again. Now when i have a validation error that wa

Re: Little confused

2008-05-17 Thread Manuel Corrales
Ok, me bothering again. Now when i have a validation error that was checked on the server side, the form is completely wiped out. Thats the normal behavior? On Sat, May 17, 2008 at 2:49 PM, Manuel Corrales <[EMAIL PROTECTED]> wrote: > Sorry, my mistake. The same code i posted bu

Re: Little confused

2008-05-17 Thread Manuel Corrales
Sorry, my mistake. The same code i posted but without initializing the matafuego variable is working now. I still dont completely understand why tapestry is not cleaning my matafuego variable. Thanks very much for your help! On Sat, May 17, 2008 at 2:39 PM, Manuel Corrales <[EMAIL PROTEC

Re: Little confused

2008-05-17 Thread Manuel Corrales
estion, you have to clear it because you > @Persisted it. If you didn't @Persist it, you wouldn't have to clear it, > but you'd likely lose your data when working with the form, depending on > your workflow. > > This should work fine. I do it all the time. > >

Re: Little confused

2008-05-17 Thread Manuel Corrales
Sat, May 17, 2008 at 12:12 PM, Ned Jackson Lovely <[EMAIL PROTECTED]> wrote: > Set your private variable to null in your onSuccess function. > > On 5/17/08, Manuel Corrales <[EMAIL PROTECTED]> wrote: > > Thanks for your answer, but i still have the same issue. Maybe

Re: Little confused

2008-05-17 Thread Manuel Corrales
time, so that should be safe for you. > > -- > Kevin > > > On 5/17/08 10:01 AM, "Manuel Corrales" <[EMAIL PROTECTED]> wrote: > > > Hi, here is my problem. I have a bean on my java page, but i am not using > > the beaneditorform component to create a n

Little confused

2008-05-17 Thread Manuel Corrales
Hi, here is my problem. I have a bean on my java page, but i am not using the beaneditorform component to create a new one. Acording to Alexander book, the beaneditorform component can handle the initialization of the bean, so you dont have to create one. As i am not using this component, should i

Re: Localization of default messages

2008-04-29 Thread Manuel Corrales
t; PROJECT_HOME/src/main/resources > > > Manuel Corrales schrieb: > > Hi, i was checking the documentation but was not able to find how can i > > do > > to change the default messages. For instance, when you use a beanform or > > a > > t:errors, you get a default

Localization of default messages

2008-04-29 Thread Manuel Corrales
Hi, i was checking the documentation but was not able to find how can i do to change the default messages. For instance, when you use a beanform or a t:errors, you get a default heading text saying something like: "You should fix the next errors" :P or when you insert a non parseable date on a Date

Re: CSS styles override

2008-04-29 Thread Manuel Corrales
Thanks! On Tue, Apr 29, 2008 at 5:52 AM, Christian Köberl < [EMAIL PROTECTED]> wrote: > > > Manuel Corrales-2 wrote: > > > > I wonder if there is any way of skip the default style or if there is > > a reset style, because i am finding not to easy to override the

Re: multiple context values

2008-04-28 Thread Manuel Corrales
I think you can separate the values with commas like this: t:context="p.productId, p.categoryId" Good luck! On Mon, Apr 28, 2008 at 12:53 PM, Leon Derks <[EMAIL PROTECTED]> wrote: > How can I add multiple context values to an actionlink? > > For example a productId and a categoryId? > > > > > >

Re: CSS styles override

2008-04-28 Thread Manuel Corrales
advance!! On Mon, Apr 28, 2008 at 12:21 PM, Manuel Corrales <[EMAIL PROTECTED]> wrote: > Hi, i am starting a fresh project and after reading the tutorial and a > trying Tapestry 5 i am loving it. It is a fantastic framework, and works > like a charm!!! > I am having only one issu

CSS styles override

2008-04-28 Thread Manuel Corrales
Hi, i am starting a fresh project and after reading the tutorial and a trying Tapestry 5 i am loving it. It is a fantastic framework, and works like a charm!!! I am having only one issue, i would like to fix. I am having some weird behavior, trying to adapt my page style along with the default tape