Re: [appfuse-user] Data Archive pattern in AppFuse

2007-10-09 Thread Rob Hills
Hi Nathan, Thanks for your thoughts. On 9 Oct 2007 at 11:25, Nathan Anderson wrote: > We have an app that uses the Hibernate version attribute to make a "archive > table" like you describe. > > Some things to think about before you get too far... The foreign key > constraint means you will

Re: [appfuse-user] Faces Context Error

2007-10-09 Thread nasim salehi
Thank you dear Matt for your instantly attention, Well I have myfaces jar in my project and I defined faces pattern in my web.xml and I think faces servlet can handle it: faces javax.faces.webapp.FacesServlet 2 faces *.faces So I think there i

Re: [appfuse-user] Could not open Hibernate Session for transaction; nested exception is

2007-10-09 Thread Sanath
Dear Ealden, This is Appfuse 2.0 M5 My DB is mysql Java version is 5 Is this due to not setting autoReconnect=true in the db connection URL All ur help and advices highly appreciated. Sanath wrote: > > Hi All, > In my appfuse project, When am trying to logging to the system, It gives > me

[appfuse-user] puluwan ne

2007-10-09 Thread Sanath
-- View this message in context: http://www.nabble.com/puluwan-ne-tf4598429s2369.html#a13129027 Sent from the AppFuse - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: [appfuse-user] I want to contribute Facelets stuff to appfuse

2007-10-09 Thread p7k
I was wondering if anyone has already contributed the necessary facelets decorators to replace the functionality of sitemesh and common jsp's (header, footer, ... ). I am seriously considering switching to facelets layout management and decoration, since sitemesh doesn't play well with jsf and fa

Re: [appfuse-user] Implementing a second web-service

2007-10-09 Thread fadhli
Have you created a new service interface and implementation class and expose it as a webservice? Xfire will pick it up and it will be automatically expose as a web service. On 10/10/07, George.Francis <[EMAIL PROTECTED]> wrote: > > > Yes, I have been through that tutorial. Unless I'm missing some

[appfuse-user] Web services index not working

2007-10-09 Thread George.Francis
Hi, I created a basic Spring MVC App using the maven archetype process described in the tutorials. I can see the wsdl for the Users webservice at http://localhost:8080/services/UserService?wsdl, but I can't see the list of services at http://localhost:8080/services - I get a 404 for this URL. Wh

Re: [appfuse-user] Implementing a second web-service

2007-10-09 Thread George.Francis
Yes, I have been through that tutorial. Unless I'm missing something, as my original question asserts, this procedure explains how to expose existing Beans to the built-in X-Fire implementation. What I'm trying to do is implement a second, separate webservice in my AF application. mraible wrot

Re: [appfuse-user] Implementing a second web-service

2007-10-09 Thread Matt Raible
Which version of AppFuse are you using? If it's 2.0, the following might help: http://appfuse.org/display/APF/Web+Services Matt On 10/9/07, George.Francis <[EMAIL PROTECTED]> wrote: > > Hello All, > I am a relative new-comer to AppFuse but have been doing Java/Web Dev for > years. I just comple

[appfuse-user] Implementing a second web-service

2007-10-09 Thread George.Francis
Hello All, I am a relative new-comer to AppFuse but have been doing Java/Web Dev for years. I just completed the AppFuse tutorials and have my basic Spring MVC web-app up and CRUD-ing. Now, I want to add a WebService to the application. I'm aware that AF has X-Fire built in which it uses to e

Re: [appfuse-user] Hibernate Example.create

2007-10-09 Thread Lucky123
Hi Matt, Thanks so much for the reply. I tried with HQL but it is not returning correct result. Actually Employee is associated to Manager through Subordinate. (It is indirect association) Get all employees with the given manager. May I know how the HQL query looks for this one. Thanks m

Re: [appfuse-user] Data Archive pattern in AppFuse

2007-10-09 Thread Nathan Anderson
We have an app that uses the Hibernate version attribute to make a "archive table" like you describe. Some things to think about before you get too far... The foreign key constraint means you will not be able to delete an object without deleting it's archive [which is bad ;)]. We used the c

RE: [appfuse-user] confirmation of steps (1.9.x)

