Re: [appfuse-user] DisplayTag and Struts 2

2007-03-02 Thread VJ22
ThanksI guessed so...but was wondering how this works in the lates version of Appfuse which I currently useThere does not seem to be an explicirt use of the tag Tks...VJ VJ22 wrote: > > Hello, > > Struts 2 question.Do my action classes have to be cofigured via Spring > if their v

[appfuse-user] wrong POM file

2007-03-02 Thread budha
I have problem ... mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic-jsf -DremoteRepositories=http://static.appfuse.org/repository -DarchetypeVersion=2.0-m4-SNAPSHOT -DgroupId=com.icz -DartifactId=osiweb [INFO] ---

[appfuse-user] Simply separation

2007-03-02 Thread Petar Zaprianov
Hi all, I have a project taht i have two teams, teh first are designers, and the second developers. Then i want a portal with a lot of info pages, without db access, only info. And that portal needs to be changed all the time, updating some images, layout, etc. The developer team only needs to

Re: [appfuse-user] Appfuse 2.0 Latest

2007-03-02 Thread Doug Pham
Thanks! I'll wait for the tag. I saw the repository information but I thought you might have packaged it somewhere like you do with version 1.x :-) I am looking forward to working with AF 2 & Struts 2 :-) Have a great weekend, Doug mraible wrote: > > The wiki has a QuickStart Guide that sho

[appfuse-user] using hibernate annotation on jdk1.4?

2007-03-02 Thread j2ee dodo
Hi, Did anyone managed to use hibernate annotation on jdk1.4 ?? Thanks, Sam

RE: [appfuse-user] hibernate3:hbm2ddl

2007-03-02 Thread Stine, Matt
That fixed it. Thanks Rob! - Matt [EMAIL PROTECTED] > -Original Message- > From: Rob van Oostrum [mailto:[EMAIL PROTECTED] > Sent: Friday, March 02, 2007 11:55 AM > To: users@appfuse.dev.java.net > Subject: Re: [appfuse-user] hibernate3:hbm2ddl > > add true to the of the > hibernate3-ma

Re: [appfuse-user] One context uses a different encoding

2007-03-02 Thread Brett Knights
One possible solution is to have them write their files as jsp documents so the encoding can be called out in the preamble( See below) I'd like to avoid imposing that "foreignness" :-) on the users if at all possible. TIA Brett Knights e.g. http://java.sun.com/JSP/Page"; version="2.0" xm

[appfuse-user] One context uses a different encoding

2007-03-02 Thread Brett Knights
Hello, I have a tomcat server in which I have a number of appfuse projects deployed. I have on application that I'd like to have the default file encoding be shift_jis. Is there any way to set the file.encoding system parameter on a per context basis? Some other method of achieving this aim?

Re: [appfuse-user] A hint concerning javadoc task in appfuse 1.9.4

2007-03-02 Thread Christian Giese
Done: http://issues.appfuse.org/browse/APF-674 Have a nice weekend, everyone. Chris Matt Raible wrote: If you'd like to enter this as an issue in JIRA, we'll see that it gets fixed in 1.9.5. http://issues.appfuse.org/browse/APF Thanks! Matt On 3/2/07, *Christian Giese* <[EMAIL PROTECTED]

Re: [appfuse-user] Why is userCache in userManager and UserSecurityAdvice?

2007-03-02 Thread tonyl
Hmm - someone here then must have added it. OK - I tried to move the code from UserSecurityAdvice to the UserManagerImpl and the code didn't work. Not sure why. So I've left it in SecurityAdvice for the moment. Thanks. mraible wrote: > > In the 1.9.x code I'm looking at, there's no userCache

Re: [appfuse-user] A hint concerning javadoc task in appfuse 1.9.4

2007-03-02 Thread Matt Raible
If you'd like to enter this as an issue in JIRA, we'll see that it gets fixed in 1.9.5. http://issues.appfuse.org/browse/APF Thanks! Matt On 3/2/07, Christian Giese <[EMAIL PROTECTED]> wrote: Hi all, I just ran into errors using "ant javadoc" in appfuse 1.9.4. As soon as you get enough sour

Re: [appfuse-user] Why is userCache in userManager and UserSecurityAdvice?

2007-03-02 Thread Matt Raible
In the 1.9.x code I'm looking at, there's no userCache being injected into UserManagerImpl.java: /** * @see org.appfuse.service.UserManager#saveUser(org.appfuse.model.User) */ public void saveUser(User user) throws UserExistsException { // if new user, lowercase userId

Re: [appfuse-user] hibernate3:hbm2ddl

2007-03-02 Thread Rob van Oostrum
add true to the of the hibernate3-maven-plugin R. On 3/2/07, Stine, Matt <[EMAIL PROTECTED]> wrote: I remember in the past (1.9.x) that when I made changes to my model classes, ant script would update my DB schema. It seems that the equivalent 2.0 operation, "mvn compile hibernate3:hbm2ddl

Re: [appfuse-user] Editing default.jsp

2007-03-02 Thread Matt Raible
Yeah, AFAIK, no one has tried to make this work with Facelets, so that could be the problem. Both the SiteMesh filter and Facelets require you specify a view handler, so which one wins? You're basically on the bleeding edge here, but don't let that stop you. If you can get this to code to work

RE: [appfuse-user] hibernate3:hbm2ddl

2007-03-02 Thread Stine, Matt
2.0-m3 struts-basic-archetype 1) Create a new model class and add it to the hibernate.cfg.xml. 2) Run mvn compile hibernate3:hbm2ddl 3) Modify the model class (add a new property or relationship, or even rename something) 4) Repeat step2your schema table should not have changed. You sho

