Re: [appfuse-user] sub folder under pages

2007-08-15 Thread Matt Raible
If you want to the page to be served up and it's located under WEB-INF, you have to use a controller/action to serve it up. If Acegi does a forward (which I don't believe it does), you could use /WEB-INF/pages/secure/customerWelcome.jsp as the path. Matt On 8/15/07, reddeagle9 <[EMAIL PROTECTED]

Re: [appfuse-user] Hidden Id in the List

2007-08-15 Thread arvinder
Tony Another way you can do it is by using a decorator: http://displaytag.sourceforge.net/10/tut_links.html Arvinder Michael Horwitz wrote: > > If you want to add more than one parameter (note that you can always > return > the username from the id, so this is not strictly necessary), you need

[appfuse-user] sub folder under pages

2007-08-15 Thread reddeagle9
I would like to create a folder under pages called secure, that would have customer sensitve pages in it. I would then use acegic to ensure requests for these pages go over ssl etc Before i attempt this, i just checking with the group to see if any problems can occur with this or is it worth the

Re: [appfuse-user] AppFuse 1.9.x validator with WebWork

2007-08-15 Thread BruceLee
That's fine. You are always responsive. We upgraded to 1.9.4 and try to curve these issues. mraible wrote: > > Sorry for the massive delay - did you ever get this resolved? To test > that your AppGen is working correctly, you can perform the following > steps: > > 1. Back up your project or m

Re: [appfuse-user] Cannot display validation error message with WebWork

2007-08-15 Thread BruceLee
Thank Matt. However, I mostly want all error messages show on top of the form. -Bruce mraible wrote: > > You need to use if you want the field errors to show up > next to the input fields - just like signup.jsp and userForm.jsp use. > > Matt > > On 7/31/07, DreamBig <[EMAIL PROTECTED]> wrote

[appfuse-user] Help please

