Just turn off javascript, check all the boxes, submit the form, and see what happens
nucleoid
@nucleoid
Best posts made by nucleoid
Latest posts made by nucleoid
-
RE: Checkbox as radio button
-
RE: How to write a multi-page website
It uses http://www.tiddlywiki.com/ which is actually intended for things like putting it on a USB drive for a personal very portable notebook type application.
The fact that this is used as an actual organization's publicly facing website is quite retarded though.
-
Useful?
There is sooo much that I could post, but I don't want to flood this forum with it, so here's a random one:
public class ArrayConverter {
public BaseCourse[] convBaseCourse(Collection list) {
BaseCourse[] basecourselist = null;
int x = list.size();
basecourselist = new BaseCourse[x];
Iterator iter = list.iterator();
int counter = 0;
while(iter.hasNext()) {
basecourselist[counter] = (BaseCourse) iter.next();
counter++;
}
return basecourselist;
}
public Array[] convertCollectionToArray(Collection collection) {
Array[] array = null;
int x = collection.size();
array = new Array[x];
Iterator iter = collection.iterator();
int counter = 0;
while(iter.hasNext()) {
array[counter] = (Array) iter.next();
counter++;
}
return array;
}...snip...
public SearchAttribute[] convSearchAttr(Collection list) {
SearchAttribute[] attrlist = null;
int x = list.size();
attrlist = new SearchAttribute[x];
Iterator iter = list.iterator();
int counter = 0;
while(iter.hasNext()) {
attrlist[counter] = (SearchAttribute) iter.next();
counter++;
}
return attrlist;
}
public Array[] listConverter(List list) {
Array[] array = null;
int x = list.size();
array = new Array[x];
Iterator iter = list.iterator();
int counter = 0;
while(iter.hasNext()) {
array[counter] = (Array) iter.next();
counter++;
}
return array;
}
}I guess they never bothered to check the API for Collection's toArray(Object[] a)
method, which completely replaces this whole class. Not only that, but some of the methods take a Collection and some take a List.
Some other fun facts about this specific wtf:
-All these methods could have been static and the whole thing used as a utility class.
-When they do use this class, a separate instance is instantiated for each method they use instead of just using one instance for them all like so:
ArrayConverter feearray = new ArrayConverter();
ArrayConverter gradmtharray = new ArrayConverter();
ArrayConverter coursemssgarray = new ArrayConverter();
ArrayConverter labarray = new ArrayConverter();
ArrayConverter lecturearray = new ArrayConverter();
Fee[] fees1 = new Fee[feelist.size()];
fees1 = feearray.convFees(feelist);
GradeMethod[] grdmthd = new GradeMethod[gradmthlist.size()];
grdmthd = gradmtharray.convGradeMethods(gradmthlist);
etc...-The dev who created this thing is still creating green field code
I have some better WTFs, but this one was easiest to write up. I might post some more later.