Re: form validation recorderror problem

2008-07-04 Thread Harish Kudriyal

Oooops!!

sorry it was 



Harish Kudriyal wrote:
> 
> To display the message you need to place  inside 
> component. 
> 
> Harish
> 
> 
> Udo Abel wrote:
>> 
>> Hi,
>> 
>> when I call the method
>> form.recordError(field, message)
>> in onValidateForm(), the field is highlighted but the message is not
>> displayed (and not in the html anywhere).
>> 
>> Anything else that need to be done here?
>> 
>> Thanks,
>> Udo.
>> 
>> -- 
>> GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
>> Jetzt dabei sein:
>> http://www.shortview.de/[EMAIL PROTECTED]
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> 

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: form validation recorderror problem

2008-07-04 Thread Harish Kudriyal

To display the message you need to place  inside  component. 

Harish


Udo Abel wrote:
> 
> Hi,
> 
> when I call the method
> form.recordError(field, message)
> in onValidateForm(), the field is highlighted but the message is not
> displayed (and not in the html anywhere).
> 
> Anything else that need to be done here?
> 
> Thanks,
> Udo.
> 
> -- 
> GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
> Jetzt dabei sein:
> http://www.shortview.de/[EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



After using Tapestry 5.0.13 Javascript(.js) files loads after loading content causing problem when use the functions written in .js files within content

2008-07-04 Thread Harish Kudriyal

Hi,

   I have updated Tapestry 5.0.13 version beacause of which I am facing
javascript issues.
   I have written some function(for example 'fun1' ) in zzz.js files and
including this using annotation @IncludeJavaScriptLibrary on the page
MyPage.java. Within the page content in 'MyPage.tml' I am using some
function written in zzz.js in  tag which are called line by line
when the content loads. For example html code written like following...

content...content...
content...content...
<script>fun1()
content...content...
content...content...

Now because js file zzz.js loads after content load on screen I am getting
javascript error that fun1() does not exist.
What can be resolution for this? How can I load the file zzz.js before the
content loads on screen?
Please help me out.

Harish Kudriyal
Fiserv
-- 
View this message in context: 
http://www.nabble.com/After-using-Tapestry-5.0.13-Javascript%28.js%29-files-loads-after-loading-content-causing-problem-when-use-the-functions-written-in-.js-files-within-content-tp18274564p18274564.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tapestry 5 Validators causing stack overflow error at Internet Explorer

2008-05-14 Thread Harish Kudriyal

Hi,

I am facing stack overflow error at Internet Explorer due to tapestry
validatores. I am using  component to display/input different
property/fields of the object and use tapestry validator's for required,
numeric input fields. When I click on any input textfield within the loop,
enter the value, and move the cursor to next input field, java script popup
comes with message "Stack overflow at line: 0". I am not able to resolve
this because I can not change the tapestry validators code. This issue is
occuring only in internet explorer.

Screenshot of that screen is attached below:

http://www.nabble.com/file/p17228988/tapestry-validater-stack-overflow-error.png
tapestry-validater-stack-overflow-error.png 

Can anyone please help me out to resolve this issue.

Thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/Tapestry-5-Validators-causing-stack-overflow-error-at-Internet-Explorer-tp17228988p17228988.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]