Re: [appfuse-user] TimeStamp converter and Date converter

2009-04-21 Thread ashan
imeStamp; } tibi wrote: > > what is the problem you are trying to solve? > is the timeStamp converter not converting the date input correctly? > > > > ashan wrote: >> I have both TimeStamp converter and Date converter specified in >> xwork-conversion.propertie

[appfuse-user] TimeStamp converter and Date converter

2009-04-20 Thread ashan
I have both TimeStamp converter and Date converter specified in xwork-conversion.properties file. But the TimeStamp converter is picked up for both Date and TimeStamp fields. The mysql database has datetime field type for corresponding java Date field. Please help. Thanks, Shan -- View this me

Re: [appfuse-user] connection pool exhausted error

2009-02-19 Thread ashan
ateSQLQuery("select "); > return list; >} > > }); > > Hope this help. > Br, > Weerawit Maneepongsawat > On Thu, Feb 19, 2009 at 12:05 PM, ashan wrote: > >> >> after setting removeAbandoned

Re: [appfuse-user] connection pool exhausted error

2009-02-18 Thread ashan
not return. Should we close any here? Thanks, Shan ashan wrote: > > Matt, > I'm using > MySQL version 5.0.24-community-nt > Driver: mysql-connector-java-5.0.5.jar > > Thanks > Shan > > > > mraible wrote: >> >> What database/version a

Re: [appfuse-user] connection pool exhausted error

2009-02-18 Thread ashan
Matt, I'm using MySQL version 5.0.24-community-nt Driver: mysql-connector-java-5.0.5.jar Thanks Shan mraible wrote: > > What database/version and jdbc-driver/version are you using? > > Matt > > On Wed, Feb 18, 2009 at 9:14 PM, ashan wrote: > >> >&

[appfuse-user] connection pool exhausted error

2009-02-18 Thread ashan
Hi, I'm using appfuse 2.x. I'm getting connection pool exhausted error after a few logins. I was simply logging out and logging in with a single browser. My applicationContext-resources.xml has the following:

[appfuse-user] struts validation - need to check atleast one field is entered

2009-02-10 Thread ashan
Hi, I'm trying to validate if 1 of 3 field value is entered on a form. If not would like to show one of those fields are required. How to configure validation.xml to do this? Thanks! -- View this message in context: http://www.nabble.com/struts-validation---need-to-check-atleast-one-field-i

Re: [appfuse-user] displaytag - how to dynamicaly show or hide table columns

2009-01-29 Thread ashan
o wrap tags around tags > - or use scriptlets. > > Matt > > On Jan 28, 2009, at 1:11 PM, ashan wrote: > >> >> I have a requirement to show only user selected columns in the >> display table. >> >> Is there a model object or configuration objec

[appfuse-user] displaytag - how to dynamicaly show or hide table columns

2009-01-28 Thread ashan
I have a requirement to show only user selected columns in the display table. Is there a model object or configuration object that I can pass to displaytag so that It can show only the required columns? Thanks ! Shan -- View this message in context: http://www.nabble.com/displaytag---how-to-d

Re: [appfuse-user] WYSIWYG integration

2009-01-22 Thread ashan
Since the struts extention is set to .html ... I had to rename the static html files to .htm to get this WYSIWYG editor work. I hope this helps someone ... Thanks ashan wrote: > > In Appfuse 2.0.2 I'm trying to integrate a WYSIWYG editor > (http://www.openwebware.com/) to a

[appfuse-user] WYSIWYG integration

2009-01-19 Thread ashan
In Appfuse 2.0.2 I'm trying to integrate a WYSIWYG editor (http://www.openwebware.com/) to a html area. I'm using it inside an iframe, but appfuse menu is showing up inside iframe. I have excluded directory path that points wysiwyg files live, in /WEB-INF/decorators.xml, but still appfuse menu

Re: [appfuse-user] Working with velocity templates

2009-01-15 Thread ashan
/velocity.apache.org/engine/releases/velocity-1.4/api/org/apache/velocity/app/VelocityEngine.html#evaluate(org.apache.velocity.context.Context,%20java.io.Writer,%20java.lang.String,%20java.lang.String) > > -Shailesh > > > On Thu, Jan 15, 2009 at 4:32 PM, ashan wrote: > >> &g

Re: [appfuse-user] Working with velocity templates

2009-01-15 Thread ashan
I will try to ask this in Velocity forum. It would be very convenient if we have a overloaded VelocityUtil.mergeTemplatexx that takes InputStream instead of template file name ;) . Thanks! ashan wrote: > > I'm using appfuse 2.x. I need to let user to customize email content >

[appfuse-user] Working with velocity templates

2009-01-15 Thread ashan
I'm using appfuse 2.x. I need to let user to customize email content before sending. So I have a screen with textarea that shows velocity template so that user can add their additional contents / customize current content before sending. Is there a way to pass this modified content to template

[appfuse-user] Email Preview with Velocity

2009-01-13 Thread ashan
I'm using appfuse 2.0.2 for my project. I need to build an email sending page where user can edit their contents and move around velocity macro tags then preview the message before actually sending it. How do I generate the email preview page? Is there any API that can call to run the velocity e

Re: [appfuse-user] JSP Compiler issue

2009-01-04 Thread ashan
Matt > > On Sun, Jan 4, 2009 at 11:38 AM, ashan wrote: > >> >> Resolved this by commenting out the following lines in >> src/main/webapp/common/header.jsp >> >> <%-- Put constants into request scope >> >> --%> >> >> Is thi

Re: [appfuse-user] JSP Compiler issue

2009-01-04 Thread ashan
Resolved this by commenting out the following lines in src/main/webapp/common/header.jsp <%-- Put constants into request scope --%> Is this going to break something? Thanks === ashan wrote: > > I'm having issues compiling jsps. When I tried to point my brow

[appfuse-user] JSP Compiler issue

2009-01-02 Thread ashan
I'm having issues compiling jsps. When I tried to point my browser to the home page, the console outputs the following and browser gets blank page. 2009-01-02 11:39:52.079:org.apache.jasper.compiler.Compiler:WARN: Error compiling file: D:\projects\myproject\target\work\jsp\org\apache\jsp\common\

Re: [appfuse-user] Drop-Down List

2008-12-29 Thread ashan
I have implemented dusty's recommendation. It worked really well. One thing to note - add your listener at the end of other listeners in the web.xml. Thanks! Bingu wrote: > > Hi all, > > > > I want to add simple drop down list in a JSP page with my Struts2 web > application on AppFuse fr

Re: [appfuse-user] passing values between Actions - any best practice?

2008-12-24 Thread ashan
ell, that will detect it is running for the result (after the > action) and then you can possibly swap a value for an encrypted value. > > -D > > On Dec 22, 2008, at 8:27 PM, ashan wrote: > >> >> Good explanation. >> >> Is there a way to encrypt (transparentl

Re: [appfuse-user] passing values between Actions - any best practice?

2008-12-22 Thread ashan
re the are not tampered with, store them in the session. The down > side to storing in the session is that it uses more server resources, > especially if in a clustered environment. > > Hope that helps, > Nathan > > > > On 12/22/08, ashan wrote: >> >&g

[appfuse-user] passing values between Actions - any best practice?

2008-12-22 Thread ashan
I'm working on a project that is build on top of Appfuse struts2 framework. I need to pass some values between Actions. In the past I used to pass these values either keeping in the form's hidden values or in session attributes. Is there a better alternative ways to do this now? Thanks! -- Vie