Hello,
Thank You,
I found also the tag in the
http://struts.apache.org/development/2.x/docs/form-validation.html
Styling The Error Messages
The Struts 2 s:head tag can be used to provide CSS that includes a style
for the error message. Add to register.jsp before the closing HTML
tag.
Re
stylesheet.css:
.errClass {
font-family: Verdana, Helvetica, Garamond, sans-serif;
/* font-size: 0.7em; */
background-color: red;
border: 1px solid #afafaf;
position: absolute;
z-index: 1000;
overflow: auto;
cursor: default;
}
public void validate()
{
if (u
Request closed.
I found it in http://struts.apache.org/development/2.x/docs/form-validation.html
It's the
Regards,
Chris
Le Mercredi 4 juin 2014 18h27, Chris a écrit :
In the screen, with struts2examples/form_validation
the dynamics tag are :
First
name is required.
First
name:
It's not clear to me what the underlying question is.
If you have a lot of dynamic elements on the page you'll probably want to
look at the S2 jQuery library:
https://code.google.com/p/struts2-jquery/
It makes simple usecases drop-dead easy, and might be enough to serve your
needs--although usin
I don't even know what any of this has to do with anything the OP asked.
Beyond being difficult to read because of the poor formatting, you're also
pointing the OP at a deprecated library.
On Wed, Jun 4, 2014 at 6:42 AM, Martin Gainty wrote:
>
>
>
>
> > From: nijo...@gmail.com
> > Date: Wed,
In the screen, with struts2examples/form_validation
the dynamics tag are :
First
name is required.
First
name: a écrit :
Hello,
I don't find in the strutsexamples ( 6 form_validation, 7
message_ressource...etc) where I could write red color when error message is
displayed in loginFo
Hello,
I don't find in the strutsexamples ( 6 form_validation, 7
message_ressource...etc) where I could write red color when error message is
displayed in loginForm.jsp
First the validator LoginAction-validation.xml works fine with required fields.
Then the authentication with LoginAction
Hello Antonios,
Thanks.
I'll try it and see how I can manage it.
Chris
Le Mardi 3 juin 2014 13h35, Antonios Gkogkakis a écrit :
Hi Chris,
I'm not sure if struts has a feature that would read property files and put
them in the Application scope for you automatically.
You can have a look
I ended up overriding the 'evaluateExtraParams()' method and performing the
exact same logic that is in the ListUIBean.evaluateExtraParams() to set a new
parameter called 'listCopy' to use in the extra iterator.
Code:
@Override
public void evaluateExtraParams() {
super.eva
> From: nijo...@gmail.com
> Date: Wed, 4 Jun 2014 10:50:14 +0530
> Subject: How to Use JavaScript in Struts2
> To: user@struts.apache.org
>
> Hi,
> I'm developing an an application to conduct Online Exa
Take a look on com.opensymphony.xwork2.util.AnnotationUtils
2014-06-03 19:37 GMT+02:00 Alireza Fattahi :
> Consider below action class with three action mappings. Two of them are
> annotated with a custom annotation `@AjaxAction`
>
> public class MyAction extends ActionSupport{
>
> @Act
2014-06-03 19:17 GMT+02:00 Matt Williams :
>
> I am using struts 2.1.8. I am extending the
> "org.apache.struts2.components.Select" tag and writing my own "select.ftl"
> (freemarker template).
>
> I need to iterate over the parameter "parameters.list" twice.
>
> Example:
> <@s.iterator value="pa
> Hi,
> I'm developing an an application to conduct Online Examinations. Lots of
> table displays are used in every module. for example Questions, Exam,
> Results, etc,
> I have a form which saves a question to db.
>
> My Scenario is Following I Have three types of Questions
> 1. Single choice
> 2
13 matches
Mail list logo