Re: [appfuse-user] hibernate3:hbm2ddl

2007-03-02 Thread Matt Raible
There is a problem with this that I've been running into a lot over the last few days. Basically, Jetty runs out of memory after 4-5 restarts, just like Tomcat used to. If anyone has a chance to slap a profile on things and see where the leak is coming from, please let me know. I suspect commons-

Re: [appfuse-user] hibernate3:hbm2ddl

2007-03-02 Thread Matt Raible
What version of 2.x are you using? Can you provide some steps so I can try to reproduce the problem on my end? Thanks, Matt On 3/2/07, Stine, Matt <[EMAIL PROTECTED]> wrote: I remember in the past (1.9.x) that when I made changes to my model classes, ant script would update my DB schema. It

[appfuse-user] hibernate3:hbm2ddl

2007-03-02 Thread Stine, Matt
I remember in the past (1.9.x) that when I made changes to my model classes, ant script would update my DB schema. It seems that the equivalent 2.0 operation, "mvn compile hibernate3:hbm2ddl" does not do this. If the table already exists it just moves on to the next one. Am I doing something wrong?

Re: [appfuse-user] DisplayTag and Struts 2

2007-03-02 Thread Tim Azzopardi
displayTag can only see request parameters, not the struts2 value stack. this is solved/worked-around by setting a variable in the request scope: (example from apppfuse194 userList.jsp) ... Hope that helps VJ22 wrote: > > Hello, > > Struts 2 question.Do my action cla

RE: [appfuse-user] war:inplace question

2007-03-02 Thread Stine, Matt
Awesome. - Matt [EMAIL PROTECTED] > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt > Raible > Sent: Wednesday, February 28, 2007 3:07 PM > To: users@appfuse.dev.java.net > Subject: Re: [appfuse-user] war:inplace question > > Yes, you are correct

[appfuse-user] DisplayTag and Struts 2

2007-03-02 Thread VJ22
Hello, Struts 2 question.Do my action classes have to be cofigured via Spring if their values have to be retrieved of the value stack ? I got a list in my action class which is to be displayed via the display tagI got a corresponding "get" method too...unfortunately it does not work...Wh

[appfuse-user] A hint concerning javadoc task in appfuse 1.9.4

2007-03-02 Thread Christian Giese
Hi all, I just ran into errors using "ant javadoc" in appfuse 1.9.4. As soon as you get enough source files or libs you run into a "java.io.IOException: CreateProcess ..."(mostly means binaries are not in the PATH). Took me some time to find this: http://www.nabble.com/javadoc-task-tf2315.html#

Re: [appfuse-user] Why is userCache in userManager and UserSecurityAdvice?

2007-03-02 Thread tonyl
Matt, I understand the purpose of the cache - it is certainly a good idea to not have to hit the database all the time. But actually, there is a userCache instance injected into the UserManager. It is used in removeUser and saveUser. I'd prefer to move the code from UserSecurityAdvice into UserMa

Re: [appfuse-user] Editing default.jsp

2007-03-02 Thread sionsmith
Matt followed the instructions from this link: http://raibledesigns.com/rd/entry/sitemesh_works_with_jsf changed the mapping and added the JSFPageParser to my project but still get the same problem if with a standard JSF tag. I'm using Appfuse 2 M3 with Maven is there a chance i have the wrong ve

Re: [appfuse-user] Appfuse 2.0 Latest

