provide-free-support Ujjwal's Blog: February 2012

Friday, February 3, 2012

installing Oracle SES on ubuntu

You can try installing it with ./runInstaller -ignoreSysPrereqs

You will likely get some errors during the install (particularly when it tries to run "rpm" to check which packages are present) and you may find some difficulties starting and stopping it.

If "searchctl startall" doesn't work you can do it "manually" with:

export ORACLE_HOME=<your oracle home>
export ORACLE_SID=<your sid - default is "ses">
lsnrctl start
sqlplus sys/<password> as sysdba
startup
exit
searchctl start


Thanks,

Ujjwal Soni

Wednesday, February 1, 2012

TinyMCE Text Area (Onchange event issue)

Hi All,

Anyone who is using tiny mce plugin might had faced an issue with onchange event not triggering in firefox, i resolved this issue as under :

I added a call back in tiny mce's init function as under ::

tinyMCE.init({
  // General options
  handle_event_callback : "myHandleEvent",


i then created a java script function as below which keeps track of key press, key down and key up for text areas :

function myHandleEvent(e) {
       
        
        if(e.type=='keypress' || e.type=='keyup' || e.type=='keydown')
        {
         temp=false;
          
        }

        return true; // Continue handling
}

Thanks,

Ujjwal Soni

TinyMCE Text Area (Tab issue)

Hi All,

I was developing a website with tiny mce text areas, i faced an issue with tabs there. On pressing tab key, the cursor goes to next text area. So, to resolve this issue, i did it as under ::


In tiny mce init declaration, i added a callback function as under

tinyMCE.init({
  // General options
  init_instance_callback : fixTinyMCETabIssue,


Then i created a javascript function which adds a tab character on pressing shift+tab key

function fixTinyMCETabIssue(inst) {
    inst.onKeyDown.add(function(inst, e) {
        // Firefox uses the e.which event for keypress
        // While IE and others use e.keyCode, so we look for both
        if (e.keyCode) code = e.keyCode;
        else if (e.which) code = e.which;
        if(code == 9 && !e.altKey && !e.ctrlKey) {
            // toggle between Indent and Outdent command, depending on if SHIFT is pressed
            if (e.shiftKey) inst.execCommand('mceInsertContent', false, "#TAB#");
          
            return false;
        }
    });
}
One of my blog reader found an issue with image resizing in tinymce when he implemented this code, he found that this functionality can be achieved using:
nonbreaking_force_tab : true,

Thanks,

Ujjwal Soni
best-it-exam-    | for-our-work-    | hottst-on-sale-    | it-sale-    | tast-dumps-us-    | test-king-number-    | pass-do-it-    | just-do-it-    | pass-with-us-    | passresults-everything-    | passtutor-our-dumps-    | realtests-us-exam-    | latest-update-source-for-    | cbtnuggets-sale-exam    | experts-revised-exam    | certguide-sale-exam    | test4-sale-exam    | get-well-prepared-    | certkiller-sale-exam    | buy-discount-dumps    | how-to-get-prepared-for-the    | in-an-easy-way    | brain-dumps-sale    | with-pass-exam-guarantee    | accurate-study-material    | at-first-try    | 100%-successful-rate    | get-certification-easily    | material-provider-exam    | real-exam-practice    | with-pass-score-guarantee    | certification-material-provider    | for-certification-professionals    | get-your-certification-successfully    | 100%-Pass-Rate    | in-pdf-file    | practice-exam-for    | it-study-guides    | study-material-sku    | study-guide-pdf    | prep-guide-demo    | certification-material-id    | actual-tests-demo    | brain-demos-test    | best-pdf-download    | our-certification-material    | best-practice-test    | leading-provider-on    | this-course-is-about    | the-most-reliable    | high-pass-rate-of    | high-pass-rate-demo    | recenty-updated-key    | only-for-students-free-download    | courseware-plus-kit-for    | accurate-answers-of    | the-most-reliable-id    | provide-training-for    | welcome-to-buy    | material-for-success-pass    | provide-free-support    | best-book-for-pass    | accuracy-of-the-answers    | pass-guarantee-id    | pass-exam-key    | pass-sku-id    | study-for-exid    | pdf-sku-exid    | sku-pdf-id    | pdf-demo-key    | exam-demo-ske    | pass-it-dump    |
http://inn-on-the-hill.com/    | http://inn-on-the-hill.com/    |