JavaFX3D-conversion of application 'Object '.

In collaboration with the MoleculeSampleApp - from this point, I would like to take from the 'application' and make a usable object. Noticed that the camera is attached to the element of the scene and hoping that a subimage is my answer, will continue to try to do it the way I like, but a helping hand would be good - am only to learn javafx but have some experience with other languages. Because I can't find a code wrapping things, I hope it's OK to put this code here.

My code snippet:

/**
*
* @progName: EvelynsGEMz
* @fileName: EvelynsGemz.java
* @author: MyKel D
* @contributor: Wesley Owen
* @date: July 8,2013
*
*/
public class EvelynsGemz extends Application {
  
    public Boolean isDISABLED = false;


    @Override
    public void start(final Stage primaryStage) {


        primaryStage.initStyle(StageStyle.TRANSPARENT);
        Rectangle Splash = new Rectangle(900, 600);
        Image SplashImage;
        SplashImage = new Image(EvelynsGemz.class.getResourceAsStream("Images/SplashFrame.gif"));
        Splash.setFill(new ImagePattern(SplashImage, 0, 0, 1, 1, true));
      
        Rectangle sideSplash = new Rectangle(481, 500);
        Image sideSplashImage;
        sideSplashImage = new Image(EvelynsGemz.class.getResourceAsStream("Images/Infinity.jpg"));
        sideSplash.setFill(new ImagePattern(sideSplashImage, 0, 0, 1, 1, true));
        sideSplash.setTranslateX(59);
        sideSplash.setTranslateY(50);


        WebView NewsView = NewsArea(540, 50, 300, 500);
        Button goGame = GameLaunch(primaryStage, 666, 515);
        goGame.setDefaultButton(true);
        Button CreateAccount = CreateAccnt(740,525,300,500);
      
        Group update = updater(70, 525, 570, 13);
      
        Group root = new Group();
        root.getChildren().addAll(Splash, sideSplash, NewsView, CreateAccount, goGame, update , doExit(864, 8, "X"));


        Scene scene = new Scene(root);
        primaryStage.setScene(scene);
        primaryStage.show();
    }
////////////////////////////////////////////////////////////////////////////////


    private Button CreateAccnt(double posX, double posY, final double sizeX, final double sizeY) {
        final Button CreateAccount = new Button("Create Account");
        CreateAccount.setStyle("-fx-base: blue;");
        CreateAccount.setTranslateX(posX);
        CreateAccount.setTranslateY(posY);
        EventHandler<ActionEvent> goNewAccount = new EventHandler<ActionEvent>() {
            @Override
            public void handle(ActionEvent event) {
                Stage stage = new Stage();
                stage.initStyle(StageStyle.UTILITY);


                Group NAccnt = new Group();


                final WebView CNA = new WebView();
                CNA.setPrefSize(sizeX, sizeY);
                final WebEngine eng = CNA.getEngine();
                eng.load("http://myks3d.sytes.net/Game/NewUser.html");


                NAccnt.getChildren().add(CNA);
                Scene scene = new Scene(NAccnt);
                stage.setScene(scene);
                stage.show();
            }
        };
        CreateAccount.setOnAction(goNewAccount);
        return CreateAccount;
    }


    private WebView NewsArea(double posX, double posY, double sizeX, double sizeY) {
        final WebView Splashview = new WebView();
        Splashview.setPrefSize(sizeX, sizeY);
        Splashview.setTranslateX(posX);
        Splashview.setTranslateY(posY);
        final WebEngine eng = Splashview.getEngine();
        eng.load("http://myks3d.sytes.net/Game/GameSplash.html");
        return Splashview;
    }


    private Group updater(double posX, double posY, double sizeX, double sizeY) {


        String s1 = "Checking for Updates...";
        String s2 = "Update Available...Updating...";
        String s3 = "Update Complete";
        String s4 = "No update available";
        Text txt;


        ProgressBar p = new ProgressBar();
        p.setStyle("-fx-accent: black;");
        p.setTranslateX(posX);
        p.setTranslateY(posY);
        p.setPrefSize(sizeX, sizeY);


        Timeline progressAnimation = new Timeline(
                new KeyFrame(
                        Duration.ZERO,
                        new KeyValue(p.progressProperty(), 0)
                ),
                new KeyFrame(
                        Duration.seconds(4),
                        new KeyValue(p.progressProperty(), 1)
                )
        );


        if (exists("http://myks3d.sytes.net/updateYes.txt") == true) {
            txt = new Text(5, 515, s2);
            txt.setFill(Color.GOLD);
            progressAnimation.playFromStart();
            isDISABLED = false;
        } else {
            txt = new Text(posX, posY - 10, s4);
            txt.setFill(Color.GOLD);
            p.setProgress(100);
            isDISABLED = false;
        }


        Group Progress = new Group();
        Progress.getChildren().addAll(p, txt);
        return Progress;


    }


