I'm using Struts 2 with siteMesh.
I developed a simple application which can be summerized in a page form fro
making different kinds of query and a small number of result pages.
I want to give the user the possibility, for some result pages, to choose to
see them undecorated.
It should work like
In my jsp pages I often need to limit the number of decimals and I learnt how
to create a properties file with the same name of the action and use the
s:text tag:
I ended up with many properties files which have most the same formatting
informations.
I wonder if there is a smarter and centrali
Somewhere I have the following enumeration
public enum Interval {
GENERIC,
MONTH,
YEAR;
}
The action has the following method:
public Interval getInterval() {return iInterval;}
I supposed I could test the enumerated value inside my jsp in the following
way:
anno
I use some css inside the web application I'm developing with Struts 2.
In one form I have some dateTimePicker fields. Unfortunately when I open a
calendar it is not formatted very well due to the fact that the table margin
and cell padding set in the css are different from the default one for
di
Some days ago I posted a message for a problem on the DoubleSelect but I
received no answers. I retry again hoping to be more lucky.
Here is the link to the original message:
http://www.nabble.com/-S2--Doubleselect-inconsistent-if-using-%27back%27-button-tf4317705.html#a12294147
Doubleselect incon
I'm using Struts 2.0.6
I noticed the following behaviour of the doubleselect UI tag, present also
in the Struts showcase.
A non default item is choosen in the first select and something else is
choosen in the linked select.
After submit if one returns to the form page using the 'back' button in th
Hello, I'm moving the first steps with S2.
I'm going to build a form with many input components. Some of them should be
disabled or hidden based upon the selection of a radio button. In a pure jsp
scenario where html tags are used I can link some javascript function which
uses style.display = 'non
I would like to share the following experience.
I decided to make some experiments on the dateTimePicker tag on my test site
where I also use Sitemesh with a very complex layout. On IE 6 there was no
way to see the calendar window and pushing the small calendar icon the
layout of the page was par
In order to better understand the ValueStack I wrote the following code to
explore it:
ValueStack myStack = ActionContext.getContext().getValueStack();
out.println("Stack size " + myStack.size() + "");
java.util.Map myMap = myStack.getContext();
for (Object pollo : myMap.k
I'm new to Struts 2.0 and I have to difficulties in finding good tutorials.
I have many doubts on the best way to perform some actions.
For example I have the following line inside one jsp page:
It accesses a property in the action of integer type. They are minutes but I
wuold like to represe
10 matches
Mail list logo