RE: [appfuse-user] Struts2 problem

2007-10-02 Thread benoit moraillon
THANKS ! -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Matt Raible Envoyé : mardi 2 octobre 2007 22:50 À : users@appfuse.dev.java.net Objet : Re: [appfuse-user] Struts2 problem Here's the issue in XWork's JIRA. I added a patch to fix the problem last

Re: [appfuse-user] Eclipse issue with header.jsp EL syntax

2007-10-02 Thread natophonic
WayneFH wrote: > > > > It says "Invalid Character Constant". Of course this builds and runs fine > in Tomcat and Jetty. > > It appears to be a problem with it recognizing the EL macro language > syntax. > > Anyone know a way to make Eclipse understand this and eliminate the error? > It's

Re: [appfuse-user] Struts2 problem

2007-10-02 Thread Matt Raible
Here's the issue in XWork's JIRA. I added a patch to fix the problem last week. I don't know if it will fix this exact problem, but it does tend to report when properties or methods are invalid. http://jira.opensymphony.com/browse/XW-557 Matt On 10/2/07, Nathan Anderson <[EMAIL PROTECTED]> wrote

Re: [appfuse-user] How to add popup calendar in Appfuse (JSF framework)

2007-10-02 Thread Matt Raible
Tomahawk has a popup Calendar you can use. It's kinda ugly though. http://myfaces.apache.org/tomahawk/calendar.html http://demo2.appfuse.org/appfuse-light-jsf/users.html Matt On 10/1/07, phamvubinh <[EMAIL PROTECTED]> wrote: > > Hi all, > > Now I want to add a popup calendar to my project for e

Re: [appfuse-user] Problems in 2.0 with dwr

2007-10-02 Thread Matt Raible
So maybe we should just have /dwr/index.html by default, eh? Matt On 10/2/07, dobber1134 <[EMAIL PROTECTED]> wrote: > > Finally solved the issue. I had to remove "/dwr/*" from the static filter > include section in web.xml. > > > > dobber1134 wrote: > > > > I already had allowScriptTagRemoting s

Re: [appfuse-user] Problems in 2.0 with dwr

2007-10-02 Thread dobber1134
Finally solved the issue. I had to remove "/dwr/*" from the static filter include section in web.xml. dobber1134 wrote: > > I already had allowScriptTagRemoting set to true and I tried setting > crossDomainSessionSecurity to false. Nether of these settings worked. I > removed allowScriptTag

Re: [appfuse-user] JBoss deployment fails (JPA, Spring MVC, full-source)

2007-10-02 Thread Matt Raible
>From what I can tell, it looks like JBoss is trying to load its version of Hibernate rather than yours. It could be caused by its Universal Classloader, but I'm not sure. http://tinyurl.com/2hwhr2 Matt On 10/2/07, jimpo <[EMAIL PROTECTED]> wrote: > > I'm having trouble deploying my web applicat

Re: [appfuse-user] cargo version

2007-10-02 Thread Matt Raible
Cargo hasn't been updated for Tomcat 6, but luckily their tomcat5x support works with Tomcat 6. Matt On 10/2/07, ros <[EMAIL PROTECTED]> wrote: > > Hi! > > What's reason of > http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.14/bin/apache-tomcat-6.0.14.zip > in pom.xml ? > There is still tomcat

Re: [appfuse-user] mvn jetty:run with IDEA

2007-10-02 Thread Matt Raible
If you look at your project settings in IDEA, you should be able to exclude directories. Matt On 10/2/07, ros <[EMAIL PROTECTED]> wrote: > > Hi! > > Does IDEA requires any additional configuration to run mvn jetty:run? > > I run: > mvn war:inplace > rm -r src/main/webapp/WEB-INF/lib > rm src/main

[appfuse-user] objectToRequestParameters.BaseControllerTestCase fails for non BaseObject models

2007-10-02 Thread Florian Kirchhoff
Hi, I am using AppFuse 2.0, and generated an application using the appfuse:gen goal. It works great, except that my *FormControllerTest(s) keep failing for Model objects which have relations to each other. For example I have 3 model objects A, B and C. They have properties such as A.B and C.B. I

