Re: Struts2 and spring2 fails, adding RequestContextFilter/Listener doesnt work.

2006-12-22 Thread Nuwan Chandrasoma
Hi Peder, This looks ok for me, try by adding "struts.objectFactory = spring" into struts.properties file and see Thanks, Nuwan. - Original Message - From: "Peder Larsen" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, December 23, 2006 3:31 AM Subject: Re: St

Re: Struts2 and spring2 fails, adding RequestContextFilter/Listener doesnt work.

2006-12-22 Thread Peder Larsen
Ok my config is: applicationContext.xml, http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:aop="http://www.springframework.org/schema/aop"; xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springf

Re: Struts2 and spring2 fails, adding RequestContextFilter/Listener doesnt work.

2006-12-22 Thread Nuwan Chandrasoma
Hi Peder, I have used spring2 with struts2 for a small example app.., it worked for me, i will list you what i have done. 1. I have spring 2.0 jars and struts struts 2.0 jar 2. got hold of the applicationContext.xml for spring 2.0 , which has the DTD "http://www.springframework.org/dtd/spri

Re: Struts2 and spring2 fails, adding RequestContextFilter/Listener doesnt work.

2006-12-22 Thread Wendy Smoak
On 12/22/06, Peder Larsen <[EMAIL PROTECTED]> wrote: I've been trying for some time now to get my basic struts2 test up and running. The problem i have is that i need to inject one UserInfo pr session into my FooAction. I want to use spring2 for this since it has better "scope" support than spri

Re: Struts2 and spring2 fails, adding RequestContextFilter/Listener doesnt work.

2006-12-22 Thread Peder Larsen
Ok, I think it would be better if some helpful soul which has successfully used struts2 with spring2 to simply add their struts.xml, applicationContext.xmland maybe also the pom.xml for the project here so i can have a look at it. Also maybe if you have the time shorten down the XMLs to only the

[s2] dropdowndatetimepicker

2006-12-22 Thread Dariusz Wojtas
Hi, I ma trying to use the dropdowndatetimepicker tag but with little success. My Action defines field java.util.Date registrationDate; And here is my JSP part: Questions that I's like to ask: a) how do I force the tag to load initially with a value from the property? If I set the prope

Re: I think I want to convert to S2 !

2006-12-22 Thread Ted Husted
The release notes covering migrating from W2 to S2. It's mainly a matter of renaming classes. Everything that's changed or been removed since W2 is covered in the notes. * http://struts.apache.org/2.x/docs/release-notes-200.html * http://struts.apache.org/2.x/docs/release-notes-201.html * http://

Re: I think I want to convert to S2 !

2006-12-22 Thread Rick Schumeyer
I am aware that S2 comes from (or merged with) WebWork. I don't have any idea how S2 differs from WW, or how much of the WW book still applies to S2. Does the example from WebWork in Action still work under S2? If I were to purchase WebWork in Action, can someone explain which parts still ap

Re: [S2] s:iterator and s:checkboxlist inside (using 2.0.2 trunk)

2006-12-22 Thread Dariusz Wojtas
I have found a solution after lots of experiments. I am still not sure what caused the problems (I tried tons of variants in the JSP) but finally it started to work. No changes in the action code, only in the JSP block. It started to work after I added jstl into the game and dropped the s:iterate

index.action problem

2006-12-22 Thread Wesley Wannemacher
Hello, I have a small problem and was wondering if anyone else has come across it. In Tomcat 5.5 (and possibly other versions), tomcat will check for the existence of a file and if it doesn't exist send out a 404 before it can be handled by struts when it comes to welcome-files... For instance,

Struts2 and spring2 fails, adding RequestContextFilter/Listener doesnt work.

2006-12-22 Thread Peder Larsen
Hi I've been trying for some time now to get my basic struts2 test up and running. The problem i have is that i need to inject one UserInfo pr session into my FooAction. I want to use spring2 for this since it has better "scope" support than spring1. But all my efforts (scamming through forums,

Re: Version Question Pre 2.0

2006-12-22 Thread Joseph McGranaghan
I don't really know much about Spring, I never used it. I use Torque now and haven't needed a change yet. -Joe Bruno Melloni wrote: Struts 1.2.9 is particularly attractive because Spring 2.0 "officially" supports 1.2.9. Of course, every report I've heard is that 1.3.5 and even Struts 2.0.x wo

Re: struts2 how to access a param s:include

2006-12-22 Thread Tim Azzopardi
Tim Azzopardi wrote: > > If I have, > > > > > > How do I access param1 in fleetSelect.jsp? > > I've tried a load of combinations and can't get anything to work. > > (Sorry for the dumbass question , i've read and reread the docs - i think > I'm going snowblind) > > struts-2.0.1 >

Tiles putList question

2006-12-22 Thread Rick Mangi
Hello list, I am trying to use a putList in tiles to insert a list of pre-defined tile definitions. I've tried a number of ways to render the two tiles from the list on my

Validation Error

