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)
MapObject,
http://struts.apache.org/2.0.14/docs/tag-reference.html
On Fri, Apr 30, 2010 at 8:29 AM, Dale Newfield d...@newfield.org 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
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
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.
%@
@Nikhil No action form used as I am using Struts2. Each row has a submit
button.
2010/4/29 निखिल वाळवेकर walve...@gmail.com
Can you please also provide ActionForm details ?
Is your page like this? (I am not aware abt struts 2 tags)
form action=someAction
...
s:iterator
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.
action name = abc class = ABCAction method = abc
/action
On Wed, Apr 28, 2010 at 7:08 AM, Manoj Singh manojsingh2...@gmail.comwrote:
Hi,
I am a
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.
s:iterator value=actionItems
tr
tds:property value=creatorName //td
tds:property value=assignedTo //td
tds:property
Hi Martin,
Thanks for replying. I loked at I am iterating through the collection to
display some the items as follows:
s:iterator value=actionItems
tr
tds:property value = status //td
tds:select name=action headerKey=
headerValue=Change Status
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
Hi Struts gurus,
I am have an object level attribute that is selected from the s:select tag.
s:select key=search.criterion name=searchCriterion
list=#{'': 'Select One', 'bean.attributeValue':'bean.attributeValue',
'abc':'abc'}
required=true onchange=showSearchCriterionField() /
If
/*
a href = s:url action = 'updateActionStatus.action'
s:param name = 'id' value =
'id'//s:urlChange/a/td
/tr
/s:iterator
But I don't see the preselected value,
Thanks,
Kartik
On Fri, Apr 23, 2010 at 5:11 PM, Kartik Kumar krishnan.1...@gmail.comwrote:
Hi
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..
s:form action=login.action method=POST validate=true
s:textfield
12 matches
Mail list logo