[appfuse-user] problem of deleting selected users in display tag

2007-04-27 Thread jithesh
haii... I am using Display tag to list the users with different columns. i have given check box for all raws. How to perform operation only on selected users that are ticked on check box. Currently i want to add selected users to some other table. so how to get those field that are only se

Re: [appfuse-user] finding appfuse tutorial classes in netbeans

2007-04-27 Thread Matt Raible
This is a known issue with NetBeans and unfortunately we don't have a solution. The good news is AppFuse works fine with IDEA and Eclipse. In the future, we plan on creating a full-source version that doesn't use the warpath plugin - hence there won't be these problems. In the meantime, you might

Re: [appfuse-user] NullPointerException when trying to populate in test case

2007-04-27 Thread celeraman+
Thank you for your feedback, Chun-Yian Liew! Thank you for your support, Philip Barlow! Now I know that I'm not getting crazy... ;) Well, I harcoded my properties too and I will back this question in a near future. For now, I'm running the Manager facade tests and it's all Ok! So I will be gl

Re: [appfuse-user] NullPointerException when trying to populate in test case

2007-04-27 Thread Chun-Yian Liew
Hmmm, that would mean starting to change one of the appfuse core test classes. I think I will set the test values hardcoded for now. But your workaround will definitely be very usefull for me in the future in case this problem remains in future appfuse releases. Thanks for the tip!! Philip Barl

Re: [appfuse-user] NullPointerException when trying to populate in test case

2007-04-27 Thread Philip Barlow
I had this problem before and i got around it by using commons beanutils instead of springs implementation, you also have to switch "source" and "destination" parameters in the copyproperties method as commons takes them in the opposite way. Don't know if there are any advantages to using springs

Re: [appfuse-user] NullPointerException when trying to populate in test case

2007-04-27 Thread Chun-Yian Liew
Correction, the sentence "The keys of those two entries are "null" and "class" both having a PropertyDescriptor as value." should have been "The keys of those two entries are "empty" and "class" both having a PropertyDescriptor as value." in my previous post. Chun-Yian Liew wrote: > > cele

Re: [appfuse-user] NullPointerException when trying to populate in test case

2007-04-27 Thread Chun-Yian Liew
celeraman+, have you managed to get the properties based population working? I am currently running into a similar kind of a problem with the appfuse tutorial PersonDaoTest example. I am also trying to populate the Person object with the populate method of the BaseDaoTestCase class. At first I re

[appfuse-user] finding appfuse tutorial classes in netbeans

2007-04-27 Thread Paul_King
I'm using Netbeans with the Mevenide 2.0 module to look at the struts2 tutorial. Netbeans can't seem to find any of the org.appfuse classes when I open the PersonAction source. Is there some special trick to help Netbeans locate the appropriate jar? paul -- View this message in context: http

Re: [appfuse-user] optimal mysql configuration on linux

2007-04-27 Thread dev dev
i don't have access to IRC right now. Hopefully Mark can answer directly to the email thread. thanks dev On 4/27/07, Doug Pham <[EMAIL PROTECTED]> wrote: If someone get this type of information, post it here. I'll be interested to hear, I don't want to go there and ask Mark the same questions

Re: [appfuse-user] optimal mysql configuration on linux

2007-04-27 Thread Doug Pham
If someone get this type of information, post it here. I'll be interested to hear, I don't want to go there and ask Mark the same questions again :-) Cheers, Doug Matt Raible <[EMAIL PROTECTED]> wrote: You might try joining the AppFuse IRC channel - MySQL's Mark Matthews hangs out in there a f

Re: [appfuse-user] Web Tests failing because of BaseControllerTestCase

2007-04-27 Thread Matt Raible
You might try downloading and re-installing Ant - maybe there's something in your $ANT_HOME/lib directory. Matt On 4/27/07, joejakes <[EMAIL PROTECTED]> wrote: Hi Matt, I tried to run the tests in Eclipse after setting the Ant Runtime configurations. The tests are successfully passing in Ecli

Re: [appfuse-user] Web Tests failing because of BaseControllerTestCase

2007-04-27 Thread joejakes
Hi Matt, I tried to run the tests in Eclipse after setting the Ant Runtime configurations. The tests are successfully passing in Eclipse but it is failing on the command-line. So I guess it has got something to do with the ant configuration. Do you have any idea what is causing the trouble? I w

Re: [appfuse-user] optimal mysql configuration on linux

2007-04-27 Thread Matt Raible
You might try joining the AppFuse IRC channel - MySQL's Mark Matthews hangs out in there a fair bit. http://appfuse.org/display/APF/IRC+Channel Matt On 4/27/07, dev dev <[EMAIL PROTECTED]> wrote: If we are running drupal (or Java) + Mysql on a production linux machine, what is the recommended