    private Button GameLaunch(final Stage primaryStage, double posX, double posY) {
        final Button GameLaunch = new Button("GO");
        Font font1;
        font1 = new Font("Helvitica", 20);
        GameLaunch.setFont(font1);
        GameLaunch.setStyle("-fx-base: green;");
        GameLaunch.setTranslateX(posX);
        GameLaunch.setTranslateY(posY);
        EventHandler<ActionEvent> goGameLaunch = new EventHandler<ActionEvent>() {
            @Override
            public void handle(ActionEvent event) {
                //PlayGame mp = new PlayGame(primaryStage); ///<--- can switch out these to run other pages
                //ServerSelect mp = new ServerSelect(primaryStage);///<--- can switch out these to run other pages
                MoleculeSample mp = new MoleculeSample(primaryStage);///<--- can switch out these to run other pages this is the one that fits. whe this is done then I can replace the bkground in PlayGame with the resulting 3D.
                Scene s2 = new Scene(mp);
                primaryStage.setScene(s2);
            }
        };
        GameLaunch.setOnAction(goGameLaunch);
        return GameLaunch;
    }


    protected Button doExit(double X, double Y, String btnName) {
        final Button ExitButton = new Button(btnName);


        ExitButton.setStyle("-fx-base: red;");
        ExitButton.setTranslateX(X);
        ExitButton.setTranslateY(Y);
        EventHandler<ActionEvent> ExitAction = new EventHandler<ActionEvent>() {
            @Override
            public void handle(ActionEvent event) {
                Platform.exit();
                System.exit(0);
            }
        };
        ExitButton.setOnAction(ExitAction);
        return ExitButton;
    }


    public boolean exists(String URLName) {
        try {
            HttpURLConnection.setFollowRedirects(false);
            // note : you may also need
            //        HttpURLConnection.setInstanceFollowRedirects(false)
            HttpURLConnection con
                    = (HttpURLConnection) new URL(URLName).openConnection();
            con.setRequestMethod("HEAD");
            return (con.getResponseCode() == HttpURLConnection.HTTP_OK);
        } catch (IOException e) {


            return false;
        }
    }


    public static void main(String[] args) {
        launch(args);
    }
}

and bad him PART of the MoleculeSample updated the:

public final class MoleculeSample extends GEMz {


    final Group root = new Group();
    final Group axisGroup = new Group();
    final Xform world = new Xform();
    final PerspectiveCamera camera = new PerspectiveCamera(true);
    final Xform cameraXform = new Xform();
    final Xform cameraXform2 = new Xform();
    final Xform cameraXform3 = new Xform();
    final double cameraDistance = 450;
    final Xform moleculeGroup = new Xform();
    private Timeline timeline;
    boolean timelinePlaying = false;
    double ONE_FRAME = 1.0 / 24.0;
    double DELTA_MULTIPLIER = 200.0;
    double CONTROL_MULTIPLIER = 0.1;
    double SHIFT_MULTIPLIER = 0.1;
    double ALT_MULTIPLIER = 0.5;
    double mousePosX;
    double mousePosY;
    double mouseOldX;
    double mouseOldY;
    double mouseDeltaX;
    double mouseDeltaY;


    MoleculeSample(final Stage ThreeDStage) {
        super(ThreeDStage);
        /// this line must be  included untill the bug is fixed ///
            System.setProperty("prism.dirtyopts", "false");
        /////////////////////////////////////////////////////////// 
        setFullscreen(ThreeDStage);
        Scene myPane = new Scene(root, 1024, 768);
        //Pane myPane = new Pane();
        //myPane.setTranslateX(centerX-200);
        //myPane.setTranslateY(centerY-200);
        getChildren().add(world);
      
        buildCamera();
        //buildAxes();
        buildMolecule();


      
        //scene.setFill(Color.GREY);
        //scene.setCamera(camera);
        handleKeyboard(myPane, world);
        handleMouse(myPane, world);
      
      
        //ThreeDStage.setScene(scene);
        //ThreeDStage.show();
     
    }

Place on my Web server the complete nbproject IDK if others have as I am just learning.

Please help me if you can is a new high technology world and the beginning of a new era in the 3D games on Android and pc - I'd love to join him. See where it may lead me. I really want to be abel to put my code VRML in this place, but that the industry went away from it, have lost this oppourtunity (MayHaps someday I can go back to VRML/JavaFX(without Java3D and the AWT, and I can understand how to load an ocxwith JACOB). and succeed as well.) Thanks for any and all help. looking forward to this discussion.

Post edited by: Nathalie D. for syntax highlighting...

Post edited by: Nathalie D. Good bye!!! Thanks in any case.

BYE thanks anyway - much appreciated - don't mind once again. !!!

Tags: Java

Similar Questions

