Re: [appfuse-user] hide id of person from the web pages

2007-03-09 Thread Nathan Anderson
Even if that is the case, we have the UserManager locked down so you need appropriate privileges to edit any user other than yourself. I'm pretty sure this area is well covered in AppFuse "out of the box." Nathan Bryan Noll wrote: I don't see what the 'serious security issue' that could resu

Re: [appfuse-user] hide id of person from the web pages

2007-03-09 Thread Nathan Anderson
Sorry... I misunderstood I thought we were talking about Users, not Persons. In that case I would suggest taking precautions as are done for the User, if the object need to be secured. Nathan Nathan Anderson wrote: Even if that is the case, we have the UserManager locked down so you need

Re: [appfuse-user] hide id of person from the web pages

2007-03-09 Thread Nathan Anderson
See inline wnqq wrote: Sorry that I might mislead you... Let me explain it in more details... "Person" can easily mislead us to think of "User", so let me use "Car" instead for the following discussions. As far as I know, the code generated by AppGen (and the upcoming AMP) follows the tuto

Re: [appfuse-user] database table names

2007-03-14 Thread Nathan Anderson
This all seems like familiar ground ;) I like the prefix idea. It's always kinda bugged me that the only table with a prefix was "app_user". It's like, "one of these things is not like the others." ;) In an ideal world I would like to see all the tables have a matching prefix that is config

Re: [appfuse-user] Eclipse 3.2 building problems

2007-03-15 Thread Nathan Anderson
~ is your "Home" folder (you know, where your Desktop, Documents and similar folders live). What I don't know is where the repository is on your system, so I don't know if that is set correctly. HTH, Nathan yuccaplant wrote: I did that over and over again, didn't help. In Eclipse Classpath

Re: [appfuse-user] database table names

2007-03-16 Thread Nathan Anderson
rconfig | >> | rolleruser | >> | usercookie | >> | userrole | >> | weblogcategory | >> | weblogcategoryassoc | >> | weblogentry | >> | webpage | >> | we

Re: [appfuse-user] Spring Topics of Interest

2007-03-22 Thread Nathan Anderson
Acegi Security would definitely be a topic of interest. I would suggest maybe even a chapter on security alone considering the variety of ways to enforce authorization. Or maybe that is out of the scope of the book and Acegi should just be one of the topic in this Spring section... I do like

Re: [appfuse-user] Whats the best way to create a transaction spanning multiple tables?

2007-03-22 Thread Nathan Anderson
In fact, if these three objects are typically used in conjunction like this than it would probably be best to have one manager that handles the persistence for all three objects. When Matt first made AppGen to simplify the creation of the classes and files needed to do basic CRUD on an object,

Re: [appfuse-user] AppFuse without Tomcat

2007-03-23 Thread Nathan Anderson
I'm not sure exactly which ant targets require CATALINA_HOME, but AppFuse *should* work in Resin. [At least it did at one time ;) ]. My guess would be the "*tomcat" targets and of course anything that calls them. You may need to modify the build.xml to get it to deploy automatically, but if

[appfuse-user] Re: [appfuse-dev] Appfuse2. Anything like appgen?

2007-03-29 Thread Nathan Anderson
I'm forwarding this question to the users list where it should be... mmaia wrote: Hi, I just have started to take a look at appfuse 2. I have develop 2 comercial apps with appfuse 1.9.X with configuration: webwork + spring + hibernate and I´m quite happy with the results and productivity. As I

Re: [appfuse-user] Tutorials using JDBC

2007-04-02 Thread Nathan Anderson
Changing persistence mechanisms is one of the features that Matt was working quite recently. You should probably take a look at this page: http://appfuse.org/display/APF/Persistence I'm guessing that iBATIS would be easier to work with than Hibernate if you wanted something easier to learn. B

Re: [appfuse-user] Choosing an open source database for the enterprise

2007-04-03 Thread Nathan Anderson
I could be wrong, but my understanding is HSQL and Derby are made more for convenience [very portable and they can be packaged with an app] than they are for enterprise production use. I would suggest one of the other two and I'd probably lean toward MySQL because I've never had much of a prob

[appfuse-user] archtype suggestion

2007-04-03 Thread Nathan Anderson
I'm trying to get up to speed with all the goings on in AppFuse 2.0.x. In that effort today I was going through the Struts 2 tutorial and it occurred to me that it was a bit of a pain making all these directories. With all the specific places certain files need to be created in or copied to would

