Showing content in another region on the same page using url
Hello Experts,
I have a page with two region, say region A and region B. Region B is a sql based report that shows rows of information about a set of files with the first column rendered as an URL for the actual file itself. On clicking this url the file content is displayed in the same window replacing the existing content. I would like for this file content to be shown in the region A, without replacing the entire window. Is this possible?. I tried assiging a static id to region A and use it in the url, however that is not working and i am still in the process of figuring this out.
thanks
Seetharaman
When you click on the link , get the URL and show the link in an iframe
Suppose your report links are rendered like(HTML code of the report)
<td[headers="FILE_LINK"]><a href="http://myurl:8080/blah/blah">Blah</a></td>*Have an onload JS which causes clicking on the file link to generate an iframe and load it inline (I would have chosen a jQuery modal dialog over an inline display)
$('td[headers="FILE_LINK"] a').each( function(){
url = $(this).attr('href');
$(this).attr('href','javascript:void(0);');
t = $(this);
$(this).click( function(e){
e.preventDefault();
t.after('<iframe src="'+url+'"> </iframe>');
});<i>Note: modify the link field selector to match your report column links</i>
As an additional comment: Showing an entire html page(or a file) inline in a report might not be visually appealing, try opening it as a modal popup.
Similar Messages
-
Using Link from one region as parameter to another region on the same page
I have a page with two regions.
Region 1 has a list of items that are dispalyed as links
Clicking on a specific item I need to have a calendar report displayed using the value of the link for eg
Region 1 Region 2
abc Calendar based on the link selected in region1
def
xyz
How is this possibleI spent quite a few hours after this was posted trying to figure it out and I did.
Select Mailbox > Export Mailbox. This asks you a location to export the mailboxes to. It just uploads the exported mailboxes into Dropbox.
Then change the User that I want to import the mailboxes into. Select Import and select the location of where you placed the folder in Dropbox. This then imports the mailbox into a folder called Import. You then drag and drop the copied mailboxes from the Import folder to the folder in the structure you have. If you decide to delete the folders from the import folder list, do this. You can also delete the copied folders from Dropbox if you wish.
Took a while, but I got there and I'm happy now.... -
How to make a link in a report open a Form in a different region of the same page ?
Hi,
I developped a report and a form for the same table. I also created a link and used it in my report so that when I click on the link of one record, the form is opened and display this record.
My problem is that when I include my report as a portlet and I click on a link, the form is opened in full screen mode by replacing the page containing my report.
What should I do in order to open this form in another region of the same page ?
Thanks a lotI presume that the two regions are working fine with their individual buttons and your issue is how to make them both save with one button.
Here is how
a. You will have 2 ApplyMRU and 1 ApplyMRD processes for each of the regions. Right? Lets say you have 2 "Save" (i.e. label=Save) buttons, one has name SUBMIT and the other SAVE ( SUBMIT and SAVE being the requests that will be sent when they are clicked , respectively)
b. Make the Display condition on one of the buttons 'Never'. Now it won't show when you run the page. Lets say you made SAVE's conditional Display 'Never'
c. Go and change the condition on all ApplyMRU and ApplyMRD processes from "When Button Pressed" to "Request is contains in Expression1". In Expression1 enter SUBMIT,SAVERegards -
How can I jump to certain region on the same page?
Hi,
I want to jump to certain region on the same page.
1) Let say I have 5 regions on page 15 and I have to able to redirect from region 1 to region 5 with out scrolling.
2) I have to able to branch from page 2 to page 15 ==> region 4.
How can I do it?
I thank you for any help in advance.I can get this to work but the page is submitted, either when I use a button with URL link or from a link on a display only text field.
Is this how it is supposed to work? I thought it was supposed to work just on the browser so it is fast.
IGNORE THIS!
=============================
I resolved it easily by modifying the URL from f?p=blah blah to #LINK_NAME
Message was edited by:
user530800 -
SVG chart and region on the same page
Hello,
I would like to know if it's possible to create an svg chart and and only refresh a region in the same page.
If it's possible, where I can find how to do this.
If I call an other page my data is ok. But When I refresh the same page my data is not good.
Thanks
EricGo to Dropdown web item properties and choose your report and use Before Command and use OPEN_CHART_DIALOG. You may try with After Command also.
-
Mutliple report regions on the same page querying same tbl
Hello,
I have a normal multiple report regions in a page with some editable in those regions, these report regions are querying the same table. Now, Is it possible to have one submit button for all the report regions to update the underlying table data?
Can anyone please help me out with this one.
thanks,
OrtonSure, here are some details:
Oracle apex version: Product Build:4.2.3.00.07
Tables :
STUDENTS - rows : student_id(PK), student_name ...
COURSES - rows: course_id(PK), course_name, course_credit
STUDENT_COURSE - rows: student_id(FK), course_id(FK), student_course_id(PK)
I have a page where I show student's details. On this page I have access to student's id. The name of the field (on the page) is P9_STUDENT_ID. On the same page I want to have a table which is linked to an sql query that lists a student's courses, their credits, names etc.
My sql query is the following:
SELECT courses.course_id, courses.course_name, courses.course_credit
FROM student_course INNER JOIN courses
on courses.course_id = student_course.course_id
WHERE student_course.student_id = 1
Currently it displays all courses of student with Id = 1. I just want to replace this '1' with the actual student_id for the student we are currently displaying information for. Or, in this case P9_STUDENT_ID field's value. Don't know if this is the right way to do this, but still reading for options -
Filtering a Report on the active record of another Report on the same page
Hello,
I have a Form and Report on the same page in an APEX app. The interactive report is used for sorting/filtering etc. and the Form is used to present the data for one record at a time, as well as allow updates in selected fields. This was done using the wizards, the little 'edit' button is clicked to change the form to the selected record.
I also have (or want to have) a second non-interactive report on the page, which displays some records based on the record of the main report that is currently selected and appearing in the form.
I tried doing a simple 'SELECT fields WHERE link field is equal to main report', but it always says no data found.
Basically, I need to be able to have a query for the second report that says 'SELECT these fields WHERE the site is equal to the site currently being displayed in the form'.
When the little pencil/paper 'edit' button is clicked on a report, does this set some ActiveRow or something like this that I can use to filter the second report?
As you can tell from this post, I am in my database skill infancy, and any literature/pointers on how to achieve this (outside of MS ACCESS...) would be appreciated.Okay, I have somewhat got my head around Column Links, and have put the key link field into the URL:
The value is P4_MDF, and in this URL example it has taken the value of 'WLAH01'
f?p=880:4:3924084145794812::NO::P4_MDF,P4_ESA_CODE,P4_SITE_NAME:WLAH01%2CWLAH%2CWYRALLAH
Now I just need to work out how to use this value in the URL to filter the classic report.
I have used this query:
SELECT *
FROM
"MACHINE_INFO"
WHERE CCP = :P4_MDF
As CCP in the report im trying to filter is the same as MDF in the IR that I am clicking the Column Link
This is the Debug for the 2nd 'filtered' report (which filters everything)
0.09: show report
0.09: determine column headings
0.09: parse query as: EXPAT
0.09: binding: ":P4_MDF"="P4_MDF" value="WLAH01"
0.09: print column headings
0.09: rows loop: 15 row(s)
I'm slowly getting the hang of this, any assistance would be great! -
How to update data in database from different region of the same page
Hi,
I have pepared two regions of tabular form based on the same table,each region is selecting different columns of the same table.
I want to update the values from different regions in the database using single submit button.
Regards
ShashiI presume that the two regions are working fine with their individual buttons and your issue is how to make them both save with one button.
Here is how
a. You will have 2 ApplyMRU and 1 ApplyMRD processes for each of the regions. Right? Lets say you have 2 "Save" (i.e. label=Save) buttons, one has name SUBMIT and the other SAVE ( SUBMIT and SAVE being the requests that will be sent when they are clicked , respectively)
b. Make the Display condition on one of the buttons 'Never'. Now it won't show when you run the page. Lets say you made SAVE's conditional Display 'Never'
c. Go and change the condition on all ApplyMRU and ApplyMRD processes from "When Button Pressed" to "Request is contains in Expression1". In Expression1 enter SUBMIT,SAVERegards -
Display same data on 2 regions of the SAME Page
Hi
I have 2 regions.Top is an interactive editable report.Bottom region is a read only report of the same(top region)
But when i click search button(based on paramters 1&2, i am not able to see the same number of rows.
Top region shows 5 like emp id 1,2,3,4,5..But bottom region shows not the same.Bottom showa lke 1,2 ,33,34,35
How to show at the bottom only the common rows from the TOP like 1,2,3,4,5 in TOP and 1,2 only at the Bottom
Is there any custom process i need to add ?
Please advice
thank
kpKP,
I don't think this query is particularly tricky, but it would be good if you could upload your application to apex.oracle.com and share some developer credentials with us? It will be much easier to understand your problem visually.
Kind Regards, Pete -
Html Portlet links displaying in another portlet on the same page
I have seen similar posts but no detailed explaination of how this is done.
I have an html portlet with links whose content I would like to display in an inline rendering portlet on the same portal page. How can I pass the link url from the html portlet to the inline rendering portlet?
Thanks,
RobynIf your environment is fairly static, you can handle this easily.
The link in your HTML portlet must refer to the page URL of the portal page on which the HTML portlet resides (which changes from portal page to portal page), to which you need to append the parameter that your "inline" portlet (under which I'm not sure what you mean) reads:
<a href="http://<portal_page_url>&my_param=value">click here</a>Is this close to what you're willing to do? -
Querying last element in a dimension based on another level in the same dimension using MDX
Summary: I need to write an MDX that returns the last date available in the level in the date dimension based for each month in the same dimension.
Details: i have the a dimension which has the following levels.
Dim_Date : Date (key) , Month (name of month), Quarter, Year.
The query i m trying to come up with would return the result something like
Month || Max_date || measure1
Jan 2014-01-25 100
Feb 2014-02-28 200
Please let me know if the above makes sense. Basically i m trying to get the max date for each month.
Thanks
SriHi SrikanthGS,
Assuming that with the last date available for the measure you mean the last date with non-empty figures, consider the following against the AW:
SELECT [Measures].[Internet Sales Amount] ON 0,
Generate (
[Date].[Calendar].[Month].Members,
( Exists ( [Date].[Month of Year].[Month of Year], [Date].[Calendar].CurrentMember ),
Tail (
NonEmpty (
Descendants ( [Date].[Calendar].CurrentMember, [Date].[Calendar].[Date] ),
[Measures].[Internet Sales Amount]
1
) ON 1
FROM [Adventure Works]
WHERE [Product].[Product Categories].[Subcategory].&[1]
Philip, -
Dynamic dropdown based on user selection of another dropdown on the same page
hi all, ok, I have a table which contains use data, a name,
and a userID. for the example lets say "Simon Bullen" and my userID
is "999".
on a form I have, there is a dropdown box, which is dynamic
from this table, and allows me to select Simon Bullen, however, I
have a hidden field on the form, which when the user selects "simon
bullen" the hidden field populates with the appropiate U number
from the same table.... no i thought this would do it:
<cfquery name="userNumber" datasource="userList">
SELECT userNumber FROM dbo.Users WHERE Name =
<cfqueryparam value="#form.Name#">
</cfquery>
and then my dynamic form field (hidden) would reference to
this query....
but it doens't work, could somebody please enlighten me? I'm
hoping its something silly
Thanks in advanceYou could make the value of the option the UserID and the
option display the name.
If that isn't what you need, I think you'll need some
javascript to populate your hidden field based on what is chosen in
the select.
I think you can modify this:
http://www.javascriptkit.com/javatutors/selectcontent2.shtml
...to populate your hidden field instead of a new select
list.
If there's a way to do that without JS I'm not aware of it.
A third possibility: look up the UserID (based on the name
chosen) after the form is submitted then do with it whatever you
need to. -
How to get a form to appear on the same page when a button is clicked?
Hi,
I have a report on a page with a create button. When a user clicks the create button, a form should appear on another region in the same page....how do i go about doing this?
I know how to do this if the form is on a different page, but i'd like the form to appear on the same page as the report and only when the button is clicked.
Thanks.Hi,
I did the following, but it didnt work....
1) Created a hidden item on the page, and in the Default Value field, I set the value to N.
2) Created a button in the report with the following values under "Optional URL Redirect":
Target is a: Page in this application
Page: 4
Set these items: P1_SHOW_FORM
With these values: Y
3) Created a form of HTML text type with the following values under "Conditional Display":
Condition Type: Request=Expression 1
Expression 1: P1_SHOW_FORM='Y'
What have I done wrong or have i missed something?
Thanks. -
Interactive report with detail sub-report on the same page
Hi all,
I'm fairly new to APEX, sorry if my question is too obvious. I'm using Apex 4.0.2 on top of Oracle 11.2.
I have an interactive report listing the content of a table. Since there are many columns in that table I would the report to show only a few identifying columns and the complete record currently selected being displayed using another report in a separate region on the same page.
The "Link Column" on the interactive report does almost that except that it jumps on another page; I would like to simply have a sub-report updated with the selected data instead of a new page displayed. Does anyone know how to do that?
Thanks for your help,
ChrisChris,
this sounds like what I normally do in my referential data.
I use the wizard to create "form with report"
I make sure that both regions (the form and the report) will be set on the same page number
then I check/change the order of the regions (report first, form second)
then I set the form to display in column 2
regards,
Richard
P.S. the report only shows enough columns to recognize the records. the form shows all records -
Linking and displaying on the same page
Hello I am currently trying to build my website, I want to
click on a link in one table and the results to display in another
table on the same page. Example - I have a left column, center
table, and right column. In the left column "Athletic Diamonds" is
one of the choices, when this is clicked on I want a group of
photos to be displayed in the center table on the same page. How
can I do this?You can use DW's SetText behavior to set the text of a
content region with
an ID to the desired HTML required to display the results.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"LPrime" <[email protected]> wrote in
message
news:ga1nqg$4cj$[email protected]..
> Hello I am currently trying to build my website, I want
to click on a
> link in
> one table and the results to display in another table on
the same page.
> Example - I have a left column, center table, and right
column. In the
> left
> column "Athletic Diamonds" is one of the choices, when
this is clicked on
> I
> want a group of photos to be displayed in the center
table on the same
> page.
> How can I do this?
>
Maybe you are looking for
-
Error Message in Crystal Report Server 2008
Hi all, After I execute the crystal report 2008, i got the below error message. "The request could not be submitted for background processing. " Anyone knows how can i resolve this problem? Kelvin
-
Error while installing Oracle 10G Grid control in RHEL
I was installing Oracle 10G Grid control in RHEL. Got the following error. Any idea what this means and what is the remedy? ======================================= Output generated from configuration assistant "Oracle Net Configuration Assistant": /h
-
How do I find and deleat dupliciate Photos?
How do I find and deleate duplicate photos?
-
Dual monitor trouble/video trouble
I have a 2010-version Mac Pro (model 5,1) (purchased early 2012) with the stock 5770 video card running identical HP LP2275W monitors by the Displayport connectors. No recent changes in hardware, OS or software. Suddenly, the "secondary" monitor is g
-
Flash will not install when using firefox 34.0.5
I have installed Firefox 34.0.5. I've tried everything to install flash but it still do not work. It says it installed fine, but when I check, it has not been installed. It's not even in the add-on list. Please tell me how this works. Thanks.