Multi page forms

2015-02-20 Thread Rajeswaran Dhandapani
Hi All,

We have the requirement to develop application with multi page forms.

Mainly it consist of PREVIOUS , SAVE & NEXT buttons.

I have made design to use single action class with model driven to handle
the flow using a hidden page specific variable . Also I am skipping the
validation during previous action in validate method.

Could some one suggest any modification or alternate solution to this
requirement?

Thank You


Re: Multi page forms

2015-02-20 Thread Lukasz Lenart
You meant "wizards"? If so please check this out
https://cwiki.apache.org/confluence/display/S2PLUGINS/ActionFlow+Plugin

2015-02-20 9:59 GMT+01:00 Rajeswaran Dhandapani :
> Hi All,
>
> We have the requirement to develop application with multi page forms.
>
> Mainly it consist of PREVIOUS , SAVE & NEXT buttons.
>
> I have made design to use single action class with model driven to handle
> the flow using a hidden page specific variable . Also I am skipping the
> validation during previous action in validate method.
>
> Could some one suggest any modification or alternate solution to this
> requirement?
>
> Thank You

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Struts Spring dependency

2015-02-20 Thread Tamer Erdogan
Hi,

I have taken over a struts2 application and there is something, that confuses 
me.
Under WEB-INF there is applicationContext.xml with the following content:

http://www.springframework.org/dtd/spring-beans.dtd";>



And in web.xml there is the following:
...

  
org.springframework.web.context.ContextLoaderListener

...

And in pom.xml of course the struts2-spring-plugin is added as dependency.
In the web application itself, the spring is not used anywhere. If I remove the 
above definitions, the application itself is running and I don't see any errors.
My question is that, does struts2 needs the spring-plugin absolutely? If I 
remove this dependency, would it be safe or what is the best practice here?

Thanks and kind regards
Tamer Erdogan



Re: Struts Spring dependency

2015-02-20 Thread Dave Newton
(Personally, I'd just try it.)

If it's not being used, it's not being used--we don't have any way of
knowing if it *actually* isn't being used short of looking at it, but if
you say it works without it, then it probably isn't.

Dave


On Fri, Feb 20, 2015 at 8:42 AM, Tamer Erdogan 
wrote:

> Hi,
>
> I have taken over a struts2 application and there is something, that
> confuses me.
> Under WEB-INF there is applicationContext.xml with the following content:
> 
>  http://www.springframework.org/dtd/spring-beans.dtd";>
> 
> 
>
> And in web.xml there is the following:
> ...
> 
>
> org.springframework.web.context.ContextLoaderListener
> 
> ...
>
> And in pom.xml of course the struts2-spring-plugin is added as dependency.
> In the web application itself, the spring is not used anywhere. If I
> remove the above definitions, the application itself is running and I don't
> see any errors.
> My question is that, does struts2 needs the spring-plugin absolutely? If I
> remove this dependency, would it be safe or what is the best practice here?
>
> Thanks and kind regards
> Tamer Erdogan
>
>


-- 
e: davelnew...@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton 
b: Bucky Bits 
g: davelnewton 
so: Dave Newton 


RE: Struts Spring dependency

2015-02-20 Thread Tamer Erdogan
Thanks, I'll try it.

-Original Message-
From: Dave Newton [mailto:davelnew...@gmail.com] 
Sent: Friday, February 20, 2015 14:44
To: Struts Users Mailing List
Subject: Re: Struts Spring dependency

(Personally, I'd just try it.)

If it's not being used, it's not being used--we don't have any way of knowing 
if it *actually* isn't being used short of looking at it, but if you say it 
works without it, then it probably isn't.

Dave


On Fri, Feb 20, 2015 at 8:42 AM, Tamer Erdogan 
wrote:

> Hi,
>
> I have taken over a struts2 application and there is something, that 
> confuses me.
> Under WEB-INF there is applicationContext.xml with the following content:
>   "-//SPRING//DTD BEAN//EN" "
> http://www.springframework.org/dtd/spring-beans.dtd";>
> 
> 
>
> And in web.xml there is the following:
> ...
> 
>
> org.springframework.web.context.ContextLoaderListener<
> /listener-class>
> 
> ...
>
> And in pom.xml of course the struts2-spring-plugin is added as dependency.
> In the web application itself, the spring is not used anywhere. If I 
> remove the above definitions, the application itself is running and I 
> don't see any errors.
> My question is that, does struts2 needs the spring-plugin absolutely? 
> If I remove this dependency, would it be safe or what is the best practice 
> here?
>
> Thanks and kind regards
> Tamer Erdogan
>
>


--
e: davelnew...@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton 
b: Bucky Bits 
g: davelnewton 
so: Dave Newton 

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


Select multiple values from a dropdown

2015-02-20 Thread lilylove2shop
Hi all,

How do I select and display more than one value from a dropdown and display 
them in jsp using struts2? 

Thanks





Re: Select multiple values from a dropdown

2015-02-20 Thread Yaragalla Muralidhar
the below is the select tag where you can choose multiple values



*Thanks and Regards,*
Muralidhar Yaragalla.

*http://yaragalla.blogspot.in/ *

On Sat, Feb 21, 2015 at 2:44 AM, lilylove2shop <
lilylove2s...@yahoo.com.invalid> wrote:

> Hi all,
>
> How do I select and display more than one value from a dropdown and
> display them in jsp using struts2?
>
> Thanks
>
>
>
>


Re: Select multiple values from a dropdown

2015-02-20 Thread Lilylove toshop
Thanks Muralidhar.  I was able to do that.  The dropdown is a part of the 
request form.  Another question is how do I keep the selected values displayed 
in the dropdown when the user views the saved request? 

 On Friday, February 20, 2015 11:21 PM, Yaragalla Muralidhar 
 wrote:
   

 the below is the select tag where you can choose multiple values



*Thanks and Regards,*
Muralidhar Yaragalla.

*http://yaragalla.blogspot.in/ *

On Sat, Feb 21, 2015 at 2:44 AM, lilylove2shop <
lilylove2s...@yahoo.com.invalid> wrote:

> Hi all,
>
> How do I select and display more than one value from a dropdown and
> display them in jsp using struts2?
>
> Thanks
>
>
>
>