This content has been marked as final.
Show 2 replies
-
1. Re: value becomes invalid (null) after posting form
juanmiguelbg Dec 19, 2011 3:31 PM (in response to vata2999)You can try:
@Override public List<Region> getResultList(){ if(instituteHome.instance.getCity() != null){ return region where city = instituteHome.instance.getCity() }else{ return new ArrayList<Region>(); //this solve for us } }
-
2. Re: value becomes invalid (null) after posting form
vata2999 Dec 22, 2011 3:16 AM (in response to vata2999)This generates another problem after u select a value from combobox then post the form value will be lost
and user has to select a value againtry this :
@Override @Begin(join = true) public List<Region> getResultList(){ if(instituteHome.instance.getCity() != null){ return region where city = instituteHome.instance.getCity() }else{ return null; } }
problem solved