I have found that when your interceptor implements SessionAware and puts
some key/value pairs in the map, the session attributes are not available to
the action even if it implements SessionAware. To get the session
attribute, I did something like this:
@SuppressWarnings("unchecked")
Map sessionM
Hi All,
I am experiencing some issues with ajax submit with Struts2. I am trying to
do an asynchronous post to an action class that will make a crud call and
return back the html page with the updated input value. I am able to get the
result when posting to form action without using ajax.
<%@ ta
Are you using Iterator#remove() when iterating through a collection?
On Fri, Apr 30, 2010 at 10:23 AM, Lukasz Lenart <
lukasz.len...@googlemail.com> wrote:
> Do you have devMode set to true?
>
>
> Regards
> --
> Łukasz
> http://www.lenart.org.pl/
> Kapituła Javarsovia 2010
> http://javarsovia.pl
http://struts.apache.org/2.0.14/docs/tag-reference.html
On Fri, Apr 30, 2010 at 8:29 AM, Dale Newfield wrote:
> On 4/30/10 10:43 AM, RogerV wrote:
>
>> Where is the latest documentation for using Struts 2 tags? I had a
>> problem
>> earlier in the week trying to use the optiontransferselect tag
@Nikhil No action form used as I am using Struts2. Each row has a submit
button.
2010/4/29 निखिल वाळवेकर
> Can you please also provide ActionForm details ?
>
> Is your page like this? (I am not aware abt struts 2 tags)
>
>
> ...
>
>
>
>
>
>
Hi Martin,
Thanks for replying. I loked at I am iterating through the collection to
display some the items as follows:
There is a submit button for every row. I want to update the va
Hi,
I have a use case in which we iterate through the items in the list and
display them on the page. We do that with s:iterator tag.
**
Yes It is possible to assign the same action class but different action
methods to handle different tasks. The example below should work for you.
On Wed, Apr 28, 2010 at 7:08 AM, Manoj Singh wrote:
> Hi,
>
> I am a newbie to struts. Please co-operate.
>
> I am using the dispatch action to crea
Hi Martin,
Thanks for the reply. I apologize if I was not clear earlier. Let me try to
rephrase my question again. The 'selected' value of the auto-select comes
from another bean property. The iterator is used to iterate over an action
specific bean property.
The s:select is used inside s:iterato
I have some thing like this
* *
Change
But I don't see the preselected value,
Thanks,
Kartik
On Fri, Apr 23, 2010 at 5:11 PM, Kartik
Hi Struts gurus,
I am have an object level attribute that is selected from the s:select tag.
If I want to set 'abc' to selected, then how do do that ? Any advice would
be welcome.
Thanks,
Kartik
Hi All,
In my package structure, I have package.properties file with the following
key value pair:
username=User Name
password=Password
In my simple login page: the form elements are defined with a key look up..
My action xml mappings are given below. The first action is a
12 matches
Mail list logo