user-interface

Whitespace validation error message

Hi This may not be very technical, but in my application I want to prompt the user when the form input element value has whitepsaces only. My english grammar is not the best so I hope some of the better english speaking folks can help me with this sentence: alert("This field can not contain whitespaces only: " + labelName); Thanks ...

How can I show UI hints for form controls like the Stack Overflow Career CV form does?

I'm trying to show some UI Hints on an ASP.NET MVC 2 app, much like the way they are displayed on the careers site when you edit/fill out your resume: when a form control has focus, a little description of how to enter the required information appears next to it. What is the best method to show these suckers... ...

Selective Autorotation of UIControllers

Hello, I did some experiments on autorotation. The situation: I have a TabBar 4(tabs), three should be portrait only. The last one is a UINavigationController, which by itself should not autorotate any of the stacked controllers. It is basically a browsing application, as I show file and folders everything should be portrait. Some times,...

Drupal: accordion inside node

I see there are several nice Accordion (UI) modules, but none seems to be able to display accordion for subsections of a single node/article. E.g. article on my site has sections "Start", "Middle", "End" and I'd like to be able to see these sections wrapped each under other on a single node page. Like /node/x Start (text available upon...

BlackBerry: creating a dynamic no. of buttons based on the contents of a vector

Hi, based on the contents of a vector(IDs), i'm trying to create the corresponding no. of buttons but I'm having problems doing that. I was wondering if anyone could help? Below is the code that i'm using to try to get that done... ButtonField[] btn = new ButtonField[list.IDs.size()]; for(int i=0; i<list.IDs.size(); i++){ btn[i].s...

Long Operation Status

When performing a long operation in your application, how do you promote information from your business tier to your UI? Events? Passing in a status object which is hooked to the UI? Before I start I just wondered what cunning ways you guys and girls have come up with. ...

jQuery UI Dialog - Cannot see the closeText

Hi chaps, I'm trying to make a simple Dialog - no title just the word 'Close' and the X in the top right hand corner. My text etc. will then go underneath. However I fiddle with it I can't ever get the closeText attribute to display - I can see it in FireBug but it either doesn't appear, or a couple of characters appear under the X gr...

Are there good UI patterns for designing search forms with many fields?

I'm having a difficult time finding any resources that describe good UI patterns for large search forms. I have a form that requires 20+ possible inputs and can't come up with a design I feel good about (although in my defense I'm no design expert). In my case I'm looking for a web solution, but I imagine a UI-patter for this scenario is...

How to get the best technical feedback possible from a non-technical user when supporting application issues?

A common problem I find when dealing with non-technical users when supporting technical issues is "translating" what I'm hearing to what actually is causing the problem. In our current application we do things like provide error message details that can be forwarded to our support team, however my question is: 1. Is there an approach ...

Can Ruby be used for UI based Windows apps?

I'm sorry if this question is noob-ish but I'm not having much luck with Google. Can Ruby be used for UI based Windows apps? I'm not looking for a Rails app, just Ruby. Thanks ...

"paint" like control within a web page

I am looking for a Java UI control which allows users to draw drawings which can internally stored as an image. I am looking for a very light weight control which does not slow down the page rendering. Any pointer? ~Sri ...

Control user input to textfields

Looking for a way to control user input in text fields. i.e. one field can be double, one field string, one field int. Is there a library I can use to look after this for me? Using: Vs 2008, C#, WPF ...

Best way to indicate "draggability" in a web app (or in general)?

Are there any visual cues that you know of that indicate an item's "draggability"? The obvious ones: "<marque>Click here to drag!</marque>" that icon thing and (which I plan to implement) the closed-hand-cursor-onmouseover <-- not this exact one Thanks for you help! Edit: Thank you all for your help. I definitely am in favor of...

Drag and drop bug?

<html> <head> <script type="text/javascript" src="js/jquery-1.3.2.js"></script> <script type="text/javascript" src="js/jquery-ui-1.7.1.custom.min.js"></script> <script> $(function(){ var $container = $('#container'); $(".obj").draggable({ cursor: 'move', helper:'clone', scope:'mydrag' }); $container.droppable({ accept: '.obj...

Does a reference work with human behavior/perception patterns exist?

In all current and future projects I pledged to concentrate all the ground work around interaction design. I'm aware of Alan Cooper's work, and it's excellent, but what I'm looking for is a reference work with observed human behavior when confronted with certain visual elements and usage scenarios. Some kind of "user psychology for dev...

Are customizable settings important in web apps?

It seems a lot of web applications allow users to change the color scheme, either to custom values or from several predefined ones (blue/yellow, grays, red/yellow, etc). I'm wondering if this is an important issue to consider adding. I'm looking at some premade application templates to speed up the design of my application, and a lot o...

C++ bindings to jGoodies?

Thus far the best C++ UI libraries I've run into are Qt, GTK, and wxWidgets; Are there existing libraries similar to jGoodies or 'better'. I am interested in mature (yet simple) technologies. ...

Adding custom JS to a django admin field

In a django application I have the following model: class Appointment(models.Model): #some other fields #address fields zipcode=models.CharField(max_length=5) address=models.CharField(max_length=120) latitude=models.FloatField() longitude=models.FloatField() When I'm rendering an Appointment, I'm just putting a...

Android: How to fire onListItemClick in Listactivity with buttons in list?

I have a simple ListActivity that uses a custom ListAdapter to generate the views in the list. Normally the ListAdapter would just fill the views with TextViews, but now I want to put a button there as well. It is my understanding and experience however that putting a focusable view in the list item prevents the firing of onListItemCli...

Divide by Zero Display Values

What is the best way (most intuitive to users) or best practice for displaying the results of a divide by 0 error when doing reporting? Within the report, I capture this error, however, when displaying it on a human readable report; I am not sure how to note this. An example would be something like Weight / Revenue ratio. For a given...