My boss asked me to program a custom jQuery validation plugin. If <input /> tag has special attribute [needcheck], my plugin must determine the type of [needcheck] and check input data before submit.
For example:
<input name="email" type="text" needchek=”Email”/>
If value of <input /> tag has errors, plugin must show a promting ...
Hi,
I am creating a custom view which populates based on a condition "Yes" or "No", implemented through RadioButtons & ViewStub. Unfortunately things are not going as planned:
CustomView -- artooConditional:
public artooConditional(Context context, AttributeSet attrs) {
super(context, attrs);
setAttributes(attrs);
...
Hi,
I have custom components which must adjust their text content based on space constraints. For example a component adds labels until there is no space, and then the content of the last label becomes "(x more)"
I do not have access to size of child controls before adding them. When in updateDisplayList, I make changes to the layout of...
Hi folks,
My application is in JSP/Struts and running on WebSphere. I don't have access to the server /really/ so I'm trying to do all this from within the app itself (Struts actions & config, JSP, etc).
I have a page that displays links for PDF documents that the user might want to look at. When they click on the link, it is forwarded...
I want to be able to process generic AJAX requests that do more than just updating an existent component. How can I override the default PartialViewContext in the FacexContext?
...
hi all. i have a problem with the uibuttons . i cant scale image to fit their frame . please any advice
...
Ok so I've read the Custom Dialog explanation on the And Dev website
http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog
It show's you how to make a custom dialog, but not how to customise the title!
Basically my title is too long and I want it to scroll (like textview) or better still have a 'marquee' effect i think...
We currently have an ant based project and are contemplating moving to maven.
The project is java ee based, however it has a module structure where each module can contain multiple java ee projects. like this:
mod1-->subdir-->war-A
-->war-B
mod1->src
mod1->build/classes
multiple such modules plus some jars dependencies a...
i want to create a search webpage which should display the google results page as well as results from our intranet webpage. can i design it using google custom search engine?
...
The AutoCompleteTextView drop-down has a large font size. I want to change it to something smaller. I think the way to do it is to overwrite the
android.R.layout.simple_dropdown_item_1line. Please can someone let me know how to do it.
Thank you.
Cheers.
...
Hi folks,
I am trying to show an custom error message on any occurance of exception or error in my business layer. I am catching the exception in my controller and I would like to display it in my JSP.
This exception or error is not associated with any field in the screen, its a pure server exception. I am also using an Annotated Contr...
I'm looking to create a custom validation in Rails. I need to validate that a POSTed start_date_time and end_date_time (together) do not overlap that combination in the database.
Example:
In the database:
start_date
05/15/2000
end_date
05/30/2000
POSTed:
start_date
05/10/2000
end_date
05/20/2000
FAILS!
Here's the rub:
...
Hi,
I'm experimenting with HTML5 geolocation, and would like to improve the accuracy, by assigning the exact GPS coordinate of some custom access points.
How can I add these access points, and their exact position to the current database?
If I cannot add custom APs to the database, can I view the source code used by Google (and others)...
Hello!
I have a table that I select data from with a column called parent that's of unsigned integer type.
It has numbers from 0 to 12.
I want to select * from table order by parent asc, but with one exception: place the 0 at the end of the select so it would be like 1,2,3,4,5,6,7,8,9,0.
Is this possible with a single select in MySQL...
In ProgressDialog's documentation it says:
"A dialog showing a progress indicator and an optional text message or view. Only a text message or a view can be used at the same time."
I've gotten it working beautifully with a message, but I want to use a custom view instead - a message with a cancel button. But calling setView() on the P...
Perhaps I'm missing something obvious here, but I'm having a hard time setting a custom view for the body of an AlertDialog. Here's what I'm doing to set the custom view:
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
this.setContentView(View.inflate(getContext(), R.layout.dialog_body, n...
I am adding the annotations to the mapview with the addAnnotation. I have the latitude and longitude information drop the pin on this location. I want to show the name of the user on this location? How will i do this?
...
Obs: I know lists in python are not order-fixed, but think that this one will be.
And I'm using Python 2.4
I have a list, like (for example) this one:
mylist = [ ( u'Article', {"...some_data..."} ) ,
( u'Report' , {"...some_data..."} ) ,
( u'Book' , {"...another_data..."} ) ,
...#continue
]
This variable...
Please see the folowing HTML and give your recomondation
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Multi Email Validation</t...
Hi,
I am planning to write a custom view that will render some stuff using Quartz.
After looking into some sample code in apple site, I decided to subclassing UIView to create my own view:
@interface myView : UIView {
}
@end
Now my question is, what would be the best way t bind my view with the viewController?
While loading from NIB...