how to create an oracle form - oracle

I am looking for a source to teach me how to create an oracle form. I don't want to create a form by using oracle form builder, I would like to understand how to create a *.fmb file.
Do you have any good source to read about it? I would like to create a custom IDE that's why I want to know how I can create an Oracle form.
please advice me.

You can use the open api functionality in oracle forms to make your own fmb files.
For more info read this link

You don't want to do that.
Back in 1990's, Forms 3.0, when a form source was an .INP file which was a pure TXT file, it had its own structure so you might have tried to do everything in a text editor - define blocks, triggers, PL/SQL code, whatever. I don't know a single person who did that - that's what Forms is used for, so that you - as a developer - could pay attention to development and let Forms do the boring job for you.
Today, .FMB is not a textual file at all so you can't even do that.
I'd suggest you to learn how to develop good/fast/effective/etc. Forms applications, and - again - let Forms do the rest.
As of the rest of your question (creating a custom IDE), did you try to create a query builder? It is way simpler than creating a form, but still quite complex and certainly isn't something you can do in a matter of days.
Anyway, good luck with anything you're up to, I admire your enthusiasm.

Related

Identifying elements in OpenXML Presentations

I have an interesting problem that I would like to throw out to you all - see if anyone can think of anything I haven't.
What I need to be able to do here is to somehow assign / determine identifers for all the paragraphs in a Presentation. I then need to be able, at some point in the future, to open / manipulate that presentation using OpenXML, and the identifiers have to be available for use at this point.
In short then, I need some form of persistent identifier.
I've tried looking at the OpenXMLFormat itself, and cannot see anything there that I can use that's already built in. If anyone knows of anything, any element that's already in the schema I might use, any attribute etc, then please shout up...
Trying to solve this problem myself, I have written code using XLinq and SharpZipLib to open up the various xml files and add a custom attribute to every element - the attribute basically containing a Guid. The code does what it is supposed to - but both Powerpoint and OpenXML 2.5 will then no longer talk to the file - presumably because I have introduced attributes that are not in the schema... I could live without Powerpoint being able to access the file at this point, but OpenXML is a bit of a blocker because the file will be undergoing some processing later on that has a definite dependency on the OpenXml library.
Anyone got any ideas?

Oracle Apex UI Translation - Point me in the right direction

I have to work on building a website in Oracle Apex that should be displayed in multiple languages. Let me decompose this further.
I am assuming that there are two parts to an Apex application
UI & elements of the UI i.e. regions, buttons, tables, page headings
Data
At the moment I need to find answers on how to enable multiple language support for only the UI part of my application. Not the data.
As I can understand, there are two broad based approaches to achieve this.
Use the Apex inbuilt support for changing the UI elements.
Create a solution from scratch that is based on a database driven approach.
IS my understanding correct?
Two more questions
1. Can anyone give me a short brief on in the type of support that Oracle Apex provides for creating multiple versions of webpages / websites for my application? Alternatively just point me in the right direction by providing relevant links etc.
Which one of the above two approaches would you recommend? And Why?
Thanks a ton
Romi
Okay, this one I seemed to have solved on my own. The process consists of the following steps
Create a shadow applications for each language other than the language of the primary application.
Export the UI elements from the primary language application into an XML file (XLIFF) for the target language application (the shadow application as mentioned in 1 above).
Edit the XML file and enter the text descriptions for the target language application in the XML file.
Upload the edited XML file to the target application.
For a detailed explanation look at this link . Click here to create a sample multi language application in Apex.
At the time of writing this I don't see any reason for creating this feature from scratch. Why reinvent the wheel?
Any comments?

How can I change the fonts on Oracle Forms?

I have several forms (Oracle database and form 10) which have not been developed from the template. The current font is Time New Roman and I need to change it to Arial. Does any body have an idea apart from doing this task manually?
Thanks
There is a utility from Oracle called JDAPI that you could consider using. It is a Java library that alllows you to write a Java program to read and write Forms source files, making modifications such as yours programmatically.
I had to use it a couple of years ago while upgrading a lot of disparate forms to look like they belonged togther. I can't say it was easy, unless you are already an experienced Java developer, and there were some issues where some forms would get "broken" by JDAPI and have to be done manually instead.
You can checkout my blog for a step by step example how to change the fonts.
Good Luck.
http://oracleformsinfo.wordpress.com/2011/12/25/more-code-snippets-jdapi-change-font-for-all-items-prompts-boilerplates-frames/

Joomla: alternative content for an article

I've just started work on an existing Joomla! site, and have a requirement to add an alternative language version of an article. Note that this isn't a full-internationalization effort - we don't need every part of the interface translated - just the need to have another 'version' of an article. Ideally, though, this would include more than just the core content - for example, title. I don't really want to create a second article because, in essence, this really is just a single article, and I don't want things like comments to be split between two separate articles.
Does anyone know if this can be done using joomla core?
If not, can anyone recommend an existing component that will do this?
A good component for manage translations in Joomla 1.5 is Joom!fish. It allows you to do a whole internationalization that, as you said, isn't exactly what you want to do. However I like to think in the long run so, if there's more change, I have not to restructure again and again just because of I haven't thought it before. Hence, if I were you, I would like to use Joom!fish anyway.
Well, as a short fix - Google Translator works and can be installed into your template you're using.
Then you can set it to be hidden unless the users browser is set to use a different language as default - then a small pop-up box drops down and it asks to translate it using google translate.
If that's not the option you're looking for - joom!fish is a good component others rave about but I don't have much experience with personally. Outside of that I'm not really sure.
Hanny had a good idea that would be really easy to implement in an article with the right extension. You can use this extension -
http://www.nonumber.nl/extensions/tabber
This would allow you to easily create tabs with the translations available anywhere you have them. The page above uses the extension to display the tabs, it would be trivial to implement.

Validation in erlang using nitrogen

I'm trying to do something simple with nitrogen in erlang. I have successfully set validation on text fields:
wf:wire(submit, desk,
#validate{ validators=[ #is_required{text="Required"} ]}),
where desk_name is a textbox and submit is the button at the bottom of the page.
I just want to do the same for a panel. However, using this same code does not seem to work.
Is there a way to have validation for fields other than a textbox??
I really appreciate your help! Thank you.
In nitrogen, you can use its documentation to see all that you can do with its elements. These elements are Erlang records. records have fields and you cannot add anything to a record that was not yet there at compile time.
I suggest you read the wf.hrl file which is the header file for a number of nitrogen elements (you can find it in a path $NITROGEN/apps/nitrogen/include/wf.hrl), or you could access the documentation for all elements here.
Another thing is, (to me) you sound like you have not yet learned as much erlang as you may need to successfully develop in nitrogen (no offense). Usually, Frameworks developed in erlang will become obvious once you have learned to play with the language's data structures. you will easily understand why a developer of a given library chose to do something the way you see it. I therefore suggest (with due respect) that you look at this good guide to Erlang Programming.
Most new developers in nitrogen get "Erlang errors" other than "Nitrogen errors" in most of their code.
Do not forget that you can use only as much functionality on a nitrogen element as has been built around the element through its record structure and support action functions. read the documentation, and you will be successful!
success!

Resources