Putting HTML around APEX items

Gday,
I am trying to convert the following HTML to APEX. I am trying to put the html around the APEX items but I cannot get them to sit properly in the tables.
Can I put html around the APEX items? Or can I put in the HTML and access the objects via APEX?
<TABLE WIDTH="100%" HEIGHT="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
   <TR ALIGN="CENTER">
      <TD HEIGHT="100%" VALIGN="MIDDLE" ALIGN="CENTER" WIDTH="100%" >
         <TABLE WIDTH="250" BORDER="0" CELLSPACING="0" CELLPADDING="0">
            <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
            <TR>
               <TD COLSPAN="3" HEIGHT="2" BGCOLOR="#336699"><IMG SRC="/i/spacer.gif" HEIGHT="2" BORDER="0"></TD>
            </TR>
            <TR>
               <TD WIDTH="2" BGCOLOR="#336699"><IMG SRC="/i/spacer.gif" WIDTH="2" BORDER="0"></TD>
               <TD>
                  <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0" ALIGN="CENTER" BORDERCOLOR="#336600">
                     <TR>
                        <TD VALIGN="MIDDLE" ALIGN="CENTER" ROWSPAN="3" bgcolor="#000000">
                           <img src="/i/logo.gif" border="0"  alt="logo" title="logo"><br>
                           <h3><font color="#FFFFFF">Login Page</font></h3>
                        </TD>
                        <TD WIDTH="2" BGCOLOR="#336699" ROWSPAN="3"><IMG SRC="/i/spacer.gif" WIDTH="2" BORDER="0"></TD>
                        <TD VALIGN="MIDDLE">
                           <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
                                                  <TR>
                                                       <TD HEIGHT="5"><IMG SRC="/i/spacer.gif" HEIGHT="5" BORDER="0"></TD>
                                                  </TR>
                                                  <TR>
                                                       <TD VALIGN="MIDDLE"> Username: </TD>
                                                       <TD VALIGN="TOP"><INPUT TYPE="text" NAME="p3_username"></TD>
                                                  </TR>
                                                  <TR>
                                                       <TD VALIGN="MIDDLE"> Password: </TD>
                                                       <TD VALIGN="TOP">
                                              <INPUT TYPE="PASSWORD" NAME="p3_password" maxlength=15>
                                 </TD>
                                                  </TR>
                                                  <TR>
                                                       <TD HEIGHT="5"><IMG SRC="/i/spacer.gif" HEIGHT="5" BORDER="0"></TD>
                                                  </TR>
                                                  <TR>
                                                       <TD> </TD>
                                                       <TD HEIGHT="25" VALIGN="BOTTOM">
                                                          <INPUT NAME="p3_submit" TYPE="submit" value=" Login ">
                                                       </TD>
                                                  </TR>
                                                  <TR>
                                                       <TD HEIGHT="5"><IMG SRC="/i/spacer.gif" HEIGHT="5" BORDER="0"></TD>
                                                  </TR>
                             </TABLE>
                        </TD>
                     </TR>
                           <TR>
                                        <TD HEIGHT="2" BGCOLOR="#336699" COLSPAN="4"><IMG SRC="/i/spacer.gif" HEIGHT="2" BORDER="0"></TD>
                                   </TR>
                                   <TR>
                        <TD HEIGHT="34" COLSPAN="3" ALIGN="LEFT" NOWRAP>
                            Enter Username and Password 
                           <br>
                           <center>
                              <A href="security.changepass" title="Change Password">Change Password</a></center>
                        </TD>
                     </TR>
                  </TABLE>
               </TD>
               <TD WIDTH="2" BGCOLOR="#336699"><IMG SRC="/i/spacer.gif" WIDTH="2" BORDER="0"></TD>
            </TR>
            <TR>
               <TD COLSPAN="3" HEIGHT="2" BGCOLOR="#336699"><IMG SRC="/i/spacer.gif" HEIGHT="2" BORDER="0"></TD>
            </TR>
         </TABLE>
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>Cheers