[appfuse-user] mvn jetty:run with IDEA

2007-10-02 Thread ros
Hi! Does IDEA requires any additional configuration to run mvn jetty:run? I run: mvn war:inplace rm -r src/main/webapp/WEB-INF/lib rm src/main/webapp/WEB-INF/classes/struts.xml mvn jetty:run For basic struts AppFuse project set output path of project module to ...src/main/webapp/WEB-INF/clas

Re: [appfuse-user] Problems in 2.0 with dwr

2007-10-02 Thread dobber1134
I already had allowScriptTagRemoting set to true and I tried setting crossDomainSessionSecurity to false. Nether of these settings worked. I removed allowScriptTagRemoting (since the default is true) and I no longer get the "throw 'allowScriptTagRemoting is false.';" but I still get the "content

[appfuse-user] cargo version

2007-10-02 Thread ros
Hi! What's reason of http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.14/bin/apache-tomcat-6.0.14.zip in pom.xml ? There is still tomcat5x and it starts tomcat 5. Thanks. ros -- View this message in context: http://www.nabble.com/cargo-version-tf4555944s2369.html#a13002579 Sent from the App

Re: [appfuse-user] J2EE preofessional and architect and Job Opportunities

2007-10-02 Thread theagilerecruiter
It really depends on your location and "the match" with your skills and the job requirement. In my experience a candidate that loves learning and sharing knowledge is also highly desirable. meisam4910 wrote: > > I really want to know how is the job situation and opportunities for a > J2EE arch

Re: [appfuse-user] Appfuse coverage on theserverside.com

2007-10-02 Thread Matt Raible
Thanks for your kind words Dusty! FWIW, there's an announcement about AppFuse 2.0 being released on TSS today. http://www.theserverside.com/news/thread.tss?thread_id=47099 Matt On 10/1/07, dusty <[EMAIL PROTECTED]> wrote: > > Hey all, > > There is a new CRUD generator framework called Spring-on-

Re: [appfuse-user] rabledesigns site down today?

2007-10-02 Thread Matt Raible
FYI... Here's what my provider says: Hi Matt. Yes, our web site is being updated as we hear more about the problem. The problem is beyond our control and appears also to be affecting many other servers in the Chicago area. http://www.kgbinternet.com Keith Matt On 10/2/07, ros <[EMAIL PROTE

[appfuse-user] J2EE preofessional and architect and Job Opportunities

2007-10-02 Thread meisam4910
I really want to know how is the job situation and opportunities for a J2EE architect and programmer ? is it easy to get a job after becoming a good JEE developer ? -- View this message in context: http://www.nabble.com/J2EE-preofessional-and-architect-and-Job-Opportunities-tf4555864s2369.html#

Re: [appfuse-user] Re: Decrypting the user's password

2007-10-02 Thread John Kwon
Because you can't retrieve the password from Documentum. You have to go into Documentum with a userid and password for authentication, which happens every single time you call it. On 10/2/07, Derek Broughton <[EMAIL PROTECTED]> wrote: > > Michael Horwitz wrote: > > > The encryption method is set

[appfuse-user] Re: Decrypting the user's password

2007-10-02 Thread Derek Broughton
Michael Horwitz wrote: > The encryption method is set in security.xml - look for the bean called > passwordEncoder. The default setting is ShaPasswordEncoder which is a > one-way hash, so the password cannot be decoded. > > On 10/2/07, John Kwon <[EMAIL PROTECTED]> > wrote: >> >> getUsername gets

Re: [appfuse-user] Best way to save ManyToOne relationships with Hibernate and Spring MVC

2007-10-02 Thread syg6
Well I am plugging away at scenario(2) ... as I figured, not trivial. I looked at some of the examples of the tag. It seems to be the way to go. In my jsp I have the following: This creat

[appfuse-user] Eclipse issue with header.jsp EL syntax

