s:select detail question for preselected

2013-08-02 Thread john lee
for following jsp, i can retrieve the data from KeywordcategoryAction for no problem,     the contents of retrieved list is   Motor   Electrical   Temperature       but, the default value(why) as defined from KeywordcategoryAction did not wor

Re: Broken link to OGNL

2013-08-02 Thread Antonio Sánchez
Sorry, I didn't explain correctly, I meant the link inside that page: OGNL is the Object Graph Navigation Language (see http://www.opensymphony.com/ognl for the full documentation of OGNL) El Viernes, 2 de agosto de 2013 15:44:06 Dave Newton escribió: > That's a link to the S2-specific O

sj:select default value not load

2013-08-02 Thread john lee
  For struts2 sj:select tag from google         for above jsp file, i can retrieve the data from KeywordcategoryAction for no problem   but, the default value(why) as defined from KeywordcategoryAction did not working at all   I try to change from value="why" to valu

Re: Broken link to OGNL

2013-08-02 Thread Dave Newton
That's a link to the S2-specific OGNL info. We should links to the project, but not at the expense of removing information that isn't part of OGNL itself. Dave On Aug 2, 2013 3:26 PM, "Antonio Sánchez" wrote: > In > > http://struts.apache.org/development/2.x/docs/ognl.html > > link to OGNL shou

Broken link to OGNL

2013-08-02 Thread Antonio Sánchez
In http://struts.apache.org/development/2.x/docs/ognl.html link to OGNL should be updated to be http://commons.apache.org/proper/commons-ognl/ The same for all pages where OGNL is linked.

Re: How to initiate the select tag with empty list

2013-08-02 Thread Sreekanth S. Nair
Ok :) thanks. -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Aug 2, 2013 at 11:55 PM, Chris Pratt wrote: > No, that's why you can give it an empty list, you

Re: How to initiate the select tag with empty list

2013-08-02 Thread Chris Pratt
No, that's why you can give it an empty list, you just can't give it null. You may be able to specify list="%{{}}" which should be OGNL syntax for an empty list. (*Chris*) On Fri, Aug 2, 2013 at 11:06 AM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > I understood your point ch

Re: How to initiate the select tag with empty list

2013-08-02 Thread Sreekanth S. Nair
I understood your point chris, This _multiselect_xyz parameter is created by a struts multiselect tag , does it playing any role? Not for a debate but as a question, does struts2 select tag is going to loose anything if it renders an empty select ? -- Thanks & Regards Srikanth On Fri, Aug 2, 20

Re: How to initiate the select tag with empty list

2013-08-02 Thread Chris Pratt
There's no real advantage to using the tag if you already no there's no data to be displayed (remember, the struts tags are for display only, they play absolutely no part in processing the posted form). What you need is an empty tag with a name that matches a mutator in your action. Struts (and

Re: How to initiate the select tag with empty list

2013-08-02 Thread Sreekanth S. Nair
Now we are managing it with EmptyList only but i'm still not getting the notion behind throwing exception if struts2 select tag is provided with null reference instead why cant it show an empty select tag. -- Thanks & Regards Srikanth On Fri, Aug 2, 2013 at 11:0

RE: How to initiate the select tag with empty list

2013-08-02 Thread CRANFORD, CHRIS
You have to separate the notion of a use case where silently handling a null makes logical sense versus where it often would imply an error condition on the part of the developer. If the view expects an empty list, there is no quam in passing the value stack reference as a Collections.EMPTY_L

Re: How to initiate the select tag with empty list

2013-08-02 Thread Sreekanth S. Nair
That i know Chris. are you getting away from the question, i was talking about struts select tag. Apart from tht, I got problem with normal html select with struts2, its not generating _multiselect_xyz -- Thanks & Regards Srikanth On Fri, Aug 2, 2013 at 9:41 PM, Chris Pratt wrote: > It can, ju

Re: How to initiate the select tag with empty list

2013-08-02 Thread Chris Pratt
It can, just use a regular , instead of the (*Chris*) On Fri, Aug 2, 2013 at 12:36 AM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > Hi, > Sometimes we need to provide an empty select tag which will be > populated later depending on some value in form using ajax. Now its >

Re: Issue with parameters with Struts 2.3.15.1

2013-08-02 Thread Thim Anneessens
Ok, i'll test this and I'll come back to you. Thanks. On 08/01/2013 04:00 PM, Lukasz Lenart wrote: Can you test with the latest SNAPSHOT? This can be related to https://issues.apache.org/jira/browse/WW-4142 And you can di

Re: Apple sec breach.. Struts?

2013-08-02 Thread Christian Grobmeier
On Fri, Aug 2, 2013 at 7:01 AM, Jim Macalister wrote: > To get to my point. Struts2 is a great framework and we do use it for > production systems. I think we should all contribute at least by donating > directly to the struts2 developers. This will ensure the life of the > project as well. I sugg

Re: Is there any security issue or any side effect if we dont use conversionError interceptor?

2013-08-02 Thread Sreekanth S. Nair
Yup ;) and thanks. -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Aug 2, 2013 at 1:19 PM, Lukasz Lenart wrote: > 2013/8/2 Sreekanth S. Nair : > > Any idea?

Re: Is there any security issue or any side effect if we dont use conversionError interceptor?

2013-08-02 Thread Lukasz Lenart
2013/8/2 Sreekanth S. Nair : > Any idea? There be no problem with that - CEI is used to display conversion errors, there is no logic inside used by some vital parts of framework. But I would rather find the origins of the problem you have - as I understand your application was working fine with pr

Re: Is there any security issue or any side effect if we dont use conversionError interceptor?

2013-08-02 Thread Sreekanth S. Nair
Any idea? -- Thanks & Regards Srikanth On Thu, Aug 1, 2013 at 4:49 PM, Sreekanth S. Nairwrote: > Hi, > Is there any security issue or any side effect if we don't use > conversionError interceptor apart from it wont report the conversion errors? > > -- > Thanks & Regards > Srikanth >

How to initiate the select tag with empty list

2013-08-02 Thread Sreekanth S. Nair
Hi, Sometimes we need to provide an empty select tag which will be populated later depending on some value in form using ajax. Now its mandatory to provide at least an empty list to make select to work. Why can't struts2 select tag can handle this case, where we can render the select tag even w