Calendar Day Link to Another Page

I have a Page which has Date as LOV with Submit With Select (This is Page 10)
e.g. User selects a date, report is displayed based on date selected. This is done using Select list with Submit. Date is populated using LOV based on query. The default value of date is Maximum of date in on of my date column.
The above think works great. No problem so far.
I want to create calendar view which is another page (This is Page 20) .
Calendar is created using Calendar wizard. In Calendar, I want to link Day to above Page. I can create day link which links back to Page 10 and also report data is displayed based on date selected in Calendar.
Now, the problem: The problem is value of Date field on above page (Page 10) is always set to default value. Although, I have said that default value should only set when session state is NULL.
So my question is why Date (Display value) is not set to value passed from Calendar Page. I have checked Session info and correct value of date is present.
What should I do to correct this problem ?
The other question is :
How to disable calendar day link when there is no data to be displayed ? At present, as soon as I create a Day link, all the Days in Calendar are linked, what I want is, to hightlight/clickable which has only some data.
How should I do this ?
Thanks
Sanjay

Sanjay,
Instead of using the Day Link feature, you can create a link in the SQL query for the calendar region. This will accomplish both of your goals: It will pass the value to your other page, and it will only appear for days where there is a value.
If you look at the Orders page of the sample application, you'll see that the SQL for the calendar is :
select '<a title="Order Detail" href="f?p=&APP_ID.:29:' || :APP_SESSION || '::::P29_ORDER_ID:' || order_id || '">' || to_char(order_total, '$999,999') || '</a>
' ord, order_timestamp
from demo_orders o, demo_users u
where o.user_id = u.user_id and (u.user_name = :APP_USER
or :APP_USER = 'ADMIN')
The query returns two columns: The value to display, and a date. In this case, the value to display is a link to another page. The link passes a value for the P29_ORDER_ID value.
Documentation for the link syntax is available here: http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10992/mvl_fund.htm#sthref446