2007-03-02 Thread viggo
I realized that APF-672 answered my question. viggo wrote: > > Why are you sometimes referring to M4 with 1.0-m4-SNAPSHOT, and sometimes > 2.0-m4-SNAPSHOT? Is that the same, or two different versions? > > > mraible wrote: >> >> The wiki has a QuickStart Guide that should help you out. >> >>

Re: [appfuse-user] Appfuse 2.0 Latest

2007-03-02 Thread viggo
Why are you sometimes referring to M4 with 1.0-m4-SNAPSHOT, and sometimes 2.0-m4-SNAPSHOT? Is that the same, or two different versions? mraible wrote: > > The wiki has a QuickStart Guide that should help you out. > > http://appfuse.org/display/APF/AppFuse+QuickStart > > You might want to use

Re: [appfuse-user] problem with jsp & pop-up calendar in Appfuse

2007-03-02 Thread KiranRredy
It is validated at http://validator.w3.org?. Thanks for your suggestions ,i'll once again go through HTML to find the problem. -- View this message in context: http://www.nabble.com/problem-with-jsp---pop-up--calendar-in-Appfuse-tf3332502s2369.html#a9269236 Sent from the AppFuse - User mailing

[appfuse-user] init and context parameters in appfuse.

2007-03-02 Thread some screen1
Hi all, I am using appfuse 1.9.4 . I have seen web.xml file in which he did't pass struts-config.xml file as init or context parameter value. So how the ActionServlet is reading the struts-config.xml file ?? -- View this message in context: http://www.nabble.com/init-and-context-parameters-in-ap

Re: [appfuse-user] Appfuse 2.0 Turkish Language Problem

2007-03-02 Thread oguzhan tortop
No i controlled config.xml and it looks valid. ros wrote: > > You just got title in English buy your web test expect it in Turkish. I > guess is you change config.xml - value="en"/> then you will got response always in English. > > > oguzhan tortop wrote: >> >> Hi Matt, >> i translated and

[appfuse-user] security in appfuse...

