Re: [appfuse-user] Validation Div

2007-05-21 Thread Matt Raible
Modify messages.jsp in your common directory. If you're using AppFuse 2.x, you'll want to copy it from target/yourappname/common to src/main/webapp/common. Matt On 5/21/07, scokpinar <[EMAIL PROTECTED]> wrote: Hi, I want to remove validation div from pages, only i want to see the messages ne

[appfuse-user] Validation Div

2007-05-21 Thread scokpinar
Hi, I want to remove validation div from pages, only i want to see the messages near the fields , how can i do this ? -- View this message in context: http://www.nabble.com/Validation-Div-tf3794330s2369.html#a10731762 Sent from the AppFuse - User mailing list archive at Nabble.com. ---

Re: [appfuse-user] Spring applicationContext

2007-05-21 Thread nmall
Yes, I do. mraible wrote: > > Do you have the following in your web.xml? > > > > contextConfigLocation > > classpath*:/applicationContext-resources.xml > classpath*:/applicationContext-dao.xml > classpath*:/applicationContext-servi

Re: [appfuse-user] Spring applicationContext

2007-05-21 Thread Matt Raible
Do you have the following in your web.xml? contextConfigLocation classpath*:/applicationContext-resources.xml classpath*:/applicationContext-dao.xml classpath*:/applicationContext-service.xml classpath*:/applicationContext.xml

Re: [appfuse-user] Spring applicationContext

2007-05-21 Thread nmall
I am using tomcat 5.5 with JDK 5.0. I use mvn -e tomcat:run-war or mvn -e jetty:run-war to run jetty. My tomcat maven plugin looks like this. Is this right? org.codehaus.mojo tomcat-maven-plugin 1.0-SNAPSHOT If I remove the and use a simple spring-2.0-beans.dtd, I ge

Re: [appfuse-user] Spring applicationContext

2007-05-21 Thread Matt Raible
Are you running this on a server that has an XML parser that doesn't support XSDs? I suspect your problem is due to a server + JDK mismatch. I'd recommend trying Tomcat 5.5.x with JDK 5. Matt On 5/21/07, nmall <[EMAIL PROTECTED]> wrote: Hi Matt Thanks for the reply. I am still struggling wi

Re: [appfuse-user] Spring applicationContext

2007-05-21 Thread nmall
Hi Matt Thanks for the reply. I am still struggling with the following problem. When I inlcude the following header, the xerces parse r throws errors as follows. If I simply use spring-beans-2.0.dtd, it doesn't recognize the stuff in security.xml. Any help would be appreciated. Why am I getting

Re: [appfuse-user] Spring applicationContext

2007-05-21 Thread Matt Raible
It seems like you're doing things the hard way - why do you need to initialize your Spring ApplicationContext programmatically? If you load it from the classpath, it won't be an XmlWebApplicationContext, which is what you might be looking for. Matt On 5/21/07, nmall <[EMAIL PROTECTED]> wrote:

Re: [appfuse-user] ClassNotFound: DwrServlet

2007-05-21 Thread Matt Raible
Make sure you have the following listed as dependencies: org.appfuse appfuse-web-common ${appfuse.version} war org.appfuse appfuse-web-common ${appfuse.version} warpath Matt O

Re: [appfuse-user] AppFuse 2.0 m4 - Struts 2 - jetty

2007-05-21 Thread nss
Thanks Philip. This actually resolved both issues. The first problem was related to duplicate copies of struts.xml in src/main/webapp/WEB-INF and traget/classes. I deleted the one in src/main/webapp/WEB-INF. Jetty debugging is also working as expected. I had wired the action incorrectly in struts

Re: [appfuse-user] ClassNotFound: DwrServlet

2007-05-21 Thread nmall
Hi, I found that I did not have appfuse web common dependency right. Now that I have it, it compiles and brings up tomcat. However, I get the following error on trying any jsp like http://localhost:8080/myproject-1.0-SNAPSHOT/login.jsp. I see ten different kinds of suggestions on the internet f

Re: [appfuse-user] JasperException: /index.jsp(1,1) File "/WEB-INF/.tld" not found