Re: [appfuse-user] Apache Stack Unsprung

2007-04-03 Thread Nathan Anderson
The security stuff is all built on Spring too. Acegi Security provides authentication, authorization, remember me, and probably other I could think of if it weren't almost midnight. So you would most likely have to migrate to container managed security [which is what AppFuse used before Acegi].

Re: [appfuse-user] archtype suggestion

2007-04-04 Thread Nathan Anderson
te a >> project and successfully run "mvn install" w/o any issues. >> >> Matt >> >> On 4/3/07, Nathan Anderson <[EMAIL PROTECTED]> wrote: >> > I'm trying to get up to speed with all the goings on in AppFuse 2.0.x >> . In >> &g

Re: [appfuse-user] Chane default sql error messages

2007-04-05 Thread Nathan Anderson
Most of the error messages are in the applicationResources*.properties files. But I'm not sure if you are getting one of these messages or something from an exception. Nathan nutanc wrote: Hi all, I am trying to achieve the following.Whenever a user tries to delete a record which is liked we

Re: [appfuse-user] Chane default sql error messages

2007-04-06 Thread Nathan Anderson
I believe the way to do that is to catch the Exception and then output an i18n message. But since the Exception happens in the Model [DAO], you probably need to catch the exception in your Manager class and throw your own exception to the view layer. At least that would be the way to maintain

Re: [appfuse-user] database settings multi user

2007-04-06 Thread Nathan Anderson
The 1.9.x branch has a way to have system/user specific properties like database settings, but I believe it was tied closely to the way Ant works. I don't know if this functionality is in 2.0 yet, but I expect it will be if it isn't already [Matt, let me know if I should make a JIRA issue on t

Re: [appfuse-user] fileupload Size greater than 2 GB ?

2007-04-06 Thread Nathan Anderson
Without seeing any logs, I would have to guess it has something to do with an environment limitation. Filesystem perhaps? Nathan PSI wrote: Hi I am using appfuse 1.9.4, and the requirement is that i need to upload file of size @2.5 GB, everything works if file is 1.99GB but anything greater

Re: [appfuse-user] fileupload Size greater than 2 GB ?

2007-04-06 Thread Nathan Anderson
I'm grasping at straws here... but have you tried a different browser then? Nathan PSI wrote: Strange thing is there is no log, I think this is an issue with browser content-length? maybe there is work-around to this... cause problem is i get immediately "page-not-found" error page on browser,

Re: [appfuse-user] Filter ?

2007-04-08 Thread Nathan Anderson
This looks like useful stuff... so I made a wiki page out of it ;) http://appfuse.org/display/APF/Web+Filters Just thought you folks would like to know :D Nathan > On 4/8/07, Will Berger <[EMAIL PROTECTED]> wrote: >> >> ok...here they are. >> >> cacheFilter - what does it do and how is it used

Re: [appfuse-user] Filter ?

2007-04-09 Thread Nathan Anderson
Dale Newfield wrote: Matt Raible wrote: As I was writing it I thought, "this would make a great wiki page". ;-) Thanks for making it happen Nathan! Right-o Matt ;) As I read it I thought "the place I want this info is in the web.xml file" where they're referenced, so I sprinkled in some comm

Re: [appfuse-user] Ldap error, exception: Bad credentials

2007-04-09 Thread Nathan Anderson
This looks like another gem for documentation... http://appfuse.org/display/APF/LDAP+Authentication I also added it to the FAQ. Nathan Matt Raible wrote: Here's what I've done in the past to get LDAP working with AppFuse 1.9.4: 1. Change the "authenticationManager" bean to use "ldapProvider

Re: [appfuse-user] SpringMVC can do Generic Controllers

2007-04-10 Thread Nathan Anderson
It really depends on what you are creating. If you just need a simple CRUD app and want to make it quickly, then this is pretty darn cool. But as applications evolve and specifications change then these generic classes are less applicable. I think it is a great idea to be able to create a CRU

Re: [appfuse-user] Filter ?

2007-04-10 Thread Nathan Anderson
I think there was discussion about making a wiki page for Licenses, but I couldn't find one. So here it is: http://appfuse.org/display/APF/Licenses I only put URL Rewrite on there for now... I'll make a JIRA so we remember to flesh it out a bit more. Nathan Matt Raible wrote: On 4/9/07,

Re: [appfuse-user] ACEGI Security and Hibernate