2007-10-02 Thread WayneFH
Folks, AppFuse 2.0 with Basic JSF is now working (almost) cleanly under Eclipse (without WTP) except for a few warnings on XML files. But I have one error in Eclipse. It complains about this line in header.jsp. (I ran a mvn inplace to get AppFuse Source.) It says "Invalid Character Constant".

Re: [appfuse-user] WAIT! It works now.

2007-10-02 Thread WayneFH
Mike, Sorry. There was a rogue jdbc.properties in the target that didn't get updated for some reason. Once I deleted it it must have refreshed and it started working! Wayne Mike Horwitz wrote: > > Maven does some property placeholder replacement on the jdbc.properties > file > when you run a

Re: [appfuse-user] Circular dataSource reference when running jetty:run ...

2007-10-02 Thread WayneFH
Mike, Thanks for the quick reply. I still get the same error after replacing the values in jdbc.properties for username, password, url, and class name both for jdbc and hibernate. They now have the actual values instead of the maven macros. Something else weird is going on. Because I had jetty:

Re: [appfuse-user] Problem with CLEAN_INSERT

2007-10-02 Thread Rob Hills
Hi Shash, On 2 Oct 2007 at 7:36, Shash Chaterjee wrote: > > Thomas/Rob/Dusty, > > Thanks for the replies and help. I will try ordering the data as soon as I > get a chance to go back and try the H2 config again (I moved on to > experimenting with MySQL). BTW, I hadn't created any of my own mo

Re: [appfuse-user] Circular dataSource reference when running jetty:run ...

2007-10-02 Thread Michael Horwitz
Maven does some property placeholder replacement on the jdbc.properties file when you run a build. jetty:run-war and tomcat:run-war both invoke a Maven build in the background, I think jetty:run does not. If you want it all to work you need to replace the property placeholders in jdbc.properties wi

Re: [appfuse-user] Decrypting the user's password

2007-10-02 Thread John Kwon
Yeah, I noticed that. I hate to have to do this, but I set the encoder to the Plaintext because I absolutely need the plaintext password to be passed to Documentum for the login. On 10/2/07, Michael Horwitz <[EMAIL PROTECTED]> wrote: > > The encryption method is set in security.xml - look for the

[appfuse-user] Circular dataSource reference when running jetty:run ...

2007-10-02 Thread WayneFH
Folks, mvn jetty:run fails but mvn tomcat:run-war and mvn jetty:run-war work correctly. mvn jetty:run gives an error during startup about a circular jdbc.driverClassName reference in applicationContext-resources.xml. The exact error follows. Please, I love the hot deploy of jetty:run and want t

Re: [appfuse-user] Decrypting the user's password

2007-10-02 Thread Michael Horwitz
The encryption method is set in security.xml - look for the bean called passwordEncoder. The default setting is ShaPasswordEncoder which is a one-way hash, so the password cannot be decoded. Mike On 10/2/07, John Kwon <[EMAIL PROTECTED]> wrote: > > Ok, I have: > > > Authentication authen = > cont

Re: [appfuse-user] Problem with CLEAN_INSERT

2007-10-02 Thread Shash Chaterjee
Thomas/Rob/Dusty, Thanks for the replies and help. I will try ordering the data as soon as I get a chance to go back and try the H2 config again (I moved on to experimenting with MySQL). BTW, I hadn't created any of my own models yet, this was the "canned" user/roles data that is created by def

[appfuse-user] Decrypting the user's password