[appfuse-user] optimal mysql configuration on linux

2007-04-27 Thread dev dev
If we are running drupal (or Java) + Mysql on a production linux machine, what is the recommended MySQL configuration to get the most optimal performance? We are running on MySQL 5 and innodb as db type. Currently, we set innodb_open_files 300 open_files_limit 65535 Thanks dev

Re: [appfuse-user] ClassNotFound but library has the class

2007-04-27 Thread Matt Raible
At this point, you probably have more Pentaho experience than anyone else. I'd suggest asking questions on their forums/mailing list and mention that you're trying to get it working in a Maven 2 environment. Matt On 4/27/07, nmall <[EMAIL PROTECTED]> wrote: Thanks, Matt. I changed the Pentaho

[appfuse-user] ClassNotFound but library has the class

2007-04-27 Thread nmall
Thanks, Matt. I changed the Pentaho HibernateUtil class file to use annotations. However, I am getting a ClassNotFoundException though the class is present in the library in WEB-INF/lib. I installed the library in the local maven repository and then did a mvn -e compile and mvn -e jetty:run-war. H

Re: [appfuse-user] query about url encryption

2007-04-27 Thread Nathan Anderson
I agree, encryption does not really solve the problem if the users are determined to get to the data. The better way to fix this is to implement more Acegi features [e.g. method invocation interceptors] so users can only access the methods and objects they should be able to get to. Nathan -

Re: [appfuse-user] query about url encryption

2007-04-27 Thread Jason Brice
I think a much better way to do this would be to control what users have access to what data through the service layer your application than try and fool them with encrypted parameters. If you must, you could always base64 encode/decode the parameters. That would turn the string "How now brown co

Re: [appfuse-user] Database driven struts menu and filter

2007-04-27 Thread Jonathan Tse
Matt, I suppose you are talking about the HttpSessionListener interface. I got it working now. Thanks. Best regards, Jonathan Matt Raible wrote: You could use an HttpSessionActivationListener and do it that way - stuff the menu repository in the session of each new user. Matt On 4/27/

Re: [appfuse-user] Database driven struts menu and filter

2007-04-27 Thread Jonathan Tse
Matt, Thanks for your pointer. I am not familiar with HttpSessionActivationListener so i write one filter to test it. I notice that contextInitialized is called. I expected that sessionDidActivate() method will be called when there is a request from a client. However, it is not what i expe

Re: [appfuse-user] i18n in action

2007-04-27 Thread tibi
have now: not thread safe etc just a start import java.util.ResourceBundle; import org.apache.log4j.Logger; import org.appfuse.Constants; import org.appfuse.model.BaseObject; import org.springframework.context.i18n.LocaleContextHolder; public abstract class MyBaseObject extends BaseObject {

Re: [appfuse-user] Database driven struts menu and filter

2007-04-27 Thread Matt Raible
You could use an HttpSessionActivationListener and do it that way - stuff the menu repository in the session of each new user. Matt On 4/27/07, Jonathan Tse <[EMAIL PROTECTED]> wrote: Hi all, I am using Spring 1.9.4 and Spring MVC. I want to make a strut menu from database. According to th

[appfuse-user] Database driven struts menu and filter

2007-04-27 Thread Jonathan Tse
Hi all, I am using Spring 1.9.4 and Spring MVC. I want to make a strut menu from database. According to the Database Driven Menu example, it suggests using filter to preload the data to the menu repository. I have written my data loading logic in service manager already, so how i can injec

Re: [appfuse-user] Mysql Views + Hibernate with Spring HibernateTemplate classes

2007-04-27 Thread Michael Horwitz
Have you tried turning on sql tracing to see what Hibernate is up to? May shed some light. I also note that you declared a table in the bag mapping - this is not required when using a a one-to-many mapping and there is a spelling mistake in the VWGroupMemberDeails class name. Is this as it should

Re: [appfuse-user] i18n in action

2007-04-27 Thread tibi
yes works great: ResourceBundle messages = ResourceBundle.getBundle(Constants.BUNDLE_KEY, LocaleContextHolder.getLocale()); logger.debug(messages.getString("company.url")); and make sure you import: import org.appfuse.Constants; i will make a myBaseObject

Re: [appfuse-user] query about url encryption

2007-04-27 Thread ajay pokale
I want to do this,because when we are passing some parameter id or methods names some through url ,some users are modifying 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 wh

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 ajay pokale
If we go on suppose yahoomail.com and do login, then we get a encrypted url in our browser . Like that If i click on url suppose http://appfuse.org/display/APF/Web+Filters Then it should look like in browser for example http://appfuse.org/display/APF/Xfc+GjMufst Should encrypt the letters