I plan to use Struts validation frame to validate my input fields. I want to
konw if there is a way to use wildcard characters such as "*?" in my
validtion.xml.
For instance:
My*Book
1
true
Here, this fieldName could be "MyOldBook", "MyNewBook", "MyBook" etc.
I nev
In my scenario, I didn't use any Struts validation frame.
Here, "field1" is a numeric field in Java bean. If I input a validate
numeric, for instance, a random string, there is an error validation message
appearing automatially by Struts.
Invalid field value for field "field1"
My questio
Try this way, and it might works.
Make your action beans all implement "com.opensymphony.xwork2.Preparable",
and implement a method "prepare()" in your action beans just like this:
public void prepare() throws Exception
{
// Clear last error messages
clearErrorsAndMessages();
}
Everytime whe
void
re-posting a question without the context of any prior discussion. See
below for another suggestion:
Wei Xu wrote:
First, you can look through next jsp codes:
Why do the indexing into destObjects manually when s:iterator is already
doing it for you? How abou
First, you can look through next jsp codes:
Variable "destObejcts" is a type which contains a serial of objects
named "destObject".
Variable "visibleColumns" is also a LIST of objects named "visibleColumn",
and "fieldDefName" is a property of "visibleColumn".
An
5 matches
Mail list logo