And like I said I basically want to put APEX text items inside Oracle HTMLAPEX can only handle items [created declaratively through the App Builder|http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/app_comp.htm#CHDGFCGB] or programmatically using the [APEX_ITEM API|http://download.oracle.com/docs/cd/E14373_01/apirefs.32/e13369/apex_item.htm#CACEEEJE].
It looks like you want to create a Login Page. This is a standard APEX page type that can be created from the application home page: click Create Page >, select Login Page, and complete the wizard. The look and feel of this page is controlled by standard APEX [page layout techniques|http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/ui.htm#BABJIECG], and the [themes, templates and CSS|http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/themes.htm#CJABAEIE] applied. To achieve the required appearance in APEX, page and region templates and CSS can be modified to contain the necessary HTML and properties.
Try experimenting a bit with the above. If you hit problems, raise new threads dealing with specific, discrete issues...

Similar Messages

  • Add image/object in HTML Editor Standard item (apex 3.2)

    Hi,
    I'm using the HTML editor standard item from Apex3.2.
    I want the possibility to add an image/object in the editor, but I don't see that option on the HTML editor standard item.
    How do I activate this option? Can someone help me out please?
    I've found something on:
    http://www.inside-oracle-apex.com/enable-add-picture-for-html-editor/#high_1
    Is this the only & easiest solution?
    Thanks,
    Sunenny
    Edited by: Sunenny on Feb 2, 2010 4:32 AM
    Edited by: Sunenny on Feb 2, 2010 4:33 AM

    Sunenny,
    Yes, it would take something like that. Another option, although not any easier really, it to use the latest CKEditor.
    Regards,
    Dan
    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/

  • Sir, We have around 500 items as Insurance Spares in the stores. These spares are checked once in 6 months for their healthiness, storage, etc with a special checklist. We want this checklist an schedule in SAP ( MM). How to do it? Please help.

    Sir, We have around 500 items as Insurance Spares in the stores. These spares are checked once in 6 months for their healthiness, storage, etc with a special checklist. We want this checklist an schedule in SAP ( MM). How to do it? Please help.We are presently doing it as similar to PM schedule ( PM module) but want it in MM module.

    Hi Prerna
    Please refer the this doc ...it might help you
    http://www.erptips.com/Samples/ERPtips-SAP-Training-Manual-SAMPLE-CHAPTER-from-Basic-Quality-Management.pdf
    and kindly update the status if it works or not
    Regards
    Partha

  • Populating apex item checkbox in report row based on database value

    Hi All
    I am looking for help setting an apex item checkbox to 'checked' depending on a record exisiting in a database and I would appreciate a little guidance.
    At the moment I have a report which looks a bit like this
    SELECT licence_user_identifier,
    description,
    licence_name,
    apex_item.checkbox(22,licence_id)
    FROM TABLE(SOL_LICENCE.F_RETRIEVE_ORG_LICENCES ( 121 ));
    4 columns and the last column is a checkbox called 'assign' and is used to assign the selected licence to a user(who is already displayed on the page in another table). There is save button which when clicked saves a record to the database if the checkbox is selected.
    However when the page is displayed the checkbox should be prepopulated/checked if there is a record in the database saying that the licence is assigned to the current user. I have created a page process to try and collect this information and populate the checkboxes on load - before header. However I am having difficulty referencing the apex_application item the corresponds to each row because when I use the FOR i IN 1 .. apex_application.g_f22.COUNT LOOP it only selects the item if it is checked. Can anyone point me in the right direction?
    here is the process I have to populate the checkboxes, it is not getting to my flow.debug as there are no selected checkboxes:-(
    DECLARE
    v_count     NUMBER;
    CURSOR getlicences (p_co_id so05.co_id%TYPE)
         IS
    SELECT     licence_id
    FROM     so05_cust_org_licences
    WHERE     co_id = p_co_id;
    BEGIN
         IF :p9_co_id IS NOT NULL
         THEN
              FOR each_rec IN getlicences (:p9_co_id)
              LOOP
                   --check if a record exists
                   SELECT     COUNT ( * )
                   INTO     v_count
                   FROM     so05_cust_org_licences
                   WHERE     co_id = :p9_co_id AND licence_id = each_rec.licence_id;
    --if the record exists populate the checkbox
                   IF v_count > 0
                   THEN
                        FOR i IN 1 .. apex_application.g_f22.COUNT
                        LOOP
    wwv_flow.debug ('bbbbbbbbbbccccccccccandwearein' || v_count);
                             IF apex_application.g_f22 (i) = each_rec.licence_id
                             THEN
                                  apex_application.g_f22 (i) := 1;
                             END IF;
                        END LOOP;
                   END IF;
              END LOOP;
         END IF;
    END;
    Thanks in advance
    Lynn

    Hi,
    Sorry my mistake. You can use the above link only to solve this problem, for this you have to use a hidden column to which you will assign 'Y' or 'N' as mentioned in that post.
    using that hidden column value you can fire your query accordingly.
    let's say your hidden column is f01 and checkbox column is f02 and the id column is f03, you can do like this
    create a process before your update process like this
    BEGIN
        -- Reset the hidden ADMIN_USER flag for all visible records to N
        -- Note: g_f01 maps to the hidden ADMIN_USER column
        FOR ii IN 1 .. APEX_Application.g_f01.COUNT
        LOOP
            APEX_Application.g_f01(ii) := 'N';
        END LOOP;
        -- Set the hidden ADMIN_USER flag for those records where the
        -- checkbox has been set by the user to Y
        -- Note: g_f02 is the checkbox column ADMIN_USER_CHECKBOX
        FOR ii IN 1 .. APEX_Application.g_f02.COUNT
        LOOP
            APEX_Application.g_f01(APEX_Application.g_f02(ii)) := 'Y';
        END LOOP;
    END;then write a new process positioning after above process
    if apex_application.g_f01 = 'Y' then
      your update query using id column (f03)
    else
      your delete query using that id column (f03)
    end if;hope this helps you.
    Thanks
    Tauceef

  • SQL Report query with condition (multiple parameters) in apex item?

    Hello all,
    I have a little problem and can't find a solution.
    I need to create reports based on a SQL query or I.R. Nothing hard there.
    Then I need to add the WHERE clause dynamically with javascript from an Apex item.
    Again not very hard. I defined an Apex item, set my query like this "SELECT * FROM MYTAB WHERE COL1 = :P1_SEARCH" and then I call the page setting the P1_SEARCH value. For instance COL1 is rowid. It works fine.
    But here is my problem. Let's consider that P1_SEARCH will contain several rowids and that I don't know the number of those values,
    (no I won't create a lot of items and build a query with so many OR!), I would like sotheming like "SELECT * FROM MYTAB WHERE ROWID IN (:P1_SEARCH) with something like : ROWID1,ROWID2 in P1_SEARCH.
    I also tried : 'ROWID1,ROWID2' and 'ROWID1','ROWID2'
    but I can't get anything else than filter error. It works with IN with one value but as soon as there are two values or more, it seems than Apex can't read the string.
    How could I do that, please?
    Thanks for your help.
    Max

    mnoscars wrote:
    But here is my problem. Let's consider that P1_SEARCH will contain several rowids and that I don't know the number of those values,
    (no I won't create a lot of items and build a query with so many OR!), I would like sotheming like "SELECT * FROM MYTAB WHERE ROWID IN (:P1_SEARCH) with something like : ROWID1,ROWID2 in P1_SEARCH.
    I also tried : 'ROWID1,ROWID2' and 'ROWID1','ROWID2'
    but I can't get anything else than filter error. It works with IN with one value but as soon as there are two values or more, it seems than Apex can't read the string.For a standard report, see +{message:id=9609120}+
    For an IR&mdash;and improved security avoiding the risk of SQL Injection&mdash;use a <a href="http://download.oracle.com/docs/cd/E17556_01/doc/apirefs.40/e15519/apex_collection.htm#CACFAICJ">collection</a> containing the values in a column instead of a CSV list:
    {code}
    SELECT * FROM MYTAB WHERE ROWID IN (SELECT c001 FROM apex_collections WHERE collection_name = 'P1_SEARCH')
    {code}
    (Please close duplicate threads spawned by your original question.)

  • How to create read only Apex items

    Hi,
    I'm creating a report using Apex items to display the result values inside editable text boxes. They are then referred by using APEX_APPLICATION.G_F02 etc.
    My requirement is to make the last row of this report (the values for "Total") as non editable or read only. Can anybody help me with the code that i would need to add in the query? The query goes something like this:
    apex_item.text(7, TO_CHAR(nvl(year_4,0),'999,999,999'), 12, 12, 'style="text-align:right;font-weight:bold"',ROWNUM) "YEAR_4", ..

    Surprising. I would have expected there to be a CSS style to disable a form item.
    Depending on your reasons for wanting to use APEX_ITEM, you could:
    Select your required value as part of the query (without using apex_item.)
    Visit your report attributes, then the attributes for your specific column.
    Change the column type to text field.
    Add readonly=true into the item attributes.
    Rgds
    Ben

  • How to populate values in Apex item

    Hi,
    I am using apex collection item to capture data my requirement is to calculate data using the apex item
    This requirement is like this. I am using a SQL query like this
    select
    wwv_flow_item.TEXT(1,NULL,20,10) "A",
    wwv_flow_item.TEXT(2,NULL,20,10) "B",
    wwv_flow_item.TEXT(4,NULL,20,10) "C"
    from dual
    There 3 text boxes are generated in the window when i enter 3 in A and 2 in B it must give me a sum value in C as 5
    this has to be done dynamicall as end user key in values this can be done using java script or any other method please suggest
    Thanks
    Sudhir.

    Hello Sudhir,
    >> If there are multiple text box …
    If there are multiple text boxes, you need to allocate each a unique ID. The easiest is to use the substitution string #ROWNUM#. The code should look similar to the following:
    select empno,
    apex_item.TEXT(1,null,20,10,'onchange="addItems(this);"','A'||'#ROWNUM#') "A",
    apex_item.TEXT(2,null,20,10,'onchange="addItems(this);"','B'||'#ROWNUM#') "B",
    apex_item.TEXT(3,null,20,10,'onchange="addItems(this);"','C'||'#ROWNUM#') "C"
    from empBecause we are in a multi-row environment, we need to pass the line number we are on, into the JavaScript function, hence the use of ‘this’.
    In the JavaScript function, we first need to determine the line number we are on, and then use it to perform the calculation. The code can look similar to the following:
    <script type="text/javascript">
    function addItems(pThis) {
      /* extract rownum */
      var line_no = pThis.id.substr(1);
      $x('C'+line_no).value = parseInt($v('A'+line_no)) + parseInt($v('B'+line_no));
    </script>Regards,
    Arie.
    Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.

  • How to put html file into a canevas?

    How to put html file into a canevas?

    Hi,
    would require you to write a JavaBean that interprets the HTML (there are commercial versions of this available)
    Frank

  • How do I erase areas around an item in a graphic?

    How do I erase areas around an item in a graphic either in .tif, .jpeg,or PNG format?
    That should be a simple thing to do in PSE 8 Mac or Fireworks (both up to date in a top of the line Mac Pro) right? Take the eraser erase the areas around the item you want and save the result. Or if you want to get more sophisticated you select the area with the magic wand or quick selection tool and click erase or make invisible and save. I probably can think of another way. Why in all the world, after I have gone through the above several times, do I end up with the original unaltered graphic which I imported into my webpage in Dreamweaver? Researching for answers about this for days resulted in 0! I bought 2 graphics softwares (Fireworks and PSE) that were suppose to make this easy and I really could not afford! As you can tell I am really p....
    I appreciate any input on this. Thank you so much!
                                                                              W.W.
    Attachment

    Don't you get any dialog box when you save as gif?
    If not, then how about doing a Wave for Web?  This is what I get when I choose GIF from the pull-down list, and there is the Transparency box.

  • Facing a problem in "HTML Standard Editor" item type.

    Hi,
    I have been using an item which is of type "HTML Editor Standard" and I am using it to store a clob value into the database. The functionality works fine in Firefox but the value of the item is always null irrespective of whatever I type in that HTML editor standard item in IE. Please help me out with this issue. If you need more info on this issue, please reply me and I shall give all the input.
    Thanks,
    Vignesh
    Edited by: Vignesh N on Sep 30, 2009 9:09 PM

    I'm doing exactly the same thing at the moment in my application.
    I have a table with a CLOB column, and I have a page that selects from this table using a standard generated Automated Row Fetch process. Saving the data back into the table is done with a standard generated Automatic Row Processing (DML) process.
    It works fine in both Firefox and IE8.
    What do your processes to fetch and save the data look like?
    And what versions of the browsers are you using?
    Edited by: Michel van Zoest on Oct 1, 2009 11:01 AM

  • Where should i put html with applet class embedded?thanks

    Tomcat4.0 server
    i put html and applet class in the root of my project(/webapps/test/)
    when i hit the html file locally, it displays well. but it doesn't work when it comes to service.
    plus:the applet class is developed with jdk1.1.8
    any help is apprieciated!

    The first thing I would do is recompile the applet with a newer JDK. Second, you need to post more info on the problem. What do you mean by "service"?

  • How to pass apex item value into custom xml for chart or guage?

    Re-opening the old thread : Re: How to pass apex item value into custom xml for chart or guage?
    Which was not answered.
    Roel - Thanks. Its working - but in a semi quotes in the custom XML
    <pointers>
    <pointer value= '&P5_RUNNING_TOTAL.'
    <label enabled="true">
    <position placement_mode="ByPoint" x="50" y="15" />
    <format>{%Value}{numDecimals:1}</format>
    <background enabled="false" />
    </label>
    </pointer>
    </pointers>This question was helpful for us to resolving one recent thread : AnyChart - set Dial axis intervals dynamically?
    (Re: AnyChart - set Dial axis intervals dynamically?
    Edited by: P.Ranish on Dec 13, 2012 6:23 AM

    P.Ranish wrote:
    Is there any update for this question ???
    Edited by: P.Ranish on Dec 13, 2012 3:36 AMNo, And there won't be in the future.
    Please stop posting followup's to old threads, if you have a real problem please search the forum first and post a new question with all information
    Roel wrote:
    Try using &P5_RUNNING_TOTAL. or #P5_RUNNING_TOTAL#Just to make it clear - this will only work if page is reloaded after setting the item values dynamically via AJAX

  • Passing values to APEX items from external site

    All,
    Is it possible to pass values to APEX page items from an external web site?
    For example, I have an external web site where users type in a username and password into fields. When they click the 'log-in' button in the external site, I would like to have those values passed to the APEX log-in page. If possible, I would like to have the APEX log-in occur 'invisibly' and the user taken directly to the home page of the app. If that's not possible, it would be nice to simply have the 'user name' and 'password' fields filled in on the APEX side.
    I'm using APEX 3.0.
    Thanks in advance for any help!
    Alex

    Hello Alex,
    >> Is it possible to pass values to APEX page items from an external web site?
    The general answer is yes. You can use the f?p syntax to set the value of any APEX item - http://download-uk.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32471/concept.htm#sthref185 .
    In your specific example, the main question should be is it wise? The mere fact that you are using a login process suggests you have something to protect in your application. The f?p syntax uses a plain text for the items’ value, which means that the user name and password will be completely exposed.
    Regards,
    Arie.

  • How to put HTML file in IFrame?

    I want to put HTML file in  IFrame. what i will do? please give details...

    Hi
    Copy the HTML file into your x:\<project name>\src\mimes\components\<your package name>\<your html>.html
    after that in NWDS -- > <b>IFrame</b> --> <b>Source</b> property just type <your html>.html
    Regards
    Chaitanya.A

  • Error while using "HTML Standard Editor" item in "Array VPN"

    Hi,
    The "HTML Standard Editor" item is not displayed properly when the person is trying to enter data, when he is logged in using Array VPN. An error appears in the item box "Unable to Process request. The requested URL has an unsupported encoding.". Can this be resolved? This error is appearing in Firefox, and in IE the box appears but is not editable,i.e Nothing can be entered in the box.
    Please assist me in this matter.
    Thanks,
    Vignesh

    Vignesh,
    I've worked with clients in the past that used VPN clients that attempted to cache and compress JavaScript code being sent to the browser. The problem was that the algorithms were terrible and ended up breaking the code.
    Do you know if this is happening? If so, there's probably an option to turn it off. Take a look at the source code for the problematic page using the VPN connection and compare it to the source from a page without using VPN. If the page is really busy you can create a blank test page and add the item that's not working. That should make comparing the changes easier. Consider using a code comparison utility.
    Regards,
    Dan
    http://danielmcghan.us
    http://www.skillbuilders.com

Maybe you are looking for

  • Index_rhc.htm vs index_csh.htm... to dat or not to dat

    This is a "why" question -- Hoping William van Weelden is watching since he has lots of related topics online --- For quite some time, our developers have used this construct, where helpID is actually the string we plug into the Context Sensitive map

  • Where do we write statements?

    I am new to XMLP. What is the prerequisite knowledge to build a report in XMLP? I don't know anything about XML. Do we need XML knowledge? Because when I read user guide or some articles I get confused with the terminology. I am building Pick and PO

  • How can I move my PC (Windows 7) iTunes library (with my cps ripped) to my Mac iTunes library?

    Just for my curiosity and knowledge, I have a PC (Windows 7) and a Mac (OS X 10.10). Both of them with the latest version of iTunes. Both of them with the exact music library (genre, artist, album, etc). All my music is coming from iTunes Store, so v

  • Assest code wise PO No. Reports

    Hi , Is there is a report, in which i can enter the multiple assest codes and it will gives me PO no. aginst that assest code. I had tired ME2K but in that only one assest code allow to enter... Thanx in advance Vikrant

  • Data sets and text encoding problem

    I have a problem when trying to import french text variables into my data sets (for automated generation of lower thirds). I can not get PS to display french special characters correct. all 'accented' As and Es etc. display as weird text strings, jus