You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by James Sherwood <js...@rgisolutions.com> on 2009/01/21 03:28:35 UTC

InPlaceEditor validation

Hello,

 

The t5components inplaceeditor is what I am referring to:

http://87.193.218.134:8080/t5c-demo/inplaceeditorpage

 

Does anyone know a way to do validation on this?   Currently when you save
with nothing in the text field there is a properties file that is read from
and it just fills it with that text or you can just send back the regular
text that was in the box but this does not really help the less intelligent
user to understand why the change did not take.

 

I was thinking the easiest way would be to have another component accompany
this one that would accept server information and display it above however I
cannot figure out a way to do this.  

 

If anyone could point me in the right direction that would be appreciated.

 

--James


RE: InPlaceEditor validation

Posted by MustLoveXF <ne...@gmail.com>.
I've read this topic
http://n2.nabble.com/T5:-Component-Suggestion-Question-td2192648.html
(yours, right).. I'll figure something out.. 

James Sherwood wrote:
> 
> Hello,
> 
> I believe the answer lies in the return value from the server.  I could
> not
> get it to work but there is a way you can run javascript I believe from
> the
> return value.
> 
> --James
> 
> -----Original Message-----
> From: MustLoveXF [mailto:nevenavv@gmail.com] 
> Sent: February-16-09 5:27 PM
> To: users@tapestry.apache.org
> Subject: Re: InPlaceEditor validation
> 
> 
> I'm wondering the same thing :confused:..
> If I run into something I get back to you :-D
> 
> Cheers
> 
> James Sherwood wrote:
>> 
>> Hello,
>> 
>>  
>> 
>> The t5components inplaceeditor is what I am referring to:
>> 
>> http://87.193.218.134:8080/t5c-demo/inplaceeditorpage
>> 
>>  
>> 
>> Does anyone know a way to do validation on this?   Currently when you
>> save
>> with nothing in the text field there is a properties file that is read
>> from
>> and it just fills it with that text or you can just send back the regular
>> text that was in the box but this does not really help the less
>> intelligent
>> user to understand why the change did not take.
>> 
>>  
>> 
>> I was thinking the easiest way would be to have another component
>> accompany
>> this one that would accept server information and display it above
>> however
>> I
>> cannot figure out a way to do this.  
>> 
>>  
>> 
>> If anyone could point me in the right direction that would be
>> appreciated.
>> 
>>  
>> 
>> --James
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/InPlaceEditor-validation-tp21576011p22046283.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/InPlaceEditor-validation-tp21576011p22048068.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


RE: InPlaceEditor validation

Posted by James Sherwood <js...@rgisolutions.com>.
Hello,

I believe the answer lies in the return value from the server.  I could not
get it to work but there is a way you can run javascript I believe from the
return value.

--James

-----Original Message-----
From: MustLoveXF [mailto:nevenavv@gmail.com] 
Sent: February-16-09 5:27 PM
To: users@tapestry.apache.org
Subject: Re: InPlaceEditor validation


I'm wondering the same thing :confused:..
If I run into something I get back to you :-D

Cheers

James Sherwood wrote:
> 
> Hello,
> 
>  
> 
> The t5components inplaceeditor is what I am referring to:
> 
> http://87.193.218.134:8080/t5c-demo/inplaceeditorpage
> 
>  
> 
> Does anyone know a way to do validation on this?   Currently when you save
> with nothing in the text field there is a properties file that is read
> from
> and it just fills it with that text or you can just send back the regular
> text that was in the box but this does not really help the less
> intelligent
> user to understand why the change did not take.
> 
>  
> 
> I was thinking the easiest way would be to have another component
> accompany
> this one that would accept server information and display it above however
> I
> cannot figure out a way to do this.  
> 
>  
> 
> If anyone could point me in the right direction that would be appreciated.
> 
>  
> 
> --James
> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/InPlaceEditor-validation-tp21576011p22046283.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: InPlaceEditor validation

Posted by MustLoveXF <ne...@gmail.com>.
I'm wondering the same thing :confused:..
If I run into something I get back to you :-D

Cheers

James Sherwood wrote:
> 
> Hello,
> 
>  
> 
> The t5components inplaceeditor is what I am referring to:
> 
> http://87.193.218.134:8080/t5c-demo/inplaceeditorpage
> 
>  
> 
> Does anyone know a way to do validation on this?   Currently when you save
> with nothing in the text field there is a properties file that is read
> from
> and it just fills it with that text or you can just send back the regular
> text that was in the box but this does not really help the less
> intelligent
> user to understand why the change did not take.
> 
>  
> 
> I was thinking the easiest way would be to have another component
> accompany
> this one that would accept server information and display it above however
> I
> cannot figure out a way to do this.  
> 
>  
> 
> If anyone could point me in the right direction that would be appreciated.
> 
>  
> 
> --James
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/InPlaceEditor-validation-tp21576011p22046283.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org