Re: What are Pros and Cons for Struts 2?

2008-11-07 Thread Gabriel Belingueres
Pros: Easy to learn and start with (some free books available.) Great community (mailing list.) Very extensible. Cons: Sporadic releases. Javascript validation framework is very limited for non ajax apps. Multiple rendering technologies make their component model hard to modify or extends (paralle

Re: struts 1: use of tag

2008-11-07 Thread Dave Newton
--- On Fri, 11/7/08, James Richter wrote: > I looked at tag doc and still don't figure out what value > should go to its id attribute. Whatever you want--the "id" attribute defines the name of the scoped variable holding the response data of the requested resource. Dave -

struts 1: use of tag

2008-11-07 Thread James Richter
Hi, I looked at tag doc and still don't figure out what value should go to its id attribute. Can anyone explain some? Thanks. -- View this message in context: http://www.nabble.com/struts-1%3A-use-of-%3Cbean%3Ainclude...-%3E-tag-tp20389013p20389013.html Sent from the Struts - User mailing li

Re: Multi org support with i18n

2008-11-07 Thread Paweł Wielgus
Hi Manish, as i don't know requirements of Your apps, i might be not accurate. For me localization is something completly different that cutomer customization. So solving it with same mechanizm might bring You more troubles than solutions. One important question is if inside one running app more th

Re: How traumatic is to migrate from struts version 1.2 to struts version 2.0 ???

2008-11-07 Thread hernan gonzalez
S2 and S1 are entirely different frameworks. The "migration" involves rewriting a lot, actions and jsp. They can coexist, though, and you can migrate gradually, by steps. We are doing that: two related webapps; the small one (25 actions, 70 jsp) is fully done, the other is about twice bigger and al

Re: Struts logic:iterate does not recognize the collection.

2008-11-07 Thread Dave Newton
--- On Fri, 11/7/08, SanJ.SANJAY wrote: > [...] I think the reason is that the moment it tries to read > proper xxxCollection in iterator tag, it throws error > "bean xxxCollection is not found in any any scope" Such information is useful; I don't recall you mentioning that before. > I am confus

Re: Struts logic:iterate does not recognize the collection.

2008-11-07 Thread SanJ.SANJAY
newton.dave wrote: > > The ">" characters are normally used to differentiate what I said from > what you said. Prefacing *every* line with ">" somewhat defeats the > purpose and breaks with tradition. > > --- On Fri, 11/7/08, SanJ.SANJAY wrote: >> I changed to put that in direct request also a

Re: Struts logic:iterate does not recognize the collection.

2008-11-07 Thread Dave Newton
The ">" characters are normally used to differentiate what I said from what you said. Prefacing *every* line with ">" somewhat defeats the purpose and breaks with tradition. --- On Fri, 11/7/08, SanJ.SANJAY wrote: > I changed to put that in direct request also and did'nt work: > request.setAttri

Re: Struts logic:iterate does not recognize the collection.

2008-11-07 Thread SanJ.SANJAY
newton.dave wrote: > > --- On Fri, 11/7/08, SanJ.SANJAY wrote: >> I am trying to display the collection that I am setting in >> struts action to the request scope. > > The code is putting it in session scope, FWIW: > >> request.getSession().setAttribute("xxxCollection", xxxCollection); >> [..

Re: Struts logic:iterate does not recognize the collection.

2008-11-07 Thread Dave Newton
--- On Fri, 11/7/08, SanJ.SANJAY wrote: > I am trying to display the collection that I am setting in > struts action to the request scope. The code is putting it in session scope, FWIW: > request.getSession().setAttribute("xxxCollection", xxxCollection); > [...] > > > Does it not recognize

Struts logic:iterate does not recognize the collection.

2008-11-07 Thread SanJ.SANJAY
I am trying to display the collection that I am setting in struts action to the request scope. But when I try to use struts to display the collection, it says does not find xxxCollection bean in any scope. In Action class: for (int i = 0; i < children.length; i++) { xxxCollection.add(filenam

Re: How traumatic is to migrate from struts version 1.2 to struts version 2.0 ???

2008-11-07 Thread Néstor Boscán
I´ve run through this and it was more complicated than I thought. You have to change how your action works, organize them into packages, change URLs, you have to think about what are you´re going to do on the JSP side, will you use OGNL or JSTL expressions?. validation, conversion. On Fri, Nov 7,

Re: How traumatic is to migrate from struts version 1.2 to struts version 2.0 ???

2008-11-07 Thread stanlick
While it it possible to migrate a Struts 1.x site to Struts 2, it would be better use of your time to write any new applications using S2 and let existing S1 sites churn along. It is possible for the two to coexist. On Fri, Nov 7, 2008 at 11:31 AM, Ariel <[EMAIL PROTECTED]> wrote: > Hie everybod

Re: How traumatic is to migrate from struts version 1.2 to struts version 2.0 ???

2008-11-07 Thread Musachy Barroso
Very On Fri, Nov 7, 2008 at 11:31 AM, Ariel <[EMAIL PROTECTED]> wrote: > Hie everybody: > I have a project working with struts 1.2 version, I would want to know How > traumatic is to migrate from struts version 1.2 to struts version 2.0 ??? > > Thanks in advance. > Greetings > Ariel > -- "He

How traumatic is to migrate from struts version 1.2 to struts version 2.0 ???

2008-11-07 Thread Ariel
Hie everybody: I have a project working with struts 1.2 version, I would want to know How traumatic is to migrate from struts version 1.2 to struts version 2.0 ??? Thanks in advance. Greetings Ariel

Multi org support with i18n

2008-11-07 Thread Manish Kumar Wadhwa
Hi, I need to provide multiple organization support in my struts2 based application. My requirement is to customize the text, images and css etc for the different organizations. The application also provides the multi-lingual support. To achive all these requirements, I am trying to have organ

Re: Use

2008-11-07 Thread doahh
Thank you very much indeed Wes! That is exactly what I am after. I hadn't realised I needed the 'attr' bit in the front, that will teach me not to be so pedantic. -- View this message in context: http://www.nabble.com/Use-%3Cjsp%3AgetProperty-as-value-of-struts2-tag-tp20381725p20382581.html Se

Re: Use

2008-11-07 Thread Wes Wannemacher
First off, you can't nest JSP tags that way... Try this - If you don't get the value you want or expect, try using with your OGNL expressions for a while until you get what you want. Also, read this page - http://struts.apache.org/2.x/docs/ognl.html It should point you in the right direction

Use

2008-11-07 Thread doahh
Hello, I have a jsp page that uses a custom iterate tag from a custom tag library. The tag puts objects into the pageContext but does not know anything about Struts2 (the values were retrieved through a plugin framework - JPF). While developing my tag I have been using -- View this message in c

Re: What are Pros and Cons for Struts 2?

2008-11-07 Thread Néstor Boscán
Hi Ryan In my experience: Pros: 1.- Form mapping!!!. Yes form mapping in Struts 1 is horrible. 2.- Conversion support 3.- Interceptor support 4.- Better AJAX Support 5.- Lightweight vs JSF The framework is very flexible and you can adjust it to your needs. Cons: 1.- Themes. They make the fram

Re: What are Pros and Cons for Struts 2?

2008-11-07 Thread 928572663
Here are a few of the things that struts2 does better: * OGNL syntax for accessing data in your webpages is much more elegant * Web pages can access data in the Action class rather than only through a form bean * Action classes can serve up more than one form bean * Form beans can be just POJO

Re: What are Pros and Cons for Struts 2?

2008-11-07 Thread Torsten Krah
On Friday 07 November 2008 07:03:56 Mead Lai wrote: > don't like the theme. Thats what i like most - i can design the tag layout with minimal work, really nice idea this theme thing. -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.gnu.org/philosophy/no-word-attachm

Re: What are Pros and Cons for Struts 2?

2008-11-07 Thread stanlick
I would add access to folks here on the mailing list is akin to having access to the developers in many cases. Unlike customer support for some commercial software, your questions here are actually understood! Peace, Scott On Thu, Nov 6, 2008 at 10:48 PM, ryan webb <[EMAIL PROTECTED]> wrote: >

RE: Unit Testing Advice

2008-11-07 Thread Gundersen, Richard
D'oh, don't know how I missed that lol - thanks a million Richard Gundersen Java Developer Email: [EMAIL PROTECTED] Phone: 01618302398 Fax: 01618342536 London Scottish Bank plc 24 Mount Street Manchester M2 3LS -Original Message- From: Nils-Helge Garli Hegvik [mailto:[EMAIL PROTECTED]

Re: Unit Testing Advice

2008-11-07 Thread Nils-Helge Garli Hegvik
Is this what you're looking for? http://svn.opensymphony.com/svn/xwork/tags/xwork_2_0_6/ Nils-H On Fri, Nov 7, 2008 at 12:02 PM, Gundersen, Richard <[EMAIL PROTECTED]> wrote: > Hi, I'm still struggling with this :( > > I am trying to debug the XWork class (LocalizedTextUtil) that's throwing > the

RE: Unit Testing Advice

2008-11-07 Thread Gundersen, Richard
Hi, I'm still struggling with this :( I am trying to debug the XWork class (LocalizedTextUtil) that's throwing the null pointer. However I see that Struts 2.0.12 uses xwork 2.0.6, but I can't get the source for that anywhere (it doesn't even seem to be tagged in the Xwork repository). So, I tried

Re: [s2.0.12]Client validation not working

2008-11-07 Thread esemba
great, that's sure this issue. Looking forward to 2.0.13. Thanks. Nils-Helge Garli wrote: > > It's probably this issue: https://issues.apache.org/struts/browse/WW-2849 > > A similar discussion: > http://www.nabble.com/s%3Adatetimepicker-doesn%27-t-work-after-upgraded-to-struts2.0.12-td20245780

Re: [s2.0.12]Client validation not working

2008-11-07 Thread Nils-Helge Garli Hegvik
It's probably this issue: https://issues.apache.org/struts/browse/WW-2849 A similar discussion: http://www.nabble.com/s%3Adatetimepicker-doesn%27-t-work-after-upgraded-to-struts2.0.12-td20245780.html Nils-H On Fri, Nov 7, 2008 at 2:01 AM, esemba <[EMAIL PROTECTED]> wrote: > > I've a problem with

Re: What are Pros and Cons for Struts 2?

2008-11-07 Thread ryan webb
Wow! Thanks! Information written are really helpful! =P On Fri, Nov 7, 2008 at 2:24 PM, Wes Wannemacher <[EMAIL PROTECTED]> wrote: > Pros - > > Easy integration with just about anything - >Spring >Freemarker >JS Frameworks like JQuery, YUI >Sitemesh >Tiles