Re: [appfuse-user] Working with velocity templates

2009-01-15 Thread Youssef Mohammed
it is a little bit ugly to do that in Velocity, here is the way I do it //TODO: these stuff need to be injected VelocityEngine ve = new VelocityEngine(); try { Properties p = new Properties(); p.setProperty("resource.loader", "string");

Re: [appfuse-user] how to config GMail's SMTP server to be used by AppFuse

2009-01-06 Thread Youssef Mohammed
you need to configure your java mail props to have mail.smtp.auth = true mail.smtp.starttls.enable = true as for the port you can use 587 instead. Regards, Youssef On Tue, Jan 6, 2009 at 11:03 PM, Ice-Man wrote: > Fabio, > > I think u've pointed me in the right way, bcoz there are a lot

Re: [appfuse-user] Hibernate madness - how to order a Set

2008-11-20 Thread Youssef Mohammed
Set , by definition, has no particular order for its elements. You'd better use *List* , with [EMAIL PROTECTED] , you get and ordered list. Regards, Youssef On Thu, Nov 20, 2008 at 5:51 PM, syg6 <[EMAIL PROTECTED]> wrote: > > I have a @OneToMany Collection (EstablishmentBins) in my POJO > (Est

Re: [appfuse-user] mvn archetype:create -o fails even with dependencies in ~/.m2/repository

2008-09-18 Thread Youssef Mohammed
why are you running in offline mode "-o" ? try -U instead. On Thu, Sep 18, 2008 at 11:46 AM, mugsy <[EMAIL PROTECTED]> wrote: > Running mvn -o archetype:create -DarchetypeGroupId=org.appfuse.archetypes > -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories= > http://static.appfuse.org/

Re: [appfuse-user] Using Stored Procedures.

2008-09-16 Thread Youssef Mohammed
yeah JPA is not the way to go for that. Try SqlMaps of iBATIS .. they are quite nice http://ibatis.apache.org/javadownloads.cgi a simple demo .. it has many nice blogs about that ( db is oracle here ) http://www.it-eye.nl/weblog/2008/07/04/simple-delete-and-insert-statements-with-ibatis/ On Tu

Re: [appfuse-user] AJAX Web framework

2008-09-12 Thread Youssef Mohammed
richfaces ajax support as cool and simple. On Fri, Sep 12, 2008 at 2:36 PM, Juan Heyns <[EMAIL PROTECTED]> wrote: > Hello Guys > > This question may be considered as off topic. Excuse it. If you are not > interested, please stop reading. > > I would like to have some expert oppinions on which we

[appfuse-user] Adding appfuse in 99transactions

2008-09-03 Thread Youssef Mohammed
http://99translations.com/ I like the idea behind the site ... just add your i18n files up there, translations should be done cooperatively. there is also ANT task to download them. neat idea , isn't ? -- Regards, Youssef

Re: [appfuse-user] I18N Problem

2008-08-25 Thread Youssef Mohammed
Marc; Thanks ! I have tried it on the header jsp and it worked just fine ! The link you have provided is amazing .. it went directly to my Delicious ! On Mon, Aug 25, 2008 at 1:39 PM, Marc Siramy <[EMAIL PROTECTED]> wrote: > You need the following line at the top of your jsps: > <%@ page languag

Re: Re: [appfuse-user] download appfuse?

2008-08-25 Thread Youssef Mohammed
try mvn *-U* integration-test On Mon, Aug 25, 2008 at 12:05 PM, sam wun <[EMAIL PROTECTED]> wrote: > Hi, I tried to build one of the tutorial, however I got some errros: > > > D:\DEV\samples\AppFuse\mvcbasic>mvn integration-test > [INFO] Scanning for projects... > Downloading: > http://static.ap

Re: [appfuse-user] I18N Problem

2008-08-25 Thread Youssef Mohammed
It could be so , some suggestions : - check the generated WAR file itself to make sure that your JSPs are indeed utf-8 encoded and not garbaged. - change the default locale in your system, if it works then it has to be in some library that just takes the default locale. The solution wo