2007-10-02 Thread John Kwon
Ok, I have: Authentication authen = context.getAuthentication(); Object principal = *null*; *if* (authen != *null*) { principal = authen.getPrincipal(); log.debug("Principal is: " + principal.getClass().getName()); } *if* (principal != *null*) { loggedInUser = (User) principal; userid =

[appfuse-user] JBoss deployment fails (JPA, Spring MVC, full-source)

2007-10-02 Thread jimpo
I'm having trouble deploying my web application to JBoss server. - Appfuse 2.0 - JBoss 4.2.1.GA I create a - JPA - Spring MVC - Modular (web + core) - full-source project using the steps 1. mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-

Re: [appfuse-user] Best way to save ManyToOne relationships with Hibernate and Spring MVC

2007-10-02 Thread syg6
Hello again. Well I guess I'll deal with scenario (1) for now. The deal is that when you create a new Application you at least have to assign streetSection1. You can also assign streetSection2 and place but they are not obligatory. (You never create NEW StreetSections or Places ...) This is what

Re: [appfuse-user] rabledesigns site down today?

2007-10-02 Thread ros
Hi! Post to the root thread. Yes, it look like link is down. Note, cached page versions are available in google search. Regards, ros vpacheco wrote: > > Hi, > > Is this site down today? I'm trying to get to the tutorial that I sooo > desperately want to start on. > > http://raibledesigns.

Re: [appfuse-user] rabledesigns site down today?

2007-10-02 Thread Matt Raible
I'm looking into it now - sorry for the inconvenience. Matt On 10/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > Is this site down today? I'm trying to get to the tutorial that I sooo > desperately want to start on. > > http://raibledesigns.com/wiki/Wiki.jsp?page=Articles > > > Vane

[appfuse-user] rabledesigns site down today?

2007-10-02 Thread vpacheco
Hi, Is this site down today? I'm trying to get to the tutorial that I sooo desperately want to start on. http://raibledesigns.com/wiki/Wiki.jsp?page=Articles Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This messag

Re: [appfuse-user] J2EE fundamentals

2007-10-02 Thread meisam4910
Dear John i start with simple jsp and servlet and learn about the new things like J2EE fundamentals as well at the same time, i hope i could finish all the things that i need in a good period and hope to understand the J2EE soon. I appreciate your nice comments and advices, i am motivated now to

Re: [appfuse-user] J2EE fundamentals

2007-10-02 Thread meisam4910
I suppose I need to do a lot of things, and I must prepare myself for a long way, for sure I dun give up. :) thank you John. John Kwon wrote: > > Meisam, it's a wide world of frameworks and J2EE - don't give up. > It's going to take time - but you don't have to give up one thing for > another in

Re: [appfuse-user] Best way to save ManyToOne relationships with Hibernate and Spring MVC

2007-10-02 Thread Michael Horwitz
On 10/2/07, syg6 <[EMAIL PROTECTED]> wrote: > > Thanks for your response Mike. I think you must have copy-pasted from > another > post or something, I am not working with a Country object. But I think > your > idea applies to both of my scenarios. Correct. It is a copy and paste from the relevan

Re: [appfuse-user] J2EE fundamentals

2007-10-02 Thread John Kwon
Meisam, it's a wide world of frameworks and J2EE - don't give up. It's going to take time - but you don't have to give up one thing for another in terms of studying. Read up on the fundamentals - then pick up a few frameworks. Using the frameworks is instructive - and that's why tools like AppFus

Re: [appfuse-user] Best way to save ManyToOne relationships with Hibernate and Spring MVC

2007-10-02 Thread syg6
Thanks for your response Mike. I think you must have copy-pasted from another post or something, I am not working with a Country object. But I think your idea applies to both of my scenarios. In scenario (1) I already have a PropertyEditor defined for StreetSection. It looks like this: public cl

Re: [appfuse-user] can not run struts action tests after upgrate to AppFuse2 R1

2007-10-02 Thread Michael Horwitz
Not entirely sure why these were available before, but DateBridge is part of the Hibernate search project. If you want to use it, simply add a dependency in your pom.xml file on the hibernate search tools. Mike. On 10/2/07, ros <[EMAIL PROTECTED]> wrote: > > > Right, thanks! > > Do you know why h

Re: [appfuse-user] can not run struts action tests after upgrate to AppFuse2 R1

2007-10-02 Thread ros
Right, thanks! Do you know why hibernate @DateBridge(resolution= Resolution.MINUTE) are not available any more? (package org.hibernate.search.annotations does not exist) Thanks! mraible wrote: > > The exception you're seeing is a known issue and shouldn't cause any > problems: > > https://i