2007-10-09 Thread vpacheco
Matt, ApplicationResources.properties did the trick. I just added this file and added the required data and it worked. Thanks a ton, I can finally continue with my work Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: T

RE: [appfuse-user] confirmation of steps (1.9.x) -- URGENT

2007-10-09 Thread vpacheco
Thanks Matt, I will try out everything you gave me and let you know the results. Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This message is intended for the use of the person or entity to which it is addressed and

Re: [appfuse-user] Dropbox list for Country and State

2007-10-09 Thread Nathan Anderson
Hello Bruce, AppFuse uses the countries listed in the JVM for localization, so it is not really a complete list of countries anyway. The only way to have a complete list is to compile one yourself [e.g. make a database] or use an existing library [several commercial options available]. The c

Re: [appfuse-user] Just rolling along, when...

2007-10-09 Thread John Kwon
It wasn't the dependency I added. I fat fingered the XML.

Re: [appfuse-user] Hibernate Example.create

2007-10-09 Thread Matt Raible
I was never able to get QBE to work with the User object (which has an association with Role), so I don't have a solution for you. I'd suggest using HQL. Matt On 10/9/07, Lucky123 <[EMAIL PROTECTED]> wrote: > > > Can anybody please help.. > > Thanks > > > Lucky123 wrote: > > > > Hi Nathan, > > >

Re: [appfuse-user] When are values in jdbc.properties substituted?

2007-10-09 Thread Florian Kirchhoff
Mark, thank you for such quick answer, even if it's on Maven rather than AppFuse!. mraible wrote: > > On 10/9/07, Florian Kirchhoff <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I have a question regarding the use of jdbc.properties. When I run my >> tests, >> I see that the placeholder values in

Re: [appfuse-user] confirmation of steps (1.9.x) -- URGENT

2007-10-09 Thread Matt Raible
On 10/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Since my test is not working i.e. when I try loading editPerson?id=1 I am > re-directed to the login page but every text in there has question marks > preceeding and succeeding it... So I need to confirm that I'm doing it all > righ

Re: [appfuse-user] Hibernate Example.create

2007-10-09 Thread Lucky123
Can anybody please help.. Thanks Lucky123 wrote: > > Hi Nathan, > > Thank you so much for the reply. > > public Employee() extends Subordinate{ > > private String employeeName; > public void setEmployeeName(String employeeName){ > this.employeeName = employeeName; > } > public void get

RE: [appfuse-user] confirmation of steps (1.9.x)

2007-10-09 Thread vpacheco
Sorry about that. Will not happen again ;-) I have gone through the tutorials. I was confused though with the steps that I listed in my previous mail. > Copy the contents of Person.properties into > web/WEB-INF/classes/ApplicationResources.properties. - Is > this in /extras/appgen/build/gen/we

Re: [appfuse-user] Just rolling along, when...

