Hi,

 In jbpm demo environment,  I am trying to add two checkboxes for languages 
using SelectManyCheckBox in the home.jsp file and its associated details in the 
homeBean.java. 

private String[] lang =null;

  public String[] getLang(){
    return lang;  
 }

 public void setLang(String[] s) {
    lang=s;
 }
 
 public SelectItem[] getLangItems() {
     return langItems;
  }


  private static SelectItem[] langItems = new SelectItem[]{
      new SelectItem("ENGLISH"),
      new SelectItem("GERMANY"),
      };


JSP side:

<h:selectManyCheckbox value="#{homeBean.lang}">
  <f:selectItems value= "#{homeBean.langItems}"/>
  </h:selectManyCheckbox>


When I access localhost:8080/jbpm/faces.home.jsp I get the folowing exception: 
I modified the deployed home.jsp file as I could not make the changes made in 
resources/home.jsp into the deployed home.jsp. Could anyone tell me what I am 
missing here?


javax.servlet.ServletException: Bean: org.jbpm.webapp.bean.HomeBean, property: 
lang
        javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
        
org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:25)
        
org.jbpm.webapp.filter.PersistenceFilter.doFilter(PersistenceFilter.java:28)
        org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
        org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)
        
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


Thanks for your help

-Siv


  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947222#3947222

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947222


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to