-
1. Re: Confiuring the null values
himanshur9 Aug 2, 2004 2:08 PM (in response to preeti123)The problem description is very abstract and outlines the behavior only from an end user's perspective. If you want to really get your issue resolved on this forum, you need to provide more details. However no guarantee it will be resolved if it is not a jboss issue (which in most likelihood it would turn out eventually)
From what can be understood from the issue you are reporting, following check can be performed-
a. Check the components which saves the data when user registered first time on your site and make sure is saving it correctly in db (or file system urggggghh)
b. If a. is not an issue (i.e. the data was saved correctly) then it could be
1. Front end(jsp/action class etc) is not rendering the values in the VO on the forms correctly. Simple test would be to have it print out the values on console and verify that.
2. If the VO it self contains null values then check your middle tier, back end,stored proc, sql query etc which created the value object. -
2. Re: Confiuring the null values
preeti123 Aug 3, 2004 6:20 AM (in response to preeti123)Thanks Topricana for the response.
As I am very new to programming I am still learning( almost end user till last month)
I have a page where the user enter the details in fields. As soon as I visit the page I see the fields as displaying null.
But if I navigate to the same page thro' some other link I am getting blank fields.
Why is it so? And I want to know wether there is any option in JBoss configuration to set the fields as blank before accessing it.
If I view the source in both the pages. One is showing the value of the fiels as null and the other as blank.
Pls clarify my doubt
Thanks and Regards
Preeti -
3. Re: Confiuring the null values
aalmero Aug 3, 2004 6:45 PM (in response to preeti123)you may initialize your value object's like String attribute to "";
hth
aalmero