Primefaces Right to Left support - jsf-2

Could anyone please point some css tweaks for combo-box, menus and menubar css code to get primefaces to work with Arabic.

As I know, unfortunately primefaces don't support RTL at the moment (3.4)
but they told that they will add support for RTL starting from version 3.5
Check this tweet from primefaces leader.
https://twitter.com/primefaces/status/232541151771627520

Related

Fill Formulardata in Firefox using Delphi

i'm search any solution to fill login-form-data in Firefox from external application. For programming i use Delphi 10.3 Rio.
I must use Firefox. Chrome, Opera or IE are not possible. I dont can use an embedded TxxxBrowser-solution.
I need a way to access the formfield on the active tab in a firefoxinstance. Can anybody help?
Some Password-Safe-Tools can do this. So i think there must be a way in delphi.
Thank for support
Dieter

Form/Button/other component styles

Ok, so I downloaded a .zip file of all different kinds of examples from embarcadero... the way the buttons look and among other things are completely different from when I just create an application within my Delphi 7. I believe these examples were made for or made at a new time... because the button look way different from the way the button when I put them on my application. the buttons from the example look very modern and sleek and have mouse over effects (This applies for all the examples..its not a custom component ) I was wondering I can get this effect in my own applications within Delphi 7.. I can do this by opening one of the examples and just erasing all the code... but that's not what im trying to do..im wondering how I can accomplish these styles.. how come the examples have these nice looking buttons and such..but when I make an app within D7 its much older looking and such..
I apologize if my question is hard to understand.. and I appreciate any help on this.
Thank you in advance.. I appreciate it.
If I understand your question correctly, you're asking about the native control appearance changes that were added by the addition of Windows Themes in Windows XP.
Delphi 7 supported themes by use of the XPManifest component, which does nothing but add a manifest to your application which tells Windows your app is theme-aware and therefore it should load a more recent version of the common controls library. You can find the XPManifest component in the VCL component palette on the Win32 tab, or simply add the XPMan.pas unit to your uses clause. Note that the themed drawing does not work for all controls (grids, for instance, are not drawn using themes, and IIRC neither is TSpeedButton - it's been a long time since I used D7, so I'm not sure exactly what is and isn't supported, but the support is limited).
Starting with Delphi 2007, there is built-in support for Windows Themes, which is available by default in new projects. It can also be enabled in older projects using a checkbox in the Project->Options->Application dialog.
(Of course the real answer is that if you want your app to have the features included in modern versions of Windows, you should upgrade from your Windows-95 era version of Delphi to one that is more recent.)

Code completion for jquery mobile in NetBeans IDE?

After including full jquery.js in the projects web root the auto completion for jquery seems to work (e.g. it suggests several options like onclick etc. when I type "on"), but it does not suggest me any data-roles when I start to type "da" and then press ctrl+space. So the question is: is it possible to achieve the code completion for the jquery mobile within the NetBeans IDE 7.4 and if it is, how should I do it? Thank you!

TDBNavigator unusual behavior with Themes Enabled

I recently experienced some unusual behavior in using a 3rd party Navigator component in Delphi 2007 whereby upon setting the 'Flat' property to True, the buttons didn't remain Flat as they should with Themes Enabled but did so once I unchecked Enable Themes from within my project file and recompiled my program. This obviously didn't seem right since another 3rd party Navigator component I experimented with performed accordingly with 'Flat' set to True and Themes Enabled. I then tried the same with Delphi's TDBNavigator and once again I experienced the same problem as I did with the first 3rd party Navigator component. In researching this matter online, I have found very little other than the fact that, unlike previous versions of Delphi, Delphi 2007 supports Themed Applications out of the box as opposed to having to add another component to support WinXP Themes. All considered, I am hoping that someone else may have experienced similar problems in using TDBNavigator or other 3rd party Navigator components in Themed Applications with the flat property set to true. Any comments or suggestions regarding this matter are appreciated.
Theme support was added to Delphi 2007, but doesn't apply to 100% of the VCL (grids, for example, don't have theme support). I'd suspect that's the issue you're having with the TDBNavigator.
As far as your "3rd party Navigator" problems, it's impossible to give you any advice because you didn't indicate which "3rd party Navigator" controls you're using. Without knowing the specific component names, you've given no information to us to use in trying to help.
Delphi 2010 provides full theme support, including grids. I haven't tested the DBNavigator, as I haven't used it since Delphi 2 or so. Note, however, that Delphi 2009/2010 introduces other issues with older code, because as of Delphi 2009 the VCL is Unicode-based. Some code that uses strings and assumes that a Char is 1 byte in size can be an issue.
Workaround on TDBNavigator,TSpeedButton bug
http://blog.issamsoft.com/index.php?q=en/node/37

How to disable the Formatter in Delphi 2010

The formatter in Delphi 2010 is really an annoying thing to me.
I prefer formatting my code manually.
I believe I do it better.
How can I disable it?
NOTE: Answers on why I don't use it in the first place will not be accepted. I need it switched OFF. Nothing more, nothing less.
Install DDevExtensions from Andreas Hausladen.
In its last version:
Version 2.0 (2009-09-13)
Added: Embarcadero RAD Studio 2010 support
Added: Editor tab double click action (zoom, super-zoom)
Added: Source Formatter hotkey (Ctrl+D) can be disabled
Remove or rename the file Embarcadero.Modeling.Formatter.dll in Delphi's bin directory.
There is no need for downloading and installing an extension, not even for deleting a file!
In the Delphi 10 Options head to:
Formatting / Delphi / Profiles and Status
(the captions may differ slightly, I have translated them from German)
There is a Checkbox there, titled "Activate Formatting".
Possible downside: This Formatter feature is also deactivated in the Edit menu.

Resources