Render Pages within Apex using XML

Hi All,
Just wondering whether it is possible within Apex to render pages using XML by where you have a high level item, such as Cloth Size, which would be the Label attached to an underlying table field, and might have the values XL, L, M and S which might be rendered as a radiogroup.
I guess what I am trying to establish is whether this is actually possible within Apex.
I guess it might be similar to rendering items dynamically but using XML within the database.
Hope this makes sense and someone can assist.
Thanks.
Tony.

Hello,
You need to put more details into what you want.
Do you want client side rendering or server side rendering.
Do you want to use CSS or XSLT?
Do you need to do the entire page or will just a region in the page suffice?
Past that the answer is yes for most of those but without more detail it will be tough to help you out.
You might also want to look at different usages of XML and PL/SQL especially using XMLDB and is Oracles XMLType none of which are APEX specific but can all be used in and APEX page.
Carl

Similar Messages

  • How do I submit an Oracle concurrent request from inside a page within Apex

    Hi all,
    Have an app that basically loads an interface table.I want to call a concurrent job from the page within my apex app that will submit the concurrent job in Oracle when I press the submit button. The only parameter is group id and typically end user enters 101010.
    I am unsure of the syntax.....
    the dba gave me this as an example but I believe its incomplete and not sure how to complete it or call it. I tried just creating a process to execute after submit but it errors out as in_user_id, in_resp_id and in_appl_id must be declared. Logic tells me I have to provide those somehow but I dont see how it fits into the submit request function.....
    BEGIN
    fnd_global.apps_initialize (in_user_id, in_resp_id, in_appl_id);
    x_request_id := fnd_request.submit_request ('XXBG'
    ,'XXBGBURSTPAY'
    ,NULL
    ,NULL
    ,FALSE
    ,in_outfile
    ,'XXBG_TOP'
    ,'xxbg_pydepadv_ctl.xml'
    COMMIT;
    Edited by: DSULLIVAN on Apr 13, 2010 10:33 AM

    This is really not an APEX issue, but a fundamental EBS one.
    You need to find out which respsonsibility and request group your concurrent program is in, and the user who is submitting the request. You can look in FND_USER for the USER_ID, FND_APPLICATION for teh RESP_APPL_ID and FND_RESPONSIBILITY for the RESP_ID. This call sets up the global security context, so if you are calling it from outside of an authenticated EBS session, it doesn't know who you are.
    Then you just call those - you can store them as application variables or jsut hardcode them.
    So here is a sample call:
    begin
      fnd_global.apps_initialize(1, 50000, 275);
    end;So just hardcode it for now - later you can get fancier.

  • Accessing a third partly system from APEX using XML

    Hello
    I have requirement to used XML to access a third part system .. an example of the XML code;
    <mbapi>
         <command>GetAdmins</command>
         <remoteAccessHash>XXXX</remoteAccessHash>
         <params>
              <adminID>1</adminID>
         </params>
    </mbapi>
    I understand that I could used a Javascript to perform this?
    Is there a better way?
    Regards and thanks
    Pete
    Edited by: Pete88 on Feb 18, 2009 11:30 AM

    Looks a lot like XML-RPC to me.
    Please see The Linux Box's [PL/SQL XML-RPC Implementation|http://www.linuxbox.com/tiki/tiki-index.php?page=PL+SQL+XMLRPC] - it could be just what you need.
    If it's SOAP, please see Jason Straub's excellent [Flexible Web Service API|http://jastraub.blogspot.com/2008/06/flexible-web-service-api.html]. The blog posting has example code.
    Regards,
    Georger
    Pete88 wrote:
    Hello
    I have requirement to used XML to access a third part system .. an example of the XML code;
    <mbapi>
         <command>GetAdmins</command>
         <remoteAccessHash>XXXX</remoteAccessHash>
         <params>
              <adminID>1</adminID>
         </params>
    </mbapi>
    I understand that I could used a Javascript to perform this?
    Is there a better way?
    Regards and thanks
    Pete
    Edited by: Pete88 on Feb 18, 2009 11:30 AM

  • Generate a pdf page from OAF using XML publisher.

    Has anybody come across a successful way to generate and display in browser a pdf page based on results passed from OAF page. Would like to know what are the steps involved and where the pdf templates and datasource files need to be stored.
    Thanks.

    Please see some relevant info on this thread.
    Re: Generation of Pdf file on OA Page
    Thanks
    Tapash

  • Problem in impelementing tree in jsp using XML

    I am trying to impelemnt "treeview.htc" to impelement tree structure in my jsp page.I am using XML file to get the elements for treenodes.Now My Problem:
    Basically i have one ASP page with me, and there they have done all this things.But when i try to impelement the same thing in JSP it is thrwing me error.
    <b>Error: It is unable to detect the namespace i have mentioned in :>
    IT is not able to detect the "TVNS" namespace..Hence showing error while saving the jsp file</b>
    <code>
    <?XML:NAMESPACE PREFIX=TVNS />
    <?IMPORT NAMESPACE=TVNS IMPLEMENTATION="C:/XMLTREE/treeview.htc" />
    <tvns:treeview id="ctlFilter_TreeFilter" class="clsTreeView"
    defaultStyle="font:normal normal normal 8pt Tahoma;" selectedNodeIndex="0" HelperID="__ctlFilter_TreeFilter_State__" systemImagesPath="C:/XMLTREE/images"
    onexpand="javascript: if (this.clickedNodeIndex != null) this.queueEvent('onexpand', this.clickedNodeIndex)" oncollapse="javascript: if (this.clickedNodeIndex != null) this.queueEvent('oncollapse', this.clickedNodeIndex)"
    oncheck="javascript: if (this.clickedNodeIndex != null) this.queueEvent('oncheck', this.clickedNodeIndex)" onselectedindexchange="javascript: if (event.oldTreeNodeIndex != event.newTreeNodeIndex) this.queueEvent('onselectedindexchange', event.oldTreeNodeIndex + ',' + event.newTreeNodeIndex)" style="height:100%;width:100%;">
         <tvns:treenode Type="And" Expanded="True" Selected="true">
              And<tvns:treenode Type="Property">
                   Buyer Name = "Abukar Hagi, Abdirashid"
              </tvns:treenode><tvns:treenode Type="Property">
                   Buyer Name > "Abukar Hagi, Abdirashid"
              </tvns:treenode><tvns:treenode Type="Property">
                   Buyer Name <= "Abukar Hagi, Abdirashid"
              </tvns:treenode>
         </tvns:treenode>
    </tvns:treeview>
    </code>
    Please help me out .its very urgent.
    Thanks in advance.

    Have you actually been able to get this to work? I tried some of the demos from the MS site and running the html file with the treeview.htc just sends my browser into a state of loading with nothing happening!?!
    This is a webcontrols component which is rather MS specific. As for finding the namespace, are you accessing this page locally or remotely? the namespace location, if run from a JSP, will resolve the C: drive to the one the web browser is running in not your server.
    If you have your htc file in the same dir as the jsp your running, then putting just "treeview.htc" as the namespace whould be fine or add the context path like so:IMPLEMENTATION="<%=request.getContextPath()%>/treeview.htc"Let me know if you actually get this running without a web server. Otherwise it may be the .Net server that renders the page.
    Anthony

  • Virtual directory when using xml db http

    Is it possible to create a virtual web directory (reachable using http) to a physical directory in my server?
    I am running apex using xml db http with oracle 11.2.
    thanks

    Apache/Lighttpd. is it a free product?Yes both of them are free.
    Please see http://www.beyondoracle.com/2008/04/05/reverse-proxying-apex-in-a-dmz/
    I personally feel that Lighttpd works better specially if there is too much Ajax involved in your application but unfortunately I did not find any tutorial ready for that. Also for starters (in this particular subject) I recommend Apache since there is enough documentation available and you can get many people who can be helpful to setup this.
    Zulqarnain
    MaxApex Hosting
    http://www.maxapex.com

  • How can I render an active link (yrl) within a UIX/XML page

    How can I render an active link (url) within a UIX/XML page.
    How can I get <jbo:ShowValue> to work in UIX/XML, or is there another way?
    Bill G...

    It may seem strange, but the <contents> of <rawText> aren't actually
    raw - it's only the "text" attribute that's raw. (It seems strange because
    it is. Ah well.) This is different from UIX JSP.
    So, try something like the following:
    <bc4j:attrScope name="Notes">
    <contents>
    <rawText text="&lt;a href=&quot;"/>
    <rawText>
    <boundAttribute name="text">
    <bc4j:attrProperty name="value"/>
    </boundAttribute>
    </rawText text="&quot;&gt;"/>
    Some text in the link.
    <rawText text="&lt;/a&gt;"/>
    </contents>
    <bc4j:attrScope>
    Thankfully, this will be much simpler in 9.0.3, when the following
    will work:
    <link text="Whatever you want">
    <boundAttribute name="destination">
    <bc4j:attrValue name="Notes"/>
    </boundAttribute>
    </link>

  • Is it possible to render pages for use within a Graphoc (OpenGL) environment to create 'textures' of any web page? Thanks.

    In my app - on Android (Java) and iPhone (Objective-C) - I have an OpenGL Graphics context where I'd like to display any web page on a 'sign' or 'virtual screen'.
    Are there libraries which I could plug in to to render pages as a texture for use with OpenGL 'objects'?
    Many Thanks

    WebGL should meet your needs https://developer.mozilla.org/en-US/docs/Web/WebGL

  • Newbi Question:  How does one create a similar page to this using APEX 3.1?

    Hi,
    I am trying to create a help document with screen shoots inside our APEX web application and I am hamstrung by the type of Region and Item objects available to me. When I tried to create HTML region I was limited to how much html characters I can put in the source. When I look into the item menu nothing seems to allow me to stick in large chunk of HTML code either.
    A little searching on this forum and I came across this page: http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm#t
    It is exactly the type of page I want to create with lots of text and screen shots and I presume that it is built within APEX? So my questions is: How did they do this? Did they use tools available within APEX or some external tool? Was all this outputted using BLOB and Htp("") and PL/SQL? I am trying hard to avoid having to do that.
    I was also unable to stick in an in image into my page using instruction from http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/ui.htm#CBBHGJCH which left me pretty frustrated. (external amazon gif worked).
    Thanks for any help,
    Wayne

    Wayne,
    I am glad that you got images to display. I am not sure what kind of html report you want to display, there is a limit of number of characters in a region its 32767 characters, so if you want to display large html file you can create html region with no template and limit each region to 30,000 characters and create as many region as you want.
    If you want to display data from any table ( as per the first url) you can create SQL reports, something like
    select ename
         , deptno
         , sal
         , case
              when ename = 'SCOTT' then '<img src="#WORKSPACE_IMAGES#us_flag.gif" alt="Image Title">'
              when ename = 'SMITH'  then '<img src="#WORKSPACE_IMAGES#chants.gif" alt="Image Title">'
              when ename = 'MARTIN' then '<img src="#WORKSPACE_IMAGES#cloche.gif" alt="Image Title">'
              when ename = 'MILLER' then '<img src="#WORKSPACE_IMAGES#chandelles.gif" alt="Image Title">'
              when ename = 'JONES' then  '<img src="#WORKSPACE_IMAGES#shoe.gif" alt="Image Title">'
              else '<img src="#WORKSPACE_IMAGES#hallo.gif" alt="Image Title">'
         end  image
    from empThanks,
    Manish

  • Page Rending Problem In Apex ,Please help

    The Page build by Master Detail Form Wizard. And this page has 37 items (not include tabular forms or reports)
    Under the normal conditions ,each page HTML rendering format must like that:
    =================
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <body>
    <script type="text/javascript">
    </script>
    </body>
    </html>
    ====================
    Scenario 1
    We display all region( 10 regions display)
    After I run the page , the APEX Rendering the html, but we found the javascript error.
    In this scenario, the html rendering result is :
    =====================
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <body>
    <script type="text/javascript">
    ==============
    You can find that the </html>and </body> are missing. And the last part of script aslo missing.JavaScript error is raised by the HTML source can not be completely loaded.
    We save the html source code form Apex rending as the file . We can find that the file size is 48.7 KB
    Scenario 2
    We hide some region ( 7 regions display) , we make some region condition is "Never"
    After I run the page , the APEX Rendering the html
    If we open a form with data , the rending html will like this:
    =================
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <body>
    <script type="text/javascript">
    </script>
    </body>
    </htm
    ====================
    You can find the we only miss the last two characters. And we save the html source code form Apex rending as the file . This file size is 32.0 KB.
    If we open a form without data , the rending html is :
    =================
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <body>
    <script type="text/javascript">
    </script>
    </body>
    </html>
    ====================
    This is the well formed html , we save the html source code form Apex rending as the file ;
    This file size is 24.0KB only.
    We found that ,In our workspace the pages rending size more then 32K, than some thing will be missing at the last rows of the page.
    Are there any configuration wrong? Are there any limitation on the APEX page builder?
    Thanks
    Leo
    Edited by: [email protected] on 2009-5-5 上午12:31

    Re: </htm Error below Apex Page

  • Creation of a portal page using XML web form

    Hi Experts,
    I want to know how to make a portal page using XML web forms... Please tell me the steps involved in doing the aforesaid.
    Thanks in advance...

    Hi
    You compose page using WPC(Web page Composer), this is a bussiness package, which you need to deploy it on portal server then will get a WPC role which you can assign the user and then user can start composing the using follwoing PDF
    To compose it chect this pdf
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2041eb17-6001-2b10-b08d-b95ce55fa9b7?overridelayout=true
    Thanks

  • How to embed youtube movie in flash website using xml pages?

    hi to every one
    I m quite new to flash website designing. so I've downloaded a free flash website template, that is using xml pages in it. & I m using adobe flash cs4. now I wants to embed youtube movie in one of its .xml page & I wants that it shows that movie when i open that xml page in adobe flash cs4. even I've pasted youtube embeded code in one of that xml page but it does not works. so please please please resole my problem as soon as possible.
    thousands of thanks to all of those who helped me....
    Regards
    Faiz Fareed.

    Maybe you can try You Tube Api for flash
    http://code.google.com/apis/youtube/flash_api_reference.html

  • RUSH HELP!! Use button to "go to" a certain page within a document

    I need to do something like a hyperlink to take me to a certain page within my adobe document I have added buttons but I dont know what scripting to use to "call" the page that I need. I have a long document and do not want the end user to have to scroll through it all

    Please refer to xfa.host.setFocus() method in documentation. That might help. Please post your findings.
    Good Luck,
    SekharN

  • Need help in printing text at back page using XML Publisher

    Hi,
    I need to print instructions (static text) at the back page of my report ouput using XML publisher. Oracle Application used is 11.5.10. Please help me to reslove.

    Hi,
    Did you see "Oracle XML Publisher User's Guide" manual available at --> http://www.oracle.com/technology/documentation/applications.html
    Regards,
    Hussein

  • Maximum Number of record Per page using XML Publisher with RTF template

    Hi
    I am creating customer statement and want to show only 20 records per page. How we can set maximum number of repord per page in rtf template.
    Thanks
    Ravi

    Ravi,
    I hope you are already done with this. In the invoice there is a nice example you can use on the xml blogs.
    You limit the number of lines per page when you use the xsl commands like this in your template:
    <xsl:variable name="lpp" select="number(13)"/>
    <?for-each@section:LIST_G_INVOICE?>
    <xsl:variable xdofo:ctx="incontext" name="invLines" select=".//G_LINES[LINE_TYPE='LINE']"/>
    <?for-each:$invLines?> <?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
    and then you have the table where you have the data
    <?for-each:$invLines?><?if:position()>=$start and position()<$start+$lpp?>
    and all your lines
    and then
    <?end if?><?end for-each?>

Maybe you are looking for