Hi
I know if I want to access an enum in JSP i can do
However if MyEnum is public in a class, say MyClass, how do it get the
value?
I tried
@com.my.package.myclass.mye...@my_value
@com.my.package.mycl...@myenum@MY_VALUE
@com.my.package.mycl...@myenum.my_value
@com.my.package.MyClass.MyEnum.MY_V
Aren't these two identical by definition:
%{periodModel.weeks.iterator.{? true }[0].startDate}
%{periodModel.weeks[0].startDate}
based on example code provided in the OGNL guide to get the startDate from
the first object in a returned array from the iterator.
weeks is a collection of some for
Hi.
This is a extrange behavior when using the file tag
s:submit works but sx:submit does not.
Actually sx:submit does nothing. does not even return error. nothing
happens.(the button is pressed but nothing happens)
Why the following does not work? (the code is short )
I have the following code:
based on example code provided in the OGNL guide to get the startDate from
the first object in a returned array from the iterator.
I would like to make the 0 dynamic based on the 'wno' property so that I
could do something such as:
where wno might be the value 0
yeah i understand
just thought it would be something that would be supported natively thats
all
just that you know when things go into production, some ppl are just afraid
to see anything on the log file and whine a lot about it.
i guess i will fix it myself
or can you point me to the right dire
Exactly. Using the s:select for your example below would be as follows:
Z.
> Z,
> I'll clarify with a simple example :
> The dropdown must be like :
>
> EnglishType1 value="2">EnglishType2 for EN and value="1">SpanishType1SpanishType2
>
> So, the values 1 and 2 remain constant, only the text
Yes, I'm using form.reset() to initialize my fields but the problem is
I don't want to initialize
the fields if I'm coming into the SetupAction because of a validation error.
I've worked around it for now by looking checking
ActionErrors errors = (ActionErrors)
request.getAttribute(Globals
Hi Kevin,
as far as i know form.reset(...) should be used to reset form fields,
one good example is checkbox field that needs to be reseted. I don't
know if using reset method in order to initialize objects in form. Can
You do it with some kind of initialize/prepare method in SetupAction
or CrudAct
I have a setup action defined:
This action is responsible for setting up values in my (dyna) form
before getting to the JSP page.
I have a second action which is where the JSP will POST to:
The idea is that if a validation error occurs then I'll be forwarded
back the setup actio
hi
I have a fairly complex set of xml validation rules for a large form, which is
working fine.
I now have to load from db a bean with the same data and validate it before
displaying a page
(the data comes from a different source and could be incomplete).
is it possible to call the same logic m
Its not a huge deal, since the issue is "What do I convert a blank to?" You
don't want it to be zero, and it ends up being null, but the type converter
throws that error as it tries to figure out what to do. I would say a patch
to just return null on blanks for the native type converters would b
true
true
true
error.html
--
Rafael Taboada
Software Engineer
Cell : +511-992741026
"No creo en el destino pues no me gusta tener la idea de controlar mi vida"
12 matches
Mail list logo