2007-05-21 Thread Matt Raible
Does the .tld file exist in your WEB-INF/ directory? If so, you might try deleting $CATALINA_HOME/work and see if that helps. If not, does the contents of the file look correct? Matt On 5/21/07, -=j=- <[EMAIL PROTECTED]> wrote: Oh, BTW, I'm using appfuse 1.9.1 (webwork version) for the project

Re: [appfuse-user] JasperException: /index.jsp(1,1) File "/WEB-INF/.tld" not found

2007-05-21 Thread -=j=-
Oh, BTW, I'm using appfuse 1.9.1 (webwork version) for the project having this problem. I have recently set up a new 1.9.4 (JSF) project but that is still in the domain model phase, I have deployed the new project a couple times but am not focusing on the web tier at the moment... On Mon, 2007-05

Re: [appfuse-user] Basic One-To -Many

2007-05-21 Thread Rick Guo
You didn't have an Id property in Address class for the One-To-Many relationship. And you still need some JPA annotation tag to present the relationship. You should refer to Hibernate annotation reference. Rick Guo 5/22/2007 -原始邮件- 发件人:"paulie" 发送时间:2007-05-16 21:36:49 收件人:u

Re: [appfuse-user] appfuse.org down???

2007-05-21 Thread fadhli
Matt, I was looking into Contegix too. But their websites offer very little information about their hosting plans. Please do update on us your review about Contegix. On 5/22/07, Matt Raible <[EMAIL PROTECTED]> wrote: Yeah, and I haven't heard from KGB Internet yet either. The good news is we'

[appfuse-user] JasperException: /index.jsp(1,1) File "/WEB-INF/.tld" not found

2007-05-21 Thread -=j=-
Hi gang, I'm all of a sudden getting a weird error that says that the tld file bearing the name of my project can't be found and I now can't access my app... this is quite strange as I hadn't been working on the app for a while and it looks like I fouled something but I'm having trouble figuring o

Re: [appfuse-user] open / close hibernate session in appfuse

2007-05-21 Thread -=j=-
Hi Michael, Thanks for the reply! I had already figured out / remembered that the session is handled by that good ole spring OpenSessionInViewFilter and was coming back to answer my own question (mainly to provide documentation for some other poor soul who might be looking for that) when I saw yo

Re: [appfuse-user] Exclude action method from Validation?

2007-05-21 Thread Nathan Anderson
Hey Philip, Thanks for posting the solution back to the list. That is a big help when others run into the same problems later on [which is basically guaranteed to happen ;) ]. And a question is never spam wait let me clarify.. a question about AppFuse is never spam. If you were asking

Re: [appfuse-user] Exclude action method from Validation?

2007-05-21 Thread pcberg
pcberg wrote: > > 1. I followed the struts2 validation tutorial > (http://appfuse.org/display/APF/Using+Struts+2#UsingStruts2-validation) > but added a method "detail" to PersonAction. That method retrieves a > person and forwards to a page that shows details on a person (very similar > to edit)

Re: [appfuse-user] How do I perform a join in a dao.hibernate finder?

2007-05-21 Thread Nathan Anderson
Glad to see it was an easy fix :) Nathan - Original Message - From: "romsrini" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Monday, May 21, 2007 3:06:52 PM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] How do I perform a join in a dao.hibernate finder? Doh, I f

Re: [appfuse-user] AppFuse 2.0 m4 - Struts 2 - jetty

2007-05-21 Thread pcberg
Not sure about your first question, but: nss wrote: > > The other issue we are struggling with is that the remote debug as > explained in > (http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse) > does not seem to allow debugging of code running in Jetty.

Re: [appfuse-user] How do I perform a join in a dao.hibernate finder?

2007-05-21 Thread romsrini
Doh, I feel stupid. A misplaced quotation mark. Its good to know I can do joins in my HQL. Thanks. melinate wrote: > > I'm not great on my HQL, but judging by the error message I think the > problem is the comma near the end: > > recipient.heardFlag = 0, callerId >^ > >

Re: [appfuse-user] ActionTest question

