cs_anisj1m
Messages postés92Date d'inscriptionjeudi 3 août 2006StatutMembreDernière intervention22 janvier 2009
-
4 oct. 2007 à 09:54
cs_anisj1m
Messages postés92Date d'inscriptionjeudi 3 août 2006StatutMembreDernière intervention22 janvier 2009
-
4 oct. 2007 à 10:15
bonjour;
j'ai un probleme de passage de parametre de type list entre on bean et ma jsf;
mon bean est
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.myfaces.trinidad.imaf;
import javax.faces.context.FacesContext;
import org.apache.myfaces.trinidad.render.ExtendedRenderKitService;
import org.apache.myfaces.trinidad.util.Service;
import com.labosun.cj.ejb3.entity.Contact;
import com.labosun.cj.ejb3.session.ContactManager;
import com.labosun.cj.web.locator.EjbLocator;
import java.util.List;
/**
* A typical simple backing bean, that is backed to <code>helloworld.jsp
*
*/
public class Beanlist
{
//properties
private String firstname;
private String lastname;
private String address;
private int zipCode;
private String city;
private String phone;
private String mobile;
private List<Contact> Listcontact;
/**
* default empty constructor
*/
public Beanlist()
{
}
cs_anisj1m
Messages postés92Date d'inscriptionjeudi 3 août 2006StatutMembreDernière intervention22 janvier 2009 4 oct. 2007 à 10:15
j'ai trouver l'erreur c'est la specification des bean il ne faut pas commencer un attribut avec une majiscule;
mais a l'issue de cela je n'ai pas d'erreur mais au lieu d'avoir les nom j'ai eu comme cela:
Code :
entry.firstname
entry.firstname
entry.firstname
entry.firstname
entry.firstname
entry.firstname
entry.firstname
et mon code est: