[appfuse-user] Appfuse2 ajaxtags displaytag

2009-12-12 Thread Fred Forester
Hi All, I have the struts2 tabbed panel with disaplaytag paging and sorting problem. I noticed a few posts about how to correct the problem using ajaxtags jsp taglib. was wondering if someone is using it with appfuse2 and could give me some pointers on how to get it working. Thanx in advan

[appfuse-user] Appfuse2 and Struts 2.0.11

2009-10-18 Thread Fred Forester
Hi Folks, can anyone confirm that ScopedModelDriven actually works? I seem to be losing the session for some reason. Thanx Fred - To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail

Re: [appfuse-user] Oracle setup fails 3 tests (cannot insert NULL into ("SYSTEM"."APP_USER"."ID"))

2009-10-06 Thread Fred Forester
this is the output in the console (drop, create) ). This is how I annotated the ids: @Id @GeneratedValue(strategy=GenerationType.AUTO,generator="AMPAPPS_SEQ") @SequenceGenerator(name="AMPAPPS_SEQ", sequenceName="AMPAPPS_SEQ") Still, the same test failures. Fred

Re: [appfuse-user] Oracle setup fails 3 tests (cannot insert NULL into ("SYSTEM"."APP_USER"."ID"))

2009-10-05 Thread Fred Forester
With oracle you need to use sequences. @Id @GeneratedValue(strategy=AUTO,generator="AMPAPPS_SEQ") @SequenceGenerator(name="AMPAPPS_SEQ", sequenceName="AMPAPPS_SEQ") then you need to create a sequence in oracle called AMPAPPS_SEQ via a create sequence command andreistoiculescu wrote: Tha

[appfuse-user] Alveole Studio

2008-06-03 Thread Fred Forester
Hi All, Has anyone tried Alveole Studio with appfuse2? its a struts 2 ide for eclipse. http://mvcwebproject.sourceforge.net/tutorial/step1.html Thanx Fred - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [appfuse-user] Réf. : Re: [ap pfuse-user] Flex + Appfuse How To

2008-02-12 Thread Fred Forester
I am using the ant build with full source. the mxml files are in src/main/webapp/mxml/ you need a filter for that directory. src/main/webapp/WEB-INF/web.xml staticFilter com.davita.acreporting.webapp.filter.StaticFilter includes /scripts/dojo/*,/dwr/*

Re: [appfuse-user] Flex + Appfuse How To

2008-02-11 Thread Fred Forester
I've done it. [EMAIL PROTECTED] wrote: Hi Appfusers, I'm trying to integrate Flex + Appfuse 2. Anybody already suceeded ? Thanks, Benoît. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: [appfuse-user] Generating Dao and Managers

2008-01-22 Thread Fred Forester
Thanx Matt. actually, in most cases I found I have to create a customized dao and manager. the biggest reason being large tables that kill the paginated list. Thanx Again Fred Matt Raible wrote: On Jan 21, 2008, at 2:08 PM, Fred Forester wrote: Hi All. can Appfuse2 generate Dao and

[appfuse-user] Generating Dao and Managers

2008-01-21 Thread Fred Forester
Hi All. can Appfuse2 generate Dao and Manager code like in 1.9? I was this option mentioned a few times but don't understand what it does. true Thanx Fred - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

[appfuse-user] dao hibernate service not returning pojo class objects

2007-12-29 Thread Fred Forester
Hi all. when I run getAll via the generic class the log shows I am getting back pojo classes DEBUG [http-8080-Processor24] Loader.getRow(1173) | result row: EntityKey[com.epstrategies.reductions.model.Smf701Lpd#1655] but when I try to call my own method "getFieldSubset" I get DEBUG [http-80

Re: [appfuse-user] xfire defines all fields in wsdl

2007-12-27 Thread Fred Forester
, I have also encountered the same problem .This happens with userService Web service which ships with appfuse.Only way I solved this issue was by defining getter and setter methods. Regards, Khaliq From: Fred Forester [mailto:[EMAIL PROTECTED] Sent: Thu 12

[appfuse-user] xfire defines all fields in wsdl

2007-12-26 Thread Fred Forester
Hi All, I have 2 services (hibernate daos) one does a select * works fine. another does a select fld1,fld2 and xfire bombs out with org.codehaus.xfire.XFireRuntimeException: Couldn't get property {http://mode l.reductions.epstrategies.com}adjtime from bean [Ljava.lang.Object;@1301061. seems t

Re: [appfuse-user] appfuse2 xfire flex

2007-12-06 Thread Fred Forester
putting the files in webapp/mxml and adding a staticfilter works pretty well. Thanx Fred Fred Forester wrote: Thanx Matt, putting them under WEB-INF is not cast in stone right now. would I have to do the same regardless of where they are or is there a better place to put them? Thanx

Re: [appfuse-user] appfuse2 xfire flex

2007-12-05 Thread Fred Forester
UrlRewriteFilter) to your files. Since they're under WEB-INF, they're not accessible to the browser. Matt On 12/5/07, Fred Forester <[EMAIL PROTECTED]> wrote: Hi All, I have some flash mxml files in webapp/WEB-INF/mxml the compiled swf files will reside in the same place. what would I need

[appfuse-user] appfuse2 xfire flex

2007-12-05 Thread Fred Forester
Hi All, I have some flash mxml files in webapp/WEB-INF/mxml the compiled swf files will reside in the same place. what would I need to do in web.xml to get make these runnable via http://localhost:8080/myappfuseapp/test.swf? Thanx in advance Fred

Re: [appfuse-user] Cannot convert value '0000-00-00 00:00:00'

2007-12-03 Thread Fred Forester
If I remove the unicode and utf8 options it works ok. for this project zeroDateTimeBehavior is more important than the others. thanx. Fred Fred Forester wrote: Hi All, in appfuse 1.9 I was using zeroDateTimeBehavior=convertToNull in the url. that doesn't seem to work anymore wit

[appfuse-user] Cannot convert value '0000-00-00 00:00:00'

2007-12-03 Thread Fred Forester
Hi All, in appfuse 1.9 I was using zeroDateTimeBehavior=convertToNull in the url. that doesn't seem to work anymore with the latest driver. can someone verify? Thanx Fred - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: [appfuse-user] String index out of range: 0

2007-12-02 Thread Fred Forester
String myString = ""; System.out.println("char at 0 is: " + myString.charAt (0)); hth, Jason On Dec 2, 2007 9:16 AM, Fred Forester <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Hi All, not sure why this is happening?

[appfuse-user] String index out of range: 0

2007-12-02 Thread Fred Forester
Hi All, not sure why this is happening? any help appreciated. Thanx. Fred java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:558) at org.hibernate.type.CharacterType.get(CharacterType.java:29) at org.hibernat

Re: [appfuse-user] Circular placeholder reference 'jdbc.driverClassName'

2007-11-30 Thread Fred Forester
on't, then something probably went wrong when you created your project. Matt On Nov 30, 2007, at 3:46 PM, Fred Forester wrote: no eclipse. unix command line. after a compile I don't see jdbc.properties anywhere in the target dir. they stay untouched in the src dir. Matt Raible

Re: [appfuse-user] Circular placeholder reference 'jdbc.driverClassName'

2007-11-30 Thread Fred Forester
ing it properly. Matt On Nov 30, 2007, at 3:32 PM, Fred Forester wrote: Hi Matt, tried a clean. same problem. Matt Raible wrote: This happens when your jdbc.properties doesn't get parsed by Maven and ends up in your WAR. I'd try running clean. Matt On Nov 30, 2007, at 3:11 PM,

Re: [appfuse-user] Circular placeholder reference 'jdbc.driverClassName'

2007-11-30 Thread Fred Forester
Hi Matt, tried a clean. same problem. Matt Raible wrote: This happens when your jdbc.properties doesn't get parsed by Maven and ends up in your WAR. I'd try running clean. Matt On Nov 30, 2007, at 3:11 PM, Fred Forester wrote: Hi All, getting Circular placeholder

[appfuse-user] Circular placeholder reference 'jdbc.driverClassName'

2007-11-30 Thread Fred Forester
Hi All, getting Circular placeholder reference 'jdbc.driverClassName' error when stating tomcat. I have appfuse2.0 full source with ant build. do I need to manually set all the values in the various jdbc.properties files or is there a better way? Thanx in advance Fred

Re: [appfuse-user] Appfuse 2.0 compile error on new Manager class

2007-11-28 Thread Fred Forester
Duh! Thanx Matt. Matt Raible wrote: You need to override the constructor - here's an example: http://tinyurl.com/yq4ppk Matt On 11/28/07, Fred Forester <[EMAIL PROTECTED]> wrote: Hi All, I recently switched over to appfuse 2.0 from 1.9. I noticed 2.0 no longer creates cer

[appfuse-user] Appfuse 2.0 compile error on new Manager class

2007-11-28 Thread Fred Forester
Hi All, I recently switched over to appfuse 2.0 from 1.9. I noticed 2.0 no longer creates certain things with the app gen tool. I was creating a manager class using the new tutorial as a guideline. I am using appfuse2.0 with full source and the ant build. the manager interface compiles fine.

[appfuse-user] HibernateRelationships Tutorial

2007-08-29 Thread Fred Forester
Hi All, got a question about this. Weblog.java defines a list of Users where Weblog.username = User.username. how would I define the same relationship where instead of username, Weblog had a different field name like username_key so it would be Weblog.username_key = User.username? Also, h

Re: [appfuse-user] mysql zeroDateTimeBehavior

2007-08-23 Thread Fred Forester
ooops it does work. I guess ant deploy would have helped :) Fred Forester wrote: Hi All, I ran into the zeroDateTimeBehavior problem in mysql where the jdbc driver doesn't like 00-00- for a date. I tried this in properties.xml but still get the exception value="jdbc:${dat

[appfuse-user] mysql zeroDateTimeBehavior

2007-08-23 Thread Fred Forester
Hi All, I ran into the zeroDateTimeBehavior problem in mysql where the jdbc driver doesn't like 00-00- for a date. I tried this in properties.xml but still get the exception value="jdbc:${database.type}://${database.host}/${database.name}?zeroDateTimeBehavior=convertToNull"/> is there an

Re: [appfuse-user] Choosing a flavor

2007-08-16 Thread Fred Forester
Here's another one. http://ofbiz.apache.org/ Michael Horwitz wrote: Looks like this is a bit of a hot topic at the moment: http://raibledesigns.com/rd/entry/choosing_a_jvm_web_framework As to security, this is provided by ACEGI, so is more or less independent of the choice of web framework.

Re: [appfuse-user] new record based on an existing record

2007-08-16 Thread Fred Forester
tting java.lang.IllegalArgumentException: argument type mismatch right after the BeanUtils log entry for converting the Double. what am I missing? Fred Forester wrote: Hi All, Im an trying to insert a new record into a table where the new record is basically a clone of an existing record. I tried just setting the key fie

[appfuse-user] new record based on an existing record

2007-08-16 Thread Fred Forester
Hi All, Im an trying to insert a new record into a table where the new record is basically a clone of an existing record. I tried just setting the key field to null and calling save but hibernate complains that the key has been changed. what's the proper way to handle this? Thanks Fred ---

Re: [appfuse-user] Disable Password Encoding ACEGI

2007-08-09 Thread Fred Forester
d see what happens. APenrose wrote: Hi Fred, Thanks for the reply. The legacy passwords are not ecrypted at all !! Could I bold and ask would you by any chance be able to attach your PasswordEncoder class? ;-) I'll try return the favour at some point. Andrew Fred Forester-2 wrote

Re: [appfuse-user] Disable Password Encoding ACEGI

2007-08-09 Thread Fred Forester
Im not sure about disabling the authentication but it was pretty easy to implement my own PasswordEncoder for my legacy passwords. do you know what format the old one are in? the alternative would be to probably have your own encoder just always return true for the comparison. APenrose wrot

Re: [appfuse-user] legacy passwords

2007-08-09 Thread Fred Forester
hi Matt, I found some code on the net that encrypted in Unix crypt format. Implemented my own PasswordEncoder and it worked like a charm. Thanx Fred Fred Forester wrote: Thanx a bunch Matt Matt Raible wrote: StringUtil.encodePassword is used for encoding passwords on user signup - at

Re: [appfuse-user] legacy passwords

2007-08-08 Thread Fred Forester
your schema. Matt On 8/8/07, Fred Forester <[EMAIL PROTECTED]> wrote: Hi All, I have a legacy package that will be used for managing accounts. I would like my appfuse 1.9.x app to authenticate passwords that were encrptyed using crypt. I will have something run nightly to build the ap

[appfuse-user] legacy passwords

2007-08-08 Thread Fred Forester
Hi All, I have a legacy package that will be used for managing accounts. I would like my appfuse 1.9.x app to authenticate passwords that were encrptyed using crypt. I will have something run nightly to build the app_user, user_role tables from the legacy tables. I know (or at least I read)

Re: [appfuse-user] forms in pdf

2007-08-05 Thread Fred Forester
Matt, I think I just got it. use /pdfs/pdfPurchaseOrder as the path. put the files in WEB-INF/pdfs and exclude /pdfs/* that seems to work. Thanx Fred Fred Forester wrote: Hi Matt, Im guessing just the forward paths. I have this in the Action class * @struts.action name

Re: [appfuse-user] forms in pdf

2007-08-05 Thread Fred Forester
"/> in decorator.xml excludes section I tried *.pdf and /*.pdf but not at the same time. thanx Fred Matt Raible wrote: When you exclude it from decorators.xml, are you excluding both the request and the forward paths? Matt On 8/5/07, Fred Forester <[EMAIL PROTECTED

Re: [appfuse-user] forms in pdf

2007-08-05 Thread Fred Forester
decorators.xml but that doesn't seem to work. is there an easy was around this without having to go the route of a exportFilter like displaytag does? Thanx Fred Fred Forester wrote: hi all, I worked on a different j2ee framework for the past year that had the ability to run a Freem

[appfuse-user] forms in pdf

2007-08-03 Thread Fred Forester
hi all, I worked on a different j2ee framework for the past year that had the ability to run a Freemarker template that could generate fo xsl. a viewhandler could then invoke fop to render the pdf. is something like that possible with struts? Im using appfuse 1.9. Thanx Fred -

[appfuse-user] hibernate/sprint queries

2007-07-30 Thread Fred Forester
Hi all, this is probably not a question for the appFuse list but I figure someone might know. what is the proper way to handle these kinds of queries in the DaoHiberante class and still manage to have a list of valid pojos? for example, how is the count field handled? and should a callback b

Re: [appfuse-user] struts display tag list pdf

2007-07-25 Thread Fred Forester
gonna take that route. making it dynamic tho would require changing the tag code itself and lugging all that source around. more yuck. Thanx Fred Matt Raible wrote: I don't believe this is possible, but you might want to read its documentation: http://displaytag.sf.net Matt On 7/2

[appfuse-user] struts display tag list pdf

2007-07-25 Thread Fred Forester
Hi All, was wondering of someone knows of a way to better control the pdf output from the struts display tag. I need to change the font size of the pdf text. Thanx Fred - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: [appfuse-user] Apffuse 1.9 Query By Example

2007-07-24 Thread Fred Forester
in your Controller (from your form) and then pass it down to your DAO layer. Worst case, you can just use request.getParameter() to populate your object manually. Getting it working is the most important, making it clean is secondary IMO. ;-) Matt On 7/20/07, Fred Forester <[EMAIL PROTECTE

Re: [appfuse-user] Apffuse 1.9 Query By Example

2007-07-20 Thread Fred Forester
: There's no question in this message. ;-) Matt On 7/20/07, Fred Forester <[EMAIL PROTECTED]> wrote: Hi All, a newbie to appfuse/struts/hibernate so have what is probably a stupid questiom. I noticed this comment in my DaoHibernate class. /* Remove the line above and uncomment this code b

[appfuse-user] Apffuse 1.9 Query By Example

2007-07-20 Thread Fred Forester
Hi All, a newbie to appfuse/struts/hibernate so have what is probably a stupid questiom. I noticed this comment in my DaoHibernate class. /* Remove the line above and uncomment this code block if you want to use Hibernate's Query by Example API. */ I have about 4 fields in this table I wou

Re: [appfuse-user] Legacy data in Mysql database

2007-07-17 Thread Fred Forester
b url. Thanks again Fred Matt Raible wrote: You might try changing your database.url (I believe it's in properties.xml) to not have encoding turned on its URL. If that doesn't work, you might look at the task in build.xml - that's what handles creating the tables. Matt On 7/

[appfuse-user] Legacy data in Mysql database

2007-07-17 Thread Fred Forester
when Models are getting rebuilt or modified. Thanx Fred Forester - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]