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´
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´
Why does this Code in my RegisterPage doesn´t work:
IFormComponent componentPassword = (IFormComponent)
getComponent("password");
IFormComponent componentPasswordConfirm = (IFormComponent)
getComponent("passwordConfirm");
if (!StringUtils.equals(getPas
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
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
:( ... 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
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
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
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
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">
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
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
>
>
>
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
>
>
>
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
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
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
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
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
;
>
>
>
>
> 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
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
>
>
>
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
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
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
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
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
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
?!?!?!?
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
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
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
] 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
... 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
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
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
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
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.
---
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
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.
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:
>>
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
39 matches
Mail list logo