Re: Validation.setFormComponent works only Once???

2007-04-05 Thread Skorpien126
Ok found a Solution... a cycle().commitPageChanges() dit the Job quess that a getDelegate().record(***) also calls cycle.commitChanges()... not sure why getDelegate().recordFieldInputValue(null); doesnt do. Skorpien126 wrote: > > Why does this Code in my RegisterPage doesn´

Re: Validation.setFormComponent works only Once???

2007-04-05 Thread Skorpien126
Hmm more strange ... why doesnt stop Eclipse at getDelegate().setFormComponent(); when there is set a breakPoint?!?!?. I know the Code looks the same, but that´s not true. Skorpien126 wrote: > > Why does this Code in my RegisterPage doesn´

Validation.setFormComponent works only Once???

2007-04-04 Thread Skorpien126
Why does this Code in my RegisterPage doesn´t work: IFormComponent componentPassword = (IFormComponent) getComponent("password"); IFormComponent componentPasswordConfirm = (IFormComponent) getComponent("passwordConfirm"); if (!StringUtils.equals(getPas

Re: No .jwc when using Annotations

2007-04-04 Thread Skorpien126
Skorpien126 wrote: > > Hey, > I have implementet the following > http://wiki.apache.org/tapestry/SpeclessPagesInWEB-INF Code and it works > fine. so I tried to it with the components too. A Component Definiti

No .jwc when using Annotations

2007-04-04 Thread Skorpien126
Hey, I have implementet the following http://wiki.apache.org/tapestry/SpeclessPagesInWEB-INF Code and it works fine. so I tried to it with the components too. A Component Definition looks like that @ComponentClass public abstract class Border extends BaseComponent { } and in the *.applic

Re: Extendet ValidationDelegate not used

2007-03-28 Thread Skorpien126
:( ... Shame on me. That was the problem. I wish me a copy&paste... Validator :) andyhot wrote: > > Are you sure you made your form use that bean? > jwcid="@Form" delegate="bean:delegate" ? > > Skorpien126 wrote: >> Hmm I´ve a strange b

Extendet ValidationDelegate not used

2007-03-27 Thread Skorpien126
Hmm I´ve a strange behaviour in my app... I´ve build an own ValidationDelegate because I want to display the errorMessage in the Label. Therefor I thought ... extend a Subclass (http://tapestry.apache.org/tapestry4.1/usersguide/validation.html) should be easy. My subclass extends from the orginal

Re: Default ServiceParameterNames

2007-03-22 Thread Skorpien126
Damn ... as simlpy as silliy. Turn off UrlRewrite ... make a decoder before the service and in decode Method of the decoder I make my mapping. Skorpien126 wrote: > > Hi @All, > some of my colleagues asked me, why we have to map the indexed > ServiceParamters.(we use "Friend

Default ServiceParameterNames

2007-03-15 Thread Skorpien126
Hi @All, some of my colleagues asked me, why we have to map the indexed ServiceParamters.(we use "FriendlyUrls") ... so I ask you if it´s possible to change the following fact. The ServiceParameters are saved in an List. Is it possible to save them in Map... so that we could get the value of the

Title Tag not closed...

2006-12-11 Thread Skorpien126
Hmm not really a problem but maybe a mini bug... i´m using tapestry 4.0.2 .. and i make use of the Border-Component . In the Border Component I include this code snippet ... on rendering the open title tag () is rendered.. I get this.. http://www.w3.org/1999/xhtml"; xml:lang="en">

Tapestry and Spring 2.0

2006-12-07 Thread Skorpien126
Spring 2 is released and I want to know if it´s compatible with tapestry 4.0.2 or even with 4.1??? Is there maybe a new Tapestry-spring.jar available?? -- View this message in context: http://www.nabble.com/Tapestry-and-Spring-2.0-tf2775514.html#a7742600 Sent from the Tapestry - User mailing li

Re: Re: Why propertys were not updated, when Form "hasErrors"??

2006-12-05 Thread Skorpien126
gine? I haven't > looked into it) in order to test for interfaces specific to each of > the 4 possible init phases, rather than overloading pageBeginRender, > so that I am not forced into a common base class. But this works > nicely, so far. > > --sam > > >

Re: Re: Why propertys were not updated, when Form "hasErrors"??

2006-12-05 Thread Skorpien126
gine? I haven't > looked into it) in order to test for interfaces specific to each of > the 4 possible init phases, rather than overloading pageBeginRender, > so that I am not forced into a common base class. But this works > nicely, so far. > > --sam > > >

Re: Why propertys were not updated, when Form "hasErrors"??

2006-12-04 Thread Skorpien126
ues after the rewind cycle completes with > an error? > > --sam > > > On 12/3/06, Skorpien126 <[EMAIL PROTECTED]> wrote: >> >> Ok... maybe I start nerving but I can´t belive that´s it not possible. >> >> The Situation: I have maybe 20 Textareas in a f

Why propertys were not updated, when Form "hasErrors"??

2006-12-03 Thread Skorpien126
Ok... maybe I start nerving but I can´t belive that´s it not possible. The Situation: I have maybe 20 Textareas in a form... each one using the "required" validator. The textareas are BOUND to a bean which has lifecycle=Page. Reading and writing still works... but when I fill data in first 19 Tex

Re: Commit PersistPropertys on Submit with Error

2006-12-02 Thread Skorpien126
After searching a while ... using a mass of "searchWords" I found this. http://www.nabble.com/Validatable-fields%3A-should-bound-property-be-updated-if-in-error--tf247395.html#a691248 This describes what I want... but not how I activate or if it´s still builded in!?!! Skorpie

Commit PersistPropertys on Submit with Error

2006-11-30 Thread Skorpien126
Hi... I want to ask, if somebody knows an easy way to update the binding values also if the form "hasErrors". So lets say i´ve 5 textareas in a page, each of them have a "required" validator ... in the first 4 I fill in data and the last one I forget to fill. On Submitting the delegate Function

Re: Dynamic Working with Tapestry...

2006-11-29 Thread Skorpien126
and in your submit listener: > > if ( getDeleagte().getHasErrors() ) >return; > > Take a look at Form validation in the users guide. > > Cheers, > Ron > > > > > Skorpien126 wrote: >> Thats not exactly the situation... here a descreption d

Re: Dynamic Working with Tapestry...

2006-11-26 Thread Skorpien126
; > > > > > the currentValue property will point to the current iteration value, and > the input will update each object in the iteration. > > Did I get it right this time? > > Cheers, > Ron > > > Skorpien126 wrote: >> I´m not sure I´ve

Re: Dynamic Working with Tapestry...

2006-11-24 Thread Skorpien126
is ok... >if (getDelegate().getHasErrors() ) > return; >setData( getData() ); > } > > > Another approach would be to use an IActionListener as paramter and > invoke it - this is the approach I take usually. > > Hope that helps, > Cheers, > Ron > > >

Re: MultipleComponents Submit

2006-11-24 Thread Skorpien126
Ahh damn... my fault. I thought the they mean the standart contrib-libary. I´ll check it out. Thanks... ^^ Dennis Sinelnikov wrote: > > Did you get Tapestry-Prop library? > > -Dennis > > Skorpien126 wrote: >> I´m not sure if I can add Components dynamic

Dynamic Working with Tapestry...

2006-11-24 Thread Skorpien126
Hi... I´ve another Post, describing the same problem. In my eyes it is one the things which should be solved more than one times. So I will give a whole describtion about what I want. OK... i have ca 30 tables each one, holding information about 1 product. Lets say one table holds information of

Re: MultipleComponents Submit

2006-11-23 Thread Skorpien126
x27;: Malformed OGNL expression: prop:isInsideAForm". gredler wrote: > > Yes, it's possible, but it takes a bit of hand waving. Check out the > BeanForm source code for examples: > > http://beanform.sourceforge.net/ > > > On 11/23/06, Skorpien126 <[EMAIL PROT

Re: MultipleComponents Submit

2006-11-23 Thread Skorpien126
Thx u. I´ll check it out. More will follow... gredler wrote: > > Yes, it's possible, but it takes a bit of hand waving. Check out the > BeanForm source code for examples: > > http://beanform.sourceforge.net/ > > > On 11/23/06, Skorpien126 <[EMAIL PRO

MultipleComponents Submit

2006-11-23 Thread Skorpien126
Hi @All... I want to make a MainComponent which includes a dynamic number of subcomponents, presenting String,Date etc. All these subcomponentes include a validation for the corresondending values. The mainComponent includes the Submit-Button which should update the values of the subcomponents t

Re: ComponentParameter value to Persistent ComponentProperty

2006-11-04 Thread Skorpien126
e the parameter to a persistent property. Jessek wrote: > > Sure it can...Just go look at the For component. > > On 11/3/06, Skorpien126 <[EMAIL PROTECTED]> wrote: >> >> >> Oh yeah... this was my first Idea,too ... after reading tapestry in >> a

Re: ComponentParameter value to Persistent ComponentProperty

2006-11-03 Thread Skorpien126
?!?!?!? Jessek wrote: > > Generally speaking you really ~don't~ want to store persistent fields in a > component if you can help it. Make everything a parameter. > > On 11/2/06, Skorpien126 <[EMAIL PROTECTED]> wrote: >> >> >> SOLVED: >> >> created

Re: ComponentParameter value to Persistent ComponentProperty

2006-11-02 Thread Skorpien126
SOLVED: created a bean but not using the property-attribute of the bean tag... instead i make use of getBeans().getBean("beanname")... SURELY not the most intuitiv way... an lot of casting around but it seems to work!! Skorpien126 wrote: > > I have found several posts

ComponentParameter value to Persistent ComponentProperty

2006-11-01 Thread Skorpien126
I have found several posts here where this problem is discribed.. but "no one" works in my case... One described: Overwrite the pageBeginRender ... i tried but i use a @For-Component so that this doesnt work because the property is persistent. Error ("Change to persistent property ... has been i

Re: setAttribute() fails.. (Tapestry 4.1)

2006-10-31 Thread Skorpien126
] wrote: > > i had some problems wiht @For > > I used instead @Foreach. Try with @Foreach > > > - Original Message - > From: "Skorpien126" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, October 31, 2006 6:27 PM > Subject: Re: setAttribute() fai

Re: setAttribute() fails.. (Tapestry 4.1)

2006-10-31 Thread Skorpien126
... but i can´t save... HEELLLP) Skorpien126 wrote: > > Hi.. > I have a problem but i cant find out whats wrong.. (.. i also feel not > really good). > I have a page defining a table (persist property in page).. for each entry > in the ta

Re: setAttribute() fails.. (Tapestry 4.1)

2006-10-30 Thread Skorpien126
Addition: Unable to update OGNL expression '' of [EMAIL PROTECTED] to testname: java.util.ArrayList.null. So I´m not sure what he refers to.. i think refers to an component. I´m not sure how i can make a parameter value persistent in Tapestry 4.1 -- View this message in context: http://www.n

setAttribute() fails.. (Tapestry 4.1)

2006-10-30 Thread Skorpien126
Hi.. I have a problem but i cant find out whats wrong.. (.. i also feel not really good). I have a page defining a table (persist property in page).. for each entry in the table i use the same component to visualize. in the page definition i use a "@For" component to write all. it looks like

DirectSevice ... how does it works.

2006-10-26 Thread Skorpien126
Hi... I want to know which steps a request takes when submitting a form??? Is there lets say an overview, which methods are called in the servlet-processing! Why I want to know!! I have defined a form using validation ... the URL ist www.test.com/Webapp/mypage (friendly url builded-in)... when I

Re: CSS or even SiteMesh doesn´t work....

2006-10-18 Thread Skorpien126
Hmm no own has an idea At least, is there a way to point out the problem??? -- View this message in context: http://www.nabble.com/CSS-or-even-SiteMesh-doesnt-work-tf2467863.html#a6891365 Sent from the Tapestry - User mailing list archive at Nabble.com. ---

CSS or even SiteMesh doesn´t work....

2006-10-18 Thread Skorpien126
Okay... before i become crazy ... i make use of your help. The Situtaion: I have implemented a kind of friendly-urls... (http://tapestry.apache.org/tapestry4/UsersGuide/friendly-urls.html) ... mapping urls like *myapp/person/richard/someone to external.svc?page=person&sp=Srichard/so

Problem Understanding Tapestry..

2006-10-07 Thread Skorpien126
Hi @ All I?ve try to build a page but i?m not right in understanding how tapestry works OK: I Have a Page Class "Context" (extending BasePage implementing PageBeginRenderListener)which consists some propertys of Type "Persons" which extends from BaseComponent and which ist not abstract.

Re: Insert Components depending on SubClass

2006-10-04 Thread Skorpien126
o code: > > > > > > > > > > > I hope I understood your problem well... > > Regards, > Norbi > > Skorpien126 wrote: >> Hi Guys.. >> I?m let?s say a Newbie. I have a Project and i want to realize the >> following: >>

Insert Components depending on SubClass

2006-10-04 Thread Skorpien126
Hi Guys.. I?m let?s say a Newbie. I have a Project and i want to realize the following: I have a abstract class called Person extending from BaseComponent owning some properties. Furthermore I have class Worker and Non-Worker extending from Person and owning some properties each. I read an array