Without refresh Page Report
hi,
i want to generate a report without refresh. When i enter Student ID in textfield Then personal information of student details Report (without refresh page) sholuld be Generated .
How can i do this.
Thanks
manoj
Hi,
I do not understand. There is only one page that end user actually see. Another page is just holding report SQL.
If that is not good solution you can find this code helpful
http://apex.oracle.com/pls/otn/f?p=40323:12:8
Take pl/sql code. Change it for your need and create on demand process.
Call process via AJAX and insert/replace returned html to your region.
Br, Jari
Similar Messages
-
Safari won't open links without refreshing page
I've noticed a recent problem with Safari where I click on a link and it hangs and doesn't open. I refresh the page and then it opens right up. Anybody else having this issue? Any ideas how to resolve?
Empty Caches.
1. Safari > Preference > Advanced
Checkmark the box for "Show Develop menu in menu bar".
"Develop" menu will appear in the Safari menu bar.
Click Develop and select "Empty Caches" from the dropdown.
2. Quit Safari if open.
Option click the "Go" menu in the Finder menu bar.
Select "Library" and then "Caches".
Look for the folder 'com.apple.Safari"
Right click "com.apple.Safari" and select "Move to Trash"
Relaunch Safari. -
Based on AutoSuggest populate other data without refresh page
I have Auto Suggest and I take the value.
So now I wanna call some php file that will generate data (or
I can generate it before then call filter or something).
So I make AutoSuggest and when I push Search.
Then In some widget under I wanna put filter data, withoud
refresh or something.
What's the best way. thanksquote:
Originally posted by:
Proxim0o
I don't know if this is the answer that your looking for
because your question is not that clear but with some JS like
onclick on onmouse over you can call the JS to refresh your DS with
the correct params and pull the new DS data into your region.
Yes. That can be a solution. It's Button and I'll make an
action OnClick to make some.
Can you give me some example in Spry Site. Some tutorial.
but I'll need first to call PHP so I can create XML with a
needed data then parse it.
Thanks. -
Apex 4.2 dynamic action to refresh a report region on a different page
Hi,
I open up a pop up window from a report region. When the user is done in the pop-up window and closes it, can I trigger a refresh on the report region using dynamic actions without actually reloading the whole page? I know I can use dynamic action on a page to refresh the report region on the same page.
Thanks,
SinanSinan,
So long as the region to be refreshed is still loaded, you can do this. I don't know how you are loading your pop-up or unloading it but, the principle should be the same as what I provide below.
Assume that you have set the static ID for your report to MY_REPORT. (Be sure you have checked "Allow Partial Page Refresh" in the Report Attributes).
$('#confirmBox').find('div#userConfirmationMessage').html( '<span class="userInputRequest">Would you to Refresh your Report?</span>' );
$('#confirmBox').dialog(
autoOpen: true,
modal: true,
title: 'Refresh Conformation',
buttons:
'No': function ()
$(this).dialog('close');
'Yes': function ()
$(this).dialog('close');
$('#MY_REPORT').trigger('apexrefresh');
-Joe -
Hi
i want to generate a report without refresh of the page.
Eg. If i enter the student_id 1 in text field then student_id 1's personal information should display in report without refresh of the page.
there are 5 field in student table
first name
last name
roll no
class
section
Thanks
NishaHi Br, Jari,
can i use the text field in place of select list.
as in given link. we are selecting the value from select list after that report display without refresh of the page.
i want to replace the select list with the text field.
if this Possible Please Suggest me.
Thanks & regards
Nisha -
Open discoverer report in new browser window and without connections page
Hi All,
We are using Oracle 11g Discoverer 11.1.1.4. Requirement is to open the discoverer report in a new browser window and without connections page.
When we are running discoverer reports with this parameters we unwantedly get the connections page of the discoverer plus which we don't want.
Went through the documentation given in this page and followed it still the issue persists, and i see couple of threads with my issue and no updates.
This excerpt is from the documentation available in the link
" _plus_popup=true and framedisplaystyle=embedded launches Discoverer Plus in a new pop-up browser window that contains the Plus applet embedded in it "
http://www.art2dec.com/documentation/docs/oas10g1012/linux/bi.1012/b13918/urlstart.htm
and Here is what we use to invoke our reports.
http://ipaddress:port/discoverer/plus?cn=cf_123&_plus_popup=TRUE&framedisplaystyle=EMBEDDED&wb=disc_wb_1
Request the forum users from PRO discoverer group to help me out of this issue and expect a good discussion on this.
Thanks in advanceClosing the thread
We were able to achieve by changing the browser settings in the IE 8 Browser. Disabled Tabbed browsing. -
How can we get a value in a drop down box without refreshing the page
In my application i am having 14 drop down boxes. On selcting a particular value in a drop down box i am doing its corresponding functionality. I would like to get these values without refreshing the page each and every time i select a text box, Is it possible to get these values without refreshing the page each and every time.
RaghuThere is a new hype going on called AJAX. It is either that, or dumping a lot of information in javascript arrays and reading the information from there when you make selections. I would choose AJAX.
-
Passing javascript values to jsp without refreshing the page
Hi,
How do u pass a value of a javascript variable to the jsp without refreshing the page ?
For example, a file called test.jsp in which a javascript variable x contains value 254. I need to pass the value of x to a method declared in test.jsp(same page).Hi Mona,
when i say refresh i do mean a blink of the browser.
This is a small example i wrote to show you how you can pass javascript varables to JSP variables. If you don't want the refresh to be seen by the user just include this code in a hidden frame on a page and instead of refreshing the entire page, refresh the hidden frame.
i have to say, i didn't test the code so i don't guarantee it's flawless.
if you need an more detailed example just tell me, i'll create one, but it won't be for today :)
<html>
<head>
<title>Log in to the system</title>
</head>
<body>
<script>
//we retrieve the parameter 'user' from the URL
<%
String username = request.getParameter("user");
%>
var user = "<%= username%>";
//check if there is a username in the URL
if(user=="null")
//there is no username so we log the person in as a guest
user="guest";
//we refresh the page and set the user parameter to 'guest'
//the parameter now contains the javascript variable 'user'.
//The parameter can be read by the JSP (see the top op this script).
//This way we gave the javascript variabele to the JSP variable
location="login.jsp?user="+user;
else if(user=="guest")
{ alert("Welcome "+user+", I hope you like this site"); }
else
{ alert("Welcome "+user+", I'm glad to see you again"); }
</script>
</body>
</html> -
How to print history report without refreshing?
Hi,
Does someone tell me how to print history report (deski, webi, and crystal) without refreshing via Java API?
I could not find in Java doc and Developer Library.
thanks,
TakHi,
It looks like that you wan to print Report's Instance and refering it as history report. If you want to print Instance of report (CR, Webi or DeskI), frist get the SI_ID, so that we can access that instance and then we have to use appropriate controller to print the report (instance)
for CR, use BOE/RAS SDK
for Webi and DeskI, use REBean SDK
Regards,
Arjun -
How can we update the date&time without refreshing the page
Hi friends,
I have a jsp page. In that there is Date and Time. The date and time should be updated for every one minute without refresh the page(dynamically).
Its urgent for me
Thanks
Mallikhello friend ru looking at date and time @ client side frm the server side if it is all about the client side date i don't think there is use of AJAX triggers and rendering the view by modifying the dom...
here is an example for you..
<%@ page language="java"%>
<HTML>
<HEAD>
<SCRIPT language="JavaScript">
function startclock()
var thetime=new Date();
var nhours=thetime.getHours();
var nmins=thetime.getMinutes();
var nsecn=thetime.getSeconds();
var nday=thetime.getDay();
var nmonth=thetime.getMonth();
var ntoday=thetime.getDate();
var nyear=thetime.getYear();
var AorP=" ";
if (nhours>=12)
AorP="P.M.";
else
AorP="A.M.";
if (nhours>=13)
nhours-=12;
if (nhours==0)
nhours=12;
if (nsecn<10)
nsecn="0"+nsecn;
if (nmins<10)
nmins="0"+nmins;
if (nday==0)
nday="Sunday";
if (nday==1)
nday="Monday";
if (nday==2)
nday="Tuesday";
if (nday==3)
nday="Wednesday";
if (nday==4)
nday="Thursday";
if (nday==5)
nday="Friday";
if (nday==6)
nday="Saturday";
nmonth+=1;
if (nyear<=99)
nyear= "19"+nyear;
if ((nyear>99) && (nyear<2000))
nyear+=1900;
this.document.getElementById("clockspot").innerHTML = "<b>"+nhours+": "+nmins+": "+nsecn+" "+AorP+" "+nday+", "+nmonth+"/"+ntoday+"/"+nyear+"</b>";
setTimeout('startclock()',1000);
</SCRIPT>
</HEAD>
<BODY>
<div id="clockspot"></div>
<SCRIPT language="JavaScript">
startclock();
</SCRIPT>
</BODY>
</HTML>hope this might help :)
REGARDS,
RaHuL -
Refresh SQL Report (Submit Page Item)
I want to add a search field in a SQL Report. I have something like this
SELECT * FROM emp
WHERE emp_no LIKE :P1_SEARCH || '%'I want to do the search asynchronous, on keypress. The problem is that a SQL Report doesn't have a "Submit Items:" atribute like a interactive report.
So after i refresh the report:
$a_report($x('P1_REPORT_ID').value,'1','10','100');The report is refreshing (the circle icon on top of the screen) but nothing changes cause the :P1_SEARCH doesn't submits.
How could i submit a page item from JS ?
King Regards,
Cearnau Dan
PS: I'm using APEX 4 and using dynamic actions it's the same like the Javascript call.(still doesn't submits the :P1_SEARCH item)Hi Dan,
I would suggest not to use the undocumented
$a_report($x('P1_REPORT_ID').value,'1','10','100');It's very likely that it will be changed in APEX 4.1
Dan.Cearnau wrote:
PS: I'm using APEX 4 and using dynamic actions it's the same like the Javascript call.(still doesn't submits the :P1_SEARCH item)That's true, but have a look at Anthony's blog posting http://anthonyrayner.blogspot.com/2010/07/report-filtering-with-apex-40-dynamic.html which explains a workaround to pass the new values for a classic report as well.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
How to refresh captcha without full page refresh
Hi,
I am using simple captcha implementation using the following link.
[http://www.oracle.com/technetwork/developer-tools/jdev/captcha-099103.html|http://www.oracle.com/technetwork/developer-tools/jdev/captcha-099103.html]
Captcha image refreshes page reload but if i set partialSubmit=true It does not changes the image of the servlet . What is the way to refresh image .
<af:image id="iCaptcha"
source="/captchaservlet"
inlineStyle="width:122px; height:49.0px;"
partialTriggers="cil2"
binding="#{AfProMSDSSearchAction.captchaImage}"/>When I reset the image source by reseting it by javascript it does not refreshes .
<af:resource type="javascript">
function loadCaptchaImage() {
var captchaURL = "/captchaservlet?rand=" + Math.random();
parent.document.getElementById("pt1:s12:iCaptcha").src=captchaURL;
</af:resource>Hi frank,
I got the solution I can change the Captcha image without full page refresh by just adding temparary request parameter to that image so that url changes and it calls servlet again.
Below code will add random number as a request parameter to the servlet url so that url changes everytime.
RichImage image = (RichImage)JSFUtils.findComponentInRoot("iCaptcha");
String randomString= String.valueOf(Math.random());
image.setSource("/captchaservlet?rand="+randomString);
RichPanelGroupLayout capImgPGL = (RichPanelGroupLayout)JSFUtils.findComponentInRoot("capImgPGL");
AdfFacesContext.getCurrentInstance().addPartialTarget(image);
AdfFacesContext.getCurrentInstance().addPartialTarget(capImgPGL); -
Website pages will not open without refresh everytime
website pages will not open without refresh everytime
website pages will not open without refresh everytime
That can be a symptom of a poorly performing DNS. E.g. IE tries a lookup but doesn't wait long enough to get the answer; meanwhile the lookup proceeds, gets cached, etc.; so now when you try your "refresh" it is all there ready to go. Unfortunately,
I don't think there is any way of tuning your TCP to avoid this symptom. A workaround would be trying a different DNS. (A related workaround is to avoid a DNS relay to your router and make the OS aware of your real DNS.) A way of changing
the symptom is to always do enough in a cmd window to ensure a complete lookup is cached before you make your first request using IE, (e.g. using ping -n 1 because you don't care at that point if there
is connectivity for ICMP). But there may be problems doing that, depending on aliases and redirects and short Time To Live values.
Post some details for a specific publicly accessible example, if you would like to see how these ideas could work with it.
HTH
Robert Aldwinckle -
Changing content on page without refreshing
Hey, I need to find out how to have content on my web page to
change without the web page refreshing. Basically, I want to have a
section on my web page that will have news articles and i want to
have two tabs one for "recent" news and another for "popular" news
and when the user clicks on one of the tabs the correct articles
will display in that section, however I want to do this without the
page refreshing, does anyone know how I may accomplish this? Just
to clarify a bit more, I know how to distinguish the "recent" to
"popular" atricles just need to know how to pull them from database
without a page refresh, Thanks!that's correct, you could use layers and the show/hide layer
function that dreamweaver provides: tag inspector - behaviours tab
- plus sign
also you could use cfajax wich combines javascript cfm etc in
a way (i'm not an expert yet on this) that you can request data
without using the page refresh
But the most simple way is indeed to use the show/hide layer
function, see attached code example -
Is it possible to return a database query without refreshing the page?
I have a form which has a drop-down select box. What I want to do is send the value from the select list to a CFC which runs some SQL code and returns a recordset. I then want to use this recordset on my original CFM page that has the form on it.
Is it possible to do this without refreshing the page through some kind of AJAX? Apologies I am a newbie at AJAX but I did manage to write a bit of code that uses <cfdiv> to bind to a URL that does the database work and returns some HTML. But really I just want the database recordset and not sure how to get it?You could use AJAX, Flex Remoting or any such remoting technique. That is, if there is a case for it. However, from what you describe in the first paragraph, you don't need to. Just send the form to its own page.
In the following example, the CFC and CFM page are both in the same directory under the root. I have made use of the cfdocexamples datasource which ships with ColdFusion.
Employee.cfc
<cfcomponent>
<cffunction name="getEmployeeDetails" output="false" returntype="query">
<cfargument name="employee_id">
<cfset var employeeDetails = queryNew("","")>
<cfset var emp_id = arguments.employee_id>
<cfif isNumeric(emp_id)>
<cfquery name = "employeeDetails" dataSource = "cfdocexamples">
SELECT firstname, email as email_name, department, phone, location
FROM Employees
WHERE emp_id = <cfqueryparam cfsqltype="cf_sql_integer" value="#emp_id#">
</cfquery>
</cfif>
<!--- Will activate error-handler in the caller --->
<cfif NOT isNumeric(emp_id) or employeeDetails.recordcount EQ 0>
<cfthrow message="You selected no employee.">
</cfif>
<cfreturn employeeDetails>
</cffunction>
</cfcomponent>
testPage.cfm
<cfif isDefined("form.employee_id")>
<cfset employeeObj = createobject("component","Employee")>
<!--- employeeDetails is a query--->
<cfset employeeDetails = employeeObj.getEmployeeDetails(form.employee_id)>
<cfdump var="#employeeDetails#">
</cfif>
<cfform action="#CGI.SCRIPT_NAME#">
<cfselect name="employee_id">
<option value="0">Employee</option>
<option value="1">Carolynn Petersen</option>
<option value="2">Dave Heartside</option>
<option value="3">Linda Stewart</option>
</cfselect>
<cfinput name="sbmt" type="submit" value="Send">
</cfform>
Maybe you are looking for
-
How to create a subreport link programmaticly using java RAS sdk
Hi, I want to create subreport link for couple of main report parameters programmaticly using RAS sdk. Main report has Param1 and Param2. I need to link these parameters to sub-report which doesn't have any parameters, so I can pass the parameters va
-
An unknown error occurred (-50)
There was an a Problem downloading "A 1.86 GB Movie File" An unknown error occurred (-50) Please check that the connection to the network is active and try again. The Download is stuck at 800.1 MB of 1.86 GB. I have done the asked troubleshooting b
-
How can I upgrade form Logic Express 9 to Logic pro?
I have Loci Express 9 and I want to update to Logic Pro 9 . the only way is to download the "full" version from the app store? SInce I see that the download is only 400Mb what about the 8 DVD that used to come with the previous version? If I download
-
Printing double-sided selectively
Is there any way I can set up my printer or my Indesign pages itself to selectively print some pages double sided and some as single pages? I have a 60 page document which was originally set up to print as single-sided sheets. The client now decides
-
Can macs be used by professional course students?
is it true wat people say that macs are good for graphic designers but not others. are the special features of macs which makes mac different from others beneficial for professional course students like engineering and pharmacy students?