hi,
  I am facing a few problems with displaytag using jboss.I created a java class as follows
 
public class UserDetails{
protected String uid=null;
protected String name=null;
 
public String getName(){
return name;
}
public void setName(String name){
   this.name=name;
}
........
......
}
 
After this I added these objects to an array list
ArrayList ar=new ArrayList();
with in a loop i added set the values to the bean and added the bean instance to the arraylist
 
UserDetails ud=new UserDetails();
ud.setName("some String");
..........
ar.add(ud);
 
after this
request.setAttribute("userdet",ar);
<display:table name="userdet" export="true" >
 
</display:table>
 
the errors occuring are
runtime error  displaytag.setName(java/object/)  like this
some times compile time error with export saying that displaytag.setExport(boolean) not applied to displaytag.setExport(java.lang.String) .......
 
 
All this is typed message.. not cut and paste from the console.
 
Please help me in solving these problems.
we are using jboss appserver
 
Thanking you,
B.Siva Sankar
 
 
 
 
 
 


Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.

Reply via email to