  • Application object library cannot write to the temporary directory.

    Hi all

    Competitor request ended with error. Here is the error in the log file:

    Application object library cannot write to the temporary directory.

    Cause: The temporary directory specified by the user is not a valid directory for creating temporary files.

    Action: Choose a different temporary directory.  This is usually specific
    Competitor Manager encountered an error when executing Oracle * report for your concurrent request 58591800.

    Review your output request file competitor newspaper and/or report for more information.

    Need quick help on this.

    This problem is corrected. It was the $APPLTMP directory does not exist.

  • List of application objects w / Option generate attached?

    I'm trying to find the objects in my application have a specific Option to build assigned to them.  I think we're ready to let fall the Option generate, but I want to make sure that I removed all references to this first.

    I looked through the Application Express views for the columns on the page, but can't find an area that seems to include the compilation Options.  Did I miss something in the views of the Apex, or I have to look in the source code to find references?

    Thank you

    Stew

    There is a standard report in the generator of the Apex. See:

    http://docs.Oracle.com/CD/E59726_01/doc.50/e39147/deploy_build_options.htm#HTMDB25853

  • insertLabel() in the Application object for storing persistent data

    I thought to store persistent information in the object of the application itself:

    Not so interesting snippet:

    app.insertLabel ("pxComplexName", "test");

    Later / safe restart

    app.extractLabel ("pxComplexName", "test");

    I know how to get labels from IDML. Does anyone know where the label of the Application is saved?

    I thougt about using this as a counter using simple script in a trial version of a script. Any thougts on this subject?

    Kind regards

    Gregor

    Labels of the application are saved in the application preferences file. When a user clears preferences, all recorded data as labels is removed. This can be a good thing or a bad thing - depending on what you need...

    Substances

  • Error installing support OLL packaged Application objects

    Hello

    I am installing OLL packaged Application | http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/Apex/R41/inst_pkgapp/inst_pkgapp.htm#top

    but during the installation of supported objects, I got error when executing code in 'create_package_body '.
    Error on line 274: PLS-00201: identifier 'UTL_TCP' must be declared
    create or replace package body eba_oll_log
    as
    
    g_start_time    number;
    
    
    procedure log_init
    is
    begin
        g_start_time := dbms_utility.get_time;
    end log_init;
    
    
    
    procedure log_page_view
    is
    begin
    
       insert into eba_oll_page_views
          ( APEX_USER,
            PAGE_ID,
            PAGE_NAME,
            VIEW_DATE,
            TS, 
            ELAPSED_TIME,
            IP_ADDRESS,
            AGENT,
            APEX_SESSION_ID,
            CONTENT_ID,
            CONTENT_TITLE )
       values
          ( v('APP_USER'),
            v('APP_PAGE_ID'),
            wwv_flow.g_step_title,
            trunc(sysdate,'DD'),
            systimestamp, 
            (dbms_utility.get_time-g_start_time)*(.01), 
            owa_util.get_cgi_env('REMOTE_ADDR'), 
            owa_util.get_cgi_env('HTTP_USER_AGENT'), 
            v('APP_SESSION'),
            case when v('APP_PAGE_ID') = 24
                 then v('P24_CONTENT_ID')
                 else null
                 end,
            case when v('APP_PAGE_ID') = 24
                 then v('P24_CONTENT_TITLE')
                 else null
                 end );
    
       if v('APP_PAGE_ID') = 24 then
    
          insert into eba_oll_content_views
             ( APEX_USER,
               VIEW_DATE,
               TS, 
               IP_ADDRESS,
               AGENT,
               APEX_SESSION_ID,
               CONTENT_ID,
               CONTENT_TITLE,
               NOTE )
          values
             ( v('APP_USER'),
               trunc(sysdate,'DD'),
               systimestamp, 
               owa_util.get_cgi_env('REMOTE_ADDR'), 
               owa_util.get_cgi_env('HTTP_USER_AGENT'), 
               v('APP_SESSION'),
               v('P24_CONTENT_ID'),
               v('P24_CONTENT_TITLE'),
               'Viewed' );
    
       end if;
    
       commit;
    
    end log_page_view;
    
    
    
    procedure log_content_click
    is
    begin
    
       insert into eba_oll_content_views
          ( APEX_USER,
            VIEW_DATE,
            TS, 
            IP_ADDRESS,
            AGENT,
            APEX_SESSION_ID,
            CONTENT_ID,
            CONTENT_TITLE,
            NOTE )
       values
          ( v('APP_USER'),
            trunc(sysdate,'DD'),
            systimestamp, 
            owa_util.get_cgi_env('REMOTE_ADDR'), 
            owa_util.get_cgi_env('HTTP_USER_AGENT'), 
            v('APP_SESSION'),
            v('P24_CONTENT_ID'),
            v('P24_CONTENT_TITLE'),
            'Launched' );
    
