struts-tags Questions

6

I am new in Struts2. I have user form, role column have a drop-down list. When user form is in edit mode, the stored values are placed into corresponding controls. But I can't set drop-down list by...
Nesline asked 20/9, 2010 at 0:33

2

Solved

In my Struts 2 application following tags generating ul li span tags, I have to avoid it. How it could possible? I am also used theme="simple", it doesn't work. <s:actionmessage /> <s:act...
Remittent asked 25/7, 2014 at 12:25

1

Solved

We are using the s:select to show a list of string from resource bundle. In the Action: //bank codes will be something [12,13,14] List<String> bankCodesList; //with setter and getter Stri...
Riding asked 6/5, 2014 at 12:34

1

Solved

I have a JSP page where i am getting a Date value from my action class. I am not able to understand how it is handled as: <s:property value="#someDate"/> gives me date 2/7/14 whereas ...
Demos asked 7/2, 2014 at 7:8

3

Solved

Using Struts2, I have a comma separated String of my images captions. While iterating the images to render on JSP I need to display caption along with specific images and could not get any specific...
Pluralize asked 8/11, 2013 at 10:4

3

Solved

I am trying to compare two values : one from session and anther from iterator <s:iterator value="themes" status="currentRecord"> <s:if test="%{usertheme}) == %{themeName}"> <td a...
Brunt asked 24/12, 2012 at 15:34

3

Solved

When I try to put some dynamic parts in my texts to be used by <s:text> tag in Struts 2, these parts are replaced by the params that I defined. Here is how I write my sentences in my file.pro...
Apples asked 29/5, 2013 at 6:10

1

Solved

I can display errors for specific fields using this tag: <s:fielderror fieldName="myField" /> But in addition to displaying the error message I would like to highlight the field in red. To...
Dennadennard asked 23/10, 2012 at 17:11

2

Solved

I have this Struts tag: <s:select name="country.id" list="countries" listValue="name" listKey="id" headerValue="Select Country" headerKey="" label="Country" /> which outputs the...
Midpoint asked 26/1, 2009 at 12:12
1

© 2022 - 2024 — McMap. All rights reserved.