Re: [appfuse-user] Struts2 problem

2007-10-02 Thread Nathan Anderson
Looks like the problem with the site is on Matt's end. I'll have a look after it is back up. Thanks for the tip. Nathan - Original Message - From: "Michael Horwitz" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Tuesday, October 2, 2007 2:19:55 AM (GMT-0800) America/Los_Angel

Re: [appfuse-user] Struts2 problem

2007-10-02 Thread Michael Horwitz
I know Matt posted a blog entry covering exactly this topic. I cannot access his site at the moment from work (some sort of networking issue), but have a hunt though the blog on http://www.raibledesigns.com and you should find something Mike On 10/2/07, benoit moraillon <[EMAIL PROTECTED]> wr

Re: [appfuse-user] Best way to save ManyToOne relationships with Hibernate and Spring MVC

2007-10-02 Thread Michael Horwitz
I believe you could resolve both cases by registering custom editors in your controllers - this would allow Spring MVC to automatically convert between the object and its string representation. See the thread on this discussion for more details http://tinyurl.com/3yghfd: You are going to need to p

Re: [appfuse-user] Database immediate commit with DWR ?

2007-10-02 Thread p7k
my hunch would be with the correct use of dwr callback functions Nathaniel Rahav wrote: > > Greetings, > > I'm working on an Appfuse 1.8.2 SpringMVC app and having a very strange > problem. I dont use a lot of DWR in my app, just a little bit on this one > page where I dont want the user to l

RE: [appfuse-user] Struts2 problem

2007-10-02 Thread benoit moraillon
I just want to know how to get an error message instead of a blank page for this case. Have you got any idea ? Thanks, Benoît. -Message d'origine- De : Nathan Anderson [mailto:[EMAIL PROTECTED] Envoyé : mardi 2 octobre 2007 10:43 À : users@appfuse.dev.java.net Objet : Re: [appfuse-user]

RE: [appfuse-user] Struts2 problem

2007-10-02 Thread benoit moraillon
Hi, I'm very interrested also by this case. -Message d'origine- De : Nathan Anderson [mailto:[EMAIL PROTECTED] Envoyé : mardi 2 octobre 2007 10:23 À : users Objet : [appfuse-user] Struts2 problem Howdy folks, I'm in this weird predicament where I have an error on my Struts 2 JSP page

[appfuse-user] Best way to save ManyToOne relationships with Hibernate and Spring MVC

2007-10-02 Thread syg6
I have a couple scenarios, one typical the other not so much, that I am trying to implement as quickly and easily as possible. The first is pretty straight-forward: @Entity public class Application ... private StreetSection streetSecion; ... @ManyToOne(cascade = { CascadeType.PERSIST, CascadeTyp

Re: [appfuse-user] Struts2 problem

2007-10-02 Thread Nathan Anderson
Okay found the solution [of course right _after_ posting to the list ;) ]. First thing is I described the problem a little bit wrong. The List is stored in the application context, not the session. Here is the tag that works. Hope that helps someone not get stuck ;) Nathan - Or

[appfuse-user] Struts2 problem

2007-10-02 Thread Nathan Anderson
Howdy folks, I'm in this weird predicament where I have an error on my Struts 2 JSP page, but rather than throwing an exception I get nothing... just a completely blank page [even "view source" is completely empty]. But process of elimination I have narrowed down the problem to a single line

Re: [appfuse-user] J2EE fundamentals

2007-10-02 Thread meisam4910
SO as a conclusion to our discussion, I would say: I start JSP and servlet first, then J2EE fundumentals, then Struts, then appfuse... is that still ambitious list ? ;-) but how about my DMS :-( can i use existing DMSes but in a way that no body understands I have used them ? (sorry to say this

Re: [appfuse-user] J2EE fundamentals

2007-10-02 Thread meisam4910
Thanks a lot for encouraging me and thank you for your nice advices. as Jhon said: >But show them a framework, and they're immediately lost. im exactly the instance of this group of people, i am lost in a big world of J2EE and its frameworks, I did take your advices and have picked up some tutor