2007-03-02 Thread some screen1
Hi all, I am using appfuse 1.9.4 with ant 1.6.5. I am using struts framework but appfuse using Some spring framework classes in security part ( like FilterToBeanProxy, CharecterEncodingFilter etc...) .There is no source code available in appfuse(these classes are in the form of .jar's ). How to un

[appfuse-user] appfuse 2 - webtest - verifypdftext step does not work

2007-03-02 Thread ros
Hi! How to add support of verifypdftext to appfuse 2 webtests? Thanks. -- View this message in context: http://www.nabble.com/appfuse-2---webtest---verifypdftext-step-does-not-work-tf159s2369.html#a9268230 Sent from the AppFuse - User mailing list archive at Nabble.com. --

Re: [appfuse-user] Appfuse 2.0 Turkish Language Problem

2007-03-02 Thread ros
You just got title in English buy your web test expect it in Turkish. I guess is you change config.xml - then you will got response always in English. oguzhan tortop wrote: > > Hi Matt, > i translated and tested turkish i18n on appfuse version 1.9.4. I get the > latest version from maven. An

Re: [appfuse-user] Appfuse 2.0 Turkish Language Problem

2007-03-02 Thread oguzhan tortop
Hi again Matt , i could not find any build.xml file in myproject directory i searched it with total commander . Where it could be ? I used default settings for project for ex. i used myproject directory. I also looked for document and settings directory for maven repository files but i was not ab

Re: [appfuse-user] error in downloading version 2.0-m4-SNAPSHOT

2007-03-02 Thread hiugong.gwok
I did the same thing on maven 2.0.5 and jdk 1.6, and it works fine. And now the archetypeVersion should be 2.0-m4-SNAPSHOT after revision 2533. sxm wrote: > > Tried that too, didnt work. I just upgraded from 2.0.4 to 2.0.5 and from > java 1.5 to java 1.6. I dont believe that should have anythi

Re: [appfuse-user] Editing default.jsp

2007-03-02 Thread sionsmith
Thanx for the quick awesome reply Matt! Much appreciate! I think i sorta get it now, hence why i could get any of those tags to work! lol. Think i'll try that jsf handler and see where i get with that - failing that i think i may ditch the Ajax menu and search around for another collapsible menu s

Re: [appfuse-user] Editing default.jsp

2007-03-02 Thread sionsmith
Thanx for the quick awesome reply Matt! Much appreciate! I think i sorta get it now, hence why i could get any of those tags to work! lol. Think i'll try that jsf handler and see where i get with that - failing that i think i may ditch the Ajax menu and search around for another collapsible menu s

Re: [appfuse-user] Editing default.jsp

2007-03-02 Thread sionsmith
Thanx for the quick awesome reply Matt! Much appreciate! I think i sorta get it now, hence why i could get any of those tags to work! lol. Think i'll try that jsf handler and see where i get with that - failing that i think i may ditch the Ajax menu and search around for another collapsible menu s

Re: [appfuse-user] Junit testing

2007-03-02 Thread Jolly
I have checked Hibernate mapping files and added mapping resource. Again i get the same error. Regards Jolly mraible wrote: > > It looks like it may be one of your Hibernate mapping files. Have you > checked those? > > Matt > > On 3/2/07, Jolly <[EMAIL PROTECTED]> wrote: >> >> Hello Matt >>

Re: [appfuse-user] Editing default.jsp

2007-03-02 Thread Matt Raible
SiteMesh isn't JSF Aware - so you can't really do this. Someone wrote a SiteMesh View Handler that will allow you to do this, but I don't know if it works with Facelets. http://raibledesigns.com/rd/entry/sitemesh_works_with_jsf I'd recommend you use Facelets composition feature where you specif

[appfuse-user] Editing default.jsp

2007-03-02 Thread sionsmith
Hi everyone - hope some maybe able to shed some light on this. I'm trying to edit the default.jsp to use Exadel RichFaces ajax solution. (i.e. collapsible menu on the left which is Ajax based) however when i simply add the following code in the default.jsp i get a: "UIComponentTag.setupResponseWr

Re: [appfuse-user] problem with jsp & pop-up calendar in Appfuse

2007-03-02 Thread Matt Raible
I don't know what the problem could be - but my guess is you have some invalid HTML or something. If you view source and save that text to your hard drive, does it validate at http://validator.w3.org? Matt On 3/2/07, KiranRredy <[EMAIL PROTECTED]> wrote: I removed the doctype of web/decorat

Re: [appfuse-user] problem with jsp & pop-up calendar in Appfuse

2007-03-02 Thread KiranRredy
I removed the doctype of web/decorators/default.jsp but no luck, am facing the same problem. My script is doing well in other web applications jsp and also in html pages,is there any possibility that still there is a problem in javascipt ? -- View this message in context: http://www.nabble.c

Re: [appfuse-user] problem with jsp & pop-up calendar in Appfuse

2007-03-02 Thread Matt Raible
Do you have an XHTML doctype in your other pages? I'm willing to bet not. ;-) If you remove the doctype at the top of web/decorators/default.jsp, it may fix the problem - but it may cause issues with the css. The problem may be with the JavaScript - I've found that with many of the JavaScript po

Re: [appfuse-user] problem with jsp & pop-up calendar in Appfuse

2007-03-02 Thread KiranRredy
am using my own javascript. -- View this message in context: http://www.nabble.com/problem-with-jsp---pop-up--calendar-in-Appfuse-tf3332502s2369.html#a9266504 Sent from the AppFuse - User mailing list archive at Nabble.com. - T

Re: [appfuse-user] problem with jsp & pop-up calendar in Appfuse

2007-03-02 Thread Matt Raible
Are you using your own JavaScript library or one that ship with a web framework? Which web framework are you using? We need more information to help you! Matt On 3/2/07, KiranRredy <[EMAIL PROTECTED]> wrote: Hi, Am to pop-up calendar in my website.am putting all the html code related to this

Re: [appfuse-user] Appfuse 2.0 Turkish Language Problem

2007-03-02 Thread Matt Raible
Have you modified your build.xml so it processes these files as UTF-8? Look for "zh" in build.xml and you should find were you need to make the change. Matt On 3/2/07, oguzhan tortop <[EMAIL PROTECTED]> wrote: Hi Matt, i translated and tested turkish i18n on appfuse version 1.9.4. I get the l

[appfuse-user] Appfuse 2.0 Turkish Language Problem

2007-03-02 Thread oguzhan tortop
Hi Matt, i translated and tested turkish i18n on appfuse version 1.9.4. I get the latest version from maven. And i followed the tutorial called quick start . but when my local setting is Turkish then the integration test fails giving the following error : Login: log4j:WARN No appenders could be

[appfuse-user] problem with jsp & pop-up calendar in Appfuse

2007-03-02 Thread KiranRredy
Hi, Am to pop-up calendar in my website.am putting all the html code related to this in a jsp file, and java script in scripts.But here am facing the problem.sometime times when we click on the calendar icon it is displaying the calendar at top of the page and in improper format(actually i need to