AJAX calling report from one page to another not Reseting Pagination
I have links on one page that when clicked are calling a report on another page and loading it in a DIV with AJAX. The problem I am having is that the reports on the 2nd page are built dynamicly depending on the link you click. If you are viewing lines 16-30 and go to a report that only has like 5 lines, you get the Need to Reset Pagination error.
Invalid set of rows requested, the source data of the report has been modified.Reset Pagination>
In the htmldb_Get line, I thought you could set it to reset pagination when it fires. The AJAX is below. Does the RP need to be somewere else? or am I just missing something...
function doReport(pC,pM) {
document.getElementById('report_drop').innerHTML = 'Loading Page...';
var tableRow = document.getElementById('reports');
tableRow.style.display = 'block';
var get = new htmldb_Get(null,$x('pFlowId').value,'RP',2);
get.add('P2_CODE',pC)
get.add('P2_MPC',pM);
gReturn = get.get(null,'<clip>','</clip>');
get = null;
$x('report_drop').innerHTML = gReturn;
init_htmlPPRReport($x('report_drop').getElementsByTagName('DIV')[0].id.replace('report',''));
return;
}So from what I understand the line below should be resetting this
var get = new htmldb_Get(null,$x('pFlowId').value,'RP',2); Edited by: Matt.Smith on Jul 18, 2011 12:08 PM
Hi,
Source setting for that form page item P1_COUNTRY is
Source Used:"Only when current value in the session state is null"
Source Type: Static Assignment.Since i build this form along with report.
Is im missing something.
Regards,
Mini
Similar Messages
-
Can anyone give me step by step for calling FM from one SAP to another SAP
can anyone give me step by step for calling FM from one SAP to another SAP
points will be rewarded,
thank you,
Regards,
Jagrut BharatKumar Shukla*& Report RFC_FOR_CUSTOMER_LIST
*& RFC to a Fn. module from another system which implements BAPI
REPORT rfc_for_customer_list.
DATA:
fl_status TYPE i.
DATA:
fs_message TYPE bapiret2.
DATA:
BEGIN OF fs_customers,
id TYPE s_customer,
name TYPE s_custname,
END OF fs_customers.
DATA:
t_customers LIKE
STANDARD TABLE
OF fs_customers.
CALL FUNCTION 'Z_BAPI_GET_CUSTOMER_LIST' DESTINATION 'R3N'
IMPORTING
return = fs_message
TABLES
customerlist = t_customers.
IF sy-subrc EQ 0.
fl_status = 1.
LOOP AT t_customers INTO fs_customers.
WRITE:
/10 fs_customers-id,
30 fs_customers-name.
AT LAST.
WRITE:
/,/5 'No of customers in R3N = ', sy-tabix.
ENDAT.
ENDLOOP.
ELSE.
MESSAGE 'RFC failed' TYPE 'S'.
EXIT.
ENDIF.
TOP-OF-PAGE EVENT *
TOP-OF-PAGE.
IF fl_status NE 0.
WRITE:
/12 'ID' COLOR 6,
32 'NAME' COLOR 6.
SKIP.
ENDIF.
This is one small example...
Regards,
Pavan -
How to pass column name as a values from one page to another
hi
i have created a report(pivot) from a table
SQL> SELECT * FROM T;
C1 C2 C3 D SEQ
A AA 2 1
A AB 3 2
A AC 2 3
B AB 5 4
B AC 6 5
SQL> SELECT C1
2 ,NVL(MAX(CASE WHEN C2='AA' THEN C3 END),'') AA
3 ,NVL(MAX(CASE WHEN C2='AB' THEN C3 END),'') AB
4 ,NVL(MAX(CASE WHEN C2='AC' THEN C3 END),'') AC
5 ,SUM(C3) FROM T GROUP BY C1;
C1 AA AB AC SUM(C3)
A 2 3 2 7
B 5 6 11
SQL>
my requirement in Apex is like this(reverse)
eg-
when i click on cell values '2' then,it should return
C1 C2 C3 D SEQ
A AA 2 1
{quote}how to pass column name as a values from one page to another
for example i have to pass 'c2' as a value to next page{quote}for report pivot you can reffer below link
Report
Amuthanks for your reply
i 'm doing what exactly you mention here .
my problem here is
i have 15 columns
i am executing a query based on the values of the column(column name) in the target page
1)here i am passing(all) the column values to the next page-but i want to pass only one column values(column name)
when i click on any cell of that column
OR
2)i can pass all column name to target page -there(in the target page) i can filter out
i think option 1 would good if you filter out the unwanted columns
Regards
Amul -
Move TextFrame From One Page to Another (Indesign CS3 & VB )
Hello Friends!!!
I have create 5 pages catalog in indesign CS3 & i need to shift one Group From One page to another...can anybody help me to do this issue.
what i have tried is.......
Set MyPge = MyDoc.Pages.Item(3)
MyDsgn.Select MyPge.Groups.ItemByID(100)
MyDsgn.Cut
Set MyPge = MyDoc.Pages.Item(4)
MyDsgn.Paste
using this code group is pasting on page 3 again again. coz my screen is displaying page 3 it's not scrolling to page 4.......when i scroll to page 4 manually then it works. so the issue is how to scroll or how to activate perticular page on screen......plzz help me to do this......or is there any other way to solve this...
Thanks
Dhirajto change active page:
myInDesign.ActiveWindow.ActivePage = myPage4
call myInDesign.Paste
or you can move Group:
call myGroup.Move(myDoc.Pages.Item(4))
robin
www.adobescripts.com -
How to setup the Hyperlink from one page to another page
Hi,
I am new to Oracle APEX. My requirement is to setup a Hyperlink from one page to another page.
Currently I am displaying 4 columns in the report of Page 1. The report is like below,
Survey Response Count_of_Cities City_Name
AB Y 2 LONDON,CHICAGO
AB N 3 DELHI,MUMBAI,CHENNAI
AC Y 1 LONDON
AC N 4 TOKYO,HONGKONG,BANGALORE,HYDERABAD
But the revised requirement is I need to show the City_name in another page i.e. Page 2 when the user clicks on value of the Count_of_Cities. i.e. If the user clicks on 3, In page 2 the values should be appear like below
DELHI
MUMBAI
CHENNAI
If I click on the 4, the values in the page should be like below,
TOKYO
HONGKONG
BANGALORE
HYDERABAD
Currently in Page 1 I am hiding the City_Name and created a Hyperlink on Count_of_Cities. When clicked on Count_of_Cities it is navigating to Page 2. But the values for City_Name are not showing properly.
Please sugegst how I can show the City_Name values in page 2?
Please let me know if you require any additional information.
Please provide the solution. The requirement is urgent.
Thanks in Advance
Edited by: 980540 on Jan 9, 2013 3:08 AMI got the answer on my own.
-
Pass value from one page to another
Hi All,
"How to pass the value from one Flex page to anothere Flex
page".
In First Flex page contains One Inputtext and one button is
there.After entering the data in inputtext box,the user clicks on
the button then get the data from inputtext box and then i need to
send that value to another flex page and display there.
Can u tel me plz............
Thanks & Regards,
Nagarjuna.I believe you are thinking in terms of HTML and traditional
page coding. As an old school ColdFusion guy I understand it is
difficult to leave that behind. (at least it was for me.) Unless
you literally have two different HTML pages that each have their
own Flex app running in them you do not need to send data from one
page to the next like you would with Web Forms. (If you are doing
that you may want to simply write the data to a Shared Object, Pass
it to a server to store and then feed back into the second Flex App
when it loads or perhaps use the ExternalInterface to then pass it
through as a series of URL parameters that can be loaded into the
next Flex App.)
In Flex you do not have to worry about loosing state between
pages because there are literally no pages. Only different views.
You would not "Send" the value from one page to another. You
provide a mechanism for the second view to reference the same model
or data object (most call them ValueObjects) that the first view is
setting via the form fields.
You would want to use a ValueObject in the first VIEW and
then fill the object with the form data using setter methods on the
object. For example set the fields onChange event to call the
setter on the object and pass it the form fields value as the
property. Alternately you could bind the values of the model
directly to the fields so that they automatically obtain the data
that is being filled in.
Depending on how complex of an application you are going to
build and how scalable it must eventually be you have many
different options to choose from to allow the second View to use
the data set but the first. However to make the application
ultimately more scalable you are going to want to keep your view
separated from the controller and that separated from the
Model/ValueObject. (By seperated I mean in different classes.)
I would suggest looking up the subject of MVC in Flex and
also the Mediator Design pattern. There are many great sources of
information.
Here are a few links that may help with ideas.
http://flexblog.faratasystems.com/?p=246
http://pages.cpsc.ucalgary.ca/~heatond/mediator/
http://livedocs.adobe.com/flex/3/html/help.html?content=introbd_2.html -
ADF: Passing parameters from one page to another using setPropertyListener
Hi,
I'm trying to find a simple way to pass a parameter from one page to another.
On the first page I have a table, the second page is a history page, showing the change history of rows from the table on the first page.
In the table on the first page there's a unique column (an order number), the value of which is never changed for a given row.
What I would like is to be able to pass the order number from the currently selected row of the first page on to the history page, making the history page show only the history for the given order number.
Using the task-flow for the history page, I've defined an input parameter (an order number), defined a criteria and so on. I've tested the functionality of this in the Application Module, and it seems to work.
My problem is passing the order number from the first page to the second.
I've created a Managed Bean, with a variable for the current order number, including accessors. On the table on the first page, I've created a contextMenu, and added an Item called "Show history" with an action that navigated from the first to the second page (a control flow I've defined in adfc-config). I've included a setPropertyListener in the "Show history" item. I've set the "From" property of the setPropertyListener to "#{row.ordernumber.attributeValue}" and the "To" property to point at the order variable in the Managed Bean. Finally, I created a new page for the history, dragged the history task flow onto this page as a region, using the Managed Bean order variable as input parameter.
The result is this: When I bring up the context menu from a row in the table on the first page and select "Show history", I get this error: "The class 'java.lang.String' does not have the property 'attributeValue'."
That's a bit puzzling to me, seeing as I used the Expression Builder to fill out the "From" property. I've tried using "inputValue" instead of "attributeValue", but that simply changes the error message to: "The class 'java.lang.String' does not have the property 'inputValue'."
What am I doing wrong?
Regards,
AndreasHi Timo and Puthanampatti,
I actually tried something similar to what you have suggested before starting this thread, but still got an error. What I hadn't spent a lot of time investigating initially was that it gave a DIFFERENT error. But after reading Timo's suggestion, I went back to this other error and found out that it was connected to my Managed Bean. For some reason, I had made the mistake of giving the bean the same name (in adfc-config) as the actual java class. And this leads to a circular reference error (that I would only get to see when I didn't get the java.lang.String error first).
Having fixed this, I can successfully pass my parameter from one page to another (with the "From" property of the setPropertyListener set to "#{row.ordernumber}").
Thanks for your time,
Andreas -
Transfer executable report from one server to another
hi all,
How to transfer executable report from one server to another?
please reply fast
its urgent
thnx in advanceKush,
To transfer a object from one server to another server it should be assigned to a package ie Dev Class so that a transport request can be created.Once the request is created we will release it using SE09 and then ask the basis consultant to move the request from Dev to Quality and then Dev to Production.
$TMP objects are called as local objects and can't be transported.
K.Kiran. -
Migrating a webi report from one environment to another using import wizard
Hi Everyone,
Can anyone please tell me what all access should I have on my ID to be able to migrate a webi report from one environment to another environment(e.g. from development to quality).
Regards,
Neeraj SharmaHi,
To use the Import Wizard utility, you basically need Administrator, Full Control to Top-level folder, and "Add objects to the folder" and "Edit objects" for this user on the root folder.
You need the least restrictive role, because you require absolute control for content promotion between 2 entitlement systems.
the webi document is the cherry on-top, you;ll have universes, connections, folders to bring over too.
Regards,
H
p.s. check Note 1450708 - How to restrict access to the Import Wizard from a Business Objects Enterprise system
and
Note 1297121 - What rights needed to use Biar File Extraction for a normal user while using Import Wizard ? -
How do i move an app from one page to another
how do i move an app from one page to another? When I upgraded to the latest software on my 4s, the camera went to the last page rather than remaining on the home page
What Rudegar says is true, but it's a lot easier to rearrange icons in iTunes:
Connect your phone and open iTunes.
Click on the Apps tab.
You will see your home screen in the main window, with the other screens in a scrollable column on the right. Scroll down and click on the last page to put it in main window.
Now scroll the column so the home page is visible on the right.
Click on the Camera and drag it onto the home page at the right.
Be careful not to accidentally insert it into another app, thereby creating a group. -
How do I move apps from one page to another?
How do I move apps from one page to another?
From a previous thread:
Touch and hold any icon for a couple of seconds. They'll all start to wobble. Touch and drag the one you want to move to the side of the screen and the next screen will appear; drop the icon on whatever screen you want it on.
You can also do it quicker in iTunes - connect the phone and click the Apps tab in the main window. You'll see a picture of your phone with the apps laid out. Just click and drag -
How do you move icons from one page to another?
How do you move icons from one page to another?
hold down on an app till everything start shaking then move it to one side of the ipad and it'll change "pages" after a second or two.
-
How do I move an app icon from one page to another?
I would like to organize my Ipad2 but can figure out how to move the app icon from one page to another.
Tap and hold down on an app icon until it wiggles. Then hold down on the icon and drag it about halfway over to the next screen and just hold it there for a second or two and the app will jump to the next page. Do it slowly and just hold the app on the edge of the screen. Don't try to drag it over quickly. It takes a little practice.
Tap the home button when you are done and the apps will stop wiggling. -
I have three pages of apps, not all of which are full. How do I move apps from one page to another to have full pages?
Hook your iPad up to your computer and iTunes and move them from within iTunes.
Or
Hold down on one of your apps until they all start to wiggle. Then hold down on the ones you want to move and drag them on the screen. Drag them to the middle left to move them left,(such as from page 2 to page one) middle right ot move them right,(from page 2 to page 3) rearrange as you want.
When you're done, tap the home key and everything should stop wiggling. -
How to move a report from one account to another account
Dear all ,
How to move a reports from one account to another account.
These are reports sent automatically. Unfortunately, I do not know where to find them and how to export to another account.
PuruHi,
You can use the Transaction SCC1 to move the data from One Client to Another Client for a Client dependent table.
The data should be present in a Transport and you can import to Transport to any client using SCC1.
Contact the Basis team to know how to use SCC1.
Regards,
Aj
Maybe you are looking for
-
Any new suggestions on how to send emails with godaddy account on iphone?
Godaddy email is my only email account that I cannot send emails from on my iphone. Have called everyone and read everything many times about what seems to be a common issue but verizon, godaddy and apple all have same answers, no answers or act surp
-
How to setup airport time capsule to get better performance?
I need to set up my wireless system with my new Airport time capsule 3T as primary base station to get better performance, and If I have a cable modem as primary device to get the signal (5MB) from the ISP then my network has one, Macbook pro, Macb
-
Anyone run into the following situation: 1) "postfix/pipe : warning: pipecommandwrite: write time limit exceeded" error messages start showing up in system.log 2) The postfix queue starts filling up with mail to be delivered for a particular user. Us
-
Hi All, For a simple login page having username and password Textboxes and a submit button, if a user has logged in and someother person tries to log in again with same credentials then I have to discard that session from connecting again and display
-
Problem with DNG conversion of Panasonic FZ-200 .RW2 file?
When I convert a Panasonic FZ-200 .RW2 raw file using DNG Converter 8.6 on Windows 8.1 64 bit, I get a warning from ExifTool of "Invalid DistortionInfo." Looking at the ExifTool source code, this happens when the length of the block containing the d