Show an ArrayListString in a tr:table

2009-10-06 Thread baeschtu baeschtu
I would like to show some Strings in a tr:table I tried the following with an ImageBean.java .. public ListString getAllImages() { ListString images = new ArrayListString(); images.add(image01); images.add(image02); images.add(image03); return images; } and

How do I initialize this property within the faces-config file?

2009-10-06 Thread laredotornado
Hi, I'm using Resin 3.0.19 with MyFaces 1.1.5. I have this managed bean in my faces config file ... managed-bean managed-bean-nameemailController/managed-bean-name managed-bean-classmyco.util.jsf.controller.EmailController/managed-bean-class

Re: How do I initialize this property within the faces-config file?

2009-10-06 Thread Fabio Stracuzzi
Hi Dave, You can initialize bean properties, so: managed-bean managed-bean-nameemailController/managed-bean-name managed-bean-classmyco.util.jsf.controller.EmailController/managed-bean-class managed-bean-scopesession/managed-bean-scope managed-property

Re: Show an ArrayListString in a tr:table

2009-10-06 Thread Rafa PĂ©rez
You should have tr:table var=row value=#{ImageBean.allImages} HTH, -- Rafa On Tue, Oct 6, 2009 at 3:00 PM, baeschtu baeschtu baesc...@gmail.comwrote: I would like to show some Strings in a tr:table I tried the following with an ImageBean.java .. public ListString getAllImages() {

Re: maven template Myfaces + Trinidad

2009-10-06 Thread Matthias Wessendorf
I think it is using this mapping... servlet-mapping servlet-namefaces/servlet-name url-pattern/faces/*/url-pattern /servlet-mapping -Matthias On Sun, Oct 4, 2009 at 9:11 PM, baeschtu baeschtu baesc...@gmail.com wrote: hello I tried the Myfaces + Trinidad maven template from

Re: maven template Myfaces + Trinidad

2009-10-06 Thread baeschtu baeschtu
tnx, I used the wrong url, it's also written in the faq 3.1. When I run a JSP, I see 'javax.servlet.jsp.JspException: Cannot find FacesContext' You cannot directly point to a JSF JSP file; you either need to add /faces after the servlet context path, or change the suffix (in the URL only) to