Re: [appfuse-user] How to configure ehcache for other manager bean in applicationContext.xml?

2007-11-01 Thread Plant More Tree
Thanks a lot Matt ! Mike Horwitz wrote: > > Assuming you are using Hibernate the following should help: > http://www.hibernate.org/hib_docs/v3/reference/en/html/performance.html#performance-cache > > Mike > > On 11/1/07, Plant More Tree <[EMAIL PROTECTED]&

Re: [appfuse-user] How to configure ehcache for other manager bean in applicationContext.xml?

2007-11-01 Thread Plant More Tree
g EhCache in you middle-tier if > you're using Hibernate or iBATIS in your backend. It's usually better > to configure your caching at the data tier. > > Matt > > On 11/1/07, Plant More Tree <[EMAIL PROTECTED]> wrote: >> >> hello a little bit of adv

Re: [appfuse-user] How to configure ehcache for other manager bean in applicationContext.xml?

2007-11-01 Thread Plant More Tree
hello a little bit of advice here please ... thanks ! Plant More Tree wrote: > > Hi guys, > >I'm using appfuse 1.9.4 and I saw that > org.springframework.cache.ehcache.EhCacheFactoryBean is being configure in > applicationContext-service.xml. I don't reall

[appfuse-user] log4j issue

2007-10-25 Thread Plant More Tree
Hello, I am using appfuse 1.9.4 in Tomcat 6.0.14 and log4j-1.2.13.jar. Below is the /WEB-INF/classes/log4j.properties contain # This is the configuring for logging displayed in the Application Server log4j.rootCategory=INFO, stdout # Replace the line above if you want to put a log file into

[appfuse-user] How to configure ehcache for other manager bean in applicationContext.xml?

2007-09-30 Thread Plant More Tree
Hi guys, I'm using appfuse 1.9.4 and I saw that org.springframework.cache.ehcache.EhCacheFactoryBean is being configure in applicationContext-service.xml. I don't really understand how the ehcache works but if I have created another manager like below: How should I config

Re: [appfuse-user] FaceletException again

2007-03-29 Thread Plant More Tree
Thanks Matt...it works now. sorry i didn't read thru the namespace thoroughly ! mraible wrote: > > On 3/29/07, Plant More Tree <[EMAIL PROTECTED]> wrote: >> >> I put <%@ include file="/common/taglibs.jsp"%> at the first line of the >> pag

Re: [appfuse-user] FaceletException again

2007-03-29 Thread Plant More Tree
x27;re looking for. > > The nice thing about using Facelets is you're pretty much guaranteed > to be XHTML compliant! ;-) > > Matt > > On 3/28/07, Plant More Tree <[EMAIL PROTECTED]> wrote: >> >> is it some kind of facelet configuration/bugs? When I built

Re: [appfuse-user] FaceletException again

2007-03-29 Thread Plant More Tree
anyway to escape verification by Facelet of well-formed page? Plant More Tree wrote: > > I put <%@ include file="/common/taglibs.jsp"%> at the first line of the > page as I need to use the jstl function and I still got error : > > com.sun.facelets.

Re: [appfuse-user] FaceletException again

2007-03-28 Thread Plant More Tree
> > > > > > Matt > > On 3/28/07, Plant More Tree <[EMAIL PROTECTED]> wrote: >> >> I just declare the javascript below the I got the error message on the >> page >> >> >> >> >> >> com.sun.facelets.

[appfuse-user] FaceletException again

2007-03-28 Thread Plant More Tree
I just declare the javascript below the I got the error message on the page com.sun.facelets.FaceletException: Error Parsing /addContactForm.xhtml: Error Traced[line: 12] The value of attribute "src" associated with an element type "script" must not contain the '<' character. at c

Re: [appfuse-user] page threw exception when using && operator in javascript

2007-03-23 Thread Plant More Tree
what kind of valid xml? where should I change it and place it? thanks ! Michael Horwitz wrote: > > Taking a stab, but it looks like it wants valid xml. You will need to > replace && with && > > Mike. > > > On 3/23/07, Plant More Tree <[EMAIL PRO

Re: [appfuse-user] page threw exception when using && operator in javascript

2007-03-23 Thread Plant More Tree
what kind of valid xml? where should I change it and place it? thanks ! Michael Horwitz wrote: > > Taking a stab, but it looks like it wants valid xml. You will need to > replace && with && > > Mike. > > > On 3/23/07, Plant More Tree <[EMAIL PRO

[appfuse-user] page threw exception when using && operator in javascript

2007-03-23 Thread Plant More Tree
I am using appfuse 1.9.4 jsf version. the code is: var replySendMessage = function(data){ if (data != null && typeof data == 'object') { if(data == 'success'){ alert('success'); }else{ alert

Re: [appfuse-user] acegi threw exception when logout after tomcat restart

2007-03-23 Thread Plant More Tree
> >> > Could you describe the steps to reproduce this behaviour? >> > >> > Thanks >> > >> > Mike. >> > >> > >> > On 3/22/07, Plant More Tree <[EMAIL PROTECTED]> wrote: >> >> >> >> &g

Re: [appfuse-user] acegi threw exception when logout after tomcat restart

2007-03-22 Thread Plant More Tree
ok when login with remember me feature checked and stay login. Then I restart tomcat. After that I click logout then I got this exception! Michael Horwitz wrote: > > Could you describe the steps to reproduce this behaviour? > > Thanks > > Mike. > > > On 3/22/

[appfuse-user] acegi threw exception when logout after tomcat restart

2007-03-22 Thread Plant More Tree
java.lang.NullPointerException at org.acegisecurity.ui.rememberme.TokenBasedRememberMeServices.logout(TokenBasedRememberMeServices.java:295) at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:98) at org.acegisecurity.util.FilterChainProxy$VirtualFilterC

[appfuse-user] org.appfuse.webapp.form.UserForm missing

2007-03-19 Thread Plant More Tree
Hi guys, I downloaded appfuse 1.9.4 struts version but the org.appfuse.webapp.form.UserForm class is missing as when I edit org.appfuse.webapp.action.SignupAction class eclipse IDE compaint missing! pls help ! thanks, Mark -- Cutting carbon emissions needs global effort -- View this messa

Re: [appfuse-user] how to Authenticate thru userManager ?

2007-02-27 Thread Plant More Tree
running a test on the objects returned by the webservice? It could be > something is going wrong there. > > Mike. > > On 2/27/07, Plant More Tree <[EMAIL PROTECTED]> wrote: >> >> >> I have already check the database that the account_enabled field is 'Y&

Re: [appfuse-user] how to Authenticate thru userManager ?

2007-02-27 Thread Plant More Tree
I have already check the database that the account_enabled field is 'Y'. Michael Horwitz wrote: > > It looks as if the isEnabled() function on the user returned from the > service is returning false? > > On 2/27/07, Plant More Tree <[EMAIL PROTECTED]> wro

Re: [appfuse-user] how to Authenticate thru userManager ?

2007-02-27 Thread Plant More Tree
r > manager > set it as the userDetailsService property on the daoAuthenticationProvider > bean in security.xml. Note that the user class returned by your service > also > needs to implement the org.acegisecurity.userdetails.UserDetails > interface. > > Mike. > > On 2/27/07, P

[appfuse-user] how to Authenticate thru userManager ?

2007-02-27 Thread Plant More Tree
Hi, I understand that when login, acegi will forward the authentication info enter by the user to userDao class directly. Is it possible to go thru userManager? if yes, how to configure the security.xml? I m asking this because my webapp user i