We published some overview information about out framework “Enterprise Client RISC”.
(Click onto the image in order to view the document.)
Week by week we publish our updated beta-download. This week’s update contains a lot of small issues and enhancements that we found during testing.
…and it contains one big issue: the focus management did not work in MS Internet Explorer and MS Edge! It’s now the first time that we do some browser forking inside the “kernel”, i.e. we do something in addition for these two lovely browsers what we do not do for other browsers. But: it’s inside the kernel – so no-one knows outside! 😉
The download is available via the normal download page.
We just published this week’s update. Updating is simple: just install the update on top of the existing version (if you have already installed one). Then open your project in the CaptainCasa toolset – you will be prompted to update your project. Just confirm the update and reload your server afterwards.
Among a couple of fixes and improvements there is one area of improvements to be pointed out: the dynamic creation of images. By default you reference a server image by defining a (part of a) URL, e.g. “/images/add.png”. CaptainCasa provides a couple of prefixes that you can add – e.g. “/mirrored(50):/images/add.png” will automatically show a mirrored version of the image below the image itself.
You also may resized the image by prefix:
And you may use the so called “awesome font” to derive images from:
At any place where an image can be added to a component, you may define an image in the way “/awesomefont(code,color,size)”, with code being the hexcode of the corresponding character, color being the foreground color and size being the font size to be used.
Up to now the RISC part of CaptainCasa Enteprise Client always was included in the “big” CaptainCasa installation.
Now we in addition provide a RISC installation – which is much thinner than the “big” installation. It only includes what is required to run RISC-HTML based dialogs – the Java FX, Java Swing, UI5 and HTML4 parts are not included.
Please view the download page in order to get more information.
The focus management was the central issue of last week’s development activities – results are part of today’s update 20160509.
HTML only comes with a simple but limited tab sequence policy: it by default follows the order of elements of the DOM tree. There is the possibility to explicitly assign a tab-index to each component – but this tab-index cannot be nested in any way, so it’s quite complex to use when having dynamic pages.
Our client as consequence now provides some own focus management, with explicit focus policies – in which the tab sequence is not (only) depending on the structure of the DOM tree. A typical example is the moving of columns within a grid – which of course must have some consequence on the tab order. We internally do not re-arrange the whole corresponding DOM tree but just re-layout the grid structure with new coordinates for the column cells. – The focus policy knows that within a grid rows are processed from the top to the bottom, and cells are processed from the left to the right – so the tab sequence stays correct.
This again is a nice example, where it’s a good idea to shift responsibility from the browser’s core processing into some programmed layer in front of the browser. Luckily HTML provides corresponding possibilities to do so!