2007-04-10 Thread Nathan Anderson
This is also related to that FAQ that Matt linked: http://appfuse.org/display/APF/FAQ#FAQ-whereisthesource Nathan nmall wrote: Actually, I am trying to understand how ACEGI security as well as hibernate are integrated into Appfuse. It looks like 2.0-M4 has all the steps in http://raibledesig

Re: [appfuse-user] Filter ?

2007-04-10 Thread Nathan Anderson
cence terms of the libraries used. On 4/10/07, *Nathan Anderson* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: I think there was discussion about making a wiki page for Licenses, but I couldn't find one. So here it is: http://appfuse.org/display/AP

Re: [appfuse-user] Filter ?

2007-04-10 Thread Nathan Anderson
Hehe... I just assumed you remembered since you were involved in the discussion the first time around ;) Sanjiv Jivan wrote: No points for guessing why I found it :) On 4/10/07, *Nathan Anderson* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: I knew that came up

Re: [appfuse-user] Using Appfuse With WebServices

2007-04-12 Thread Nathan Anderson
So are you using the webservice as your authentication mechanism? Or is the webservice being used to determine if an account can be created? Nathan sionsmith wrote: Thanx Mike i've now got that working and talking to the webservice. Woohoo - i'm thinknig that was the easy part compared to wh

Re: [appfuse-user] Using Appfuse With WebServices

2007-04-12 Thread Nathan Anderson
The way that comes to mind would be to make your own AuthenticationProvider. Depending on your needs [e.g. if you need built in AppFuse features like roles] you may need to extend the DaoAuthenticationProvider so you can still use the AppFuse User object as your UserDetails object. Does tha

Re: [appfuse-user] Dojo Problem

2007-04-12 Thread Nathan Anderson
lease notes of M5 I don't see much that could make a difference. Any suggestions? Thanks, Nathan Anderson Matt Raible wrote: You're right, it does include it, but when doing performance tuning,they recommend you copy static resources to your webapp. From http://struts.apache.org/2.x/

Re: [appfuse-user] Curious as to how db schemas are applied to the DB in 2.0-m4 (under the hood question)

2007-04-12 Thread Nathan Anderson
I can't help answer all of your questions, but I'll take a stab at a couple of them... upstreamnet wrote: Hi, I've been looking at the pom.xml that is generated for the JSF Basic archetype. I was curious to figure out what causes the db schema generated by hbm2ddl to be applied before dbUnit

Re: [appfuse-user] hibernate immutable

2007-04-13 Thread Nathan Anderson
Michael Horwitz wrote: There are several ways to approach this: 1) Keep a history table which is populated by a trigger on the original table for each entity in your model. 2) Run an audit listener that tracks the changes: http://www.hibernate.org/318.html I have managed to implement 2 succ

Re: [appfuse-user] mvn and remote database

2007-04-13 Thread Nathan Anderson
On the remote server did you set up permissions for "root" to user to connect from other systems. I think by default "root" can only connect from "localhost". Nathan elji wrote: Thanks Matt for replying. Well actually there is no mysql database on 192.168.2.102 but on 192.168.2.99 and mysql

Re: [appfuse-user] mvn and remote database

2007-04-13 Thread Nathan Anderson
Interesting note... I would not have guessed maven tries the local server if the remote fails... Nathan elji wrote: Well you were right thanks !!! it wasn't my.cnf file, it was in the user table to let access from a remote host. And when the connection is refused, maven tries locally by it

Re: [appfuse-user] Dojo Problem

2007-04-17 Thread Nathan Anderson
13, Aridany Ramirez < [EMAIL PROTECTED]>:> > This is weird, i´m getting the same errors in Firefox 2.0, but in IE works> fine, don´t know why.> >> >> > 2007/4/12, Nathan Anderson <[EMAIL PROTECTED] >:> >> > > For some reason I'm not

Re: [appfuse-user] Dojo Problem

