Re: [appfuse-user] Entity Listener

2007-10-11 Thread gederer
I just posted a question about this to the Spring Data Access forum: http://forum.springframework.org/showthread.php?p=145755#post145755 Cheers, Greg Martin Homik wrote: > > Can anyone tell how to use Entity Listeners in AppFuse? I ran into the > same problems as already mentioned in > http

[appfuse-user] Sun java JDK 1.6 performance

2007-10-11 Thread Allan Ang
Hi all, Just thought that I would post about a performance benchmark that I made with some colleagues at work. We wanted to test whether java could beat c++ in performance, so we implemented a bubblesort in both java and c++. When I used the BEA 1.5 SDK, the c++ code was approximately twice as f

Re: [appfuse-user] Entity Listener

2007-10-11 Thread gederer
Martin, I would love to get this working, too. Have you made any progress? Greg Martin Homik wrote: > > 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 >

[appfuse-user] how to create a model for a table and some other problems

2007-10-11 Thread Matthew Wu
Hi, this is my first time use the forum, I am from Dalian China, thanks a lot. I have these problem, I don't know how to resolve. I use appfuse 2.0 1)how can I create a model for a table. because when I execute : mvn appfuse:gen-model, which can create models for all tables that i create in curre

Re: [appfuse-user] How to deal with potential stale connections in pool?

2007-10-11 Thread Richard Paul
Somewhat related, if I have the application running, then restart MySQL server I get the same problem on the first request. Still haven't worked out what is going wrong though. Richard Paul wrote: > > Adding autoReconnect=true to the jdbc.url doesn't seem to have helped, the > connections beco

Re: [appfuse-user] moving the secure framework down a folder

2007-10-11 Thread mrood
I'm using hibernate and Spring MVC. mrood wrote: > > Matt, >> >> I know you are busy but hoping you could answer a quick question. >> >> I'm using appfuse 2 (great project) and I want to move all of your secure >> framework down under a folder called secure. So when I hit my normal >> (public)

Re: [appfuse-user] moving the secure framework down a folder

