Is there any way to hook into the TextModel from ICompositionStyle?

When creating a new custom attribute in IAttrReport there is the ability to hook into the ICompositionStyle interface. But I don't see any way from there to see which TextIndex it is composing. Does anyone know if it's possible?

Anybody any ideas? Should I be looking down the route of using my own pagination buttons and adding my code to this?
There seems to be a routine $a_report that I can use for the pagination but I am finding it difficult to get the current first and last record values that I would need to pass. I've seen references to below in the form but when I'm using partial refresh they do not seem to change.
wwv_flow.g_flow_current_min_row
wwv_flow.g_flow_current_max_rows
wwv_flow.g_flow_current_rows_fetched
wwv_flow.g_request
Thanks Pete

Similar Messages

  • Is there any way to hook into the SQL report pagination process?

    I have a SQL report (based on EMP) with a radiogroup row selector.
    The scenario 1 and 2 are in place
    1) When the employee row radio group is clicked the P900007_JOB the text item is populated with the JOB for the employee.
    2) When the page is initially displayed or submitted via the button the first row’s radio group is programmatically clicked and therefore populates the additional job information in P900007_JOB
    Info (radio Group) Employee No Name
    (+) 7369 SMITH
    () 7499 ALLEN
    () 7521 WARD
    P900007_JOB CLERK
    1-3 Next>
    Once the report has been displayed and the next or previous pagination is used then none of the radio groups will be selected and the data in the P900007_JOB text item will still display the job of the last selected employee row.
    What I require is on pagination some sort of mechanism to either
    a) Call the page_init() that should then set the first row as selected and populate the text item via the programmatic click. (preferred option)
    b) OR blank out the additional text item P900007_JOB.
    Is there any way to hook into the pagination process?
    I have a work around – Set the ‘Enable Partial Page Refresh’ to ‘No’ but this means a full refresh every time the pagination is used.
    Details of my page
    Report Region (Based on EMP table) – radio group as a row selector
    select     APEX_ITEM.RADIOGROUP(1,EMPNO,'X21',null) CHECKRG, EMPNO,
         ENAME,
         JOB
    from     EMP
    Report Attributes -
    Report template :- P900007_ROWTEMPLATE (custom template see later)
    Report Attributes Substitution :- id="emp_report" (used in page_init see later)
    Enable Partial Page Refresh :- Yes
    Columns – All columns are selected as show but job is left out of the template below.
    P900007_JOB - Text item in report region (disabled does not save state). Populated with the employees job when the radio group is clicked.
    Control region :- HTML region that just holds a button <GO> just to submit the page and redirect back to the same page.
    P900007_ROWTEMPLATE (named column row template)
    Row template 1
    <tr style="cursor: hand; cursor: pointer;" onmouseover="row_mouse_over(this, 1)" onmouseout="row_mouse_out(this, 1)" #HIGHLIGHT_ROW# ">
    <td class="t15data" onclick="selectRow('#JOB#');">#CHECKRG# </td>
    <td class="t15data">#EMPNO# </td>
    <td class="t15data">#ENAME# </td>
    </tr>
    Before rows
    <table class="t15standard" summary="" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#" >
    <th class="t15header" #ALIGNMENT# >Info</th>
    <th class="t15header" #ALIGNMENT# >Employee Number</th>
    <th class="t15header" #ALIGNMENT# >Name</th>
    After Rows
    <tr>
    <td colspan="99" class="t15afterrows">
    <span class="left">#EXTERNAL_LINK##CSV_LINK#</span>
    <table style="float:right;text-align:right;" summary="pagination">
    #PAGINATION#</table>
    </td>
    </tr>
    </table>
    *Javascript in page Header*
    <script src="#WORKSPACE_IMAGES#apex_show_hide_region.js" type="text/javascript"></script>
    <script language="JavaScript" type="text/javascript">
    <!--
    function selectRow(pJob)
    /* console.log('pete got here!'+pJob)*/
    $x('P900007_JOB').value =pJob;
    /* Start Page init*/
    function *page_init*()
    /* Used to set radio groups on reports */
    /*console.log('START pete got here!');*/
    var is_checked = false;
    var l_check = $x_FormItems($x('emp_report'), 'radio');
    /*Loop and set flag if checked*/
    for(var i=0,len=l_check.length;i<len;i++)
    if(l_check.checked){
    is_checked = true;
    /*end loop*/
    /*If none checked force a click*/
    if(!is_checked){
    /*no longer need as doing click below*/
    l_check[0].checked=true;
    /*Force a click on the first radio group - extra details should then be
    populated*/
    var l_click = l_check[0].click();
    /* console.log('END pete got here!');*/
    /*END page_init*/
    // -->
    </script>
    *Application shared component.* – This fires a DB packaged procedure when the page is loaded.
    P330_PART_NO_HIST
    Process Point On load after Body region
    Process Text show_hide_memory.part_no_history_details();
    *Packaged Procedure* – This kicks off the page_init javascript in the header (earlier) to click on the radio group in the first row.
    PROCEDURE part_no_history_details AS
    BEGIN
    htp.prn('<script type="text/javascript">' || CHR(10));
    htp.prn('<!--' || CHR(10));
    htp.prn('page_init();'|| CHR(10));
    htp.prn('//-->' || CHR(10));
    htp.prn('</script>' || CHR(10));
    END part_no_history_details;
    Thanks Pete
    Edited by: Pete @ LSC on 26-Jan-2010 06:56

    Anybody any ideas? Should I be looking down the route of using my own pagination buttons and adding my code to this?
    There seems to be a routine $a_report that I can use for the pagination but I am finding it difficult to get the current first and last record values that I would need to pass. I've seen references to below in the form but when I'm using partial refresh they do not seem to change.
    wwv_flow.g_flow_current_min_row
    wwv_flow.g_flow_current_max_rows
    wwv_flow.g_flow_current_rows_fetched
    wwv_flow.g_request
    Thanks Pete

  • HT201210 My itouch screen froze showing "plug to itunes" after trying to update to iOS6. Is there any ways to export all the pictures from it before restoring?

    My itouch screen froze showing "plug to itunes" after trying to update to iOS6. It still can be turned on and off. But the screen froze showing that message. I perhaps need to restore it. But is there any ways to export all the pictures from it before restoring?

    Only if y can get the iPod out of recovery mode with the program. Otherwise you will have to restore via iTunes which erases the iPod.
    RecBoot: Easy Way to Put iPhone into Recovery Mode

  • Is there any way to put all the music FROM my iPod back onto my computer?  My school tech person not only wiped out my iTunes, the wiped out my back-up hard drive.

    Is there any way to put all the music FROM my iPod back onto my computer?  My school tech person not only wiped out my iTunes, the wiped out my back-up hard drive.

    Hello cgbuehling
    You can, but only the purchases that were made from the iTunes Store. Other content that was imported from a CD or other sources will not transfer over.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/ht1848
    Regards,
    -Norm G.

  • Hi, haven't used iMovie in years.  I shot some video with my cell phone camera (Samsung Galaxy S2).  When I tried to make a movie, the clips I downloaded played back sideways on iMovie.  Is there any way I an flip the video from horizontal to vertical?

    Hi, haven't used iMovie in years.  I shot some video with my cell phone camera (Samsung Galaxy S2).  When I tried to make a movie, the clips I downloaded played back sideways on iMovie.  Is there any way I an flip the video from horizontal to vertical?  Thanks.

    You actually want a vertical video??
    What would you show that on?!
    Rotating video or photos in iMovie 11:
    http://help.apple.com/imovie/#mov3a884fd3
    In earlier versions of iMovie you can also do this using Quicktime Pro 7:
    Open MOV file in QT Pro (QT 7.6.6)
    Window -> Show Movie Properties
    select "Video Track"
    select "Visual Settings" from lower window
    check "Preserve Aspect Ratio"
    Click on appropriate rotation icon (MOV rotates!)
    Click back on the open MOV in Player Window
    FILE -> Save
    You can also do this using TransformMovie, available here:
    http://www.macupdate.com/info.php/id/21859

  • My iphone 4s will not turn on or connect to itunes.... is there any way i can get the data from the phone?

    is there any way i can get the data from the phone?

    Hi webby84,
    Welcome to Apple Support Communities.
    It sounds like you're experiencing a hardware issue with your iPhone.
    These links are a good starting point for troubleshooting:
    iPhone Assistant
    http://www.apple.com/support/iphone/troubleshooting/
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Best,
    Jeremy

  • Hi I hav a 2010 Mercedes E350 an lost my iPhone. I nw have an I phone 4s my all my contacts are on the cars phone kit. Is there any way I can get the numbers from the phone kit onto my new iPhone.

    Hi I hav a 2010 Mercedes E350 an lost my iPhone. I nw have an I phone 4s all my contacts are on the cars phone kit. Is there any way I can get the numbers from the phone kit onto my new iPhone.

    If you were not syncing the contacts in your phone with a contact manager or cloud service, there is no way to get them from the car to the phone other than manually re-entering them in the phone.

  • HT1329 Is there any way I can get the music from my iPod to my new laptop?

    So recently my computer broke, taking all of my music with it, and now I only have the music on my iPod. Is there any way I can take the music from my iPod and put it on my new laptop?

    You can't transfer song files from iPod to computer using iTunes (except for songs purchased from the iTunes Store).  However, there are methods and utilities that can transfer from iPod to computer.  If you do a Google search on something like "ipod transfer," you should get some links.
    Once the song files are on your computer, you can add them to your new computer's iTunes library.

  • Is there any way to prevent opening the lid from waking my MBP?

    Hi,
    I have a problem with my screen on my MBP such that when the computer is asleep in its case the lid often comes ajar, wakes the computer, and drains the battery. Is there any way to prevent the lid opening from waking the computer?
    Thanks for any ideas on how to fix this.

    Option 3: Open Applications > Terminal and type sudo pmset lidwake 0 (you'll be prompted to enter your admin password). To revert to wake on lid open, use the Terminal command sudo pmset lidwake 1.

  • Is there any way to hook up the iPad 2 to an external CD/DVD drive?

    I want to get my girlfriend an iPad for college, but her textbooks frequently come with CD's with supplemental learning resources. She also enjoys watching DVD's. Unfortunately, the iPad lacks a USB port, so it can't be connected to an external CD/DVD drive. Is there any workaround, such as a USB adapter that can be used with the existing iPad interface? Or is there some sort of wireless solution to be able to use an external CD/DVD drive? Knowledgeable feedback is appreciated, and please don't suggest buying a laptop, as I have already considered that. My inquiry refers strictly to my query regarding hooking up an external CD/DVD drive to the iPad 2. Thanks in advance!
    Lou

    louven23 wrote:
    please don't suggest buying a laptop, as I have already considered that.
    Ok - then since the answer to your question is NO - then you have all of ....
    Knowledgeable feedback
    that there is on the subject. There is no way to connect any device to the iPad except for a camera using the camera connection kit.

  • HT1296 Is there any way I can transfer the music from my ipod touch to my computer without having to pay for it? Itunes worked fine with my ipod on my old laptop. I am not willing to risk losing all of the music on my ipod to update to the newest iOS.

    I really don't want to lose all of the music I have on my ipod touch. It worked fine with my ipod and my old laptop but I got a new laptop and now it doesn't want to sync anything except purchases I made on the ipod and everything that was in the cloud. The rest of the music on my ipod is from old CDs and I am away from home. I would greatly appreciate it if someone could give me some advice. I also don't really want to pay for a download that moves the music into itunes so if anything is free and safe that would be great or if there is a way to do it manually. Again thanks to anyone who has advice to share.

    You would have to purchase a 3rd party program ( not supported by Apple).
    The ipod is not a storage/backup device.
    Copy everything from the old computer or your backup copy of your old computer.

  • Is there any way to speed up the printing from my Mac to my HP LaserJet?

    I just bought an HP LaserJet Pro 400 M451dn and it works wonderfully and prints amazing quality but the only problem is it takes a VERY long time for my MacBook Pro to send the data to the printer. It's suppose to be up to 21ppm but I was literally getting 2ppm. Granted it was a rather detailed page I was printing, but 2ppm is still way to slow. Used the generic PCL driver printed way faster but only printed in Black and White.
    Specifics
    Mac OS X 10.7.5
    HP LaserJet Pro 400 M541dn
    USB connected (about 12 feet)
    Downloaded lastest driver and firmware from HP's website
    Tried generic PCL driver, prints waaaaaay faster but only in Black & White.
    I download something called GutenPrint but I have no idea how to install. If thats a good option and someone has instructions I would greatly apreciate it.
    I'm not a tech wiz, but I consider myself good with computers.
    Thanks in advance!

    Gutenprint drivers are intended for non-laser printers. HP supplies the proper drivers, and you can download the latest version directly from HP's support site. Or you can install the most recent HP drivers provided by Apple.
    Printing speeds do not include the time it may take to transfer data to the printer. It also doesn't take into account the time it takes for the printer to be prepared to start printing. Color is much slower than B/W.
    Contact HP for any additional assistance you may need since these forums do not provide support for non-Apple products.

  • My iPhone has 5.0.1 software but my touch is still 4.3.2, is there any way i can transfer the software from iPhone instead of downloading 800MB?

    basically i want to tranfer my ios 5 software from my iphone to itouch without having to download the software. Any help on this?

    You cannot.  No way around it.  It's different software, though it is the same iOS.

  • Is there any way to password protect the ipad from syncing with a computer? Or Blocking it from a computer?

    My brother borrows it and always adds music to it. I want to prevent this from happening.

    Password protect the iPad and he won't be able to use it at all. Seems like the appropriate response if someone is using your belongings in a way you've requested they should not.

  • Is there any way to clear out the notifications from iMessage Beta?

    I installed iMessage beta to sync up my iPad and iChat chats... Except, now iMessage claims I have one new message but in actuality I don't. Does anyone know how to get it to stop saying 1?
    I've closed all the chat windows, I've restarted the app...

    I found this document on how to restrict imessage
    http://www.bewebsmart.com/ipod-ipad-iphone/how-to-restrict-imessage/

Maybe you are looking for

  • Exchange Rate difference recovory from vendor

    Hi Expers, We have an issue with our client over the below issue . A Canadaina Plant created a PO with Hungary vendor with HUF as currency in the PO , During PO creation there an exchange rate say X1 ( Exchange Rate not fixed ) . Due to some reasons

  • How to insert a new line in MC1H(maintaining formula)

    How to insert a new line in MC1H(maintaining formula) Can anybody help me with  the steps

  • N280 gtx-t2d1g super oc connection problem

    just bought this video card super oc goes up to 700mhz. unfortunately , still not able to get it to work . i was hidden the facts that this card has a 8 pin and 6 pin connector. i just bought a power supply toughpower from thermaltake 850w cable mana

  • Partition Exchange Load in same schema

    Hi all, If my source and target tables are in different schema but table's structures are same. Can I apply Direct partition exchange load (PEL) in my mapping using OWB. Plz help me...... Thank & Regards Soumen

  • IPad originally synced with PC, updates fail when on Mac

    I originally synced and stored my iPad info on a PC, then a few months later I got a MacBook Pro.  I'm running OSX 10.6.8 on Mac, iTunes 10.4.  The problem is that when I attempt to update the IOS on iPad (as I did today), the update fails, then I ha