       commit;
    
    end log_content_click;
    
    
    end eba_oll_log;
    /
    
    
    create or replace package body eba_oll_api
    as
    
    
    function gen_id 
       return number
    is
       l_id  number;
    begin
       select to_number(sys_guid(), 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
         into l_id
         from dual;
    
       return l_id;
    end gen_id;
    
    
    function eba_oll_tags_cleaner (
        p_tags  in varchar2,
        p_case  in varchar2 default 'U' ) return varchar2
    is
        type tags is table of varchar2(255) index by varchar2(255);
        l_tags_a        tags;
        l_tag           varchar2(255);
        l_tags          apex_application_global.vc_arr2;
        l_tags_string   varchar2(32767);
        i               integer;
    begin
    
        l_tags := apex_util.string_to_table(p_tags,',');
    
        for i in 1..l_tags.count loop
            --remove all whitespace, including tabs, spaces, line feeds and carraige returns with a single space
            l_tag := substr(trim(regexp_replace(l_tags(i),'[[:space:]]{1,}',' ')),1,255);
    
            if l_tag is not null and l_tag != ' ' then
                if p_case = 'U' then
                    l_tag := upper(l_tag);
                elsif p_case = 'L' then
                    l_tag := lower(l_tag);
                end if;
                --add it to the associative array, if it is a duplicate, it will just be replaced
                l_tags_a(l_tag) := l_tag;
            end if;
        end loop;
    
        l_tag := null;
    
        l_tag := l_tags_a.first;
    
        while l_tag is not null loop
            l_tags_string := l_tags_string||l_tag;
            if l_tag != l_tags_a.last then
                l_tags_string := l_tags_string||', ';
            end if;
            l_tag := l_tags_a.next(l_tag);
        end loop;
    
        return substr(l_tags_string,1,4000);
    
    end eba_oll_tags_cleaner;
    
    
    procedure eba_oll_tag_sync (
        p_new_tags          in varchar2,
        p_old_tags          in varchar2,
        p_content_type      in varchar2,
        p_content_id        in number )
    as
        type tags is table of varchar2(255) index by varchar2(255);
        l_new_tags_a    tags;
        l_old_tags_a    tags;
        l_new_tags      apex_application_global.vc_arr2;
        l_old_tags      apex_application_global.vc_arr2;
        l_merge_tags    apex_application_global.vc_arr2;
        l_dummy_tag     varchar2(255);
        i               integer;
    begin
    
        l_old_tags := apex_util.string_to_table(p_old_tags,', ');
        l_new_tags := apex_util.string_to_table(p_new_tags,', ');
    
        if l_old_tags.count > 0 then --do inserts and deletes
    
            --build the associative arrays
            for i in 1..l_old_tags.count loop
                l_old_tags_a(l_old_tags(i)) := l_old_tags(i);
            end loop;
    
            for i in 1..l_new_tags.count loop
                l_new_tags_a(l_new_tags(i)) := l_new_tags(i);
            end loop;
    
            --do the inserts
            for i in 1..l_new_tags.count loop
                begin
                    l_dummy_tag := l_old_tags_a(l_new_tags(i));
                exception when no_data_found then
                    insert into eba_oll_tags (tag, content_id, content_type )
                        values (l_new_tags(i), p_content_id, p_content_type );
                    l_merge_tags(l_merge_tags.count + 1) := l_new_tags(i);
                end;
            end loop;
    
            --do the deletes
            for i in 1..l_old_tags.count loop
                begin
                    l_dummy_tag := l_new_tags_a(l_old_tags(i));
                exception when no_data_found then
                    delete from eba_oll_tags where content_id = p_content_id and tag = l_old_tags(i);
                    l_merge_tags(l_merge_tags.count + 1) := l_old_tags(i);
                end;
            end loop;
        else --just do inserts
            for i in 1..l_new_tags.count loop
                insert into eba_oll_tags (tag, content_id, content_type )
                    values (l_new_tags(i), p_content_id, p_content_type );
                l_merge_tags(l_merge_tags.count + 1) := l_new_tags(i);
            end loop;
        end if;
    
        for i in 1..l_merge_tags.count loop
            merge into eba_oll_tags_type_sum s
            using (select count(*) tag_count
                     from eba_oll_tags
                    where tag = l_merge_tags(i) and content_type = p_content_type ) t
               on (s.tag = l_merge_tags(i) and s.content_type = p_content_type )
             when not matched then insert (tag, content_type, tag_count)
                                   values (l_merge_tags(i), p_content_type, t.tag_count)
             when matched then update set s.tag_count = t.tag_count;
    
            merge into eba_oll_tags_sum s
            using (select sum(tag_count) tag_count
                     from eba_oll_tags_type_sum
                    where tag = l_merge_tags(i) ) t
               on (s.tag = l_merge_tags(i) )
             when not matched then insert (tag, tag_count)
                                   values (l_merge_tags(i), t.tag_count)
             when matched then update set s.tag_count = t.tag_count;
        end loop;
    
    end eba_oll_tag_sync;
    
    procedure render_tag_cloud (
       p_selection          in varchar2 default null,
       p_app_id             in number,
       p_session_id         in number,
       p_min_nbr_tags       in number default 1,
       p_max                in number default 100,
       p_limit              in number default 10000,
       p_link_to_page       in varchar2 default '2',
       p_tag_item_filter    in varchar2 default 'P2_TAGS',
       p_clear_cache        in varchar2 default '2,CIR,RIR',
       p_more_page          in varchar2 default '62' )
    as
       l_printed_records    number := 0;
       l_available_records  number := 20;
       l_max                number;
       l_min                number;
    
       l_class_size         number;
       l_class              varchar2(30);
    
       type l_tagtype is table of varchar2(2000);
       l_tags l_tagtype;
    
       type l_numtype is table of number;
       l_cnts l_numtype;
    
       l_size number;
       l_total number :=0;
    
       l_buffer varchar2(32676);   
    
       CURSOR c_all_tags
       IS
           select tag, c from (
           select t.tag, count(*) c
             from eba_oll_content c,
                  eba_oll_tags t
            where c.content_id = t.content_id
              and c.display_yn = 'Y'
              and (p_selection is null or
                   (p_selection is not null and
                   (   (substr(p_selection,1,1) = 'R' and
                        substr(p_selection,2) in (select release_id
                                                    from eba_oll_content_products cp
                                                   where cp.content_id = c.content_id))
                    or (substr(p_selection,1,1) = 'C' and
                        substr(p_selection,2) in (select product_id
                                                    from eba_oll_content_products cp
                                                   where cp.content_id = c.content_id))
                    or (substr(p_selection,1,1) = 'P' and
                        (substr(p_selection,2) in (select product_id
                                                     from eba_oll_content_products cp
                                                    where cp.content_id = c.content_id) or
                         substr(p_selection,2) in (select p.parent_product_id
                                                     from eba_oll_content_products cp,
                                                          eba_oll_products p
                                                    where cp.content_id = c.content_id
                                                      and cp.product_id = p.product_id)))
                    or (substr(p_selection,1,1) = 'G' and
                        (substr(p_selection,2) in (select pg.group_id
                                                     from eba_oll_product_groupings pg,
                                                          eba_oll_content_products cp
                                                    where pg.product_id = cp.product_id
                                                      and cp.content_id = c.content_id) or
                         substr(p_selection,2) in (select pg.group_id
                                                     from eba_oll_product_groupings pg,
                                                          eba_oll_products p,
                                                          eba_oll_content_products cp
                                                    where pg.product_id = p.parent_product_id
                                                      and p.product_id = cp.product_id
                                                      and cp.content_id = c.content_id)))
                   )))
            group by tag
           ) x where rownum < p_limit
                 and c >= p_min_nbr_tags
            order by upper(tag) ;
    
    begin
    
       -------------------------
       -- Fetch tags into arrays
       --
       open c_all_tags;
          loop
              fetch c_all_tags bulk collect into l_tags,l_cnts limit p_limit;
              exit;
          end loop;
       close c_all_tags;
    
       l_available_records := l_tags.count;
    
    
       -----------------------------------------------
       -- Determine total count and maximum tag counts
       --
       l_max := 0;
       l_min := 1000;
       FOR i in l_cnts.first..l_cnts.last loop
          l_total := l_total + l_cnts(i);
          if l_cnts(i) > l_max then
             l_max := l_cnts(i);
          end if;
          if l_cnts(i) < l_min then
             l_min := l_cnts(i);
          end if;
       end loop;
       if l_max = 0 then l_max := 1; end if;
    
    
       l_class_size := round((l_max-l_min)/6);
    
       ------------------------
       -- Generate tag cloud --
       --
       
       sys.htp.prn('<div class="tagCloud"><ul>');
    
       for i in l_tags.first..l_tags.last loop
           l_printed_records := l_printed_records + 1;
    
           if l_cnts(i) < l_min + l_class_size then
              l_class := 'size1';
           elsif l_cnts(i) < l_min + (l_class_size*2) then
              l_class := 'size2';
           elsif l_cnts(i) < l_min + (l_class_size*3) then
              l_class := 'size3';
           elsif l_cnts(i) < l_min + (l_class_size*4) then
              l_class := 'size4';
           elsif l_cnts(i) < l_min + (l_class_size*5) then
              l_class := 'size5';
           else l_class := 'size6';
           end if;      
           
           l_buffer := '<li><a class="'||l_class||'" href="'||
                  'f?p='||p_app_id||':'||p_link_to_page||':'||p_session_id||':::'||p_clear_cache||':'||
                  p_tag_item_filter||':'||htf.escape_sc(l_tags(i))||'">'||
                  htf.escape_sc(l_tags(i)) || '<span>' || l_cnts(i) || '</span></a></li>';
    
           sys.htp.prn(l_buffer);
    
           l_buffer := '';
    
           if  l_printed_records > p_max then
               exit;
           end if;
       end loop;
    
       sys.htp.prn('</ul></div>');
    
    
       -- print if there's more
       if l_tags.count - l_printed_records != 0 then
               htp.prn('<p><a href="f?p='||p_app_id||':'||htf.escape_sc(p_more_page)||
                     ':'||p_session_id||':::'||htf.escape_sc(p_more_page)||'">View all tags</a></p>');
       end if;
    
    
       exception when others then
          sys.htp.prn('<p>No tags found.</p>');
    end render_tag_cloud; 
    
    
    procedure email_when_feedback (
       p_feedback_id  in  number,
       p_host_url     in  varchar2,
       p_app_id       in  number )
    is
       l_body       clob;
       l_body_html  clob;
    begin
    
    for c1 in (
       select f.feedback_comment, f.feedback_by,
              c.title, nvl(ct.feedback_contacts,'[email protected]') email
         from eba_oll_content_feedback f,
              eba_oll_content c,
              eba_oll_team ct
        where f.id = p_feedback_id
          and f.content_id = c.content_id
          and c.team_id = ct.team_id (+) )
    loop
    
       l_body := 'You have received feedback for a piece of content you own in the Oracle Learning Library (OLL) Application.
    
    Content: '|| c1.title || utl_tcp.crlf || '
    Feedback: '|| c1.feedback_comment || utl_tcp.crlf || '
    Left by: '|| lower(c1.feedback_by) ||'
    
    You can respond via the OLL Application, '||p_host_url||'f?p='||p_app_id||':47:::NO::P47_ID:' || p_feedback_id || '.';
    
    
       l_body_html := '<div style="border: 1px solid #DDD; background-color: #F8F8F8; width: 460px; margin: 0 auto; -moz-border-radius: 10px; -webkit-border-radius: 10px; padding: 20px;">
    <p style="font: bold 12px/16px Arial, sans-serif; margin: 0 0 10px 0; padding: 0;">
    You have received feedback for a piece of content you own in the Oracle Learning Library (OLL) Application.
    </p>
    <table style="width: 100%;" cellspacing="0" cellpadding="0" border="0">
    <tr>' || utl_tcp.crlf || '
    <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Content</td>
    <td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;"><a href="#" style="color: #000">'||c1.title||'</a></td>
    </tr>
    <tr>' || utl_tcp.crlf || '
    <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Feedback</td>
    <td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||replace(c1.feedback_comment,CHR(10),'<br/>')||'</td>
    </tr>
    <tr>' || utl_tcp.crlf || '
    <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Left by</td>
    <td style="font: bold 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||lower(c1.feedback_by)||'</td>
    </tr>
    <tr>' || utl_tcp.crlf || '
    <td colspan="2" style="text-align: center; font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">
    <a href="'||p_host_url||'f?p='||p_app_id||':47:::NO::P47_ID:' || p_feedback_id ||'" style="display: block; padding: 10px; background-color: #EEE; font: bold 16px/16px Arial, sans-serif; color: #444">Respond to this Feedback</a>
    </td>
    </tr>
    </table>
    </div>';
    
       apex_mail.send (
          p_to        => c1.email,
          p_from      => '[email protected]',
          p_subj      => 'OLL - New Feedback for your team',
          p_body      => l_body,
          p_body_html => l_body_html );
    
    end loop;
    
    end email_when_feedback;
    
    
    
    procedure email_when_response (
       p_feedback_id  in  number,
       p_host_url     in  varchar2,
       p_app_id       in  number )
    is
       l_body       clob;
       l_body_html  clob;
    begin
    
    for c1 in (
       select f.feedback_comment, f.feedback_by, f.response, c.title
         from eba_oll_content_feedback f,
              eba_oll_content c
        where f.id = p_feedback_id
          and f.content_id = c.content_id )
    loop
    
       l_body := 'You have received a response to your feedback left in the Oracle Learning Library (OLL) Application.
    
    Content: '|| c1.title || '
    Feedback: '|| c1.feedback_comment || '
    Response: '|| c1.response || '
    
    You can also view this response via the OLL Application, '||p_host_url||'f?p='||p_app_id||':60:::NO::IR_ID:' || p_feedback_id || '.';
    
    
          l_body_html := '<div style="border: 1px solid #DDD; background-color: #F8F8F8; width: 460px; margin: 0 auto; -moz-border-radius: 10px; -webkit-border-radius: 10px; padding: 20px;">
    <p style="font: bold 12px/16px Arial, sans-serif; margin: 0 0 10px 0; padding: 0;">
    You have received a response to your feedback left in the Oracle Learning Library (OLL) Application.
    </p>
    <table style="width: 100%;" cellspacing="0" cellpadding="0" border="0">
    <tr>' || utl_tcp.crlf || '
    <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Content</td>
    <td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;"><a href="#" style="color: #000">'||c1.title||'</a></td>
    </tr>
    <tr>' || utl_tcp.crlf || '
    <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Feedback</td>
    <td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||replace(c1.feedback_comment,CHR(10),'<br/>')||'</td>
    </tr>
    <tr>' || utl_tcp.crlf || '
    <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Response</td>
    <td style="font: bold 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||replace(c1.response,CHR(10),'<br/>')||'</td>
    </tr>
    <tr>' || utl_tcp.crlf || '
    <td colspan="2" style="text-align: center; font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">
    <a href="'||p_host_url||'f?p='||p_app_id||':60:::NO::IR_ID:' || p_feedback_id ||'" style="display: block; padding: 10px; background-color: #EEE; font: bold 16px/16px Arial, sans-serif; color: #444">View Response in OLL Application</a>
    </td>
    </tr>
    </table>
    </div>';
    
       apex_mail.send (
          p_to        => c1.feedback_by,
          p_from      => '[email protected]',
          p_subj      => 'Oracle Learning Library - Response to your Feedback',
          p_body      => l_body,
          p_body_html => l_body_html ); 
    
    end loop;
    
    end email_when_response;
    
    
    
    end eba_oll_api;
    /
    Error on line 274: PLS-00201: identifier 'UTL_TCP' must be declared

    Published by: Fateh January 13, 2012 07:32

    Fateh,

    It would seem that your schema of Apex/user doesn't have access to, or otherwise know the utl_tcp Oracle package. Try running it in your workshop of Apex SQL > SQL commands.

    desc utl_tcp
    

    If you do not get a description of the utl_tcp package then you will know that your Apex selected scheme lacks the permissions to run this package. Assuming that this is the case, then you will need someone with the correct privileges to run:

    grant execute on utl_tcp to [your_schema_name]
    

    Hope that helps.

    Earl

  • Sample Express download link application objects does not

    I want to download sample objects OEHR the link given on the site is "http://www.oracle.com/technology/products/database/application_express/packaged_apps/oehr_sample_objects.zip" does not work.

    Please guide me how to download these objects of the sample.

    [url http://www.oracle.com/technetwork/developer-tools/apex/application-express/packaged-apps-090453.html] Packaged applications

  • in a built application object reference

    Currently I have to refer to a directory of support in a VI of highest level using the [Path running VI], [path of the band] and adding "/ data" on the way to return file. When I build the application my reference is no longer valid because [Path running VI] returns 'Root/Directory/Application.exe/TopLevel.vi' instead of 'Root/Directory/TopLevel.vi '.

    My question is how can I list my backup directory specified in the Application Builder in my code? If this is not possible how can I reference a file path that will remain valid in the source and as a built application? I wouldn't have to make sure that the default directories are the same on multiple computers.

    Thank you

    Mike

    I would say something like this, because it will work in all combinations (IDE, EXE, LLB, etc.).

    Note, however, that LV 2009 changed our way of screws go in an executable file. If you get the path of the highest level VI, you'll be fine. If you are a beginner in the middle of the hierarchy, however, you will get T from the output directory is always inside the EXE, because the folder structure is maintained inside the EXE.

    To work around this problem, LV 2009 also has a new VI in the constants file palette which returns the directory of the current application. That's what you use if you use 2009.

  • Start getting script error code 0/line48/tank 2 / failed to get the value of the application object of property is null or undefined

    whenever I start all the applications I get three error code of script, I was wondering how to stop this.

    Check if the following will help with your question.
    Open your Internet Explorer browser.
    Click on the menu 'tools '.
    Click on 'Internet Options '.
    Click on the "Advanced" tab
    Check the checkbox "disable the script debugger. It is located under the heading "Navigation".
    Uncheck the "display a notification of every script error".
    Click 'Apply' then 'OK '.
    Close Internet Explorer.
    Open Internet Explorer to make sure that the script errors are not displayed.

    Please reply back and let us know if this can help.

    Marilyn

  • Problem with V32 one spectator applications - object does not declare self playing

    Since your last update of DPS App Builder, one of my slips I make apps is no longer work properly.

    They work very well on an iPad on iOS8 when you preview in Adobe Content Viewer. But when they are compiled in an IPA using App Builder version 3.2.1 says none of the pages that feature auto play object work.

    It is a known issue that we will address in our statement on Monday. Thank you!

    Neil

  • Reg: Conversion ADF application as a portlet

    Hi Experts,

    I'm new to the web of the centres

    I have a request of the ADF.

    I want to convert in port-let.

    I converted port - leave entry and deployed the application to the web server integrated logic and deployment successfully completed.

    Can someone suggest me what to do after that.


    Thank you & in what concerns:

    Pramila

    Hello

    Once you have converted his will gives you WSRP.you portlets can consume those webcenter and you can use those webcenter pages.

    links below are useful
    http://andrejusb.blogspot.in/2009/12/producing-JSR-168-Portlets-directly.html

    Concerning
    Siva sery

  • Conversion PSD vector object drawing

    I did some drawings of characters of cartoons in Photoshop. In which case it is important, they drew with a Wacom tablet, black lines, with the color inside the lines.

    Is it possible to convert these characters to editable vector objects in Illustrator CS5? And if so, is there a dummy tutorial?

    (I tried to use the trace function, but it converted characters to objects that have all the points that I could change.)

    I would be perfectly happy if I could just bring in Illustrator black lines and add color to the cartoon characters, once the black lines have been converted to vectors... but trace keeps filling the inside of the drawings to the related with white. For example, if I have a layer with nothing else that a line of black circle, then tracing was going to turn into a black circle with white on the inside.

    Suggestions?

    OK, two things to know about the vectorization. (1) you must develop the trace to be able to change her visit at this time there (no pun intended) track is no longer live. (2) open the properties of the trace to disable fill background with white. It is enabled by default.

    OK I lied, yet one thing if you plan use illustrator, you will need use the pen tool that your life will be easier than using the vectorization. Also, using the pen, you will have an idea of good works of the tool pen with photoshop. They are slightly different, but close enough you will beable to use one or the other. As a bonus with the tool pen in photoshop, you can export the drawing as an illustrator file that you can then work on directly in illustrator if necessary.

    OK I'm done...

  • I get a Client Certificate error "name of the application object is 0 x 80094001 invalid or too long."

    I am trying to generate a client certificate for my machine windows 7 so I can make client authentication with IIS 7 server cert. I get the error above of my CA.

    «Original title: Client Certificate error "the request subject name is invalid or too long 0 x 80094001»»

    Hi matte_,

    I wish you post your question in the TechNet forums because it caters to an audience of it professionals.

    Check out the link-

    TechNet forums

    Hope this helps!

  • Is it possible to apply a filter to multiple layers without conversion to dynamic object?

    Title

    Maybe this script filter selected layers will do what you want.

    http://www.PS-Bridge-scripts.TalkTalk.NET/

  • switch the setting to display the application object module impl

    Hello

    in my ApplImpl class likely requery(), what I have now is:
    {} public void requery()
    ...
    VO = getRelationsVO1 ();
    vo.setWhereClause ("client_id =" + getRid ());
    vo.executeQuery ();
    }
    Instead, I added a: setting clientid to my RelationsVO1
    so, I would like to replace vo.setWhereClause ("client_id =" + getRid ());
    with some settings from the code

    Help, please

    Best regards
    AB

    Published by: grodno Sep 29, 2011 06:40

    Hello

    Use this

    vo.setNamedWhereClauseParam("clientid",getRid());
    

    Note: clientid is variable binding in RelationsVO1.

    ~ Abhijit

    Published by: Abhijit Dutta, Sep 29, 2011 19:39

  • Is is possible to retrieve a context sequence with a new engine object?

    It's my scenario:

    1 Teststand calls a function in a DLL to do something created the CVI. The function prototype is null (void) function;

    2. Since no parameter is passed I can to the context of the anonymous sequence within the call of the dll? I know that this can be done by simply passing the parameter "thiscontext' in my function call, but I would like to solve the context to perform additional logging to run operations without having to rewrite my entire application.

    Sub function (void)

    {

    Execution TSObj_Execution = 0;
    Report TSObj_Report = 0;
    TSObj_Engine tsengine = 0;

    TS_NewEngine (NULL, & tsengine);
    Can I use the TestStand engine somehow to get the current context of the sequence?

    }

    Hi Dspman,

    Maybe this thread could be interresting http://forums.ni.com/ni/board/message?board.id=330&thread.id=18696

    There is an example that shows how to share a running a "stand-alone" application object

    If you have an ExecutionObject, you will get the underlying SequenceContext.

    hope this helps

    Jürgen

Maybe you are looking for