Focal Point
The Major Problem Area People Encounter in HTML Composer

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7417055526

November 08, 2012, 12:34 PM
Severus.snape
The Major Problem Area People Encounter in HTML Composer
Hi,

Seems like a small issue but - in the double list box when we deselect some values from the right side back on to the left side - values are being added at the bottom of the left side select box instead of the original slot. I think the JS is adding the values at the end incrementally. Users are confused - when the list is long they have to scroll down and search for it if they want to add it back again.
May be the JS can cache/remember the positions of the list values and add them back to the original positions.
Now I am trying to repopulate the listbox onclick of the deselect button to resort them in original order.


thanks
Sashanka


WF 7.7.03/Windows/HTML,PDF,EXL
POC/local Dev Studio 7.7.03 & 7.6.11
November 08, 2012, 02:01 PM
Francis Mariani
Sashanka, I've used jQuery (because it makes it easier) to copy the left-side dropdown box to a hidden dropdown box in onInitialUpdate(), then I use the hidden dropdown box to repopulate the left-side dropdown box.

Another technique you could try is to use JS (or jQuery) to sort the values upon some event...

It would be nice if this happened automatically.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
November 09, 2012, 04:39 AM
Wep5622
quote:
Originally posted by David Glick:
Wep,

We believe by showing the population at design time, the designer will see a problem occur immediately. They will not have to run the page to see it. We are also thinking of popup messages when something is done that affects something else, for example, the designer modifies the default population request, so now any chained controls need to have their population inspected to make sure it is still valid.


IMO, the problem isn't so much that people don't notice that control chains break, but that that happens in the first place. Having to find out by testing doesn't help of course, so doing something about that is probably still a step forward, but it only fixes symptoms, not cause.

I also think that people aren't going to appreciate popup messages. IMHO it would be better to have visual cues in the design window that certain connections aren't working, for example by colouring a chain-link red and showing an informative(!) tooltip when hovering the mouse over it (For example "Field CAR doesn't exist in source control" or some such).

quote:
Originally posted by David Glick:
For tab index, we are going to make the automatic creation optional. It will be on by default since we need to maintain current behavior, but it can be turned off.


Being able to turn it off by default is a start.

It'd be much more helpful, I think, to have a visual cue what Tab index each control has (for example through a little coloured box in a corner of the control with the tab index number). Being able to drag the numbers around to change the tab ordering of the controls on screen would make things even better. Of course people will want the ability to hide/show these tab index number cues, but I'd show them by default.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
November 12, 2012, 06:41 AM
David Glick
There is a visual cue when you hit the tab order button on the toolbar. It should a number on each object which is the tab order.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com