2007-05-21 Thread Richard G. Reyes
Hi All, Comments are welcome. Thanks. Richard On 5/21/07, Richard G. Reyes <[EMAIL PROTECTED]> wrote: Hi All, Please allow me to ask another question. Im still trying to find an answer but was hoping someone here is available for a quick help. My testEdit() method on my ActionTest fails...

Re: [appfuse-user] appfuse.org down???

2007-05-21 Thread Matt Raible
Yeah, and I haven't heard from KGB Internet yet either. The good news is we'll be moving appfuse.org to Contegix in the next few weeks. Matt On 5/21/07, marshall <[EMAIL PROTECTED]> wrote: Hey Matt; I notice your site appears down again. Regards; Marshall Matt Raible <[EMAIL PROTECTED]> w

Re: [appfuse-user] appfuse.org down???

2007-05-21 Thread marshall
Hey Matt; I notice your site appears down again. Regards; Marshall Matt Raible <[EMAIL PROTECTED]> wrote: Looks like it's back up now. Matt On 5/21/07, Matt Raible wrote: > I'm looking into this now - it looks like all my servers hosted by > kgbinternet are unreachable. > > Mat

Re: [appfuse-user] How do I perform a join in a dao.hibernate finder?

2007-05-21 Thread Nathan Anderson
I'm not great on my HQL, but judging by the error message I think the problem is the comma near the end: recipient.heardFlag = 0, callerId ^ Since I am very familiar with SQL, I would expect that character to cause a problem because it would make the statement invalid. I

Re: [appfuse-user] ClassNotFound: DwrServlet

2007-05-21 Thread Matt Raible
Are you depending on appfuse-common-web or another appfuse web dependency? If so, do you have the warpath plugin configured properly? Matt On 5/21/07, nmall <[EMAIL PROTECTED]> wrote: Hi, When I run my project using mvn -e jetty:run-war, it gives me DwrServlet Not found . When I run it wit

[appfuse-user] ClassNotFound: DwrServlet

2007-05-21 Thread nmall
Hi, When I run my project using mvn -e jetty:run-war, it gives me DwrServlet Not found . When I run it with tomcat using mvn -e tomcat:run-war, I get the following (see error at the bottom). Any ideas would be greatly appreciated. Do I need to load some library for DwrServlet. Thanks!! java.la

Re: [appfuse-user] Errors at startup

2007-05-21 Thread nmall
Matt I am still using appfuse but adding a lot of stuff needed for my application. Thanks!! mraible wrote: > > Are you still using AppFuse or have you created your own project using > its pom files and source code? I don't think many of these issues > would be happening if you were using

[appfuse-user] Spring applicationContext

