Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
AppFuseSupport




JSPWiki v2.2.33

[RSS]


Hide Menu

AppFuseStrutsDates


Difference between version 10 and version 8:

At line 57 changed 1 line.
return this.datetimeOfOffence;
return this.dob;
At line 70 removed 9 lines.
if (getDob() != null) {
StringBuffer date = new StringBuffer();
date.append(getDobString());
return date.toString();
}
return null;
}
public String getDobString() {
At line 107 added 11 lines.
Finally, you should validate your date string input, so in your struts validation.xml file you should
have an entry that looks like:
{{{
<form name="myForm">
<field property="dobString" depends="required,date" >
<arg0 key='dob.message.key'/>
<var><var-name>datePattern</var-name><var-value>dd/MM/yyyy</var-value></var>
</field>
</form>
}}}

Back to AppFuseStrutsDates, or to the Page History.