2007-08-15 Thread Ding, Qin
I am having an problem and I searched the hibernate FAQ and tried many ways; but was not successful. I have an Object Product which has another object called Solution Product{ private String name; private SolutionSet solutionSet; /** * @return Returns the solutionSet. * @hibernate.m

Re: [appfuse-user] Hibernate Problem

2007-08-15 Thread sparqle
Following your advice, I was able to find the dependency that was pulling in the wrong version of hibernate. It was beanlib - which I had added only yesterday. I had decided to not use beanlib anyway, so I just removed that dependency and now everything works like before. Thanks a lot Michael

Re: [appfuse-user] passwordHint "scope with shorter lifetime"

2007-08-15 Thread mikebgx
Many thanks! I changed it from session to request and it works (it was 'session' in the original appfuse app, and that worked!) [Low priority query:] I'm a bit confused why it was complaining , I'd have expected the above to make it worse rather than better. Which had a shorter lifetime than what

Re: [appfuse-user] passwordHint "scope with shorter lifetime"

2007-08-15 Thread Matt Raible
Did you change the scope of your managed-bean to session from request? It should be request by default. Matt On 8/15/07, mikebgx <[EMAIL PROTECTED]> wrote: > > I've a strange problem with "PasswordHint" on the initial login page of my > app (Appfuse 1.9.4 for JSF) > > passwordHint.xhtml successfu

Re: [appfuse-user] Hibernate Problem

2007-08-15 Thread Michael Horwitz
The simplest way to fix it is to set an explicit dependency on the Hibernate version you want in your project's pom. If you are interested, run mvn -X and pipe to a log file: e.g. mvn -X install > mvn.log and look through the logfile to see which dependency is pulling in the wrong version of Hiber

Re: [appfuse-user] Hibernate Problem

2007-08-15 Thread sparqle
Yes, I ran mvn clean. Still no luck. I can see by browsing through my .m2 folder that the hibernate 3.0.5 files have a later last modified date than the hibernate-3.2.1.ga files. Could this be the problem? How can I fix it? I am using Windows. mraible wrote: > > Did you run "mvn clean" after up

Re: [appfuse-user] set datatable page number

2007-08-15 Thread Matt Raible
Which web framework are you using? I don't know how to do what you're trying to do, so you may have to figure this one out based on parameters that are passed when clicking on the "next page" links. Matt On 8/15/07, Djohannot <[EMAIL PROTECTED]> wrote: > > Hi, > > I've a datatable with a lot of d

[appfuse-user] set datatable page number

2007-08-15 Thread Djohannot
Hi, I've a datatable with a lot of data inside. When i edit an entry of my table and come back to the page, i wanna show my edited entry, and not try to search for it... I've see in the tableFooter that a Datascroller is used, but how can i say to it the page to shown? Or how can i tell him to r

Re: [appfuse-user] Hibernate Problem

2007-08-15 Thread Matt Raible
Did you run "mvn clean" after upgrading your dependencies? On 8/15/07, sparqle <[EMAIL PROTECTED]> wrote: > > I am getting this same error using Appfuse. > http://www.nabble.com/Wicket-%2B-Spring-%2B-Hibernate-tf3257238s2369.html#a9056150 > > > In my project, I can see that Maven is using hibernat

[appfuse-user] Hibernate Problem

2007-08-15 Thread sparqle
I am getting this same error using Appfuse. http://www.nabble.com/Wicket-%2B-Spring-%2B-Hibernate-tf3257238s2369.html#a9056150 In my project, I can see that Maven is using hibernate-3.0.5.jar and hibernate-annotations-3.2.1.ga.jar I am not sure whether these two are compatible. I can see that m

Re: [appfuse-user] How to integrating Appfuse 1.9.x with ApacheDS

2007-08-15 Thread Matt Raible
If you want CRUD on LDAP, you shouldn't need anything in the database. However, you will have to write the CRUD logic yourself. I did this last October, but never finished it. http://raibledesigns.com/rd/entry/implementing_the_appfuse_dao_layer The following message has the code attached if you'd

Re: [appfuse-user] Jetty 6.1 versus Tomcat 6.x

2007-08-15 Thread Matt Raible
I would guess that the Mortbay (Jetty) guys would disagree with you. http://docs.codehaus.org/display/JETTY/Jetty+Powered They also have Hightide: http://docs.codehaus.org/display/JETTY/Hightide+Documentation For the best performance, I've often heard Resin being recommended over Tomcat. http:

[appfuse-user] passwordHint "scope with shorter lifetime"

2007-08-15 Thread mikebgx
I've a strange problem with "PasswordHint" on the initial login page of my app (Appfuse 1.9.4 for JSF) passwordHint.xhtml successfully displays its message ('test' is the username I entered): Looking up password hint for test... Then I get: An Error Occurred: Property username references object

Re: [appfuse-user] How to integrating Appfuse 1.9.x with ApacheDS

2007-08-15 Thread Irshad Buchh
Matt, Thanks for the info as we are doing the same right now. Do we still need the database schema containg the tables app_user and role? When a new user signs up, is that going to create an entry in the ldap server or the database or both? --Irshad. mraible wrote: > > You should be able to pr

[appfuse-user] radio i18n

2007-08-15 Thread tibi
hi list, i'm trying to make a radio list something like this: |<*s*:*radio* label="Fruits" name="fruitsname" list="fruits" /> http://www.roseindia.net/struts/struts2/struts2uitags/radio-tag.shtml but how would i add i18n to it? thanks, tibi |

Re: [appfuse-user] Hidden Id in the List

2007-08-15 Thread Michael Horwitz
If you want to add more than one parameter (note that you can always return the username from the id, so this is not strictly necessary), you need to specify an id or uid in the table tag and build the link dynamically in the column body. The checkbox column from the AppFuse user list shows how thi

Re: [appfuse-user] Hidden Id in the List

2007-08-15 Thread Tony.Cesc
Excellent! Thanks Mike. May I have another question related. If I want to put username parameter and id parameter at the same time how can I do it? Greatly appreciate your effort Regards, Tony Michael Horwitz wrote: > > The user list page from AppFuse has a good example of how this can be >

Re: [appfuse-user] Hidden Id in the List

2007-08-15 Thread Michael Horwitz
The user list page from AppFuse has a good example of how this can be done: Rather than try and hide a column, simply remove the column and add the parameter to a link on the next column - the relevant elements are url, paramId and paramProperty. Mike. On 8/15/07, Tony.Cesc <[EMAIL PROTECTED]>

Re: [appfuse-user] Jetty 6.1 versus Tomcat 6.x

2007-08-15 Thread Tony.Cesc
I don't think Jetty is capable to deploy production. It's just using to development (very fast and easy to use). In production you should use Tomcat or Sun App Server. Regards, Tony gumiyo wrote: > > Anyone have done any performance benchmark between the two and any > preferences on which one i

[appfuse-user] Hidden Id in the List

2007-08-15 Thread Tony.Cesc
Hi all, In Person List, the Id will be shown in the first column. Is it possible to hide it but still keep them in the url when forward to another page? (e.g http://localhost:8080/private.html?id=1) I am trying to find out any property of display:column tag to hide value but it seem doesn't have