2007-05-21 Thread nmall
hi, My application requires that I initialize the Spring application Context programmatically where I initialize a bunch of other stuff ( code below) instead of using ContextLoaderListener in the web.xml appContext = new ClassPathXmlApplicationContext( new String[] {"application

Re: [appfuse-user] Errors at startup

2007-05-21 Thread Matt Raible
Are you still using AppFuse or have you created your own project using its pom files and source code? I don't think many of these issues would be happening if you were using an AppFuse-generated project. Matt On 5/21/07, nmall <[EMAIL PROTECTED]> wrote: BTW, I added the following dependency t

Re: [appfuse-user] Errors at startup

2007-05-21 Thread nmall
BTW, I added the following dependency to both my tomcat-maven-plugin and in my project dependencies. But it made no difference. org.apache.velocity velocity 1.5 Thanks!! nmall wrote: > > Hi, I thought I got over my spring application context init

[appfuse-user] Errors at startup

2007-05-21 Thread nmall
Hi, I thought I got over my spring application context initialization and now Iam getting a totally new set of errors - have no idea where to start. Thanks a lot for your help!!! Initializing spring application context log4j:WARN No appenders could be found for logger (org.springframework.beans.

Re: [appfuse-user] Problem in xdoclet

2007-05-21 Thread Matt Raible
Can you post your stack trace? It's likely that something is wrong with your model code. Matt On 5/21/07, Ryuuzaki <[EMAIL PROTECTED]> wrote: No, I get the same error, thanx for your help.. -- View this message in context: http://www.nabble.com/Problem-in-xdoclet-tf3791783s2369.html#a107245

Re: [appfuse-user] Problem in xdoclet

2007-05-21 Thread Ryuuzaki
No, I get the same error, thanx for your help.. -- View this message in context: http://www.nabble.com/Problem-in-xdoclet-tf3791783s2369.html#a10724574 Sent from the AppFuse - User mailing list archive at Nabble.com. - To unsu

[appfuse-user] How do I perform a join in a dao.hibernate finder?

2007-05-21 Thread romsrini
When I tried to test the following piece of code, public List getNewActualMessagesByCaller(long callerId) { return getHibernateTemplate().find("select message from com.lexy.model.Message message, com.lexy.model.MessageRecipient recipient where message.id = recipient.message and recipient.

Re: [appfuse-user] appfuse.org down???

2007-05-21 Thread Matt Raible
Looks like it's back up now. Matt On 5/21/07, Matt Raible <[EMAIL PROTECTED]> wrote: I'm looking into this now - it looks like all my servers hosted by kgbinternet are unreachable. Matt On 5/21/07, bUg. <[EMAIL PROTECTED]> wrote: > appfuse down or not? > >

[appfuse-user] AppFuse 2.0 m4 - Struts 2 - jetty

2007-05-21 Thread nss
First of all thanks for this framework. We are currently using Appfuse 1 with Spring MVC and are planning to move to Appfuse 2 with Struts 2. Appreciate your help with some problems we are facing. I am able to use mvn jetty:run-war however while using mvn jetty:run I get the following exception:

Re: [appfuse-user] Problem in xdoclet

2007-05-21 Thread Matt Raible
Can you compile using "ant compile"? Matt On 5/21/07, Ryuuzaki <[EMAIL PROTECTED]> wrote: Hello, I get the following error when I run ant test-all java.lang.ClassFormatError: Invalid pc in LineNumberTable in class file xdoclet/template/TemplateEngine could someone help me,I'm new to web devel

[appfuse-user] Problem in xdoclet

2007-05-21 Thread Ryuuzaki
Hello, I get the following error when I run ant test-all java.lang.ClassFormatError: Invalid pc in LineNumberTable in class file xdoclet/template/TemplateEngine could someone help me,I'm new to web developpement in java, and I think appfuse is the best way for me to learn, I use Postgresql for th

Re: [appfuse-user] No WebApplicationContext found

2007-05-21 Thread Matt Raible
You need to use the XSD (instead of the DTD) at the top, or change your DTD to: http://www.springframework.org/dtd/spring-beans-2.0.dtd";> For more info, see: http://www.springframework.org/docs/reference/new-in-2.html Matt On 5/21/07, nmall <[EMAIL PROTECTED]> wrote: I fixed this by adding

Re: [appfuse-user] appfuse.org down???

2007-05-21 Thread Matt Raible
I'm looking into this now - it looks like all my servers hosted by kgbinternet are unreachable. Matt On 5/21/07, bUg. <[EMAIL PROTECTED]> wrote: appfuse down or not? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

[appfuse-user] appfuse.org down???

2007-05-21 Thread bUg.
appfuse down or not? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] No WebApplicationContext found

2007-05-21 Thread nmall
I fixed this by adding ContextLoaderListener to the web.xml. However, I am getting the following error in my bean definition in applicaitonContext-struts.xml. "Scope" is available in my bean as follows I have this as my header: http://www

Re: [appfuse-user] Appfuse JSF, readonly text fields in XxForm.xhtml

2007-05-21 Thread mikebgx
Thanks Matt, done that Then I get an exception clicking the list to go into the details form: Property id references object in a scope with shorter lifetime than the target scope session Seems to me its complaining about param.id, which gets given the value of person.Id where person is the va

Re: [appfuse-user] No WebApplicationContext found

2007-05-21 Thread Matt Raible
What version of AppFuse are you using? If it's 2.0, do you have a ContextLoaderListener in your web.xml. Do you have a contextConfigLocations context-param defined? Matt On 5/21/07, nmall <[EMAIL PROTECTED]> wrote: Hi, I have my applicationContext.xml in src/main/resources. Where does the S

Re: [appfuse-user] Can I use JSP instead of XHTML in appfuse 2.0 M4

2007-05-21 Thread Matt Raible
I *highly* recommend you don't use JSP with JSF. We switched to Facelets for a reason and I don't plan on supporting those folks who want to use JSP. http://issues.appfuse.org/browse/APF-453 Matt On 5/21/07, nav2020 <[EMAIL PROTECTED]> wrote: Is it possible to convert the .xhtml pages to .jsp

[appfuse-user] No WebApplicationContext found

2007-05-21 Thread nmall
Hi, I have my applicationContext.xml in src/main/resources. Where does the Spring application context get loaded in appfuse. However I am getting the following error. Thanks for your help! [ERROR] Exception sending context initialized event to listener instance of clas s org.appfuse.webapp.list

[appfuse-user] Can I use JSP instead of XHTML in appfuse 2.0 M4

2007-05-21 Thread nav2020
Is it possible to convert the .xhtml pages to .jsp in the demo? If yes, is there any documentation somewhere? The main reason for my request is for me to be able to edit pages using my IDE(JDeveloper). Thanks in advance Jim -- View this message in context: http://www.nabble.com/Can-I-use-JSP-i

Re: [appfuse-user] ActionTest question

2007-05-21 Thread Richard G. Reyes
Hi All, Please allow me to ask another question. Im still trying to find an answer but was hoping someone here is available for a quick help. My testEdit() method on my ActionTest fails... heres the detail of the error... [junit] [thinkscan] DEBUG [main] ImageActionTest.testEdi

Re: [appfuse-user] Getting Icesoft to work in Appfuse 1.9.4 with JSF framework

2007-05-21 Thread Bryan Noll
Hisham... Hope you're still peaking at this list. If you did get it going, it'd be great to know how. Hopefully you can share... Thanks... Irshad Buchh wrote: Hi Hisham, Did you get it working now? I am looking for integration of icefaces, facelets and AppFuse 1.9.4. Can I share your note

Re: [appfuse-user] ActionTest question

2007-05-21 Thread Richard G. Reyes
Thanks Ealden. On 5/21/07, Ealden Esto E. Escañan <[EMAIL PROTECTED]> wrote: On 5/21/07, Richard G. Reyes <[EMAIL PROTECTED]> wrote: > Hello All, > > I am using 1.9.4 webwork version. > > Here is my code... > > - > public class ImageActionTest extends BaseActionTe

Re: [appfuse-user] Appfuse JSF, readonly text fields in XxForm.xhtml

2007-05-21 Thread Matt Raible
If you put your managed bean in session scope instead of request, it should solve this problem. Matt On 5/21/07, mikebgx <[EMAIL PROTECTED]> wrote: Hi, I'm using Appfuse (for JSF & Hibernate). It seems the presence of a readonly or disabled attribute on my http://www.nabble.com/Bug-in-editPr

[appfuse-user] Appfuse JSF, readonly text fields in XxForm.xhtml

2007-05-21 Thread mikebgx
Hi, I'm using Appfuse (for JSF & Hibernate). It seems the presence of a readonly or disabled attribute on my http://www.nabble.com/Bug-in-editProfile--tf1274535s2369.html#a3400660 whereby I've added after my tag. Any ideas please? Mike -- View this message in context: http://www.nabble.

Re: [appfuse-user] ActionTest question

2007-05-21 Thread Ealden Esto E. Escañan
On 5/21/07, Richard G. Reyes <[EMAIL PROTECTED]> wrote: Hello All, I am using 1.9.4 webwork version. Here is my code... - public class ImageActionTest extends BaseActionTestCase { private ImageAction action; protected void setup() throws Exception {

[appfuse-user] ActionTest question

2007-05-21 Thread Richard G. Reyes
Hello All, I am using 1.9.4 webwork version. Here is my code... - public class ImageActionTest extends BaseActionTestCase { private ImageAction action; protected void setup() throws Exception { super.setUp(); action = (ImageAction) ctx.getBea