Re: [appfuse-user] Fw: Error executing the mvn jetty:run-war

2009-08-10 Thread Matt Raible
Are you doing this from a basic archetype? This error usually happens when you try to run "mvn jetty:run-war" from the wrong directory. You need to be in the same directory as a pom.xml with war. Matt On Mon, Aug 10, 2009 at 4:27 PM, Khaled Mahmoud wrote: > I have installed Maven (Version 2.2.0),

Re: [appfuse-user] Fw: Error executing the mvn jetty:run-war

2009-08-10 Thread Khaled Mahmoud
I have installed Maven (Version 2.2.0), and created successfully a Struts project, and gain tried to run the mvn jetty:run-war but I am getting the below error :  [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found How can I update or

Re: [appfuse-user] login.xml not well formed

2009-08-10 Thread pasta
yes it worked ! tks tibi wrote: > > eclipse should not try yo pars an xmlf file. > maybe delete the error message sometimes they tend to stick... > > tibi > > pasta wrote: >> did you set any config in eclipse before restarting it ? >> >> I'm still getting that error... >> >> Descripti

Re: [appfuse-user] login.xml not well formed

2009-08-10 Thread tibi
eclipse should not try yo pars an xmlf file. maybe delete the error message sometimes they tend to stick... tibi pasta wrote: > did you set any config in eclipse before restarting it ? > > I'm still getting that error... > > Description ResourcePathLocationType > The mar

Re: [appfuse-user] Criteria Query Address (Embedded) and Extend Session Time

2009-08-10 Thread DUSTIN PEARCE
I know you create a nested Criteria for related objects. Not sure if it's the same for embedded objects but you could try. getSession().createCriteria(User.class).createCriteria("address").add (Restrictions.eq("city",paramValue). etc If you are chaining be sure to add the nested criteria la

Re: [appfuse-user] full support for eclipse ?

2009-08-10 Thread pasta
cool still one error: Description ResourcePathLocationType Invalid character constant header.jsp /appfusing/src/main/webapp/common line 3 JSP Problem tibi wrote: > > good work :D > > > Matt Raible wrote: >> It looks like APF-1143 is a dup

Re: [appfuse-user] login.xml not well formed

2009-08-10 Thread pasta
did you set any config in eclipse before restarting it ? I'm still getting that error... Description ResourcePathLocationType The markup in the document following the root element must be well-formed. login.xmlf /appfusing/src/test/resources line 2 XML Problem

Re: [appfuse-user] validation annotation

2009-08-10 Thread Matt Raible
I guess you're not subscribed to the developer's list - we voted you in last week. http://www.nabble.com/Re%3A--VOTE--Add-Tibor-Strausz-as-an-AppFuse-Committer-p24879933s2369.html ;-) Matt On Mon, Aug 10, 2009 at 12:19 PM, tibi wrote: > ok i will change it.. when voting is done ;) > or i will a

[appfuse-user] Criteria Query Address (Embedded) and Extend Session Time

2009-08-10 Thread foward
Hello everyone! I have two questions that I would be very happy if you can help me... First I want to do a criteria query where I want to ask the fields embedded in Address Class... I tried to do the following...but it isn't works... public List getUsersByCriteria(String username, String fi

Re: [appfuse-user] validation annotation

2009-08-10 Thread tibi
ok i will change it.. when voting is done ;) or i will add a patch :( tibi Matt Raible wrote: > On Mon, Aug 10, 2009 at 11:59 AM, tibi wrote: > >> i think it will go back to 'input' >> but then i have multiple inputs.. so i split them in the struts xml >> giving something like this: >>

Re: [appfuse-user] full support for eclipse ?

2009-08-10 Thread tibi
good work :D Matt Raible wrote: > It looks like APF-1143 is a duplicate of > http://issues.appfuse.org/browse/APF-1110, which has already been > fixed in SVN. I'll mark it as such. > > Matt > > On Mon, Aug 10, 2009 at 12:12 PM, tibi wrote: > >> i had some patch i guess about changeing the logi

Re: [appfuse-user] full support for eclipse ?

2009-08-10 Thread Matt Raible
It looks like APF-1143 is a duplicate of http://issues.appfuse.org/browse/APF-1110, which has already been fixed in SVN. I'll mark it as such. Matt On Mon, Aug 10, 2009 at 12:12 PM, tibi wrote: > i had some patch i guess about changeing the login.xml file to > login.xmlf (because its a fragment)

Re: [appfuse-user] validation annotation

2009-08-10 Thread Matt Raible
On Mon, Aug 10, 2009 at 11:59 AM, tibi wrote: > i think it will go back to 'input' > but then i have multiple inputs.. so i split them in the struts xml > giving something like this: >         >             name="input">/WEB-INF/pages/consumer/secure/payDirectDebitData.jsp >             name="succe

Re: [appfuse-user] full support for eclipse ?

2009-08-10 Thread tibi
i had some patch i guess about changeing the login.xml file to login.xmlf (because its a fragment) so it will not go into the error zone... still open... http://issues.appfuse.org/browse/APF-1143 the other i don;t know so it seems you should be down to one ;) tibi pasta wrote: > new improvemen

Re: [appfuse-user] full support for eclipse ?

2009-08-10 Thread pasta
new improvement... after a clean in eclipse I'm getting 2 errors: Description ResourcePathLocationType The markup in the document following the root element must be well-formed. login.xml /appfusing/src/test/resources line 2 XML Problem Invalid character constant

Re: [appfuse-user] full support for eclipse ?

2009-08-10 Thread pasta
you were right... after mvn clean I'm getting only 4 errors... Description ResourcePathLocationType Invalid character constant header.jsp /appfusing/src/main/webapp/common line 3 JSP Problem The markup in the document following the root element must

Re: [appfuse-user] validation annotation

2009-08-10 Thread tibi
i think it will go back to 'input' but then i have multiple inputs.. so i split them in the struts xml giving something like this: /WEB-INF/pages/consumer/secure/payDirectDebitData.jsp /WEB-INF/pages/consumer/secure/payFinish.jsp

Re: [appfuse-user] full support for eclipse ?

2009-08-10 Thread Matt Raible
Did you run "mvn clean" after running "full-source". Many of these refer to errors in target/war/work/appfuse-web-common-2.0.2, which will not exist after running full-source. Matt On Mon, Aug 10, 2009 at 11:44 AM, pasta wrote: > > thanks for that... but still getting 18 errors.. > > Description

Re: [appfuse-user] full support for eclipse ?

2009-08-10 Thread pasta
thanks for that... but still getting 18 errors.. Description ResourcePathLocationType Fragment "/common/messages.jsp" was not found at expected path /appfusing/target/war/work/appfuse-web-common-2.0.2/common/messages.jsp default.jsp /appfusing/target/war/work/appfuse-w

[appfuse-user] validation annotation

2009-08-10 Thread tibi
i started using annotation for my validation. that is great another xml files is gone. but when things got more complicated i had more methods in my action. and on all methods there was done validation. after a some search i found this: -- When multiple methods are

Re: [appfuse-user] Fw: Error executing the mvn jetty:run-war

2009-08-10 Thread Matt Raible
What version of Maven are you using? You might try the latest version (2.2.0). Matt On Sun, Aug 9, 2009 at 3:22 PM, Khaled Mahmoud wrote: > Hi, > When I ran the command mvn jetty:run-war, after deleting the maven > repository and creating a basic struts 2 project, the command line hangs on > the

[appfuse-user] Error executing the mvn jetty:run-war

2009-08-10 Thread Khaled Mahmoud
Hi,I am new to Appfuse. I have created a project based on Struts 2 called (timeEntry)using the QuickStart command. After that I edited the pom.xml to point to MySQL database and then I tried to run the application using the mvn jetty:run-war command and I got the following error. [INFO] Internal