Re: [appfuse-user] I18N Problem

2008-08-24 Thread Youssef Mohammed
On Sun, Aug 24, 2008 at 7:41 PM, alibehzadian <[EMAIL PROTECTED]>wrote: > > Hi, > > I used Persian text right inside JSP. I saved JSP file with UTF-8 encoding You have to make sure also that the pages that are rendered to the client (browser) is identified as UTF-8 encoded (not sure if this is th

Re: [appfuse-user] DoubtOnACEGI Remember me

2008-06-12 Thread Youssef Mohammed
On Thu, Jun 12, 2008 at 4:39 PM, Matt Raible <[EMAIL PROTECTED]> wrote: > AFAIK, this is not possible as the cookie is tied to the browser being used > and there's no information from the browser that identifies who is using it. +1 , actually remembering user A and B in the same time, would have

Re: [appfuse-user] about the oracle9i characterset

2008-06-11 Thread Youssef Mohammed
i don't think there is such a thing in Oracle. note that in oracle they term database is somehow different than mysql ... what is a database in mysql is a schema in oracle. another note about character sets ... you have set the database character set during creating it (normally during installing

Re: [appfuse-user] Question about dependencies in AppFuse 2.0.2

2008-05-12 Thread Youssef Mohammed
-ui 3.2.0.GA On Mon, May 12, 2008 at 3:10 PM, Youssef Mohammed < [EMAIL PROTECTED]> wrote: > from the pom.xml. > > On Mon, May 12, 2008 at 2:58 PM, Irshad Buchh <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > We tried AppFuse 2.0.2 i

Re: [appfuse-user] Question about dependencies in AppFuse 2.0.2

2008-05-12 Thread Youssef Mohammed
from the pom.xml. On Mon, May 12, 2008 at 2:58 PM, Irshad Buchh <[EMAIL PROTECTED]> wrote: > > Hi, > We tried AppFuse 2.0.2 it rocks some annoying JSF issues have gone. We > want > to get rid of XFire and AJAX4Java and instead want to add Apache CXF and > JBoss RichFaces respectively. Where do we

Re: [appfuse-user] Speed up Development Cycles....

2008-03-10 Thread Youssef Mohammed
I don't really get the idea of doing ant ... why not just to mvn eclipse:eclipse and use WTP in eclipse ... it works find with though I haven't tried it with appfuse. On Mon, Mar 10, 2008 at 5:31 PM, Cayetano <[EMAIL PROTECTED]> wrote: > Hi Anthony, > > > > > We're using appfuse 1.9 with Spring

Re: [appfuse-user] Spring MVC, looking for UI elements

2007-11-20 Thread Youssef Mohammed
free On Nov 20, 2007 1:46 PM, Carlos Ortiz <[EMAIL PROTECTED]> wrote: > Thanks Sib > > It seems quite interesting, and one question, are they free or paid? > > > On 11/19/07, Sib <[EMAIL PROTECTED]> wrote: > > > > Mostly JSP and servlets > > > > http://www.servletsuite.com/index.html > > > >

Re: [appfuse-user] Swing integration

2007-09-24 Thread Youssef Mohammed
AppFuse is an application for "kickstarting" webapp development. On 9/24/07, Tuncay A. <[EMAIL PROTECTED]> wrote: > > > Hi, > > Are there any resource on on how to integrate Swing in Appfuse ? > > Thx in advance. > > //tua > > > -- > View this message in context: > http://www.nabble.com/Swing-int

[appfuse-user] Eclipse Classpath issue

2007-04-11 Thread Youssef Mohammed
e future, it'd be great if you could ask these types of question on the user mailing list - that way your questions and my answers can be archived for others to view. Thanks, Matt - Hide quoted text - On 4/11/07, Youssef Mohammed <[EMAIL PROTECTED]> wrote: Matt; First of all, I w