RE: Struts2 - JSF Plugin - Richfaces

2010-07-19 Thread Stefano Corallo
Hi Martin, thanks for you reply: the jsf plugin is here: http://struts.apache.org/2.x/docs/jsf-plugin.html is one of the bundled plugin. Il giorno dom, 18/07/2010 alle 11.30 -0400, Martin Gainty ha scritto: 2 different architectures JSF does NOT have a FE controller..struts does JSF does

Re: Any way to load resources in java.util.ResourceBundle

2010-07-19 Thread J_e_f_f
D'oh! Yeah, that was a typo. Should say struts.xml. Could you post some relevant code snippets? Also, do you see anything in the logs when the application starts up? Jeff Greg Akins-2 wrote: On Fri, Jul 16, 2010 at 9:24 PM, J_e_f_f jam0...@gmail.com wrote: If you're specifying your

RE: Help Dojo TagLibs

2010-07-19 Thread Martin Gainty
last time i checked templateDir was in struts.properties which would configure templateDir for the entire webapp you can also override templateDir attribute in the component definition sx:datetimepicker templateDir=NewDirectoryForTemplate / musachy would also know where these values are

Re: Repopulating rich controls

2010-07-19 Thread Greg Lindholm
What you are describing as odd behavior is actually normal and expected. With Struts the URL shown in the browser will always be the action name it will never be the jsp. You may wish to read up a little on how Servlets and forwarding works (just google servlet forward). Just replying I did what

RE: Repopulating rich controls

2010-07-19 Thread Guy Thomas
Hello Greg, What I did, is explained and illustrated with code in my first mail (see below). To recap: 1. I used an action tag, not the prepare interface. So in index.jsp I used in the form: s:action name=bookactions namespace=/ executeResult=true / The bookactions action refers to

Re: struts2+hibernate+spring - lazyInitaializationException

2010-07-19 Thread Lukasz Lenart
Hi, I really don't see how Struts2 can messed it up. Would you try to write a unit test to check that? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To

Re: struts2+hibernate+spring - lazyInitaializationException

2010-07-19 Thread Brian Thompson
Looks to me like the session is being closed in the scope of hibernateTemplate.get(). I don't see a transactionManager mentioned in the XML ... you could try adding something like this in the XML configuration file: bean id=transactionManager

JPA + Hibernate, necessary jars?

2010-07-19 Thread JP Cafaro
I'm following a tutorial on struts 2 with JPA and hibernate and spring and they gave me list of jars that I needed but most of them are outdated. Some are included in other jars, have different names, etc. Is there one package that just has all of the up to date jars I need?

RE: Help Dojo TagLibs

2010-07-19 Thread Martin Gainty
//here is my struts.properties ### Standard UI theme ### Change this to reflect which path should be used for JSP control tag templates by default struts.ui.theme=xhtml struts.ui.templateDir=template #sets the default template type. Either ftl, vm, or jsp struts.ui.templateSuffix=ftl //so

Re: struts2+hibernate+spring - lazyInitaializationException

2010-07-19 Thread Greg Stasica
hi, thanks for your replies lukasz i'm not sure where the problem exactly is but after my additional test i don't think it's s2 related... i'll try to check hibernate brian i've done tests with your changes but to no avail... still the same problem even when my dao implementation class has a

Re: struts2+hibernate+spring - lazyInitaializationException

2010-07-19 Thread Robert Taylor
Hi Greg, I believe Brian is correct. You need to wrap BookDao.find(...) within a transaction or use OpenSessionInView. Either one of these should keep the session open when you are navigating the object graph in your DAO. If you use OSIV (OpenSessionInView) filter, then you can navigate the

Re: Readonly Datetimepicker.

2010-07-19 Thread Chris Miles
How easy could I patch the code myself to do this? Can struts tags be built publically through maven or anything? Thanks Chris - Original Message - From: Chris Miles ch...@chrismiles.org To: Struts Users Mailing List user@struts.apache.org Sent: Saturday, July 17, 2010 6:34 PM

Re: struts2+hibernate+spring - lazyInitaializationException

2010-07-19 Thread Greg Stasica
hi, thanks for all your help... as it turned out the problem was in my configuration :).. basically one of my service wasn't annotated with @Transaction tag and as a consequence my template was closing the session .. On Mon, Jul 19, 2010 at 8:44 PM, Robert Taylor rtay...@dtgresults.comwrote: