[appfuse-user] referring to components from Javascript

2007-06-20 Thread jeremiah.lopez
This is a probably a really stupid question, so please be gentle How do I refer to components from Javascript with a JSF page? I've got a drop down list with an id of availableTypes embedded in a form with an id of typeForm. I thought you would do it like so: document.typeForm.availableTyp

Re: [appfuse-user] Restricting links to admins

2007-06-18 Thread jeremiah.lopez
ahawk"; > xmlns:acegi="http://sourceforge.net/projects/jsf-comp/acegijsf";> > > ... > > > > action="selectFile"/> > > > > I've added this as an issue in JIRA and committed it to SVN for RC1. >

Re: [appfuse-user] Restricting links to admins

2007-06-18 Thread jeremiah.lopez
2.0-M5 mraible wrote: > > What version of AppFuse are you using? > > On 6/18/07, jeremiah.lopez <[EMAIL PROTECTED]> wrote: >> >> Any instruction as to how to configure the filter? Also, you said that >> this >> jar is included in the AppFu

Re: [appfuse-user] Restricting links to admins

2007-06-18 Thread jeremiah.lopez
pFuse: > > http://cagataycivici.wordpress.com/2006/01/19/acegi_jsf_components_hit_the/ > > I believe they work, but some people have reported problems with them > on this list. If you get them to work, please let us know. > > Matt > > On 6/18/07, jeremiah.lopez <[EMAIL PROTECTED]> wrot

[appfuse-user] Restricting links to admins

2007-06-18 Thread jeremiah.lopez
I'm currently editing the mainMenu.xhtml page to include some links for my application, but the problem I'm having is that some of the links only need to be visible and accessible by users with the 'ROLE_ADMIN' role. I know how to do this in the menu-config.xml file, but that only controls the li

Re: [appfuse-user] Children not getting loaded on Jetty server

2007-06-15 Thread jeremiah.lopez
to my situation? Michael Horwitz wrote: > > I believe if you are using JPA then the class for the filter should be: > org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter > > There should be a comment to that effect in the web.xml file? > > Mike > > >

Re: [appfuse-user] Children not getting loaded on Jetty server

2007-06-15 Thread jeremiah.lopez
o that effect in the web.xml file? > > Mike > > > On 6/15/07, jeremiah.lopez <[EMAIL PROTECTED]> wrote: >> >> >> Matt, >> >> Yes, I did try that by uncommenting the following segments in web.xml: >> >> >>

Re: [appfuse-user] Children not getting loaded on Jetty server

2007-06-14 Thread jeremiah.lopez
miah mraible wrote: > > Have you tried uncommenting the OpenSessionInViewFilter in your web.xml? > > Matt > > On 6/14/07, jeremiah.lopez <[EMAIL PROTECTED]> wrote: >> >> I am using Appfuse 2.0-M5 with Hibernate 3 and JSF. I have a simple >> parent >

[appfuse-user] Children not getting loaded on Jetty server

2007-06-14 Thread jeremiah.lopez
I am using Appfuse 2.0-M5 with Hibernate 3 and JSF. I have a simple parent child relationship implemented in my POJOs, Team --> Player. A team can have many players; a player can only be a member of one team. I have design the POJOs, unit tests, daos, and managers. All of the unit tests pass s