Similar Messages

  • Link to another page in a new browser window

    Hey Guys,
    I wanted to know how to set up a link to another page that loads up in a new browser window.
    This what my code looks like:
    <!--
    htp.print('<center>' || :P1_11 );
    htp.print('
    --!>
    This works but the problem is that it goes straight to the login window and asks the user to login again and then it goes to the desired page. Is there a way to set up the link so it goes directly to the new page in a new browser without having the user to log in again?

    Have you tried using the #SESSION# substitution string in the URL instead of hard-coding the session ID into the link?
    By the way, why is so much of your stuff in anonymous blocks/procedures? Just curious.
    Earl

  • How to link to another page in same application?

    I think I have a brain fog right now. Cause I can't figure this out.
    I would like to link to another page in the same application by way of just an arbitrary word in a paragraph.
    I am not trying to pass any values. I am not using a button or a text item.
    How can I make a link out of a word?
    Thanks much,
    Maggie

    Hi Maggie!
    I imagine myself, that you have a html text and you want to have a hyperlink to another page in your application.
    For instance you have a text like: "I want to create a hyperlink to a page"
    Now, if your mouse passes the word "hyperlink", you want to see that magic 'hand'.
    First copy the URL of the target page: something like this -> "http://127.0.0.1:8080/apex/f?p=100:2:3122716493255005::NO:::"
    Than change your html text in this way:
    I want to create a hyperlink to a page
    I hope, it helps
    Gerhard

  • Using the nav bar to link to another page.

    It is possible to use the nave bar to link to another page such as a blog?
    Example:
    Welcome About Me My Photos Blog (linked to external blog such as blogger)

    If you want the link to the external page to appear in the default navbar then do the following:
    1 - create a blank page and name it the way you want it in the navbar.
    2 - add an HTML Snippet to that page with the following code in it:
    <script type="text/javascript">
    parent.window.location = "URL TO THE EXTERNAL PAGE"; </script>
    What this does is automatically redirect the viewer to the external page when the link in the navbar is clicked on.
    My Demo Sites are setup this way. The Contents page for each site is redirected to a separate Contents site which contains the index of all the pages in the three demo sites. That way I only have to change the index on the Contents site instead of doing it for each site individually.
    If you want the other page to open in a new window you'll have to create a separate text based hyperlink and use the Inspector/Link pane to link the text to it and check the open in new window option. If you need to have that in the navbar you can create a texbased navbar, hide the default one and set your links as needed in the Inspector/Link pane. This is a demo page of a Text Based Navbar.
    OT
    Message was edited by: Old Toad

  • Calendar - Day Link settings getting cleared

    Hello all,
    I'm running Application Express 3.1.1.00.09. I have an application with a page that has a "Small" calendar on the left and a report on the right. I wanted to set it up so that when the user clicks a day link, it targets back to the page showing the report for the day clicked so essentially the user could click around the calendar displaying the report for that date.
    In searching the forum, I saw a post where they advise setting the date item I'm using for the report's "where" clause using the substitutions "#YYYY#", "#MM#" and "#DD#" (I couldn't find any documentation for this but apparently these substitutions hold the year/month/day of the date clicked. It works, however, when I go back to look at the Day Link settings, they're all cleared - yet the page keeps running as I'd set it.
    Though the page is running fine, I'm concerned that going back in and changing another setting for the calendar would then undo my Day Link settings, or exporting/importing the application would lose those settings, not to mention that without the settings, it's no longer apparent why it works.
    The only pattern I can see so far is that it only appears to clear the settings if I put one of those substitutions in the "with these values" setting.
    Any thoughts?

    Solved using the one of the posts in Denes' demo app on calendars - editing the monthly calendar template to set the item.
    It works, but seems like a workaround. Seems to me a template shouldn't contain dependencies on specific page items. The Day Link settings in the calendar should be looked at, because just clearing out the settings without any feedback, to me, is a bug.
    John

  • Calendar Day Link

    I've created a link on calendar days that goes to another page in the application with a form. This form has a date field, and I'd like the date field to be populated with the date that was selected from the calendar page that activated the link.
    For example, you've got the month of January and a day of 18 with nothing in the day box (no other displayed items or rows) except for the little number 18 itself.
    I can create a day link so that when you click on the 18 it takes you to some other page. But how do I get it (what application variable or substitution string do I reference) so that, on this other page, I can set a text field to have a date of January 18, 2005?
    The create calendar wizard created a page item called P_CALENDAR_DATE. However, this is consistently the current date (the date the calendar uses as a base). But is there a way to reference the date that is clicked?

    I couldn't get the #MY_COLUMN# method to work for me - I must have been doing something stoopid!
    However, the #YYYY##MM##DD# method certainly did work (although I changed the date format to #DD#/#MM#/#YYYY# to match the format of the field receiving this value).
    Many thanks for this tip

  • Calendar Day Link not Working

    Hello,
    I have a calendar and am trying to create a day link from the month view that takes me to the day view for a given day. I am using an external URL link of:
    f?p=&FLOW_ID.:145:&SESSION.::&DEBUG.::P145_CALENDAR_TYPE,P145_CALENDAR_DATE:D,#YYYY##MM##DD#
    which produces the following error:
    ORA-01840: input value not long enough for date format
    I am running Apex 4.1. Any suggestions on what might be the issue?
    Thanks,
    Jeff

    Maybe I'm too obvious here, but probably there is a mismatch between the date format being passed in URL (like '20111025') and in the page (145) that receives the date (?).

  • How do I link to another page in the same iBook?

    I am trying to link from within the text of my book to another page in the same iBook. How do I do that in iBooks Author?
    For example...
    The text on page 1 might read.... "If you'd like to jump to the page on herbivores, click here". And that text would be linked to page 49, which is about herbivored.
    Any ideas? Greatly appreciated!!

    It looks like I figured this out by playing around with it.
    The reason that I couldn't bookmark the text earlier is that I had created a text box and entered text in there. When you create a text box, that text is not recognized by the bookmark widget. However when you type directly into the page template itself, it recognizes the text just fine. I'm able to set bookmarks and then link to those bookmarks using the hyperlink featuer. Looks like it's solved, I was just trying to use the wrong tool for text entering.
    Thanks for your help Don, you've been great!

  • How to add a link to another page

    Hello,
    I am new to Adobe Designer 7.0, I'm liking it so far, I had a question though, I was wondering how I could make a link from one page to another. For instance, I want to have a table of contents and I want the user to be able to click on the word whatever that may be and for it to go to the page which they chose.
    I appreciate your responses!!
    Mac Mendez

    Mac, the best way to do this is use a Button and change it to look like a hyperlink (color, etc.). Add a setFocus JavaScript on the Click event to a field on the page you want it to go to; e.g.,
    xfa.host.setFocus("Page3.TextField1");
    If there is not a field on the page, make a hidden field for it to jump to.

  • How to link from another page directly to a photo within a Spry gallery?

    I have created a page that has a photo gallery using Donald's tutorial to make a spry photo gallery. I have a need to link to a specific photo in that gallery from another page. I have seen the discussions on how to do this with tabbed panels etc.. but wondering how to do it in this context.

    Add default slide to the constructor and use a similar process to http://foundationphp.com/tutorials/spry_url_utils.php
    var ImageSlideShow = new Spry.Widget.ImageSlideShow("#ImageSlideShow", {
        defaultSlide: 2,
        widgetID: "ImageSlideShow",
        injectionType: "replace",
        autoPlay: true,
        displayInterval: 4000,
        transitionDuration: 2000,
        componentOrder: ["view", "controls"],
        plugIns: [ Spry.Widget.ImageSlideShow.PanAndZoomPlugin ]
    Gramps

  • How to make a title of region as a link to another page?

    Hi there,
    I need to hyperlink a region title, so when I click in the title I will go to another page in the app without login agian, In other words keep the same session.
    Thanks,
    abdul
    Edited by: dtabed on May 12, 2009 1:40 PM

    Abdul
    The full link would be
    http://host:port/pls[if using mod_plsql handler]/f?p=&APP_ID.:&APP_PAGE_ID.[if to a specific page]:&APP_SESSION.Hope this helps
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • Linking to another page (sheet) in the same workbook?

    Hi,
    Can somebody please confirm that Numbers does NOT offer the possiblity to have a hyperlink linking to another sheet within the same workbook?
    I have a few switchers at my office who couldn't get it to work, and I couldn't find any info about it either, so now they have to work in Office 2003 within Windows, just because of this
    Thanks.

    In the current version of Numbers, hyperlinks are limited to opening web pages in browsers & email messages in email client applications. Even if a new, enhanced version honored a wider range of URL's, say of the "file://" type, they would probably open a new window in an appropriate application.
    As I don't believe individual sheets in a Numbers document have URL's (or URI's?), it is unlikely that an enhanced hyperlink feature would be suitable for what you want to do.
    You can, of course, quickly move between sheets by clicking on their names in the "Sheets" pane, so perhaps a combination of descriptive sheet names & text boxes in selected sheets saying something like "Click 'Sales' to see more' would be an acceptable workaround.

  • Link to another page or book in portlet

    Hi,
    is there way to access another book or page in portal from link in JSP portlet?
    I don't want use upper menus. I would like to use some link(anchor) inside the
    portlet.

    thanks!! Solved my problem as well.
    "John Wheeler" <[email protected]> wrote:
    >
    "Mike Roberts" <[email protected]> wrote:
    Hi,
    is there way to access another book or page in portal from link in JSP
    portlet?
    I don't want use upper menus. I would like to use some link(anchor)inside
    the
    portlet.
    Try the following:
    <%@ taglib uri="http://www.bea.com/servers/portal/tags/netuix/render"
    prefix="render"%>
    <render:pageUrl var = "home" pageLabel="home" />
    <netui:anchor href='<%=home %>'>Home</netui:anchor>
    (or alternatively:)
    <netui:anchor href='<%= (String)pageContext.getAttribute("home") >'>Home</netui:anchor>
    Use the <render:pageUrl> tag to generate a URL for the portal page/book
    etc. with
    the given definitionLabel (you can label the page via its properties
    in Workshop).
    The generated URL will be saved in a variable whose name is given in
    the tag's
    "var" argument.
    You can now use this variable directly in a JSP scriptlet, or access
    it via the
    pageContext.
    Hope this helps.
    John Wheeler

  • How can I change my settings so my notes and calendar are linked to another email?

    Hello, I have an email account on my iPhone that is from my old employer. I know how to "delete" the email account in my settings, but when I did that it removed all of my saved notes from within the past 6 months from the iPhone's original "notes" app, as well as removed my events that are saved in my calendar app. So I re-added the email account (which is an additional email account connected to my yahoo email that my employer added for me in the past (I no longer work there, so I don't need it). The strange thing is that when I bought my phone, I set everything up through a different Yaho account. How can I remove this email without loosing my notes and calendar events?
    Thanks

    Ok, thank you, but my apple ID is all tied to my yahoo email. This is a separate, additional yahoo email the email that I want to remove is not linked to my apple ID.

  • Adding a link to another page in View Mode using Destination URI

    Hi All,
    I have the Search items page in iProcurement, and the Supplier Name is a text field in the search results region. Now I want to display the Supplier Name as a link, clicking on which the user should be taken to the corresponding Supplier details page in View Mode.
    Is this something that can be done through personalisation, as in without extending the controller etc. I tried by giving the url of the supplier page in the Destination URI of Supplier Name, and it navigates to the supplier page, but how do I implement the functionality of querying the details of the Supplier in context. That is, what is the url that needs to be used, and what are the parameters that need to be passed etc? What is the approach to implement such a functionality. I have done OAF development, but havent done any personalisation.
    Thanks
    Anish

    Hi,
    I have a custom inventory report where I have a header region with the From Date and To Date column. The user enters these two dates and the data is displayed in the Table region between these two dates. Then in the item column I have a URL link which takes us to the Detail page. I need to pass the item number and the From Date and To Date in that link so the where clause can be set for the detail query. The attribute value for the item passes fine but I do not know how to pass the value for the dates. My URL looks like as below. I have tried different ways as mentioned in metalink or google search but no luck. Tried to capture the value also and it shows as the value as ‘$FromDate’.
    OA.jsp?page=/xxbn/oracle/apps/xxbn/consignment/webui/ConsSaleDetailPG&ItemNumber={@ItemNumber}&FromDate=$FromDate&ToDate=$ToDate&retainAM=Y&addBreadCrumb=Y
    I would appreciate if I can get some light on this.
    Thanks in advance.

Maybe you are looking for

  • Excite PRO 3G connection not work after system update

    Hello, I live in Italy and on last Sunday (january 26th) my Excite PRO tablet (model AT10LE-A-10H) got the Android version 4.3.201121220.35. After restart my wifi works fine, all other app work fine, but my 3g connection doesn't work, mobile network

  • How do I move my itunes and from one pc to another

    I have my itunes on a pc and am upgrading to another how do I move itunes without loosing all my music and other stuff

  • Execute DOS command in current window!

    All: Here is my code : import java.io.*; public class BuildScript { public static void main ( String[] args ) { String[] command = {"C:\\winnt\\system32\\cmd.exe", "cls"}; try { Process process = Runtime.getRuntime().exec ( command ); process.waitFor

  • ADF panel executes all queries in the application module.

    Hi all, I have created an ADF Panel, which allows the user to run a few simple queries against an Oracle database done using ADF view objects and ADF view links and ADF application module. As I add more functionality meaning more available queries me

  • Why is diagram clean up corrupting my block diagrams?

    A couple of times now (you'd think I would learn my lesson...) I've used the Clean Up Diagram option only for it to render my block diagrams completely unreadable. It's happened on two different systems now.. In this latest incident the flat sequence