2007-04-17 Thread Nathan Anderson
o-and-prototype-together 2007/4/13, Aridany Ramirez < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>: This is weird, i´m getting the same errors in Firefox 2.0, but in IE works fine, don´t know why. 2007/4/12, Nathan Anderson <[EMAIL PROTECTED] <mailto:[EMAIL PRO

Re: [appfuse-user] Authenticating with ldap almost there

2007-04-17 Thread Nathan Anderson
The account that you use to fetch the LDAP data needs to have sufficient privilege to get user account passwords... so it would be an "admin" account of some sort. Here is the relevant portion of a security.xml file of an AppFuse 1.9.4 app we got working with AD. value="ldap://co

[appfuse-user] UniversalManager & UserManager questions

2007-04-20 Thread Nathan Anderson
Howdy folks, I have a pretty simple AppFuse 2.0-M4 Struts 2 app that has an object that has a ManyToOne relationship to User. The idea is this object is created by or owned by the user who added it [only an admin can edit the user, yadda yadda]. So in my save method of my action I tried the

[appfuse-user] How to turn off "remember me"

2007-04-20 Thread Nathan Anderson
I'm trying to figure out where the application settings are kept in AppFuse 2.0. I'd like to turn off "Remember Me" for this particular application and I see that login.jsp only renders the "Remember Me" checkbox when the feature is enabled... The problem is I can't seem to find where it is en

Re: [appfuse-user] How to turn off "remember me"

2007-04-20 Thread Nathan Anderson
I am open to adding/implementing some sort of common configuration system after 2.0. For example, moving jdbc.properties and mail.properties to config.properties and adding things like rememberMe.enabled=true|false. Maybe even providing a database table to persist changes. Matt On 4/20/07, Nathan A

[appfuse-user] Multiple DataSources

2007-04-20 Thread Nathan Anderson
[ You thought I was kidding about the 60 seconds, huh? ;) ] So I need to have 2 data sources in my application. The AppFuse core and my CRUD classes are being persisted to a MySQL database. I also need fetch Read-Only objects from a DB2 database. Being new to maven I'm a little stumped on h

Re: [appfuse-user] Multiple DataSources

2007-04-20 Thread Nathan Anderson
DB2 data, make sure you're using Hibernate's StatelessSession API or else you'll just be paying a huge CPU and memory overhead using Hiberanate. On 4/20/07, *Nathan Anderson* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: [ You thought I was kidding about the 60 se

Re: [appfuse-user] Multiple DataSources

2007-04-20 Thread Nathan Anderson
en use the Spring JDBC helper classes by utilizing the DB2 DataSource that you injected in your DAO's. All of the Spring JDBC helper classes like MappingSqlQuery and JdbcTemplate can be constructed using a DataSource object. On 4/20/07, *Nathan Anderson* <[EMAIL PROTECTED] <mailto:[EMA

Re: [appfuse-user] Multiple DataSources

2007-04-20 Thread Nathan Anderson
ime I ran "mvn jetty:run-war". That's pretty slick... now on to that JdbcTemplate stuff... Nathan Nathan Anderson wrote: [ You thought I was kidding about the 60 seconds, huh? ;) ] So I need to have 2 data sources in my application. The AppFuse core and my CRUD classes are

Re: [appfuse-user] tutorial on configuring Apache2.0 + mod_jdk2 + Tomcat

2007-04-23 Thread Nathan Anderson
mod_jk2 is no longer in development. You would most likely be better off using mod_jk. I think I have a link to a step-by-step for apache2, mod_jk, tomcat5 for Ubuntu. What OS are you installing on? Nathan dev dev wrote: Can someone point me to a step-by-step tutorial on how to do this? T

Re: [appfuse-user] tutorial on configuring Apache2.0 + mod_jdk2 + Tomcat

2007-04-23 Thread Nathan Anderson
mod_jk and not mod_jk2. I'm using Ubuntu 7.0 of course. Thod On 4/23/07, *Nathan Anderson* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: mod_jk2 is no longer in development. You would most likely be better off using mod_jk. I think I have a link to a step-by-

Re: [appfuse-user] struts2 and appfuse

2007-04-24 Thread Nathan Anderson
I think the file should be in: ./src/main/webapp/WEB-INF/pages/pentaho.jsp I was going to try and check on the syntax of your struts.xml file for you. But the documentation for this project is .. uh... let's just say it isn't very helpful yet ;) Nathan nmall wrote: Hi, I am trying to add

Re: [appfuse-user] tutorial on configuring Apache2.0 + mod_jdk2 + Tomcat

2007-04-24 Thread Nathan Anderson
ed to add it to the thread for the sake of others. Nathan Nathan Anderson wrote: Well I know of two ways to do it. Matt set up an Ubuntu [6.10?] VMware that I believe has all of the above set up already. I have a zipped copy if you want to download it. It's pretty big though--it is about 1

