Re: [appfuse-user] Ajax with Acegi question

2007-10-16 Thread Michael Horwitz
Have you included your new pattern above the /**/*.html*=ROLE_ADMIN,ROLE_USER line? If yes, then try: /test/*.html*=ROLE_ANONYMOUS,ROLE_ADMIN,ROLE_USER Mike On 10/15/07, Artem G. Nickolaenko <[EMAIL PROTECTED]> wrote: > > Hello from Ukraine, > > This http://appfuse.org/display/APF/Ajax tutorial

Re: [appfuse-user] Bean property not readable

2007-10-16 Thread Michael Horwitz
The property name should probably be ANamedAFile - if the first two characters of your getter are capitalised, then the property normally keeps them that way. Mike. On 10/15/07, John Kwon <[EMAIL PROTECTED]> wrote: > > I'm getting this error with one of my pojos. I can't see where the > getters

[appfuse-user] appfuse session variable when logged in

2007-10-16 Thread ttux
Hi, This question is more in relation with jsp than with appfuse but I would like to print all the session variables set when you log in to appfuse. How can I do that? I wanted to know as well how you would do to make something like: if(admin) { } else { } Thank you in advance for your help. --

Re: [appfuse-user] appfuse session variable when logged in

2007-10-16 Thread Michael Horwitz
On 10/16/07, ttux <[EMAIL PROTECTED]> wrote: > > > Hi, > > This question is more in relation with jsp than with appfuse but I would > like to print all the session variables set when you log in to appfuse. > How > can I do that? > > I wanted to know as well how you would do to make something like:

[appfuse-user] mvn eclipse:eclipse classpathentry src/main/webapp -> target/test-classes

2007-10-16 Thread SamImari
Hi, Is it ok that in eclipse the output of "src/main/webapp" points to "target/test-classes"? Regards SAM Environment: Windows 2000 Maven 2.0.6 JDK 1.5 Eclipse Version: 3.3.0 Build id: I20070621-1340 Steps I did: created struts2- project with mvn archetype:create -DarchetypeGroupId=org.app

[appfuse-user] throw org.apache.commons.beanutils.ConversionException: No value specified

2007-10-16 Thread Ma, Yong
Dear All: I used appfuse 1.9.4 version.add a DeliveryBill modul public class DeliveryBill extends BaseObject{ protected BigDecimal billValue; protected Timestamp createDate; throw ERROR [http-8080-Processor25] ActionExceptionHandler.logException(145) | org.apache.commons.beanutils.

[appfuse-user] No value specified

2007-10-16 Thread Ma, Yong
Dear All: I used appfuse 1.9.4 version.add a DeliveryBill modul public class DeliveryBill extends BaseObject{ protected BigDecimal billValue; protected Timestamp createDate; ... throw ERROR [http-8080-Processor25] ActionExceptionHandler.log

Re: [appfuse-user] Bean property not readable

2007-10-16 Thread John Kwon
That was it. On 10/16/07, Michael Horwitz <[EMAIL PROTECTED]> wrote: > > The property name should probably be ANamedAFile - if the first two > characters of your getter are capitalised, then the property normally keeps > them that way. > > Mike. > > On 10/15/07, John Kwon <[EMAIL PROTECTED]> wrote

[appfuse-user] maven command to populate db with JPA?

2007-10-16 Thread Joachim Ansorg
Hi, I'm a new user of appfuse 2.0 and enjoy it so far. I love the integration of all the parts into one usable piece of software. Currently I'm a bit overwhelmed by all the configuration options and parts of appfuse 2.0. The handbook says that I could use mvn hibernate3:hbm2ddl dbunit:oper

Re: [appfuse-user] maven command to populate db with JPA?

2007-10-16 Thread Michael Horwitz
Have you followed the steps in the tutorial re setting up your project to use JPA?(http://www.appfuse.org/display/APF/Using+JPA#UsingJPA-setup). It mentions you need to change the Hibernate 3 plugin to use JPA - from the trace below it looks like this has not been done? Mike On 10/16/07, Joachim

Re: [appfuse-user] maven command to populate db with JPA?

2007-10-16 Thread Joachim Ansorg
Mike, thanks for the hint! I already had the changes in core/pom.xml but I noticed I ran the command in / and not in /core. Executing it in /core is working fine. This seems like a great user community! Joachim Have you followed the steps in the tutorial re setting up your project to use JPA

Re[2]: [appfuse-user] Ajax with Acegi question

2007-10-16 Thread Artem G. Nickolaenko
Now I have this pattern in acegi:                  CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON                 PATTERN_TYPE_APACHE_ANT                 /admin/*=ROLE_ADMIN                 /passwordhint.html*=ROLE_ANONYMOUS,ROLE_ADMIN,ROLE_USER                 /signup.html*=ROLE_AN

[appfuse-user] Intercepting Web Service requests

2007-10-16 Thread George.Francis
Hello, I want to intercept requests to the XFire WebService. I will be checking these requests to ensure that the user who sent the request has permission to execute the particular SOAP method being called. Is the best way to do this by writing my own subclass of org.codehaus.xfire.spring.XFireS

Re: [appfuse-user] Intercepting Web Service requests

2007-10-16 Thread George.Francis
Looking ito it, it may be better to override XFireServletController. If this is true, how could I substitute my custom controller into the XFireServlet? George.Francis wrote: > > Hello, I want to intercept requests to the XFire WebService. I will be > checking these requests to ensure that th

Re: [appfuse-user] Intercepting Web Service requests

2007-10-16 Thread Ron Anderson
You might want to look at xfire's in and out handlers. Here is a link to xfire ws security that talks about them. http://xfire.codehaus.org/WS-Security - Original Message From: George.Francis <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, October 16, 2007 7:27:49 AM

[appfuse-user] How to configure customized ReverseEngineeringStrategy in AppFuse2.0

2007-10-16 Thread stonebox2007
Hi all, I've implemented a ReverseEngineeringStrategy named MyRevEngStrategy, but how to configure the custermized class MyRevEngStrategy? I think if configured the class correctly, we can run the command 'mvn appfuse:gen-model' to generate POJOs from database. Is there anyone can help me for it?

[appfuse-user] Taglibs include on Websphere 6

2007-10-16 Thread reddeagle9
Hi Guys, Strange problem!. i was developing my code on tomcat. everything working great and have just moved my project over to deploy on Websphere 6. The framework of the project works fine. goes in and out of the db etc but i am having huge problems on the jsp side of things. within my default

[appfuse-user] tomahawk dojoInitializer

2007-10-16 Thread kace
Hi fellas, has anyone used this - - in appfuse successfully? The following should produce a pretty neat html editor but all Im getting is the input text area. If there is anyone who has gotten this to work would be so kind as to offer some

[appfuse-user] Spring MVC form for JoinTable

2007-10-16 Thread George.Francis
Hi, Can someone please point me to a good reference for implementing a jsp to edit entries in a ManyToOne join table between by beans? Cheers, -- View this message in context: http://www.nabble.com/Spring-MVC-form-for-JoinTable-tf4636094s2369.html#a13240212 Sent from the AppFuse - User mailing l

Re: [appfuse-user] Spring MVC form for JoinTable

2007-10-16 Thread Michael Horwitz
This is one of the more popular: http://mattfleming.com/node/134 Mike On 10/16/07, George.Francis <[EMAIL PROTECTED]> wrote: > > > Hi, > Can someone please point me to a good reference for implementing a jsp to > edit entries in a ManyToOne join table between by beans? > Cheers, > -- > View this

[appfuse-user] MappingException in OneToMany bean relationship

2007-10-16 Thread George.Francis
In my datamode an Application is associated with many Operations, so I added a List member variable to my Applications class, ie: private List operations; public List getOperations() ; When I run mvn hibernate3:hbm2ddl, I get: org.hibernate.MappingException: Could not determine type for: java.u

Re: [appfuse-user] Problemn associating entities via form

2007-10-16 Thread George.Francis
Would that be ApplicationFormController's initBinder method? This is my setAsText method: public void setAsText(String text) throws IllegalArgumentException { Customer obj; if (text == null || text.length() == 0) { setValue(n

Re: [appfuse-user] Problemn associating entities via form

2007-10-16 Thread George.Francis
Do I have to change the equals() method too? Now I get the following on the ApplicationForm: [ismid] ERROR [http-8080-Processor25] OptionsTag.doStartTag(84) | java.lang.Long cannot be cast to com.ism.ismid.model.Customer java.lang.ClassCastException: java.lang.Long cannot be cast to com.ism.ismi

[appfuse-user] Questions about search form.

2007-10-16 Thread Rick Guo
Hi all, I want to add search function to my app based on Appfuse 2.0m5. The UseCase: Search Industral project by project name. So i need a search form to do the task. The following is what i want to do: 1) Add a ProjectSearchController which extends AbstractCommandController. 2) Add a projectsea