was wondering whats the purpose of the links struts applications,
struts sandbox are?
the pages they point to are virtually empty. anything coming in (for
those pages) ? what's the scoop on this?
is it to host sample applications that work on struts?
riyaz
depends on what version of struts u're working on.
(i have never worked with 200 or so actions). :)
1) i reduced the number of actions using wildcards in action mapping,
and a couple of hidden parameters that i pass to actions. kind of
genericised the actions.
2) use extends where
have been trying to configure my NetBeans 4.1 to use subversion (SVN)
i've downloaded the svn module (beta) but can't seem to figure out how
to configure it.
the website (http://www.apache.org/dev/version-control.html) does not
_seem_ to give how to annonymously check out data.
if anybody
i've got a date validation set up with datePattern -MM-dd, ie
standard JDBC SQL format.
but date validation seems to pass values of type 1980 (without month
or day) and subsequently i get a SQL DATE conversion error.
is this expected behavior for date validation? is there a way to
no i did not; but i cannot use it as i want to allow single digit
months/days in user input.
more generally; i wud have expected the DateValidator to return FALSE if
the user input is form 1980 for pattern -MM-dd
anybody wanna weigh in? :)
riyaz
[EMAIL PROTECTED] wrote:
Sorry if
i may be missing something here, but if random is what u want in a
collection, then y don't u use Collections.shuffle() ?
riyaz
Mark Benussi wrote:
Hello.
I am trying to write a comparator that randomly sorts a collection.
I have something like this:
new Comparator() {
:) when i first read HTML, my first impression was SELECT.size was the
same INPUT.size hehe. ie it renders a box/select which contains that
many approximate characters
IMHO, honestly, i think its a bad choice of attribute name. rows as in
TEXTAREA.rows would have been more appropriate than
arg key=field.displayname bundle=mybundle
position=0 /
riyaz
Duggirala, Satyavati wrote:
Hi
We use multiple resource bundles in our Application.
By default Struts gets the error messages used in validation.xml from
default resource bundle.
(ex: arg0 key=prompt.username/
-
From: Riyaz Mansoor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 31, 2005 3:26 PM
To: Struts Users Mailing List
Subject: Re: Using multiple resource bundles
arg key=field.displayname bundle=mybundle
position=0 /
riyaz
seems fine.
you should declare your message resource in struts-config with the name
mybundle and it should contain the key myField.displayname
r u doing that?
Duggirala, Satyavati wrote:
I am working on a field whose value is an int in the range 0-
My code looks in validation.xml
i'm using 1.2.x and 1.3-dev and it works fine.
i do remember about an ARG bug in the earlier versions. i suggest u
search this mailing list. there might be others who might remember this
here.
:(
Duggirala, Satyavati wrote:
Yes, I am doing that and bean:message works fine.
I am having
David G. Friedman wrote:
What is wrong with HSQLDB?
its storing BINARY objects that are bigger than declared?
eg: Photo BINARY(4096)
seems to take even 50K GIFs. a way to fix this?
now i really don't want to start a flame war or any war :) about which
is better (or not)
i checked
Leon Rosenberg wrote:
Just out of sudden...
Have you tried j2 or j1?
whats j2 or j1 ? ^o
riyaz
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hi guys
anybody know whats the status of Derby? former IBM's Cloudscape? i need
something more robust that hsqldb :)
riyaz
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
not strictly struts ... but lots of smart guys here :)
String str = arg name=\minlength\ key=\${var:minlength}\ ;
MessageFormat mf = new MessageFormat(str);
throws error saying can't parse argument number var:minlength
how place literal curly brackets in String such that MessageFormat
i saw a doc which had
form name=formaname1,formname2
wondering if multiple forms could be declared like this? sorry but am
t tired to test right no :)
riyaz
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
i asked this same question and the answer i got here is:
this was added to Validator but not public release has been made after this.
u can download a source distro of validator and compile and use it.
form name=myExtForm1 extends=myForm1
the above should work as is - i am using it :)
riyaz
hi guys.
i would like to standardize some fields on a submitted form.
eg: FirstName field shud be first letter capital and the rest simple
regardless of
whatever Case the submitted text is. am NOT looking to validate
against a mask but rather format it transparently
what is the best way to do
Hi guys
sort of a repost - more details
using Validator 1.2 (nightly build) on struts 1.3 dev build
keep getting this error during validation. and not just for required
but all checks. error is printed on the tomcat log standard out.
further the action to which the form is submitted is executed
hi guys.
for all whose interested.
all that is needed is 2 files;
1) formatter-rules.xml (of type validation-rules.xml). add file to
ValidatorPlugin resource path
2) java class containing methods to execute
of course, validating n formatting r very different things. but its
small work and
hi
reading from past postings this subject has been much talked about.
but not finding a solution to my liking i post this question.
i want a user a see a set of checkboxes some selected some not. the
user is allowed to check uncheck anyone of them.
upon form submission, i want the value of the
hi
reading from past postings this subject has been much talked about.
but not finding a solution to my liking i post this question.
i want a user a see a set of checkboxes some selected some not. the
user is allowed to check uncheck anyone of them.
upon form submission, i want the value of the
I'm a Struts newbie. A lot of the books and documentation I have on Struts
is pre 1.2 and uses html:errors and ActionErrors. Given ActionErrors is
deprecated, I'd like to use ActionMessages for some new JSPs I'm writing.
the usage is the same.
actionerrors are dependent on certain keys such
23 matches
Mail list logo