Re: [appfuse-user] maven and jsps

2007-04-24 Thread Nathan Anderson
You should only have to update the one in the "src" folder. Try running: mvn clean jetty:run-war That should definitely update the copies in the "target" folder. HTH, Nathan > > Hi, > > Here are the directories that contain the .jsp files - i picked one of > them > to find out. > > $ ls

Re: [appfuse-user] maven and jsps

2007-04-24 Thread Nathan Anderson
It sounds like something isn't working correctly. Do you get "Build Successful" when running the maven command? Nathan > > Thanks, Nathan. However this doesn't work. I am having to manually copy > from > the src/main/webapp/WEB-INF/pages/ to the 3 target folders. > > Any help would be greatly a

Re: [appfuse-user] Sort of Acegi domain object security

2007-04-26 Thread Nathan Anderson
Hi Francesco, I agree that ACL is a bit heavy for most apps. That's why I came up with an idea of an OwnerVoter--where access is granted if the user is the "owner" of an object. I also have another voter that compares a method value of the authenticated user to a method value of the object.

Re: [appfuse-user] login to someplace other than mainmenu?

2007-04-26 Thread Nathan Anderson
I believe the change you made means you cannot make a direct request to a given page if you are not logged in. Because after the login you are directed to the "defaultTargetUrl". The way that I did this in a recent project was to change "index.jsp" to forward to the page I wanted to be the def

Re: [appfuse-user] login to someplace other than mainmenu?

2007-04-26 Thread Nathan Anderson
That sounds perfect then ;) Nathan - Original Message - From: "Dale Newfield" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Thursday, April 26, 2007 11:03:43 AM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] login to someplace other than mainmenu?

Re: [appfuse-user] query about url encryption

2007-04-27 Thread Nathan Anderson
I've never done this, so I wouldn't even know where to start. But I'm wondering what the purpose of this is? Is the idea to make it harder for users to guess a URL they might want to get to but should not have access to? Or perhaps it is a helpful in making the app more Search Engine friendly

Re: [appfuse-user] query about url encryption

2007-04-27 Thread Nathan Anderson
ying the urls and > getting data which they are not supposed to acess. > > > > > *Nathan Anderson <[EMAIL PROTECTED]>* wrote: > > I've never done this, so I wouldn't even know where to start. But I'm > wondering what the purpose of this is? Is the ide

