Thanks Oscar

Im looking for this solution.
Your reply had worked fine for me ...

thanks once again=)
Have a nice day
RajeshSR



Oscar Alvarez-2 wrote:
> 
> Hi
> 
> The many-to-one jsp autogenerated by appfuse result in a <s:select/> tag,
> this tag requires a list to show values, and when try to get the list in
> the
> action and don't found it, you see the blank page...
> 
> 
> If you add the list object, in the action you can fix the white page =)
> 
> example:
> 
> private List<MyObject> myObjectList;
> 
> public List<MyObject> getMyObjectList(){
>       if( myObjectList == null) {
>             myObjectList = universalManager.getAll(MyObject.class);
>       }
>       return myObjectList;
> }
> 
> 
> Best Regards
> 
> 2008/12/13 sudhakargupta <[email protected]>
> 
>>
>> Hi Matt..
>>
>>
>>  i created a model classes with the name Person,Department.
>>
>> in the person class i created a many-to-one mapping like this
>>
>>
>>  @MantToOne(targetEntity=Department.class)
>>  @JoinColumn ( name="dept_id",insertable=false,updatable=true)
>>  public Department getDepartment() {
>>   return this.department;
>>  }
>>  public void setDepartment ( Department department) {
>>    this.department = department;
>>  }
>>
>> create the full-source using mvn appfuse:gen and run the code to test the
>> classes are working or not..
>> when i edit the person details from the webpage it's updated but it shows
>> the blank white page and it's not showing any errors or anything.
>>
>> and the other individual class is generated in the same manner with out
>> any
>> relations then it's updated and added data perfectly but it gives an
>> errors
>> in the server like field-validator of students-validation.xml is wrong,
>> only
>> for this student class  the validation-xml files are shown in the
>> project.
>>
>>
>> can u please suggest me how to solve this problem
>>
>>
>> Sudhakar
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Appfuse2-Struts-save-update-problem-tp20988561s2369p20988561.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> 
> -- 
> Atentamente
> Oscar Alvarez V
> (09) 8416 4052
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Appfuse2-Struts-save-update-problem-tp20988561s2369p20997930.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to