2007-10-09 Thread Matt Raible
If you remove the "Colt" dependency, does it still fail? On 10/9/07, John Kwon <[EMAIL PROTECTED]> wrote: > I was adding a class (in my app's service package), as I have been for a few > days now, and when I did a > > mvn clean compile install > > I got this right after the Tomcat started so that

Re: [appfuse-user] Could not open Hibernate Session for transaction; nested exception is

2007-10-09 Thread Ealden Escañan
On 10/9/07, Sanath <[EMAIL PROTECTED]> wrote: > > Hi All, > In my appfuse project, When am trying to logging to the system, It gives me > this error. > > "Could not open Hibernate Session for transaction; nested exception is > org.hibernate.TransactionException: JDBC begin failed:" > > THIS HAPPEN

Re: [appfuse-user] When are values in jdbc.properties substituted?

2007-10-09 Thread Matt Raible
On 10/9/07, Florian Kirchhoff <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a question regarding the use of jdbc.properties. When I run my tests, > I see that the placeholder values in src/test/resources/jdbc.properties get > replacted with the values in pom.xml before the file is deployed to > tar

Re: [appfuse-user] Object Model - Hibernate

2007-10-09 Thread Ealden Escañan
On 10/9/07, Richard Nduka <[EMAIL PROTECTED]> wrote: > Hi Folks, > > I have a little problem. Basically this is my problem: > > My application requires an object model that includes a parent, teacher, > student and of course each of this type of persons would be able to logon to > the application.

Re: [appfuse-user] confirmation of steps (1.9.x) -- URGENT

2007-10-09 Thread Matt Raible
Please don't add "urgent" to your subject line when you post to this list. Your question may be urgent for you, but it's not for any of the volunteers on this project. http://www.catb.org/~esr/faqs/smart-questions.html#urgent ;-) If your login is not working, you should try to figure out the pro

Re: [appfuse-user] Re: Just rolling along, when...

2007-10-09 Thread Matt Raible
Hmmm, I don't know what to say as I haven't seen this error before. I know folks have had issues with JDK 6 - does it happen with JDK 5? Matt On 10/9/07, John Kwon <[EMAIL PROTECTED]> wrote: > Appfuse 2.0 m5, Java 6 Update 2, Tomcat 6.0.14. > > Everything working fine until today. > > Here's the

[appfuse-user] When are values in jdbc.properties substituted?

2007-10-09 Thread Florian Kirchhoff
Hi, I have a question regarding the use of jdbc.properties. When I run my tests, I see that the placeholder values in src/test/resources/jdbc.properties get replacted with the values in pom.xml before the file is deployed to target/test-classes. But when I run the install goal, then src/main/res

Re: [appfuse-user] Object Model - Hibernate

2007-10-09 Thread David Dun
Hi, Richard, I'm new here and not really familiar with Appfuse, but it is easy to see that your question has almost no relationship with Appfuse. It's not strange that no one can answer you in short. Actually, I think that your problem should be a general Domain Design problem, and the implementat

[appfuse-user] Re: Just rolling along, when...

2007-10-09 Thread John Kwon
Never mind - fat fingered the pom...

[appfuse-user] confirmation of steps (1.9.x) -- URGENT

2007-10-09 Thread vpacheco
Since my test is not working i.e. when I try loading editPerson?id=1 I am re-directed to the login page but every text in there has question marks preceeding and succeeding it... So I need to confirm that I'm doing it all right. --1) Create skeleton JSPs using XDoclet [#2]: Copy the contents

[appfuse-user] Re: Just rolling along, when...

2007-10-09 Thread John Kwon
Appfuse 2.0 m5, Java 6 Update 2, Tomcat 6.0.14. Everything working fine until today. Here's the extended error, which happened during "mvn install" and right before the web tests were supposed to execute: [INFO] [talledLocalContainer] INFO: Server startup in 426 ms [INFO] [talledLocalContainer]

[appfuse-user] confirmation of steps (1.9.x) -- URGENT

2007-10-09 Thread vpacheco
Since my test is not working i.e. when I try loading editPerson?id=1 I am re-directed to the login page but every text in there has question marks preceeding and succeeding it. So I need to confirm that I'm doing it all right. Create skeleton JSPs using XDoclet [#2]: * Copy the contents

[appfuse-user] Just rolling along, when...

2007-10-09 Thread John Kwon
I was adding a class (in my app's service package), as I have been for a few days now, and when I did a mvn clean compile install I got this right after the Tomcat started so that the web tests could run. [INFO] [antrun:run {execution: default}] [INFO] Executing tasks [INFO] ---

[appfuse-user] Entity Listener

2007-10-09 Thread Martin Homik
Can anyone tell how to use Entity Listeners in AppFuse? I ran into the same problems as already mentioned in http://www.nabble.com/forum/ViewPost.jtp?post=11144501&framed=y&skin=2369 this thread . Unfortunately, nobody posted any solution and I'd like to pick up that topic. In my case I want to

Re: [appfuse-user] Object Model - Hibernate

2007-10-09 Thread Richard Nduka
Alrite. Thanks On 10/9/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > If you haven't gotten a response, it's likely that no one knows the > answer to your question. > > Matt > > On 10/9/07, Richard Nduka <[EMAIL PROTECTED]> wrote: > > > > > > Any Help with the below problem??? > > > > > > > > > Hi

Re: [appfuse-user] DWR help

2007-10-09 Thread J. David Mendoza
Have you tried function update() { var name = dwr.util.getValue("demoName"); Demo.sayHello(name, function(data) { dwr.util.setValue("demoReply", data); }); } Matt Raible wrote: No, unfortunately, I don't know what the problem could be. You might try debugging with Firebug in F

Re: [appfuse-user] CRUD generation for models with non numeric version fields

2007-10-09 Thread Matt Raible
Can you enter an issue for this in JIRA? It sounds like the version annotation is overriding the Data type. Does the issue only happen in sample-data.xml or does it happen other places as well? Matt On 10/9/07, RoyPorter <[EMAIL PROTECTED]> wrote: > > This is an excerpt from the model: > > /*

Re: [appfuse-user] Could not open Hibernate Session for transaction; nested exception is

2007-10-09 Thread Matt Raible
I've haven't seen this issue before. What is your environment (JDK, OS, database, etc.)? Matt On 10/9/07, Sanath <[EMAIL PROTECTED]> wrote: > > Hi All, > In my appfuse project, When am trying to logging to the system, It gives me > this error. > > "Could not open Hibernate Session for transactio

Re: [appfuse-user] Object Model - Hibernate

2007-10-09 Thread Matt Raible
If you haven't gotten a response, it's likely that no one knows the answer to your question. Matt On 10/9/07, Richard Nduka <[EMAIL PROTECTED]> wrote: > > > Any Help with the below problem??? > > > > > Hi Folks, > > > > I have a little problem. Basically this is my problem: > > > > My application

Re: [appfuse-user] Doubt on wasce

2007-10-09 Thread Matt Raible
This is probably a better question for your support contact at IBM. Matt On 10/9/07, jithesh <[EMAIL PROTECTED]> wrote: > > hi, > > i have a requirement. > U know that it is possible to deploy a war file to websphere application > server from a remote mechine. > for eg: http://ipaddress:8443/

Re: [appfuse-user] Faces Context Error

2007-10-09 Thread Matt Raible
1.9.4 uses Facelets instead of JSP - have you tried renaming your JSP to end in .xhtml? On 10/9/07, Nasim_sa <[EMAIL PROTECTED]> wrote: > > I'm using appfuse-jsf-1.9.4,I tested all test targets in ant build script and > they all passes correctly,but when I wanna to see my jsp page in brwoser I > g

Re: [appfuse-user] Object Model - Hibernate

2007-10-09 Thread Richard Nduka
Hi Folks, I have a little problem. Basically this is my problem: My application requires an object model that includes a parent, teacher, student and of course each of this type of persons would be able to logon to the application. So i have basically abstracted all the common stuffs like name, t

Re: [appfuse-user] Object Model - Hibernate

2007-10-09 Thread Richard Nduka
Any Help with the below problem??? Hi Folks, > > I have a little problem. Basically this is my problem: > > My application requires an object model that includes a parent, teacher, > student and of course each of this type of persons would be able to logon to > the application. So i have basically

[appfuse-user] Doubt on wasce

2007-10-09 Thread jithesh
hi, i have a requirement. U know that it is possible to deploy a war file to websphere application server from a remote mechine. for eg: http://ipaddress:8443/console will open a admin page to which username and password is entered.My reqment is i need to disable this property.That is only an

[appfuse-user] Cascading: I need your confirmation

2007-10-09 Thread Martin Homik
The question in my thread is: can only the owning side of a relation invoke propgation of PERSIST, MERGE, REFRESH? I have a self-referencing class "Competency". Each competency can have child competencies and it can be itself a child competency of some other parent competency. A "composes" field

Re: [appfuse-user] CRUD generation for models with non numeric version fields

2007-10-09 Thread RoyPorter
This is an excerpt from the model: /** * Date/time record was last changed */ private Date lastChanged; /** * Returns the property last Changed. * @return the lastChanged date */ @Version @Temporal (value = TemporalType.TIMESTAMP) public Date

[appfuse-user] Faces Context Error

2007-10-09 Thread Nasim_sa
I'm using appfuse-jsf-1.9.4,I tested all test targets in ant build script and they all passes correctly,but when I wanna to see my jsp page in brwoser I get following error,It's clear that the error doesn't relate to my jsf page code but some obstacle in assigning needed library,In fact I think he