2007-10-11 Thread mrood
appfuse 2 with maven. Right now you go to localhost:8080 you land on the secure stuff and the framework has the secure filter set at /*. I want to move it to /secure/* and move all of appfuse secure stuff down in the development environment to (web) pages/secure and still have everything work.

Re: [appfuse-user] moving the secure framework down a folder

2007-10-11 Thread Matt Raible
Which web framework are you using? On 10/11/07, mrood <[EMAIL PROTECTED]> wrote: > > Matt, > > > > I know you are busy but hoping you could answer a quick question. > > > > I'm using appfuse 2 (great project) and I want to move all of your secure > > framework down under a folder called secure. S

[appfuse-user] moving the secure framework down a folder

2007-10-11 Thread mrood
Matt, > > I know you are busy but hoping you could answer a quick question. > > I'm using appfuse 2 (great project) and I want to move all of your secure > framework down under a folder called secure. So when I hit my normal > (public) www.mywebsite.com web page I don't go through security, but w

Re: [appfuse-user] Asking here about displaytag again

2007-10-11 Thread John Kwon
According to Firebug, the font name is coming from body and the font size is coming from table in the CSS file. The last overriding CSS is .table tr.odd, which changes the color of the line (as does tr.even). Right now, I have barcode as: .table td.barcode { font-family=IDAutomationHC39M; fon

Re: [appfuse-user] Asking here about displaytag again

2007-10-11 Thread Matt Raible
Have you tried .barcode instead of barcode? On 10/11/07, Michael Horwitz <[EMAIL PROTECTED]> wrote: > You may want to try FireFox + FireBug and take a look at which style is > being applied to the element on the page. > > Mike > > > On 10/11/07, John Kwon <[EMAIL PROTECTED]> wrote: > > > > I have

Re: [appfuse-user] Asking here about displaytag again

2007-10-11 Thread Michael Horwitz
You may want to try FireFox + FireBug and take a look at which style is being applied to the element on the page. Mike On 10/11/07, John Kwon <[EMAIL PROTECTED]> wrote: > > I have a barcode font that I want to use to be displayed in a Display tag > (one of the columns will be barcode data). > > I

Re: [appfuse-user] appfuse-basic-jsf: mvn appfuse:full-source -> IllegalArgumentException

2007-10-11 Thread Michael Horwitz
It looks like there may be a bug in the AppFuse plugin - could you raise a Jira so we look into it? http://issues.appfuse.org/browse/APF Thanks Mike On 10/11/07, SamImari <[EMAIL PROTECTED]> wrote: > > > I found the error! > > From your try I saw that you are using default repository location. >

Re: [appfuse-user] Solution: Individual links in displaytag table cells

2007-10-11 Thread gederer
Hi, I noticed that this solution actually didn't work properly with rows containing exactly one link. I traced this to some odd event bubbling behavior, and did some major surgery to fix it. I have tested this code in Safari and Firefox. Please let me know if you encounter problems in other brows

Re: [appfuse-user] editing bean associations

2007-10-11 Thread George.Francis
that is, customerManager on ApplicationFormController is null despite my adding to the dispatcher-servlet.xml George.Francis wrote: > > Sorry for being slow, but should I be doing that on > ApplicationFormController, ApplicationController, CustomerFormController > or CustomerController? >

Re: [appfuse-user] editing bean associations

2007-10-11 Thread George.Francis
Sorry for being slow, but should I be doing that on ApplicationFormController, ApplicationController, CustomerFormController or CustomerController? I tried adding the required methods to ApplicationFormController, but it seems that it's setCustomerManager(customerManager) method is never called

[appfuse-user] Asking here about displaytag again

2007-10-11 Thread John Kwon
I have a barcode font that I want to use to be displayed in a Display tag (one of the columns will be barcode data). I have the font installed, and I have specified the following in the display:column According to the Displaytag reference, I should be specifying the font using a stylesheet, so

Re: [appfuse-user] appfuse-basic-jsf: mvn appfuse:full-source -> IllegalArgumentException

2007-10-11 Thread SamImari
I found the error! >From your try I saw that you are using default repository location. /Users/mraible/.m2/repository/ But Im using E:\java\maven_repository I commented the above line in maven settings.xml and appfuse:full-source works. Regards, SAM mraible wrote: > > I don't know what to

Re: [appfuse-user] appfuse-basic-jsf: mvn appfuse:full-source -> IllegalArgumentException

2007-10-11 Thread Michael Horwitz
Do you have a settings.xml file defined with a local repository explicitly set? It may be that the AppFuse plugin does not work with the default settings (i.e. no settings.xml in the user's home directory)? Mike On 10/11/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > I don't know what to say - if

Re: [appfuse-user] appfuse-basic-jsf: mvn appfuse:full-source -> IllegalArgumentException

2007-10-11 Thread Matt Raible
I don't know what to say - if I can't reproduce the problem I can't fix it. I just tried with JDK 5 on OS X and it worked fine: mraible-mn:~/myproject mraible$ mvn appfuse:full-source [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'appfuse'. [INFO] org.apache.m

Re: [appfuse-user] appfuse-basic-jsf: mvn appfuse:full-source -> IllegalArgumentException

2007-10-11 Thread SamImari
Same with JDK 1.5.0_06 Regards, SAM mraible wrote: > > Can you see if this error happens with JDK 5? > > Thanks, > > Matt > > On 10/11/07, SamImari <[EMAIL PROTECTED]> wrote: >> >> Hi Matt, >> >> I tried the sequence (create project, integration-test, full-source) >> again >> and same erro

[appfuse-user] Maven and Eclipse Tip

2007-10-11 Thread Matt Raible
For Eclipse users - this might be helpful: http://cmaki.blogspot.com/2007/10/getting-maven-and-eclipse-to-work.html Matt -- http://raibledesigns.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [appfuse-user] appfuse 2.0 applicationContext-service.xml ?

2007-10-11 Thread Michael Horwitz
It is not included by default - if you want to change it (note that you can now add new services, daos, etc in applicationContext.xml under WEB-INF) run mvn appfuse:full-source. Mike On 10/11/07, SamImari <[EMAIL PROTECTED]> wrote: > > > Hi, > > Where is applicationContext-service.xml? > > With a

Re: [appfuse-user] appfuse 2.0 applicationContext-service.xml ?

2007-10-11 Thread Matt Raible
It's never been in src/main/resources - unless you ran full-source on your project. It's in appfuse-service-2.0.jar. Matt On 10/11/07, SamImari <[EMAIL PROTECTED]> wrote: > > Hi, > > Where is applicationContext-service.xml? > > With appfuse-2.0M5 the xml-file was in project/src/main/resources > b

Re: [appfuse-user] appfuse-basic-jsf: mvn appfuse:full-source -> IllegalArgumentException

2007-10-11 Thread Matt Raible
Can you see if this error happens with JDK 5? Thanks, Matt On 10/11/07, SamImari <[EMAIL PROTECTED]> wrote: > > Hi Matt, > > I tried the sequence (create project, integration-test, full-source) again > and same error. > > Im not behind a firewall. > > Regards, > > SAM > > > > mraible wrote: > >

Re: [appfuse-user] editing bean associations

2007-10-11 Thread Michael Horwitz
You need to populate the "customers" variable in your controller. Override the referenceData() method, call the getAll() method on your Dao and populate the request. Mike. On 10/11/07, George.Francis <[EMAIL PROTECTED]> wrote: > > > > Hi, > I'm not populating it, I assumed that if I specified the

Re: [appfuse-user] jetty:run does not see ApplicationResources.properties

2007-10-11 Thread Matt Raible
There should be an ApplicationResources_en.properties that explains more about the problem: # Empty resources file so JSTL resolves the default locale correctly. # http://raibledesigns.com/page/rd/sunsets/i18n_synching_up_struts_and#comment2 However, any changes you make should be reflected - m

[appfuse-user] appfuse 2.0 applicationContext-service.xml ?

2007-10-11 Thread SamImari
Hi, Where is applicationContext-service.xml? With appfuse-2.0M5 the xml-file was in project/src/main/resources but with appfuse-2.0 I cannot find the file anymore. Regards, SAM -- View this message in context: http://www.nabble.com/appfuse-2.0-applicationContext-service.xml---tf4608165s2369.

Re: [appfuse-user] Problems executing controller test after running mvn appfuse:full-source

2007-10-11 Thread watcher
After adding commons-lang commons-lang 2.3 to my pom.xml file I still got the IS_JAVA_1_6 error. It turned out that a old common-lang-2.1.jar existed in my src, lib directory so both jar's where gettin

Re: [appfuse-user] editing bean associations

2007-10-11 Thread George.Francis
Hi, I'm not populating it, I assumed that if I specified the value "customers" that the framework would read the beans from the customer table. Obviously this is incorrect. Could you tell me the correct way to specify that the options should be read from the Customer table? Mik

Re: [appfuse-user] appfuse-basic-jsf: mvn appfuse:full-source -> IllegalArgumentException

2007-10-11 Thread SamImari
Hi Matt, I tried the sequence (create project, integration-test, full-source) again and same error. Im not behind a firewall. Regards, SAM mraible wrote: > > Are you behind a proxy? It doesn't appear so. Can you try running > full-source again? > > Matt > > > On 10/11/07, SamImari <[EMA

Re: [appfuse-user] query on DWR Autocomplete

2007-10-11 Thread Matt Raible
I haven't used DWR for autocompleting, but I have used Script.aculo.us. http://wiki.script.aculo.us/scriptaculous/show/Ajax.Autocompleter Matt On 10/11/07, jithesh <[EMAIL PROTECTED]> wrote: > > hi, > > I am new to this section. I am using appfuse 1.9.4 for my application. i > would like to im

[appfuse-user] jetty:run does not see ApplicationResources.properties

2007-10-11 Thread ros
Hi! When I do jetty:run on appfuse 2.0 base application, jetty does not see ApplicationResources.properties. It can see ApplicationResources_sp.properties and etc languages, but does not see default ApplicationResources.properties. File ApplicationResources.properties is in both /target/classes

[appfuse-user] query on DWR Autocomplete

2007-10-11 Thread jithesh
hi, I am new to this section. I am using appfuse 1.9.4 for my application. i would like to implement the autocomplete on my search field to make it more responsive. But i am getting a script error 'Autocompleter.DWR is not a constructor ' on my code line 'new Autocompleter.DWR(searchtext, "pra

Re: [appfuse-user] appfuse-basic-jsf: mvn appfuse:full-source -> IllegalArgumentException

2007-10-11 Thread Matt Raible
Are you behind a proxy? It doesn't appear so. Can you try running full-source again? Matt On 10/11/07, SamImari <[EMAIL PROTECTED]> wrote: > > Hello, > > I want to add the appfuse source to my JSF-Basic project but failed with > java.lang.IllegalArgumentException: When not aligning with a user i

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

2007-10-11 Thread Tuncay A.
Hi p7k, It would be a pleasure if you could send me your version of facelets of appfuse stuff - I'm just curious about how you did it. Thanks in advance. -tun p7k wrote: > > Scott, thank for your reply. > > I've checked out your SWOOP code from sourceforge. I wasn't able to get > it runnin

Re: [appfuse-user] java.lang.NoClassDefFoundError: javax/el/ELResolver Error

2007-10-11 Thread Matt Raible
Cargo is configured to use Tomcat 6 - whereas the Tomcat plugin is configured to use Tomcat 5.5.15. You should be able to run "mvn -Dcargo.wait" and it'll start up in Tomcat. Matt On 10/11/07, mxb <[EMAIL PROTECTED]> wrote: > > is there a fix around. can you point me in the right direction for >

Re: [appfuse-user] java.lang.NoClassDefFoundError: javax/el/ELResolver Error

2007-10-11 Thread James Perry
Have a look at the Maven web site for the tomcat plugin. On 10/11/07, mxb <[EMAIL PROTECTED]> wrote: > > > is there a fix around. can you point me in the right direction for > instructions on how to get Appfuse working with Tomcat instead of Jetty. > > > mraible wrote: > > > > This is a bug with

Re: [appfuse-user] java.lang.NoClassDefFoundError: javax/el/ELResolver Error

2007-10-11 Thread mxb
is there a fix around. can you point me in the right direction for instructions on how to get Appfuse working with Tomcat instead of Jetty. mraible wrote: > > This is a bug with Jetty when using MyFaces 1.2. It doesn't happen on > Tomcat. > > http://issues.appfuse.org/browse/APF-856 > > Matt

Re: [appfuse-user] has anyone got the basic-jsf to work and imported to eclispe

2007-10-11 Thread Matt Raible
MyFaces 1.2.0 (which AppFuse uses) requires Tomcat 6. If you want to use JSF 1.2 on Tomcat 5.5, you can use Sun's RI - but you do have to make modifications in AppFuse. http://appfuse.org/display/APF/Changing+from+MyFaces+to+Sun's+RI Matt On 10/11/07, mxb <[EMAIL PROTECTED]> wrote: > > i can onl

Re: [appfuse-user] java.lang.NoClassDefFoundError: javax/el/ELResolver Error

2007-10-11 Thread Matt Raible
This is a bug with Jetty when using MyFaces 1.2. It doesn't happen on Tomcat. http://issues.appfuse.org/browse/APF-856 Matt On 10/11/07, mxb <[EMAIL PROTECTED]> wrote: > > to date i have been able to get a blank basic-jsf project to work. After > adding my pojo classes which contain many OneToma

Re: [appfuse-user] java.lang.NoClassDefFoundError: javax/el/ELResolver Error

2007-10-11 Thread mxb
to date i have been able to get a blank basic-jsf project to work. After adding my pojo classes which contain many OneTomany and ManyToOne annotations , i have got to the point where some of the CRUD works and some objects have issues with CRUD. on one of the pojo classes i can't do a list howeve

Re: [appfuse-user] java.lang.NoClassDefFoundError: javax/el/ELResolver Error

2007-10-11 Thread Michael Horwitz
Have you resolved this problem? You seem to indicate in other emails that you have got this working. Mike On 10/11/07, mxb <[EMAIL PROTECTED]> wrote: > > > Hi, > > I am using the basic-jsf project type. When i try and start using tomcat6 > i > get a java.lang.NoClassDefFoundError: javax/el/ELReso

Re: [appfuse-user] has anyone got the basic-jsf to work and imported to eclispe

2007-10-11 Thread mxb
i can only get it to work with tomcat 6. Ron Anderson wrote: > > I just went through the entire process for basic-jsf from start to finish > and didn't have any problems. > > Using Java 5, Tomcat 5.5 and Eclipse 3.2 > > Was able to import the project to eclipse, make changes and see them w

Re: [appfuse-user] Solution: Individual links in displaytag table cells

2007-10-11 Thread John Kwon
My users noticed this, but I thought it was a "feature" so I didn't look into it. On 10/11/07, gederer <[EMAIL PROTECTED]> wrote: > > > Jira added :) > > Greg > > > > gederer wrote: > > > > Hi, > > > > The highlightTableRows function in global.js causes an entire row of a > > table to link to the

[appfuse-user] java.lang.NoClassDefFoundError: javax/el/ELResolver Error

2007-10-11 Thread mxb
Hi, I am using the basic-jsf project type. When i try and start using tomcat6 i get a java.lang.NoClassDefFoundError: javax/el/ELResolver error. Also i have a problem when i run it under jetty that seems to be along the same lines. Does anyone have any info on this. thanks. -- View this messag

Re: [appfuse-user] Unable to edit CSS in Eclipse while 'mvn jetty:run' is active

2007-10-11 Thread Peter Schneider-Manzell
Take a look at http://appfuse.org/display/APF/FAQ#FAQ-jettyrunlocked Bye, Peter 2007/10/11, Gert Vanthienen <[EMAIL PROTECTED]>: > > > L.S., > > > I'm using Eclipse to develop my web application (modular JSF project), but > I > really like 'mvn jetty:run' for testing purposes. There is only one

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

2007-10-11 Thread jimpo
Update to not leave this hanging... I really tried to get this working with 4.2.1, but had to give up. Some discussion of the problem in http://www.jboss.org/index.html?module=bb&op=viewtopic&t=120419 JBoss 4.0 seems to work fine. So this is a JBoss version -related issue, rather than a problem

[appfuse-user] Unable to edit CSS in Eclipse while 'mvn jetty:run' is active

2007-10-11 Thread Gert Vanthienen
L.S., I'm using Eclipse to develop my web application (modular JSF project), but I really like 'mvn jetty:run' for testing purposes. There is only one issue: when I try to edit a CSS file in Eclipse while still running 'mvn jetty:run', I cannot save the file. Is there a way to configure the Je

[appfuse-user] appfuse-basic-jsf: mvn appfuse:full-source -> IllegalArgumentException

2007-10-11 Thread SamImari
Hello, I want to add the appfuse source to my JSF-Basic project but failed with java.lang.IllegalArgumentException: When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDirectory( File ) method. After the exception occurs the project seem

[appfuse-user] appfuse-basic-jsf: Lots of warnings when creating project

2007-10-11 Thread SamImari
Hallo, I got lots of warnings when creating a appfuse-basic-jsf project and I wonder if this is normal? Environment: Windows 2000 JDK 1.6.0_03 maven-2.0.7 Regards, Sam --- $ mvn -e archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-jsf -DremoteRepo

Re: [appfuse-user] regarding maven and appfuse configuration

2007-10-11 Thread diptirsi
hey thanks a lot at last it is successfully build. But a new requirement arise the reloadaction-Struts.xml provided by appfuse so their must be a jar created for it in the lib folder. Or provide some way to get the code from cvs. and ya thanx once again. Mike Horwitz wrote: > > You might want t

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

2007-10-11 Thread p7k
Scott, thank for your reply. I've checked out your SWOOP code from sourceforge. I wasn't able to get it running too well - problems with resource bundles and such. I did, however, pick-up a few tricks related to facelet templating. But, you didn't rewrite your jsp's (login,404, ...) into jsf+f

Re: [appfuse-user] appfuse:gen causes import statment to revert to org.appfuse

2007-10-11 Thread mxb
ok. we found the problem just in case someone else does something silly like we did. Someone had changed the fullsource attribute in pom.xml to yes instead of true. mxb wrote: > > Hi, > > I am using the full-source version of the basic-jsf archetype. Everytime i > generate using appfuse:gen

[appfuse-user] appfuse:gen causes import statment to revert to org.appfuse

2007-10-11 Thread mxb
Hi, I am using the full-source version of the basic-jsf archetype. Everytime i generate using appfuse:gen off a new entity some of the import statements that i have changed to point to my package structure change back to import org.appfuse. Has anyone had this issue and is there a file where i sh

Re: [appfuse-user] regarding maven and appfuse configuration

2007-10-11 Thread Michael Horwitz
You might want to try deleting the directory ${M2_REPOSITORY}/org/apache/maven/plugins/maven-archetype-plugin and trying again. Mike On 10/11/07, diptirsi <[EMAIL PROTECTED]> wrote: > > > yes i have done all the necessary changes and set the proxy in > settings.xml > of maven but all in vain... i

Re: [appfuse-user] regarding maven and appfuse configuration

2007-10-11 Thread diptirsi
yes i have done all the necessary changes and set the proxy in settings.xml of maven but all in vain... it is still giving me the same error... [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO]

Re: [appfuse-user] regarding maven and appfuse configuration

2007-10-11 Thread Michael Horwitz
Have you set up Maven to work through your proxy server? See the section on configuring a proxy here: http://maven.apache.org/guides/mini/guide-configuring-maven.html Mike On 10/11/07, diptirsi <[EMAIL PROTECTED]> wrote: > > > ya m behind a firewall but the machine on which Maven is running is >

Re: [appfuse-user] regarding maven and appfuse configuration

2007-10-11 Thread diptirsi
ya m behind a firewall but the machine on which Maven is running is connected to the internet... please help me out... reply back soon.. John Kwon wrote: > > Are you behind a firewall (and make sure the machine you're running Maven > on > is connected to the Internet)? > > On 10/1/07, diptirsi

Re: [appfuse-user] editing bean associations

2007-10-11 Thread Michael Horwitz
Could you give some details as to how you go about populating the variable "customers" for the jsp page? It should contain a list of Customer objects loaded from your database. It looks like you are loading it with a collection of String objects? Mike On 10/10/07, George.Francis <[EMAIL PROTECTED