2006-12-22 Thread Jim Reynolds
I am having a bad time moving from Tomcat 4.1 to Tomcat 5.20. I basically took a webapp and moved it to the new server, and all functionality works except for validation. As odd as it may seem, any form that is "required" does not forward back to the view unless I put bad data into the field. If

struts2 how to access a param s:include

2006-12-22 Thread Tim Azzopardi
If I have, How do I access param1 in fleetSelect.jsp? I've tried a load of combinations and can't get anything to work. (Sorry for the dumbass question , i've read and reread the docs - i think I'm going snowblind) struts-2.0.1 -- View this message in context: http://www.nabble.c

RE: Struts Layout Extension Library & Alternatives solutions

2006-12-22 Thread Andrew Martin
The basic renderer for basicCollection automatically adds multiple tables for the most basic list. For example a simple layout:collection may look like this in the JSP the HTML created contains TWO tables, the inner table containing the collection has fixed cellspacing/paddi

RE: Version Question Pre 2.0

2006-12-22 Thread Bruno Melloni
Struts 1.2.9 is particularly attractive because Spring 2.0 "officially" supports 1.2.9. Of course, every report I've heard is that 1.3.5 and even Struts 2.0.x work well with Spring 2.0, but it's not the "officially supported" version. bruno -Original Message- From: Joseph McGranaghan [ma

Re: I think I want to convert to S2 !

2006-12-22 Thread Musachy Barroso
I've been playing with S2, Spring and JPA (using Hibernate) on eclipse, I thought of writing a quickstart tutorial and post it on the wiki. musachy Rick Schumeyer wrote: I may regret this, but I think I'm reaching the point with S1 where I'm really tempted to give S2 a serious try. My bigge

Form Bean not able to read form rendered from xml/xsl

2006-12-22 Thread Rajeev Kumar Pandey
Hi All, I am new to this mailing list, so might not be able to pose my question appropriately. Kindly bear with me. I am facing an issue with use of form beans in my project to read html forms rendered through xml/xsl. When I use UserId hidden

Re: Version Question Pre 2.0

2006-12-22 Thread Joseph McGranaghan
Why not 1.3.5 with chains and stuff. I just successfully upgraded from 1.2.9 with minor headaches. I also use sslext and many other things. -Joe Jim Reynolds wrote: Are there major differences between 1.24 and 1.29? I am having lots of validation problems, and problems with the SSLExt in the 1

Re: I think I want to convert to S2 !

2006-12-22 Thread Ted Husted
The running example in WebWork in Action uses Hibernate. In fact, it's a wrapper around the auction example from Hibernate in Action. -Ted. On 12/21/06, Rick Schumeyer <[EMAIL PROTECTED]> wrote: I may regret this, but I think I'm reaching the point with S1 where I'm really tempted to give S2 a

Re: [S2] Struts 2 GA Release Anytime Soon?

2006-12-22 Thread Ted Husted
Just to clarify my prior post, the only issues are organizational. The AJAX support in Struts 2.0.2 is better than ever, but we are just trying to decide whether it belongs in the Core or should be moved to a plugin. We've already moved a number of other features to plugins, including the Spring o

Re: [FRIDAY] Christmas holidays

2006-12-22 Thread Martin Gainty
for all those from Brooklyn Happy Festivus Feliz Navidad Martin-- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain informati

R: [FRIDAY] Christmas holidays

2006-12-22 Thread Marcello Savino
>P.S. Only one reccomendation: be nice :-) We are ;-) Merry Xmas folks ! Marcello Savino ALDEBRA S.p.A. tel. 0461302441 -Messaggio originale- Da: Antonio Petrelli [mailto:[EMAIL PROTECTED] Inviato: venerdì 22 dicembre 2006 14.12 A: Struts Users Mailing List Oggetto: [FRIDAY] Christma

[FRIDAY] Christmas holidays

2006-12-22 Thread Antonio Petrelli
Hi all I've managed to get holidays until 1st January, so probably I am not going to write/read this mailing list (and I won't read the developers list too, but I am too lazy to add a "To:" value to the mail :-) ) I wish you all have a merry Christmas and a shining new year. Antonio P.S. Only

[S2] s:iterator and s:checkboxlist inside (using 2.0.2 trunk)

2006-12-22 Thread Dariusz Wojtas
Hi, I have such properties in my action: private ArrayList extensionGroups = null; private HashMap> groupedExtensions = null; The 1st list contains only some 'Extension' elements. The 2nd map contains other lists of extensions (values) with some property (treeNo) from the parent used as the key

RE: Struts Layout Extension Library & Alternatives solutions

2006-12-22 Thread nagesh.kumar
There is no any hard coded we have implemented Struts:layout Ui changes u can done by changing the DataGrid.css file TABLE.DATAGRID { background-color:#cbe2fa; /this is for header background border-width=2px; border-color: #FF; }

Struts Layout Extension Library & Alternatives solutions

2006-12-22 Thread Andrew Martin
We are thinking about integrating the Struts Layout Extension Library into our current struts project. At the moment I have the basic functionality working, but I have noticed that there are some UI restrictions (hardcoded style attributes in the basic collection table interface) which are ann