Re: [appfuse-user] Problem in joining to appfuse IRC channel :(

2007-04-29 Thread Nathan Anderson
It looks like you have an extra colon in that address, it should be: irc.freenode.net:6667 Trillian should be able to connect, but basically every IM client I have used for IRC hasn't worked quite right. A dedicated IRC client like XChat might be easier to use. Currently there isn't a lot o

Re: [appfuse-user] Problem in joining to appfuse IRC channel :(

2007-04-29 Thread Nathan Anderson
the irc channel?? questions and answers don't get stored?? tibi Nathan Anderson wrote: > It looks like you have an extra colon in that address, it should be: > > irc.freenode.net:6667 > > Trillian should be able to connect, but basically every IM client I have used >

Re: [appfuse-user] classes directories

2007-04-29 Thread Nathan Anderson
Hi nmall, For the most part you can ignore everything in the "./target" folder. But to answer your question, the "./target" folder is used by maven to build, test, extract .war files, create .war files, etc. That is why you are finding many of the same classes in each of the folders you foun

Re: [appfuse-user] classes directories

2007-04-29 Thread Nathan Anderson
I would guess it does, but I'm not sure. Guess we'll have to wait until someone else weighs in on this one.. :/ Nathan - Original Message - From: "nmall" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Sunday, April 29, 2007 2:05:18 PM (GMT-0800) America/Los_Angeles Subject: Re

Re: [appfuse-user] query about url encryption

2007-04-29 Thread Nathan Anderson
ct: Re: [appfuse-user] query about url encryption Thanks,At last some one understood my proble.But in which files i have to make changes to implement Acegi security. regards, ajay Nathan Anderson < [EMAIL PROTECTED] > wrote: I agree, encryption does not really solve the problem if the us

Re: [appfuse-user] Appofuse on ubuntu

2007-04-30 Thread Nathan Anderson
Hi there, How did you install Tomcat? Did you download the binaries from Apache's website, or did you use apt-get or synaptic package manager? Nathan - Original Message - From: "reddeagle9" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Monday, April 30, 2007 3:56:59 AM (GM

Re: [appfuse-user] login.jsp and menus

2007-04-30 Thread Nathan Anderson
Exclude the login.jsp from being decorated by SiteMesh and you can make it look like whatever you want. There is probably another way, but that is what I have done in the past. HTH, Nathan - Original Message - From: "Will Berger" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent

Re: [appfuse-user] Appfuse on ubuntu

2007-05-01 Thread Nathan Anderson
Ubuntu uses port 8180 for tomcat [at least it does for tomcat5--I'm not sure about tomcat55 because it is not available for Ubuntu 6.06]. Looking back at the reported problem I still can't thing of a reason for this error. If the file were missing I would expect this error. If it were a per

Re: [appfuse-user] mvn jetty:run => OutOfMemoryError: PermGen space

2007-05-01 Thread Nathan Anderson
I just found a link that says MaxPermSize does not work as expected without PermSize also being set. They recommended settings like this" -Xms256m -Xmx256m -XX:PermSize=256m -XX:MaxPermSize=256m You could probably add the other -XX settings if they help. Here's the link to the article: ht

Re: [appfuse-user] map boolean field in model to char or integer

2007-05-01 Thread Nathan Anderson
In Hibernate this is handled by choosing the appropriate Dialect for your database. I have not used JPA, but I would guess it still has something to do with the configuration of your JPA implementation. Nathan - Original Message - From: "Bajju" <[EMAIL PROTECTED]> To: users@appfuse.de

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-05-01 Thread Nathan Anderson
I'm trying to apply this technique in an AppFuse 2.0-M4 app but it doesn't seem to be working for me. In Firebug I see that the requests are being made to the various .js and .html files under /struts/dojo, but they all are returning 404 errors. I've added the to my .jsp - included the late

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-05-01 Thread Nathan Anderson
sitemesh /* REQUEST FORWARD INCLUDE staticFilter /* REQUEST FORWARD struts /* REQUEST FORWARD - Original Message - From: "Nathan Anderson" <[EMAIL P

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-05-01 Thread Nathan Anderson
It looks like I had to update my version of StaticFilter as well. Now everything seems to load correctly, but still no picker... I'm guessing I mangled the tag in some way... - Original Message - From: "Nathan Anderson" <[EMAIL PROTECTED]> To: users@appfuse.dev.j

Re: [appfuse-user] WCMS (Web Content Management System) recommendation

2007-05-01 Thread Nathan Anderson
That sounds like a description of Magnolia [ http://magnolia.info ]. Nathan - Original Message - From: "dev dev" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Tuesday, May 1, 2007 8:53:08 PM (GMT-0800) America/Los_Angeles Subject: [appfuse-user] WCMS (Web Content Management Sys

Re: [appfuse-user] exlude jsp decorators

2007-05-02 Thread Nathan Anderson
I'm pretty sure sitemesh decorates based on the requested URI not where the .jsp resides in the file system. So you would never want to match anything inside "WEB-INF" because that isn't a valid URI. So the .jsp either needs to be outside of WEB-INF [like login.jsp], or called by an action.

Re: [appfuse-user] exlude jsp decorators

2007-05-02 Thread Nathan Anderson
name="AJAX">/WEB-INF/pages/topnet/ajax-return/eventSpanAction.jsp > > > should i exclude both with this: > >/resources/* >/topnet/salesSoon.html >/topnet/ajax-return/eventSpanAction.html >eventSpan > > > ??? >

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-05-02 Thread Nathan Anderson
days ago, but now it doesn't work... Had to rename the struts action to something other than .html (I used .htm), removed the static filter and it works fine... I haven't tried the filter stuff though... David M. Nathan Anderson wrote: > It looks like I had to update my version of

Re: [appfuse-user] exlude jsp decorators

2007-05-02 Thread Nathan Anderson
Glad to help :) - Original Message - From: "tibi" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Wednesday, May 2, 2007 1:25:43 PM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] exlude jsp decorators ok thats it! thanks tibi Nathan Anderson wrot

Re: [appfuse-user] Recomended Pratice (Struts2 Dojo)

2007-05-02 Thread Nathan Anderson
I'm glad to see someone is having more luck than I am with the datepicker ;) I have only tried to do it without extracting the static files and without changing the struts action mapping to something other than .html, but those goals might be asking for a bit much :) As for the recommendation,

Re: [appfuse-user] Recomended Pratice (Struts2 Dojo)

2007-05-03 Thread Nathan Anderson
#x27;t allow an LGPL library. Matt On 5/3/07, Nathan Anderson <[EMAIL PROTECTED]> wrote: > I'm glad to see someone is having more luck than I am with the datepicker ;) > > I have only tried to do it without extracting the static files and without > changing the struts action mapp

Re: [appfuse-user] Excluding certain pages from the default menu

2007-05-03 Thread Nathan Anderson
I believe that the menu is added to the page using SiteMesh. One option would be to have two sitemesh decorators--one with the menu and one without. Then make all the pages that should not have the menu match some pattern so SiteMesh can apply the proper decorator. Nathan - Original Mes

Re: [appfuse-user] problem with downloading a pdf within appfuse

2007-05-04 Thread Nathan Anderson
SiteMesh is the filter you are looking for. There is a sitemesh.xml file that configures which URI's to decorate or which to exclude from decoration. Nathan - Original Message - From: "Haotian Sun" <[EMAIL PROTECTED]> To: "appfuse-user" Sent: Friday, May 4, 2007 7:52:53 AM (GMT-0800

Re: [appfuse-user] How to set different links for the display:column?

2007-05-07 Thread Nathan Anderson
I believe there is some java script that looks for an tag in the first column of each row of a table and then it sets the onclick method of the row to go to that URL. You will have to disable that JavaScript to be able to have more than one link for a particular row. Nathan - Original Me

Re: [appfuse-user] security.xml

2007-05-07 Thread Nathan Anderson
I can check this when I get to work, but I think there are two tags that go inside the . IIRC they are and Nathan - Original Message - From: "Matt Raible" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Monday, May 7, 2007 7:09:08 AM (GMT-0800) America/Los_Angeles Subject: R

Re: [appfuse-user] Problems with number convertion on s:input

2007-05-07 Thread Nathan Anderson
I believe the Struts 2 recommended practice is to put your number [and currency and date/time] formats into your ApplicationResources*.properties files. Like these en_US examples: format.date = {0,date,MM/dd/} format.time = {0,date,MM/dd/ ha} format.percent = {0,number,##0.00'%'} format

Re: [appfuse-user] security.xml

2007-05-07 Thread Nathan Anderson
, you just need another in there. Nathan - Original Message - From: "Nathan Anderson" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Monday, May 7, 2007 7:22:39 AM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] security.xml I can check this when I get

Re: [appfuse-user] Removing Hibernate Annotations use

2007-05-08 Thread Nathan Anderson
The only classes that should be using Hibernate annotations are: org.appfuse.model.User org.appfuse.model.Role Of course the annotations trigger other things to happen like generating the DDL, Hibernate's hbm files, etc. So you would need to replace that functionality as well. HTH, Natha

Re: [appfuse-user] Problems with package structure

2007-05-09 Thread Nathan Anderson
In AppFuse 2.x it is expected that the AppFuse core classes [e.g. User, Role, etc] remain in the org.appfuse namespace. This is so that it will [hopefully] be easier to upgrade a project from one version of AppFuse to another. It is also expected that any classes that you add to your project w

Re: [appfuse-user] acegi forward problem

2007-05-10 Thread Nathan Anderson
I also have used mod_jk without redirection issues even when the Apache is handling ssl on the connection. Nathan - Original Message - From: "Matt Raible" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Thursday, May 10, 2007 4:54:39 AM (GMT-0800) America/Los_Angeles Subject: R

Re: [appfuse-user] Transactions in Spring

2007-05-11 Thread Nathan Anderson
In your DAO layer you can commit a transaction, but I'm not sure how you would do it in a manager... If you are using Hibernate take a look at the use of getHibernateTamplate().flush() in UserDAOHibernate as an example. http://tinyurl.com/3extrj Nathan - Original Message - From: "c

Re: [appfuse-user] Store large string/file to image/Blob etc as text/string.

2007-05-13 Thread Nathan Anderson
If you are only storing text you probably want a CLOB rather than a BLOB [but either would work]. Most databases support large objects--so make sure you are using the correct dialect for the database you are using. If you are using one of the milestone release of AppFuse 2.0 then you will want

Re: [appfuse-user] Schema text failed: Could not parse mapping document

2007-05-17 Thread Nathan Anderson
Hello Adriel, Okay from what you posted I can see that you are using a 1.x version of AppFuse. It may be helpful if you can be more specific and let us know what version your app is based on. It appears that there is a problem with your Image.hbm.xml file, but unfortunately I'm not familiar

Re: [appfuse-user] How do I perform a join in a dao.hibernate finder?

2007-05-21 Thread Nathan Anderson
I'm not great on my HQL, but judging by the error message I think the problem is the comma near the end: recipient.heardFlag = 0, callerId ^ Since I am very familiar with SQL, I would expect that character to cause a problem because it would make the statement invalid. I

Re: [appfuse-user] How do I perform a join in a dao.hibernate finder?

2007-05-21 Thread Nathan Anderson
Glad to see it was an easy fix :) Nathan - Original Message - From: "romsrini" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Monday, May 21, 2007 3:06:52 PM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] How do I perform a join in a dao.hibernate finder? Doh, I f

Re: [appfuse-user] Exclude action method from Validation?

2007-05-21 Thread Nathan Anderson
Hey Philip, Thanks for posting the solution back to the list. That is a big help when others run into the same problems later on [which is basically guaranteed to happen ;) ]. And a question is never spam wait let me clarify.. a question about AppFuse is never spam. If you were asking

[appfuse-user] Upgrade from 2.0-M4 to 2.0-M5

2007-05-23 Thread Nathan Anderson
Hey Matt, What do you expect to be the best method for this milestone? Obviously the first step is to back-up or commit the project to source control. But then what? I'm guessing that it is still better to make a second project and compare the diffs rather than update the dependencies in the

Re: [appfuse-user] Appfuse Spring MVC Modular - mvn compile hibernate3:hbm2ddl - No hibernate configuration loaded?

2007-05-23 Thread Nathan Anderson
Hello Sandu, Please don't cross post to all the lists. Any questions about AppFuse should only be posted in this one. The other lists are more project maintenance related. As for your question... I'm not sure why it can't find the Hibernate config file. Which version of AppFuse are you us

Re: [appfuse-user] Error while running integration-test

2007-05-23 Thread Nathan Anderson
I had a similar problem with the M5-SNAPSHOT at one point. First thing you should probably do is determine if this is a valid error or a problem with the Canoo configuration. To do this just run the app [jetty:run-war] and follow the same steps as Canoo is failing on. My problem was that a

Re: [appfuse-user] UniversalManager & UserManager questions

2007-05-24 Thread Nathan Anderson
5:55 PM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] UniversalManager & UserManager questions On 4/20/07, Nathan Anderson <[EMAIL PROTECTED]> wrote: > Howdy folks, > > I have a pretty simple AppFuse 2.0-M4 Struts 2 app that has an object > that has a ManyToOne relationshi

Re: [appfuse-user] Appfuse/ Appgen/ JSF

2007-05-28 Thread Nathan Anderson
I don't think AppGen will do it for you out of the box. Maybe Matt or someone would know if it is possible to modify AppGen to do what you want. But you should be able to integrate some nice validation manually: http://raibledesigns.com/wiki/Wiki.jsp?page=ValidationAndListJSF Nathan - O

Re: [appfuse-user] How to use touch script in windows:

2007-05-28 Thread Nathan Anderson
I think you need to use Cygwin to be able to use the touch script in windows. Nathan - Original Message - From: "Fan" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Sunday, May 27, 2007 6:55:57 PM (GMT-0800) America/Los_Angeles Subject: [appfuse-user] How to use touch script

Re: [appfuse-user] Table Record Security in S2

2007-05-29 Thread Nathan Anderson
Hello All, I have a slightly different take on this topic... I like the URL based security as much as I like client side validation. It is convenient, but not trustworthy. In an application where users of different permission levels [roles] access the same pages, it is generally very difficu

Re: [appfuse-user] java.lang.IllegalStateException in appfuse

2007-05-31 Thread Nathan Anderson
It looks like these messages are all DEBUG and WARN. Is there anything that doesn't work? Also did you make any changes to footer.jsp? I noticed it was in that stack trace. Nathan - Original Message - From: "nmall" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Wednesday, M

Re: [appfuse-user] Re: [appfuse-dev] Moving from Canoo WebTest to Selenium

2007-05-31 Thread Nathan Anderson
sissy... just kidding :) Nathan - Original Message - From: "Jason Brice" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Thursday, May 31, 2007 1:42:33 PM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] Re: [appfuse-dev] Moving from Canoo WebTest to Selenium I real

  1   2   3   >