[Q] simple page with calculations

Hi everybody,
i'm completly new to Oracle APEX and i tested some things with a very simple Applikation at first.
I can view, edit, delete my data. I tested simple reporting with Diagrams. Everything is working fine.
Now i thought about a simple Page with some Calculations. I want to select my Data through Comboboxes
and then doing some simple calculations with a button press.
Like..
Selecting a Country -> showing me some values for that contry.. (sales, whatever) -> entering 5% in a textbox
->pressing calculate -> and its showing me the result on the screen
Now I'm completly lost on "How to start"... Is this even possible? I dont want a complete walkthrough..
Maybe someone can give me just a hint "How to start"..
Greetings

Consider placing a LOV to select Country codes and a Text item to capture your percentage within your Report region.
Then your code would mimic this code where p1_letter would be your Text item and p1_state would be your LOV.
SELECT a.state_name
  FROM demo_states a
WHERE     a.state_name LIKE '%' || UPPER (:p1_letter) || '%'
       AND a.st LIKE '%' || UPPER (:p1_state) || '%'Jeff

Similar Messages

  • What is the best qay to create a simple page with three textbox fields

    Hi
    I try to create a Portal page for Password change.
    At first look, I taught that to create that basic page will be easy as one, two , three.
    Unfortunately not.
    I need to create three textbox and include pl/sql validation agains our BD.
    I usually work with a form base on procedure whose contain htp.package procedure
    to create a portal page when that form is called. (Base on the way where Portal manage his own change password page.)
    I try to get a better design of the page.
    Where I get all the information about that package ? I want to center the page.
    Oh yeah, I'm a newbie in html.
    Any ideas will be appreciate
    Thank
    Regis

    Hi,
    You could create a FORM with non base table fields. You could then validate the values on SUBMIT (say through a button) and then do whatever processing,redirection needs to be done.
    Or
    you could create a DYNAMIC PAGE with all html fields and proper alignments etc and on form submit do the relevant processing.
    Thanks,
    Anu

  • Testing a DW page with MobileMe

    Hi there, I've uploaded two pages made in DW CS4 for a friend to look at while testing. It's a simple page with some jQuery and an animated gif. However when I reload the page in order to see the animated gif playing again it won't play. Is this a known MobileMe issue or do I have to look further? The jQuery stuff runs fine and I thought that should be more problematic than a simple animated gif. Any ideas? TIA.

    Probably the browser is configured to only play once through an animated GIF. So check the browser settings.

  • Unable to run simple empty jsp page with weblogic 10.3.6.0.

    Dears,
    I have a simple war with simple empty welcome jsp page, when i deploy my project on AdminServer domain, jsp displays correctly, but if i deploy it on other domain i got this exception :
    java.lang.ClassCastException: org.apache.jasper.runtime.JspWriterImpl cannot be cast to weblogic.servlet.jsp.ByteWriter
         at jsp_servlet.__index._jspService(__index.java:63)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:327)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    I'm using weblogic 10.3.6, any help will be appreciated.
    regards.

    dunnsoftinc wrote:
    During the initial pass, I decided to leave this password null in both places, which is documented within the peopletools 8.53.00 installation guide. Maybe, it's time to further test. Thank you Nicolas.To be honest I've never tried to leave it blank in previous releases, thought that was mandatory (it was not prompted in psadmin menu as it is with PT8.53).
    I don't have a PTools 8.53 instance in hands right now, but after a quick test over here on PT8.51, I have the same issue as yours.
    Let me also remind you that there are two separate scenarios that may be received via the sign-on page:
    1.) "The application server is down" status message without the "bea.jolt.ServiceException: TPESVCERR - server error while handling request" error.
    2.) "The application server is down" status message including the "bea.jolt.ServiceException: TPESVCERR - server error while handling request" error.As I said earlier, you should get more clue in the webserver logfiles.
    Nicolas.

  • Populating HTML Page with fields from a Report

    Greetings all,
    I think I have finally figured out how to format my question about customizing reports
    I am using the Sample Applicaiton and I created a simple report (PAGE 20) using the DEMO_CUSTOMER table. The simple report shows the CUSTOMER_ID, CUST_FIRST_NAME, CUST_LAST_NAME
    I created a blank page (PAGE 21) with an HTML Region. In the HTML region I have created an HTML Table with Two Columns and 3 rows:
    <table border="1">
    <tr>
    <td>CUSTOMER ID</td>
    <td>rVALUE OF CUSTOMER ID</td>
    </tr>
    <tr>
    <td>FIRST NAME</td>
    <td>rVALUE OF CUST_FIRST_NAME</td>
    </tr>
    <tr>
    <td>LAST NAME</td>
    <td>rVALUE OF CUST_LAST_NAME</td>
    </tr>
    </table>
    On my report page 20, I created a link from the Customer ID and I wanted to know if I could populate the Table I created on Page 21 with say a P21_CUSTOMER_ID field and when I click the link on page 20 it redirects to page 21 and P21_CUSTOMER_ID = #CUSTOMER_ID# just like I would do for a formatted report. I added items to page 21 called P21_CUSTOMER_ID, P21_CUST_FIRST_NAME, P21_CUST_LAST_NAME
    but I don't know how to get their values into the table that I created. Do I have to make an html form element and reference it? Make fields hidden? Not sure How to populate the table I created with the values that are passed into page 21 and any help would be appreciated. I am sure however I identify the variable I could then just use that same formatting and use Styles and Divs to make the page look like I want and just reference the same way, but unsure of how to do that.
    Any assistance you can provide would be very much appreciated. I am trying to create a report view that looks like a web page with images, and the passed data would be populated throughout the HTML and not in a structured Tabular Format if that makes sense.
    Thanks in Advance
    Wally

    Hi,
    There are more than one ways of doing this.
    Extending what you have done , heres how
    Assumption : You are getting values in P21_CUSTOMER_ID, P21_CUST_FIRST_NAME, P21_CUST_LAST_NAME
    Edit your HTML table , and refer to the P21 items with &P21_CUSTOMER_ID. notation as follows
    <table border="1">
    <tr>
    <td>CUSTOMER ID</td>
    <td>&P21_CUSTOMER_ID.</td>
    </tr>
    <tr>
    <td>FIRST NAME</td>
    <td>&P21_CUST_FIRST_NAME.</td>
    </tr>
    <tr>
    <td>LAST NAME</td>
    <td>&P21_CUST_LAST_NAME.</td>
    </tr>
    </table>The other way is to create a Report with Single Row vertical layout template on Page 21 instead of the HTML region.
    Regards

  • Server errors result in blank pages with security enabled

    I have been working to security-enable my ADF 11 application using JDeveloper 11.1.1.0.0. Users, roles and grants all appear to be working as expected. However, I have discovered that server errors no longer appear once I put security in place.
    For example, take a simple JSPX page with one button, and attach an actionListener to the button. In the actionListener, throw an exception. When no ADF security is in place, this results in a 500 server error page, and the exception stack trace (or part of it) is written to the Weblogic console inside JDeveloper. Once ADF security is in place, the behavior changes. The result is a blank page (absolutely no content). Even worse, the exception stack trace is no longer written to the Weblogic console.
    I have tried to work around this by setting an <error-page> in web.xml, but it doesn't seem to make a difference. I do know that my <error-page> configuration works in general, because I have a "not authorized" error page set up to catch the ADF AuthorizationException, and that is displayed properly. I have also seen the error page invoked for errors that happen earlier in the rendering process (for instance, if I forget to set a default page in my bounded task flow).
    I don't have any idea where to start on this. Google hasn't been much help, possibly I don't know what I'm looking for.
    Anyone have any suggestions?
    Thanks,
    KEN

    We have found a solution to this problem, which we are going to go with until something better pops up.
    In the main unbounded task flow (adfc-config), we added a method call marked as the error-handler. In the method call, we log the exception, something like this:
        public void handleException() {
            Exception e = ControllerContextImpl.getInstance().getCurrentViewPort().getExceptionData();
            e.printStackTrace(System.err);
        }Then, the method call forwards to a JSP to display the error:
    <af:inputText label="Error" value="#{controllerContext.currentViewPort.exceptionData.message}"/>That gets us the equivalent of the old behavior.
    I still find it kind of strange that errors aren't displayed once security is enabled, but at least there is a workaround.
    KEN

  • Import multiple Word docs to multiple pages with same master page?

    Hi, I should start by saying I have no scripting experience.  However, I am wondering if there is a simple script available for the following issue:
    I have set up a master page with three linked text boxes. Right now, I use Cmd+D to select a word file, and then Shift+click in the first box to place the text on the page. But I have 125 pages that are exactly the same layout, just different Word files to be imported. I could repeat this process 125 times, but I am wondering if there is a way to tell InDesign to create 125 pages using Master Page X and import one file for each?
    I am using InDesign CS5 v 7.0.4 on Mac OSX Snow Leopard v 10.6.7
    Thank in advance for any help you can offer,
    NW

    I was able to import the word documents as long as there was only one text frame on the master page. However, when I created multiple text frames (the text in the word document needs to flow from frame 1 to frame 2), it always imported into frame 2 and skipped frame 1. In case it is helpful to understand what I mean, I attach two screenshots. The first (sans text) is the master page, and the second is Page 1 after running the script. I added the labels Frame 1 and Frame 2 to Page 1, not the Master, because otherwise the text gets imported into the frame with the words "Frame 2". I suspect I have to label the frames in InDesign and then add something to the script that says insert into the Frame 1, but I'm not sure how to do that.
    It wasn't clear from your narrative in June that the text frames were linked, and that the text needed to flow between frames.
    The script, as implemented, only overrides one text frame, (textFrames[0],  which is the top-most text frame in the stacking order), and then places the text in it. Clearly that's not correct for your scenario.
    You mention 3 frames but only mention flowing between 2 frames.
    Anyhow, it sounds like you want the script to override all 3 text frames, and then to place in the first textframe.
    The first is easy, the question is really what should happen when there are more than 3 text frames -- should it override all text frames, or only some. You could specify which ones with a Script Label, or you could do something more clever. For the moment, let's just override all text frames.
    Then you have to specify which one to place into. You could just select the frame you want and Arrange > Bring To Front. Or we could specify frames[2], which should be the 3rd-from-the-top (after frames[0] and frames[1]). I'll do the latter, but feel free to keep the script the same and do the former:
    var
        d=app.activeDocument,
        p=d.pages,
        i, frames;
    for (i=0; i<p.length; i++) {
        frames = p[i].appliedMaster.textFrames.everyItem().override(p[i]);
        frames[2].place(new File("/path/to/page"+p[i].name+".doc"));

  • Call OAF page with post parameters

    Hi,
    From a custom OAF payment screen, on button click, I'm opening a third party website in the same window.
    Once payment is done, third party will send me conf num back as the background process (user is still in third party website).
    For this post back purpose, I have created a simple OAF page and given the OAF url to third party.
    https://xxx-dev:85/OA_HTML/OA.jsp?page=/xxx/oracle/apps/xx/webui/PostbackPG&confNum=
    However, third party refused to use this url as it is a html get. They send return values (conf num) only by html post as security measure.
    Is it possible to use OAF page to get post requests? If yes, please let me know how to call OAF page with a post and how to get values in PR of CO.
    Thanks
    Prabhu

    Any ideas please!

  • Can't load my own pages with .htaccess protection

    It's very strange.
    First time I noticed that problem was on a project page who I created. The page is not for the public access, so I decide to protect it simply with an htaccess file and it works without any problems for a long time in Safari until that point who I make a little mistake by typing the username or password and let Safari safe this wrong information. Since them I was not longer able to reach the page with Safari, but still with other browsers.
    So I can life with that, because it's not an importend page who I visit each day.
    But now I have a nother page who deliver the same problem. The logininfos are safed by Safari and no longer access since two days now. Before it works perfect.
    The only real change who I do was to fix the permissions of a folder inside the Safari resources. The "German.lproj" folder. I do this, because I was not able to open the private settings in Safari. Each time who I click in the settings on the private option, Safari crashes. Anyway, since I add my profile to the permissions Safari works fine.
    I can't belive that this change is the source for the problem. I try to delete all related pagestuff in my keychane of OS X Snow Leo (10.6.8), repair the keychane and repair the permissions over the Disc Utility. I also remove my complete Safari profile in the Library to reset Safari, delete the preferences, delete Safari with Clean App and reinstall it, but still can't access my pages with a htaccess protection.
    All other pages working without any problem. All the pages are still available with other browsers.
    Anyone an idea what I can try next?

    OK, after a long time I solved my problem with the htacces and password protected pages.
    But let me explain a bit more, why it need so much time.
    After I post here at the board, I solved the problem over a simple resetting of Safari over the menu. After I do that, I got the login-window back.
    But for some strange reason I got the problem back after a longer time. And now I got the idea to look a bit deeper, what can happen. I open my Console from OS X and take a view on "All announcements". Now I hit enter in Safari to open the page who have a htaccess protection and I got some error results. On of them was this here:
    22.01.12 15:48:32
    Safari[1062]
    Unable to read contents in the Interface Builder file at path /System/Library/PrivateFrameworks/Safari.framework/Resources/German.lproj/Authe nticationPanel.nib due to error: Die Datei „AuthenticationPanel.nib“ konnte nicht geöffnet werden, da Sie nicht die Zugriffsrechte haben, um sie anzuzeigen..
    This message contain some german infos, so let me translate the last part.
    The file „AuthenticationPanel.nib“ can't be open, because you have not the right permissions.
    This error message looks like the big goal for me. I open this file-directory and mark the "German.lproj" folder to open the information panel for this folder. Now I go to the permission area, hit the "plus" button and add my profile / user to the permissions with a read and wrote permission. My new settings I transfer to all subfolders.
    Now the final test in Safari. I open the URL again and, tadaaaa, it works very well now.
    This is the same solution who I do before (see my first text on this posting) for the german.lproj folder. It looks like that Apples software like the Disc-Utility ignore the german folders around fixing the permissions or after an update or if you have trouble with the permissions.
    Anyway... This two manual fixings bring my access back and I'm now happy :-)

  • Script to extract pages with comments

    I know that what I would like to do is probably quite simple. I'm trying to automatically take a source document, and extract all pages with comments to a new document.  Ideally, I would have multiple versions of this script for different purposes.  I used to be a business analyst years ago, but it's been years since I've written any code, and even back then I used SQL almost exclusively--it's been about 12 years since I've written any code other than SQL queries, and back then it was highschool projects written in C++ before OOP was really a big thing.  I'd attempt to read documentation myself and figure it out, but I really don't even know where to start -- my CS knowledge at this point is pretty much only conceptual.  Whenever I have a similar VBscript problem using MS software, usually all I do is find an existing function and modify one or two lines to meet my needs, so I've never really had to learn how the scripts I've used work.  I just tinker with existing stuff to get what I need.  My past coding experience does give me an idea is to the general algorithm that I think would work.  To show that I really tried with this one, I paste my guess as to how I would code this below: 
    1)     Create For loop for source doc.
    2)     Create FOR loop for new doc
    3)     Analyze page in source doc
    4)     IF source page has any comments or highlighting THEN somehow note that page and increment "new doc" counter
    5)     Increment source doc counter
    6)     Repeat 3-5 until all pages in source doc have been analyzed
    7)     Create new file
    8)     Extract pages noted during step 4 to new file.
    If someone could help me create the above script, I would probably be smart enough to get it to meet my needs.  What I'd really like are two versions of that script.  If asking for the community to simply provide me with code is not a cool thing to do, could someone link me to a good tutorial and/or existing scripts so I could try and figure it out myself?
    1)     One that extracts only pages with text comments (using the typewriter tool).
    2)     One that extracts pages with highlights or text comments.

    In the second to last line of my OP I meant "using the 'Add text comment' tool" not "using the typewriter tool".

  • How to navigate to a page with POST?

    Hi,
    I have an APEX page with a combobox (or radio buttons) where the user selects a value and by pressing the submit button the application is supposed to navigate to a new URL. The combobox (or radio button group) items are associated to Discoverer URLS and I would like the application to call one or an other URL based on the value selected by the user. The reason for wanting to use POST for this is that I would not like to expose the link, since it has a password parameter in it.
    Tamas

    Peter,
    I know, but I have no other idea, how I could resolve this. DBA do not want to see hundreds of Discoverer user created in the database. I have to authenticate users via APEX (calling Microsoft Active Directory using the built in LDAP package) and then I have to navigate them to the appropriate Discoverer enabled Oracle user. This seemed to be the less painful solution.
    These are simple end users, and reports are not that sensitive to justify more effort than described above.
    Tamas

  • Navigate to a page with this.pageNum

    Hi,
    I have a 3D PDF and I have added several other pages with normal text to this pdf. The 3D Media is on the first page. Now I'd like to navigate from the first page with Javascript to an other page.
    this.pageNum = 3;
    works for all pages except the first page with the 3D media.
    When I am on the first page and call this.pageNum = 3; page zooms out and centers the 3D Media but doesn't go to the page 4.  But when a press then the adobe button for going to the next site, the pdf goes directly to the fourth page.

    Peter,
    I know, but I have no other idea, how I could resolve this. DBA do not want to see hundreds of Discoverer user created in the database. I have to authenticate users via APEX (calling Microsoft Active Directory using the built in LDAP package) and then I have to navigate them to the appropriate Discoverer enabled Oracle user. This seemed to be the less painful solution.
    These are simple end users, and reports are not that sensitive to justify more effort than described above.
    Tamas

  • Adding keywords to a web page with Dreamweaver 8

    Hi,
    Does anyone of you know how to add keywords to a web page
    with Dreamweaver 8? I want the link to the web page shows up when
    people google the keywords. I pulled out the instructions from
    ehow.com and followed the instructions by using the HTML Keywords
    function in the Insert menu. I tested it on Google website by
    entering the keywords but it did not work.
    Any clues would be helpful.
    Thanks,
    Shirley

    Let's put it this way - those sites I have that are highly
    ranked do not
    have any meta keywords on them. So - you do the math....
    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
    ==================
    "Nancy O" <[email protected]> wrote in message
    news:[email protected]...
    > Maybe...
    >
    >
    http://www.hypergurl.com/articles/metatagswhatare.html
    >
    > "Will Meta Tags Improve My Rankings?
    >
    > Unfortunately, the majority of the major search engines
    do not recognize
    > the
    > meta keyword tag at all. A larger number do recognize
    the meta description
    > tag for the purpose of creating a summary for the page.
    The prevailing
    > philosophy is that search engines prefer to index text
    that is clearly
    > VISIBLE to the user, although exceptions are certainly
    made. The engines
    > in
    > general consider invisible text, such as that found in
    meta tags, as
    > "untrustworthy" since they can be easily abused by an
    unethical Webmaster.
    > For example, someone could list out many keywords that
    do not apply to
    > their
    > page's content, or they could repeat a keyword many
    times in hopes of
    > boosting their rankings.
    >
    > Of the engines that do support meta tags, none are
    thought to give extra
    > "relevance" to words appearing in meta tags versus
    elsewhere on the page.
    > In
    > fact, most engines give words in these tags less weight
    than if they had
    > appeared elsewhere on the page such as in the body area
    or the page title.
    >
    > You might then conclude that meta tags are useless?
    Well, not quite. You
    > definitely want to include a meta description tag on
    every page to avoid
    > the
    > search engine making up its own description from random
    excerpts on the
    > page.
    >
    > In regard to the meta keyword tag, many experts believe
    that including a
    > keyword in BOTH your meta tags and in other areas of
    your page CAN help
    > improve your rankings. For example, let's say your
    keyword was "Star Wars
    > collectibles" and it appeared in the body text that is
    visible to the
    > user.
    > If the keyword were also included in your meta keyword
    tag, then that
    > would
    > reinforce to the search engine that "Star Wars
    collectibles" was an
    > important theme on this page. Although no extra
    relevancy boost is given
    > for
    > including the keyword solely in the meta tag, some
    engines may look to the
    > meta tag as a way to reinforce their belief that a page
    is relevant if all
    > the other more important factors "check out" too.
    >
    > In any case, including the tags are unlikely to hurt
    your rankings if you
    > follow a few simple rules. Be careful not to repeat the
    same keyword more
    > than two or three times in the tag. Never repeat the
    same word twice in a
    > row or you may trigger a search engine's "spam filter."
    Lastly, never
    > include keywords that do not apply to the content of
    that page."
    >
    >
    > --Nancy O.
    > Alt-Web Design & Publishing
    > www.alt-web.com
    >
    >
    >
    >
    >
    > "John Waller" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> > No one? Several regulars here do.
    >>
    >> Is there any point in using them other than typing
    practice?
    >>
    >> --
    >> Regards
    >>
    >> John Waller
    >>
    >>
    >
    >

  • Term-Driven Page with Friendly URL doesn't work with a page in another Site Collection

    Hi all,
    It appears that the Term-Driven Page with Friendly URL does not work when it is referencing a page in another Site Collection. When I set my Managed Navigation to use a term that points to another Site Collection page, the link shows in my navigation, but
    gives the error:
    "Sorry, something went wrong"
    This does not happen if I link to a page in the same site.
    Kelly
    Personal Blog: http://thebitsthatbyte.com

    i got similiar (i am not sure whether the same) issue recently:
    I have a site collection (address http://spserver/) which use managed navigation, and term-driven page with friendly url. The address of the term-driven page is set as /pages/teamsitehome.aspx . A friendly url takes the form such as http://spserver/menulevel1/submenu1
    I create a new site collection http://spserver/sites/newsitecollection and i want it to have the same navigation menu as the other site collection. Since i cannot use the same termset for the two site collection, i have to create a new term set
    for the new site collection, "pin term with chidrem" or "reuse term" to the old term set. The friendly url in newly created site collection and term set takes the form such as http://spserver/sites/newsitecollection/menulevel1/submenu1, and still
    points to /pages/teamsitehome.aspx. Notice that the term-driven page here in the new site collection still points to the old site collection.
    Actually, it works! I mean, when i click the navigation menu, friendly url http://spserver/sites/newsitecollection/menulevel1/submenu1 appears in the browser address. And SharePoint knows to load /pages/teamsitehome.aspx for this url. If this is a simple
    blank page, it just open fine here.
    However, my custom page teamsitehome.aspx calls TaxonomyNavigationContext.Current.NavigationTerm in its page load event, it should returns a valid NavigationTerm for the friendly url. But it returns null here. I traced the code to find that it calles
    internal static NavigationTerm GetNavigationTermFromTargetUrlGuids(SPWeb contextWeb, Guid termStoreId, Guid termSetId, Guid termId, bool includeInheritedSettings, bool enableExclusions)
    The passed in contextWeb points to http://spserver/ , since the term-driven page is in this web. But the termSetId points to the new termset. TermId won't be problem, since its the same in both new and old term set for pinned term. The combination of contextWeb
    and termSetId just make the output NavigationTerm null. I think its simply because the termset is not associated with this spweb.
    My workaround is create a copy of /pages/teamsitehome.aspx in new site collection. The term-driven page address is set to ~sitecollection/pages/teamsitehome.aspx in term management. This time, all works. Just because the contextWeb parameter i mentioned
    above now points to the root web at new site collection, where the term driven page resides.

  • Simple browser with system cache

    Hello,
    I'am working to developpe a simple browser (java) with system cache, the idea is to browse a simples pages HTML in several times and calculate the time of browsing.
    So, i have to empty the cache and coockies to load an other.
    i am working to use dll WININT on using JNI interface but it d'ont works,
    can you helps me??
    please

    What is your question exactly?

Maybe you are looking for

  • A problem using serialization and/or not overwritten variables

    I have a problem while writing objects in ObjectOutputStream : Here is a simplified version of the program : class InDData implements serializable      private Vector shapeVector = new Vector ();      public InDData (Vector shapeV)           this.sha

  • Help moving a few songs to my library on the external drive

    My iTunes Library is located on an external drive. I have now downloaded some songs and podcasts from the iTunes store while my external drive was not attached. Those songs then ended up on my local disk. I now want to move those files to the proper

  • Setup file can not be located

    I had an interruption on the computer and it may have casued the download not to complete. When it went to install it came back and said the the setup file cannot be loacted (error 103) Navaigate to the folder where you downloaded the product and sta

  • Quality lot not getiing generated

    Hi If  QUALITY PLAN  is assigned to any material then it should appear in QA32 that is quality lot must be created.The problem is such that during starting of new period i.e. every month starting Inspection lot is not getting genrated for already ass

  • Lr 5.3 CRASH whole CPU.

    my Lr 5.3(938183) keeps crashing my computer - just a black screen & all is closed. Nil error message. Intel R Core i3 cpu 2.13GHz, 4Gb ram with 2.99Gb usable 32bit machine. Happens while doing Developing, or copying (synchronising) or making collect