Problem with page Parameter

Hi,
My requirement is I am passing a url to page with one parameter which I am assigning it to a calndar which has one one parameter. I mapped page parameter to the calendar parameter.
In the p/sql code before displaying footer section of the calendar I am using
get_value('pageparamter') But i am getting null value........................
How should I retrieve that value......... If Iam using bind variable(calendar parameter) in the display before footer section I am getting error........
Pls tell me the solution as early as possible...........
Regards,
radha

Hi Radha,
Sorry, I couldn't reply to your email about the same problem you were asking. Here is the code to get the value of the page parameter:
declare
l_val varchar2(10);
begin
l_val := portal30.wwpro_api_parameters.get_value
(p_name => 'v_dt_on_mon',
p_reference_path => p_reference_path);
end;
where 'v_dt_on_mon' is the name of the parameter , so you can replace it with your parameter name.
Thanks
-Krishnamurthy

Similar Messages

  • Problem with Pages on the iPad 2.

    Hi all,
    I have been having a strange problem with Pages on the iPad that I hope someone can find a solution for.
    As a writer, I find that Pages on the iPad is a very good solution to my problem of needing something small and light to transport around, whilst still allowing me to do some serious writing.  I use the Apple 3 battery bluetooth keyboard, and this gives me a superb working solution.
    I started using the iPad 2 to do my second book and for the first 40,000 words everything was fine.  But as I started going back and forth with the cursor keys, editing passages in the book, I noticed that the cursor position did not match up with the I beam cursor on screen.  As it transitioned between pages it would loose it's corresponding position and the entry point for new text could be up to six characters in either direction.
    Now this is not a problem if you enter a new page, as there is nothing beyond it, but in the majority of cases it is a major problem when going back over your work and editing it.  I have to manually reset the start position of every new page so as to garantee the typing will go where I want it to.
    Now I thought at first this was something to do with Bluetooth keyboard, but after using the onscreen keyboard and the find and replace function, I have noticed that it loses it's position in the document in a similar way.  I have included a screen shot of it finding a problem I was searching for.  In this case it is ", and" to be replaced with "and," or "and".  Clearly in the image you can see that it is not happy and is not selecting the right things, if I replace it will replace exactly what is selected.
    Has anyone else seen this problem.  It seems to happen with large or small documents and I think that this is a fundamental problem with Pages on the iPad.  Seeing as I can't get Apple to acknowledge this I brought it here for everyone else to check out.  If we get enough voices on this, then we can make change happen.

    That's right Br Abdullah, I'm finding the same problem with my itune Arabic library that I synced to iBooks version 1.5! As you say the pages are not arranged correctly.
    The other problem that I'm finding is that the highlights & notes that i have made on the books on a previous version of ibooks, when synced with ibooks version 1.5, they are scattered everywhere, and sometimes in areas where there are no texts.
    I left a message on the report a bug section of iBooks on the app store, and I contacted them on their feedback of apple product issues. I don't know what else we can do. It seems that no one is listening to us. I'm Dissapointed that I upgraded my iBooks version to 1.5; I was really looking forward to reading on my new iPhone 4S (on iBooks)!
    What else can we do to get our concerns heared? Somebody? Anybody?

  • Problem with page numbering in Acrobat XI Pro

    Hello community,
    I got a problem with page numbering with certain documents in Acrobat XI Pro.
    The next error comes up:
    Translated in English:
    There is an error occured when getting up of page-content.
    This is occured with certain pdf-documents (i cannot uploading this file).
    Is someone have similar problem, or has someone hev a sollution for this?
    Greetings,
    Bart

    This usually means the file is corrupt, probably because it was not created
    using a standard application like Adobe Acrobat.

  • I have a problem with Pages shutting down my documents.

      I have a problem with Pages shutting down my documents. I have several
    several documents on my homepage,but once I select one it shuts down and
    goes to the ipad homepage.Other documents open with no problem.
    Can someone tell me what's happening
    antdel

    Pages is crashing for some reason.
    You say that other documents open with no problems, do you mean other Pages documents or documents in another app?
    Try closing Pages completely in the recents tray and reboot your iPad. See if that helps. If it doesn't help, you may have to delete and reinstall Pages. If that doesn't work, you might have a corrupt document that you need to track down and delete.
    Go to the home screen first by tapping the home button. Double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Problems with Pages 5 docs converting to Word docs

    It seems with the new upgrade on my MacBook Air, I have a glitch. Now when I convert a Pages doc to Word, the page breaks get removed and the doc turns into a sea. Also, I sent this new Word doc to my Kindle to upload into ebook form (never had a problem with Pages 09 previously, always came out beautifully) and now the doc turns into a digitally mangled mess. Any ideas?? Thank you.

    Usually when it does that it is because there is an XML table somewhere buried in there and either the table width or margin indents are forcing the text far left.
    Hard to pin down the problem with being able to examine the actual file contents.
    …and Pages 5 is buggy.
    So why don't you just use Pages '09? It works.
    Peter

  • Problem with Pages 09 after latest Snow Leopard Update

    I upgraded Snow Leopard with the latest update this afternoon, and now I am having all sorts of problems with Pages. Most importantly, the Pages templates are all messed up, with formatting all screwed up and the typesetting a mess. Has anyone else experienced such problems with Pages after the update? I may have to revert back to pre-update Snow Leopard if this can't be resolved, since I use Pages for my work. Any assistance here would be appreciated!

    You can install the combo over the delta (Software Update version). I did after I inadvertently used Software Update on my MacBook Pro. That's what I get for trying to update 3 Macs at one time.
    Here is the link to the Mac OS 10.6.4 combo updater.

  • Export problems with pages/ save as word document results in corrupted text

    This may be a new problem with Pages as I have not seen this happen with previous versions but, when I export a page made with a template, it ends up with merge problems - headers end up at the foot and invisible text regarding merge showing. When saved, a error box opens saying that merge fields are not save or similar, and I end up with a non friendly .doc file.

    morayshire wrote:
    This may be a new problem with Pages as I have not seen this happen with previous versions but, when I export a page made with a template, it ends up with merge problems - headers end up at the foot and invisible text regarding merge showing. When saved, a error box opens saying that merge fields are not save or similar, and I end up with a non friendly .doc file.
    Here are alert messages related to 'Word Exporter'
    /* Word Exporter */
    "Cells with unsupported number formatting were exported as text." = "Les cellules comportant un format numérique non pris en charge ont été exportées sous forme de texte.";
    /* Word Exporter */
    "Change tracking isn\\U2019t supported for cell image fills. Original cell image fills were removed." = "Le suivi des modifications n’est pas pris en charge dans les remplissages de cellule par image. Les remplissages de cellule par image d’origine ont été supprimés.";
    /* Word Exporter */
    "Change tracking isn\\U2019t supported for cell image fills. Tracked changes for cell image fills were accepted." = "Le suivi des modifications n’est pas pris en charge pour les remplissages de cellules par image. Les modifications effectuées pour ces remplissages ont été acceptées.";
    /* Word Exporter */
    "Change tracking on floating objects isn\\U2019t supported. Tracked changes were accepted." = "Le suivi des modifications sur les objets flottants n’est pas pris en charge. Les modifications ont été acceptées.";
    /* Word Exporter */
    "Comments on anything other than body text and inline objects aren\\U2019t supported and were removed." = "Les commentaires sur un autre élément que le corps de texte et les objets incorporés ne sont pas pris en charge et ont été supprimés.";
    /* Word Exporter */
    "Durations formatting isn\\U2019t supported and was exported as text." = "Le formatage des durées n’est pas pris en charge et a été exporté sous forme de texte.";
    /* Word Exporter */
    "Footer rows aren\\U2019t supported and were converted to regular rows." = "Les rangs de bas de tableau ne sont pas pris en charge et ont été convertis en rangs standard.";
    /* Word Exporter */
    "Formulas referencing cells with custom number formats aren\\U2019t supported and were replaced by the last calculated value." = "Les formules faisant référence à des cellules comportant des formats numériques personnalisés ne sont pas prises en charge et ont été remplacées par la dernière valeur calculée.";
    /* Word Exporter */
    "Formulas referencing durations aren\\U2019t supported and were replaced by the last calculated value." = "Les formules faisant référence à des durées ne sont pas prises en charge et ont été remplacées par la dernière valeur calculée.";
    /* Word Exporter */
    "Hidden footer content was removed." = "Le contenu du pied de page masqué a été supprimé.";
    /* Word Exporter */
    "Hidden header content was removed." = "Le contenu de l’en-tête masqué a été supprimé.";
    /* Word Exporter */
    "Hidden rows and columns were removed." = "Les colonnes ou rangs masqués ont été supprimés.";
    /* Word Exporter */
    "Japanese footnote or endnote numbering isn\\U2019t an exact match." = "La numérotation japonaise de note de bas de page ou de fin ne concorde pas exactement.";
    /* Word Exporter */
    "Links to external Pages documents aren\\U2019t supported and were removed." = "Les liens vers les documents Pages externes ne sont pas pris en charge et ont été supprimés.";
    _/* Word Exorter */_
    _"Merge fields were exported as regular text, not as merge fields." = "Les champs de fusion ont été exportés comme texte standard et non comme champs de fusion.";_
    /* Word Exporter */
    "One or more formulas aren\\U2019t supported in the chosen file format and were removed. The last calculated value was retained." = "Une ou plusieurs formules ne sont pas prises en charge dans le format de fichier sélectionné et ont été supprimées. La dernière valeur calculée a été retenue.";
    /* Word Exporter */
    "Some paragraph border rules couldn\\U2019t be exported." = "Certaines règles de bordures de paragraphe n’ont pas pu être exportées.";
    /* Word Exporter */
    "Table cell comments can\\U2019t be exported if there are any comments attached to the entire table. The table comments were exported, but cell comments were removed." = "Les commentaires de cellules de tableau ne peuvent pas être exportés si des commentaires sont associés au tableau entier. Les commentaires de tableaux ont été exportés mais ceux de cellules ont été supprimés.";
    /* Word Exporter */
    "Table cell fills other than solid colors aren\\U2019t supported and were removed." = "Les remplissages de cellules de tableau autres que par des couleurs unies ne sont pas pris en charge et ont été supprimés.";
    /* Word Exporter */
    "Table image fills aren\\U2019t supported and were removed." = "Les remplissages de tableau par image ne sont pas pris en charge et ont été supprimés.";
    /* Word Exporter */
    "Tables with more than 63 columns aren\\U2019t supported. Columns 64 and highger were removed." = "Les tableaux comportant plus de 63 colonnes ne sont pas pris en charge. Les colonnes 64 et au-delà ont été supprimées.";
    /* Word Exporter */
    "The page layout document was exported as a word processing document." = "Le document de mise en page a été exporté comme document de traitement de texte.";
    *_This gives us a simple way to convert a Page Layout document into a Word Processor one. Export it to Word, import the .doc file._*
    /* Word Exporter */
    "WECannotMapNumberFormat" = "Le format numérique non pris en charge a été remplacé par le format numérique par défaut (1, 2, 3…).";
    Yvan KOENIG (Vallauris, FRANCE vendredi 7 août 2009 21:18:06)

  • Problem with page preview : transodification of  ':' and '/'

    Hello
    we got a problem with page and iview preview on production system (7.01).
    The preview fail with a simple message "Erreur d'exécution portail / Exception lors du traitement de la requête, envoyez l'ID de l'exception à votre administrateur du portail" ("Portal execution error / exception during request treatment, send exception Id to your portal administrator").
    The user possess full admin role, as weel as autorisations onto the page. He can use the page when it's in the menu, but visualizing the page via preview fail.
    after comparing the preview URL from production system against the preview URL from development, we spotted a difference :
    on the dev portal, the URL is
    http://portal:port/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportal_content!2fcom.company.directory.SpecificApp!2fcom.company.directory.LeaveRequest!2fcom.company.directory.Employee!2fcom.company.page.MyRequests?sap-config-mode=true
    on the production portal, the preview URL is
    https://portal/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!253aportal_content!252fcom.company.directory.SpecificApp$!252fcom.company.directory.LeaveRequest!252fcom.company.directory.Employee!252fcom.company.page.MyRequests?sap-config-mode=true
    As you can see, the ":" are transcoded into !3a on dev, and !253a on prod (and the "/" are respectively transcoded into !2f and !252f)
    the other difference is the use of an alias (http://portalprod/irj against http://portal:port/irj), and the use of a secured connexion (https).
    does someone know where this problem could come from ?
    regards,
    Guillaume

    Hi Guillaume,
    Could it be possible that there would be a SAP Web Dispatcher on the Production Portal and not on the dev portal.
    You should use a tool like HTTPWATCH to see if you get HTTP redirects.
    Regards,
    Olivier

  • I'm having constant problems with pages not working. I.E.: I cannot fill in writeable fields, click on buttons... or anything... nothing on the page works. And, this is not exclusive to a particular site. I can, however, work well in Explorer.

    For the last few weeks I have had constant problems with pages not working. I.E.: I cannot fill in writeable fields, click on buttons... or anything... nothing on the page works. And, this is not exclusive to a particular site. It does seem to be a browser issue, because I can work well in Explorer.

    Both the Yahoo! Toolbar extension and the Babylon extension have been reported to cause an issue like that. Disable or uninstall those add-ons.
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Problems with pages loading

    We are having a lot of problems with pages loading slowly or not at all. We get this message all the time...server not found...even on pages that have just recently been visited. We have this problem with Safari, Firefox, and Camino. I don't have Internet Explorer installed, but why should I just keep adding new browsers. My ISP assures me that the connection is fine. I have emptied caches, cookies, whatever I can find to empty. Did I empty too much? We use a Netgear router and a company called Digitron. Any suggestions?
    Message was edited by: cynder13

    Hi
    Perhaps the easiest way to sort this out is to set up a separate Network Location for your connection:
    -Location - set up a personal location by clicking on the drop down menu and selecting "add a location". Use a name familiar to you. Once established, select "apply".
    -Next, click on the "Show" drop down menu and select Network Port Configurations. Only Airport ought to be checked. Move it to the top of the list (you can drag it). Select "apply".
    -Back to the "Show" menu, select "Airport". Click on the TCP panel. There, enter 4.2.2.2 and 4.2.2.1 (separate lines) in the DNS servers box and select "apply". Also, you can always call your Internet Provider to find out if they have specific codes.
    Creating a personal location, plus adding the DNS codes seems to speed things up. Otherwise, the "automatic" function has a tendency to "search" for available locations, hence creating the lag you are seeing.
    Lastly, in the Finder, go to your Applications>Utilities folder and select "Terminal". Once the screen is open copy/paste lookupd -flushcache and press return. This clears out the DNS cache. Once done, quit Terminal.
    If the above doesn't help, I suspect the Router is the problem. Perhaps you need to upgrade its firmware. Check at the Netgear site>Support.
    Post back

  • Satellite L30: Vista problems with pages minimising

    Hi,
    i have just bought the toshiba Satellite L30 laptop and i am am having problems with pages minimising whenever i click on the page. Most of the time this happens when i click on the scroll bar, but it also happens when i click on any part of the page and when im typing.
    It's getting very annoying. I have only had this laptop for about 2 weeks and the problem has been there since day one. Im runing Windows vista home basic.
    Does anyone know the cause and/or how to sort it out?

    Hi there,
    be more precisely with your error description, because its hard for anyone whos reading this to find out some problems without knowing which "pages" do you mean. What a kind of program do you use?? Word, Internet Explorer or what???
    Please, do us and yourself a favor and tell the problem with more details, that we can maybe help you. Or at least make some thoughts about your problem. :)
    Greetings ;)

  • Problems with page and event paramters in java portlets

    Hi there!
    Following the documentation in "A primer on Portlet Parameters and events" and "Adding Parameters an Events to Portlets" I tried to develop two portlets (who will be at the same page), one showing some content of a repository (with possibilities to browse throw it) and another showing a sitemap of the repositories whole content, presenting links to the content's pages to be shown in the content portlet.
    So I added:
    1. a page parameter called pageMenuID to identify the current content page to be shown in the content portlet
    2. an input parameter for content portlet called portletMenuID. This input parameter is mapped to the page parameter pageMenuID
    3. an event for content portlet called changeContent with output parameter contentMenuID. When this event rises, "go to page" is set to the current page and the output parameter contentMenuID is mapped to the page parameter pageMenuID.
    4. an event for sitemap portlet called changeContentFromSitemap with output parameter sitemapMenuID. When this event rises, "go to page" is set to the current page and the output parameter sitemapMenuID is mapped to the page parameter pageMenuID.
    This is the code for some constants and a function to build the links in the content portlet, that I want to use:
    // page parameter (shouldn't be used here)
    private final static String pageParamMenuID = "pageMenuID";
    // parameter names as given in providers.xml:
    // portlet input parameter
    private final static String inputParamMenuID = "portletMenuID";
    // event name
    private final static String eventName = EventUtils.eventName("changeContent");
    // parameter name for event parameters
    private final static String eventParamMenuID = EventUtils.eventParameter("contentMenuID");
    String getEventUrl( PortletRenderRequest portletRequest, long menuID) {
    NameValuePair[] eventParams = new NameValuePair[2];
    eventParams[0] = new NameValuePair(eventName,"");
    eventParams[1] = new NameValuePair(eventParamMenuID, "" + menuID);
    try {
    return PortletRendererUtil.constructLink(portletRequest, portletRequest.getRenderContext().getEventURL(),
    eventParams,
    true,
    true);
    } catch (Exception e) {
    return "null";
    This is the analog code from the sitemap portlet:
    // page parameter defined on "edit page mode" (shouldn't be used here)
    private final static String pageParamMenuID = "pageMenuID";
    // parameter names as given in providers.xml:
    // event name
    private final static String eventName = EventUtils.eventName("changeContentFromSitemap");
    // parameter name for event parameters
    private final static String eventParamMenuID = EventUtils.eventParameter("sitemapMenuID");
    String getEventUrl( PortletRenderRequest portletRequest, long menuID) {
    NameValuePair[] eventParams = new NameValuePair[2];
    eventParams[0] = new NameValuePair(eventName,"");
    eventParams[1] = new NameValuePair(eventParamMenuID, "" + menuID);
    try {
    return PortletRendererUtil.constructLink(portletRequest, portletRequest.getRenderContext().getEventURL(),
    eventParams,
    true,
    true);
    } catch (Exception e) {
    return "null";
    But what actually happens is nothing. I also tried to construct the links with EventUtil.constructEventLink() with the same result. Checking the produced html-code in the browser shows that the same URLs are produced. So I'm of the opinion, that proper event links are created.
    After checking the sent and received request parameters I came to the conclusion, that the event output parameters are never mapped to the page input paramters, as they should. So I changed the code to the following:
    // page parameter (shouldn't be used here)
    private final static String pageParamMenuID = "pageMenuID";
    // parameter names as given in providers.xml:
    // event name
    private final static String eventName = EventUtils.eventName("changeContentFromSitemap");
    // parameter name for event parameters
    private final static String eventParamMenuID = EventUtils.eventParameter("sitemapMenuID");
    String getEventUrl( PortletRenderRequest portletRequest, long menuID) {
    NameValuePair[] eventParams = new NameValuePair[1];
    eventParams[1] = new NameValuePair(pageParamMenuID, "" + menuID); <-- Note that the page parameter and not the event output parameter is used here -->
    try {
    return PortletRendererUtil.constructLink(portletRequest, portletRequest.getRenderContext().getEventURL(),
    eventParams,
    true,
    true);
    } catch (Exception e) {
    return "null";
    Now everything works fine, including addition of persistent private portlet parameters and further input/page/event parameters as well as working with a third portlet with performs a search (and presents the search results as links which change the content in content portlet).
    But this is actually NOT the way it should work: The names of the page parameters are hard-coded in the portlets, so the roles of page designer and portlet developer are not separated in the way it is presented in the documentation. I coulnd't find a way to map the event output parameters to the page parameters to work this out.
    Now I wonder whether there's some known bug in PDK or perhaps a mistake in the documentation or wether I'm just missing doing the right things. I've already read some postings in this forum concerning this problem (for example how to change the query??? but I think I've done all the things that are suggested there (checked the entries in provider.xml and the proper mapping of page parameters, public (input) portlet parameters and event output parameters, also the way I read the received request parameters and build the links)
    Has anybody an idea what's wrong here?
    Best regards
    Torsten

    Hi Amjad,
    thank you very much for time and effort you spent on helping me solving this problem.
    Unfortunately, I think I already tried what you suggest in your answer, but without success. From my experience, the following two calls:
    1.
    <%!
    private static String eventName = "changeContent"
    private static String eventParamID = "menuID"
    String getEventUrl(PortalRenderRequest prr, long menuID) {
    NameValuePair[] eventParams = new NameValuePair[1];
    // no addition of eventName in the array
    eventParams[0] = new NameValuePair(eventParamID, "" + menuID);
    return EventUtils.constructEventLink(prr, eventName, eventParams, true, true);
    %>
    <a href="<%= getEventUrl(portletRequest, 1234) %>">some link for ID 1234</a>
    2.
    <%!
    private static String eventName = EventUtils.eventName("changeContent");
    private static String eventParamID = EventUtils.eventParameter("menuID");
    String getEventUrl(PortalRenderRequest prr, long menuID) {
    NameValuePair[] eventParams = new NameValuePair[2];
    eventParams[0] = new NameValuePair(eventParamID, "" + menuID);
    eventParams[0] = new NameValuePair(eventName,"");
    return PortletRendererUtil.constructLink(prr, prr.getRenderContext().getEventURL(), eventParams, true, true);
    %>
    <a href="<%= getEventUrl(portletRequest, 1234) %>">some link for ID 1234</a>
    produce identical links. I took the second way because it is easer to add private portlet parameters to the link: just as additional NameValuePairs in the eventParam- Array (name constructed with HttpPortletRendererUtil.portletParameter()), instead of constructing the link "by hand" as mentioned in the javadoc for constructEventLink(). I have to add these private portlet parameters here because when an event from a private parameters owning portlet is fired, the private parameters are lost (in difference to when an event from ANOTHER portlet is sent).
    So I think, when you also look closely to the code snippet I added in the first posting, I made shure that I added the name of the event and not just the event parameters to the link.
    I hope that I understood your answer right. Perhaps you have another idea what might be wrong. Thank you again,
    best regards
    Torsten

  • Unable to bind portlet parameter with page parameter in webcenter portal

    Hi All,
    I am trying to bind portlet parameter with the page parameter so that I can ahieve some business requirements.
    Here is what I did,
    In my Portlet producer application:
    1) Created standards based portlet (jsr 286) with view.jspx and edit.jspx with rest of the things being default.
    2) In my portlet.xml created two parameters and assigned these parameters to the portlet created above.
    3) In the view.jspx added couple of output label adf components in the page.
    4) deployed this to integrated weblogic server.
    In my WC portal application:
    Created a new page and added the portlet to this page( WSRP connection already exists).
    deployed portal application on integrated server.
    In the edit mode of the page I added one page parameter(Param1) and some default (constant) value added.
    What I want is this:
    when Param1 value is One display first output label and
    when Param1 value is Two display second output label.
    I am using jdev 11.1.1.5.0 with integrated weblogic server.

    There is no need to use page parameters for this.
    You also have two types of parameters depending on what you want...
    1) Preferences: these parameters can be used on a user based level. This means that users can personalize the portlets. When a user change the value of a preference, it is only applied for that specific user
    2) Public parameters: these parameters are used to customize the portlet. The value you set in these parameter apply for all users.
    I have made a simple example to show these two differences: http://www.yonaweb.be/PortletTest.zip
    The portlet has 4 inputText on it. The first two can be set by specifying One or Two into the preference.
    The other 2 inputText uses the value of the public parameter.
    You should only deploy the portlet and consume it in a webcenter application. In the webcenter application, you don't need to do anything special. All is done in the portlet.
    I am guessing you don't have written the code that will get the value of the parameter:
    in case of a preference you will get the value by following code:
       PortletRequest request = (PortletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
       PortletPreferences preferences = request.getPreferences();
       return preferences.getValue("outputparam", "One");In case of a public parameter (for customization instead of personalization) you use following code to retreive the value of a public parameter:
    PortletRequest req = (PortletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
      String param = (String)req.getParameter("PublicParam");
      if(param == null)
          return "Three";
      return param;This code can also be found in the sample portlet application.

  • Problem with Date Parameter

    Hi
    I am new to reporting services/report designer but have created a number of simple reports with Parameters using data from queries that have worked but I have a problem with this using Date and Time. 
    I am using MS Visual Studio 2008 (BIDS) and our SQL Server is Windows Server 2008 R2
    I need to allow the users of the report to choose a start date and an end date
    The Start Dates are held in a field called PhaseStartDate
    The End Dates are held in a field called PhaseEndDates
    I have tried multiple ways to try to get this to work with no success and with the latest attempt I get the message  
    "An error occurred during local report processing. The definition of the report 'JKVoidLoss' is invalid. The report parameter 'StartDate' has a default value or ValidValue that depends on the report parameter"Startdate". Forward dependancies
    are not valid"
    I will explain how I set up the Startdate. The EndDate is set up the same with the relevant values and fields.
    I created a new data source called StartDate. Under QUERY I have Select PhaseStartDate from QLHRA_VoidPhases. This runs okay when tested in Query designer and RUN.
    Under FIELDS I have Field name as PhaseStartDate and Field Source as PhaseStartdate
    Under PARAMETERS I have Parameter Name as PhaseStartDate and Parameter Value as [@StartDate]
    I set up a Parameter called StartDate with Data type as Date/Time
    Under Available Values I selected Get values from a query with Dataset being StartDate, Value field being PhaseStartdate and Label field being PhaseStartDate
    There are no Default Values
    I have tried moving the parameters up and down using the blue arrows under report data. I have tried multiple different methods to resolve this by changing values in the Properties screens.
    I also tried removing the DataSets and just using the Parameters with default settings. in preview, this ran the report but no matter what dates where entered the output was always the same.
    Any assistance will be greatly appreciated as I have spent hours on this so far
    Regards
    John

    Hi
    I am new to reporting services/report designer but have created a number of simple reports with Parameters using data from queries that have worked but I have a problem with this using Date and Time. 
    I am using MS Visual Studio 2008 (BIDS) and our SQL Server is Windows Server 2008 R2
    I need to allow the users of the report to choose a start date and an end date
    The Start Dates are held in a field called PhaseStartDate
    The End Dates are held in a field called PhaseEndDates
    I have tried multiple ways to try to get this to work with no success and with the latest attempt I get the message  
    "An error occurred during local report processing. The definition of the report 'JKVoidLoss' is invalid. The report parameter 'StartDate' has a default value or ValidValue that depends on the report parameter"Startdate". Forward dependancies are not valid"
    I will explain how I set up the Startdate. The EndDate is set up the same with the relevant values and fields.
    I created a new data source called StartDate. Under QUERY I have Select PhaseStartDate from QLHRA_VoidPhases. This runs okay when tested in Query designer and RUN.
    Under FIELDS I have Field name as PhaseStartDate and Field Source as PhaseStartdate
    Under PARAMETERS I have Parameter Name as PhaseStartDate and Parameter Value as [@StartDate]
    I set up a Parameter called StartDate with Data type as Date/Time
    Under Available Values I selected Get values from a query with Dataset being StartDate, Value field being PhaseStartdate and Label field being PhaseStartDate
    There are no Default Values
    I have tried moving the parameters up and down using the blue arrows under report data. I have tried multiple different methods to resolve this by changing values in the Properties screens.
    I also tried removing the DataSets and just using the Parameters with default settings. in preview, this ran the report but no matter what dates where entered the output was always the same.
    Any assistance will be greatly appreciated as I have spent hours on this so far
    Regards
    John
    As I understand what you need to do is to just remove parameter from the dataset query for populating the date values and then it should work fine
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Synching problems with pages and numbers

    After an initial problem with synching which was resolved with Yosemite Pages and Numbers have been synching across all my devices for a couple of weeks and now all of a sudden they have stopped again!! They synch across my phones and iPad but not to my macbook pro!! Very very annoying! How do I resolve it?

    Found a solution, but it is odd:
    On the 2008 Mac Pro, I UNCHECK the boxes beside Pages and Numbers in System Preferences > iCloud > iCloud Drive > Options. Now Pages and Numbers will properly save edited documents to the appropriate folders on iCloud Drive.
    Go figure ...
    Hope that this helps someone else.
    Jon

Maybe you are looking for

  • GR/IR  automatic clearing raised account balances

    Hello experts, could you be so kind and help me with nex scenario: we have done two goods receipt , then we have done miro and posted vendor  invoice lline items : migo: goods 100 /grir 100 migo: goods 100 /grir 100 miro:  grir 200 / vendor 200 now w

  • Multiple databases with the same name ... only one named DB can be found

    Hi All We are currently in the progress of migrating over to APEX 3.2 from HTMLDB 2.1. We have 3 instances on each version - DEV, UAT, LIV. The HTMLDB servers and databases are set up with no problems in grid control. However, the new apex instances

  • Ipad mini no longer able to be used - ios7 glitch?

    Hi all, My iPad Mini has now effectively become useless. First I was confronted by pop up messages asking me to pop in a password for imessage, facetime and icloud. I have recently changed my AppleID due to a primary email change. Both my iphone and

  • Fonts in smart froms

    how do u change fonts in smart forms?

  • Filter/sort approach

    we develop intranet application, and on the server side we decided to use CMP entity beans as persistence layer. but we have now some problems how to impement sorting/filtering at client side. for expample you can see a list of cars on page in table