How to use <h:selectManyCheckbox> do we need converter for submiting

HI,

see my code. I am getting error saying there is no converter. can we use check boxes without converters. I am not useing any special types. just want to reterive as the string objects.

<h:selectManyCheckbox id="other"

value="#{updateHomLoc.otherSystemsSelected}" layout="pageDirection">

<f:selectItems value="#{updateHomLoc.otherSystems}" />

</h:selectManyCheckbox>

public String updateHomeLocationCode()

{

String nextPage =null;

DpLandscaperMgerImpl dpLandscperMger =new DpLandscaperMgerImpl();

SystemTopology systemTopology = dpLandscperMger

.getSystemTopologyById("12345" );

Cs1000System cs1000Systems[] = systemTopology.getCs1000Systems();

otherSystems =new ArrayList<SelectItem>();

otherSystemsSelected =new ArrayList<String>();

for (Cs1000System cs1000System : cs1000Systems)

{

this.otherSystemsSelected.add( cs1000System.getId());

System.out.println("System : " + cs1000System.getId());

this.otherSystems.add(new SelectItem( cs1000System.getId(),

"Call Service Id: " + cs1000System.getId() ) );

}

System.out.println("System Topology : " + systemTopology );

nextPage = WebConstants.UPDATE_OTHER_SYSTEMS_STEP1;

return nextPage;

}

Message was edited by:

KrishnaS

[1958 byte] By [KrishnaSa] at [2007-11-27 7:40:20]
# 1
riddle me this, what is the datatype of getID() a string?
smurray_eriea at 2007-7-12 19:20:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...