Parameters are not Passed in a Struts(JPDK) Portlet

Dear All,
I am getting below problem in Oracle Portal Environment(10.1.2)
I am passing news_id parameter along with title from one page to another page like below code
In CompanyNewsShowPage.jsp
<tr>
<td class="desc">
<%
page_url ="/showpageNews.do?news_id="+com_events[0];
// System.out.println("value of page url : "+ page_url);
%>
<input type="hidden" value="<%=page_url%>" id="hdnpageurl"/>
<pdk-html:link page="<%=page_url%>" styleClass="desc">
<%
String obj_title= com_events[1];
if((obj_title.length())>30)
out.println(obj_title= obj_title.substring(0,15)+ "...");
else
out.println(com_events[1]);
%>
</pdk-html:link>
</td>
TO passing
shownews.jsp
The code for accepting parameter is below
<%
System.out.println("value of newsid :"+ newsid);
String news_id=request.getParameter("news_id");
if(news_id !=null)
newsid= Integer.parseInt(news_id);
System.out.println("value of newsid :"+ newsid);
%>
Kindly any one help me how to pass the parameter from one page to another page above problem, because our go live date is very close.
But same code it is works in IE browser, but not working after deployed in Oracle Portal Environment.
However, the
parameters are not passed from the form to the Struts action. When retrieving the parameters, then
a null value is retrieved, even when the parameter was specified in the form.
Regards,
Chandrashekhara
Message was edited by:
user487286
Message was edited by:
user487286

Hi Anton,
I make some tests and it appeared that it's only the output parameter which is not passed through the step (why ?).
I get this output parameter by a post-running action which parse the joblog and retrieve the sequence number at the line with the pattern  "vendor" (hereunder) :
100601 20091008 00 516 Job started  0       
100601 20091008 00 550 Step 001 started (program ZCO_MANAGE_FILE, variant ECLO2, user ID ABAPUSER)  0 001 ZCO_MANAGE_FILE ECLO2 ABAPUSER   
100601 20091008 00 001 No vendor specified  0 00233      
100602 20091008 00 517 Job finished  0
Here is the postrunning action script wich was working before we upgrade :
  JobFile log = jcsJob.getJobFileByName("log");
  if (log != null)
    com.redwood.scheduler.api.search.SearchResultSet myResultSet = log.search("No vendor specified");
    com.redwood.scheduler.api.search.SearchResult myResult = null;
    while (myResultSet.next())
      myResult = myResultSet.getSearchResult();
      String [] line = myResult.getLineText().split(" ");
      JobParameter jp = jcsJob.getJobParameterByName("VendorCode");
      if (jp != null)
        jp.setOutValueString(line[line.length-1]);

Similar Messages

  • SAP fails to find uninstaller or uninstaller parameters are not passed

    We have a custom add-on , and we intend to deploy the add-on with professional quality. However I have a issue with the uninstaller area.
    Scenario 1;
    Installer name = AddOnInstaller.exe
    Uninstaller name = AddOnUnInstaller.exe
    I have created a proper uninstaller and have created the ARD file with the uninstaller listed there. The proper parameters were given, However when registering the add-on ( with SAP) , SAP throws a message saying that uninstaller could not be found. However the uninstaller is present in the given path. I have checked the path in the ard file too. SAP however installs the add-on properly.
    Also During the install SAP copies the Installer.exe to the local profile temp folder, and runs from there. Does this have something to do with SAP not finding the uninstaller?
    Scenario2:
    This time I tried creating the Install and Uninstall function within the same program. So I have one exe now called AddOnInstaller.exe
    I have set the installer in the ard file to the AddOnInstaller.exe  and given the proper parameters. And I have set the Uninstaller in the ard file to another parameter such as “/u|uninstall;”.
    When registering the add-on within SAP, SAP now dose NOT give an error ( could not find uninstaller ). And also the add-on installs properly.
    Within my AddOnInstaller.exe, I check the command line to see if the command line is for an Install, or an Uninstall.
    However when the add-on is removed and deregistered, when I log back in to SAP, and when SAP runs the uninstaller, it passes Install parameters to the AddOnInstaller.exe. I have checked this with message boxes. Should it not pass Uninstall parameters as given in the ard file?
    I need a fix for this or a workaround please. all help is appreciated.
    regards,
    Indika.
    Message was edited by: changed the header title
            Indika Dekumpitiya

    yes the fixing the parameter helped, now SAP passes the correct parameter. I pass /u ( no | hwoever ).
        vCommand = Split(Trim(Command), "|")
        mInstallPath = Trim(vCommand(0))
        If UBound(vCommand) > 0 Then '---means Install paramaters
            mInstallerPath = Trim(vCommand(1))
        Else
            bUninstall = True
        End If
        If bUninstall Then
            Call UninstallAddOn
        Else
            Call Install
        End If
    this code above worked, thanks.

  • XMLHttpRequest with "post" does not work (parameters are not passed to called routine); same code works in Chrome and IE.

    Here is my code:<br />
    <br />
    <pre><nowiki>function evalCtr(Ctr)
    var xxxhttp;
    if (window.XMLHttpRequest)
    {// code for IE7+, Firefox, Chrome, Opera, Safari
    xxxhttp=new XMLHttpRequest();
    else
    {// code for IE6, IE5
    xxxhttp=new ActiveXObject("Microsoft.XMLHTTP");
    xxxhttp.onreadystatechange=function()
    if (xxxhttp.readyState==4 && xxxhttp.status==200)
    alert(xxxhttp.responseText);
    var params = "oper=XXX&Center=YYY";
    xxxhttp.open("post","c_ctr.cfm",true);
    xxxhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
    xxxhttp.setRequestHeader("Content-length", params.length)
    xxxhttp.setRequestHeader("Connection", "close");
    xxxhttp.send(params);
    }</nowiki></pre>

    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

  • SSRS,MDX- Passed parameters are not hitting the main query in Dataset

    I have created a SSRS report which has to accept two parameters i.e., store name, Date(to show sales on particular date) in report. which are working fine for me. but, those passed parameters are not hitting the main query in main Dataset. what ever i
    pass in parameters, it is displaying all the rows(every city values). i think i am not correct in creating the statement in  Main dataset query, to receive those 2 parameters into the main query. can anybody please help me how to create the statement
    in main date set to display the results for the exact parameter i am passing(which has to be in MDX).
    ram

    Hi ramprasad74,
    According to your description, you want to use parameter in the report, then after parameter values are selected, corresponding data will be displayed in the report. But the parameters do not work and all the rows are displayed.
    To pass parameter to main report dataset, we need to define parameter for MDX query and assign parameter name same as SSRS report parameter. For detail information, please refer to the following steps:
    Create a Dataset to retrieve data for Store name parameter.
    Create Store name parameter, type name and prompt, set Date type to Text, check Allow multiple values check box, then select get values from the dataset.
    Create a Dataset for Date parameter.
    Create Date parameter, type name and prompt, set Date type to Date/Time, then select get values from the dataset.
    Create a new dataset used to retrieve data for the report, add statement like below to the mdx query: {STRTOMEMBER(@Date)} * {STRTOSET (@Store_name)}.
    In Query Designer pane, click Query Parameters and assign parameter name same as SSRS report parameter.
    For more information about SSRS Report with Single and Multi Selection Parameter using MDX Query, please refer to the following blog:
    http://www.codeproject.com/Articles/799265/SSRS-Report-with-Single-and-Multi-Selection-Parame
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • RFC Function Module - Message Reference parameters are not allowed with RFC

    Hi,
    I’ve checked the Remote-Enabled Module radio button, declared Import and Export parameters using ‘Type’ typing and checked the ‘Pass Value’ in export and import parameters but I still receive message ‘Reference parameters are not allowed with RFC’ and not able to activate the function module.
    Am I missing something?
    Regards,
    ...Naddy

    Hi all,
                   I faced the same problem and solved it ,
    You have defined a reference parameter for a remotely called
      function module. However, only value parameters are allowed
      for this type of module.
      Procedure
      Change the reference parameter to a value parameter.
    Guys  pls .don't leave the thread un-asnwered when you solved problem , post the solution it might be useful for others also.
    Regards
    Krishna Acharya

  • When using pop up editor windows on a Joomla 1.0.15 website the URLs selected in the pop-up are not passed back to the main window

    The Joomla content management system version 1.0.15 provides a content editor which uses pop-up windows to select images and files. When using any of these pop up editor windows since 3.6.9 the URLs selected in the pop-up are not passed back to the main editor window.
    Up until FF 3.6.8 there were no problems, but FF 3.6.9 and 3.6.10 both exhibit this same problem, as does FF 4 Beta 6. (Support Question raised on this forum in early September when 2.6.9 was released but no response)

    Do you have that problem when running in the Firefox SafeMode?
    [http://support.mozilla.com/en-US/kb/Safe+Mode]
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this:
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • Some parameters are not shown in parameter dialog

    Hello,
    I created a VB.NET program using VS2005 sample.
    When the program refers to CR10's DLLs (VS2005 bundle),
    it prompts all parameters correctly.
    But when the program refers to CR12's DLLs, some parameters are not prompted.
    I installed merge module 12.2.
    I also checked CR11 (merge module 11.5) and  found the result is equal to CS12.
    Thank you

    Sorry. I don't understand. Perhaps creating a phone case will be the better way to go(?). Phone cases can be obtained here;
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    Ludek

  • Scheduling parameters are not defined for production orders

    Hi All,
             when i convert the planned order to production order  i got this massage popup coming  Scheduling parameters are not defined for production orders . please let me know this .

    Hi,
    One of major customization steps for the order type is missing. Run OPU3 and maintain settings for the order type you are using. You may copy settings from an older type.
    Regards.

  • Exits with parameters are not displaying in CO Substitution

    Hi there...
    I am having this problem...I´ve created a CO substitution following all the steps involved, works fine when I define the parameter:
      exits-param = c_exit_param_none in form GET_EXIT_TITLES
    The transaction code OKC9 displays the exit with the field:
    parameters = "No change"
    but when I changed the parameters in my exit for use parameters:
    exits-param = c_exit_param_field
    After the activating and generating with RGUGBR00, the exit doesn´t display in exits availables in OKC9 in fact all the exits with using parameters are not displaying in OKC9.
    What am I doing wrong here?
    Thanks in advance!!!
    Alfredo
    Amber

    Calibrate your monitor.

  • The MRP parameters are not maintained in plant JK01

    Good morning,
    t-code : md04 (stock req.list) but got an error.
    MRP parameters for plant 'JK01' have not been maintained
    Message no. 61273
    Diagnosis
    The MRP parameters are not maintained in plant JK01.
    Procedure
    Maintain MRP parameters in Customizing.
    how to maintained mrp parameter fro plant JK01 ?
    Thank you.

    Hi Robert,
    First maintain the plant parameter using  tcode OMI8 for the plant JK01.
    this will solve ur issue.
    hope it wud have answered ur question
    reward if useful
    shawn

  • Japanese characters alone are not passing correctly (passing like ??? or some unreadable characters) to Adobe application when we create input variable as XML data type. The same solution works fine if we change input variable data type to document type a

    Dear Team,
    Japanese characters alone are not passing correctly (passing like ??? or some unreadable characters) to Adobe application when we create input variable as XML data type. The same solution works fine if we change input variable data type to document type. Could you please do needful. Thank you

    Hello,
    most recent patches for IGS and kernel installed. Now it works.

  • Parameters are not created for M0001 feature

    Hi Friends,
    During Hiring activity in IT0002 after entering all the fields, while saving i got a warning message - parameters are not created in M0001 feature. Please give me your views & answers why i got this message.
    Edited by: sharada vemula on Apr 4, 2010 11:31 AM

    Hi,
    Go to PE03 enter M0001
    create a structure till Personal Area and enter **** unless you want to maintain Administrator group in here.
    Hope this helps
    Ajay

  • Error: Control parameters are not maintained in the current client

    Hi,
    We have recently installed IDES IS-H 6.04 - HEALTH CARE. In the SAP easy access menu when I go to Hospital>>Basic data administration>>Hospital structure>>Organizational Structure>>Organizational Unit>>Create it throws the following error message
    "Control parameters are not maintained in the current client"
    Any help on this would be greatly appreciated. I can't move ahead without getting to create an OU.
    Warm Regards,
    Prasoon Singh

    Hi Prasoon
    Are you starting from scratch?
    Was the client created after the activation of IS-H?
    For new installation I always recommend to activate the industry solution in client 000 and then to create the new clients as copy of 000.  It will bring you the configuration of the Institution 0001. If not, it's very hard to do all the customizing, specially the SD ones.
    It seams that you have nothing configured, try to do the copy, if not, probably an entry in transaction ON05 is missing.
    I hope it helps
    With best regards
    Matías

  • Odata error: Parameters are not allowed for entity "calculationView" as it is not a calculation or analytical view

    I have created scripted calculation view
    I can add parameter in aforesaid calculation view
    It fetches me right result
    But when I am to call aforesaid calculation view from odata service I am getting following error:
    ERROR      zcustsearch/services/AutoComplete.xsodata
               Parameters are not allowed for entity "calculationView" as it is not a calculation or analytical view.
    Any solutions

    Don't reference it via the catalog object. Otherwise only the runtime Column View will be seen. Instead you should specific the view as the repository object.  This means no schema and use package path::view name.  Like this example from the SHINE content:
    service namespace "sap.hana.democontent.epmNext"  {
       "sap.hana.democontent.epmNext.models::CV_SALESORDER_YEAR_COMPARISON"
        as "salesYear" 
      keys generate local "ID"
        aggregates always
        parameters via entity "InputParams"; 

  • The page parameters are not showing in the URL .

    I my appliaction all the pages have textboxes with some values . But the URL for none of the page shows the parameters like every page has url :
    http://127.0.0.1:8080/apex/f?p=105:8:598450314306501::NO:::
    but none of the page parameters are being shown . What is the problem here
    please help

    You can setup a page branch that responds to your specific button and within that branch definition you can specify page items and values to be set when that branch fires.
    Is there a specific reason that you want the values passed on the URL? That's not really required to make ApEx function properly.
    Earl

Maybe you are looking for

  • Populate drop-down list from multiple text fields.

    Just to begin, I am brand new to this application and brand new to coding in general. Anyways, this is what I am trying to accomplish. I need to populate a drop-down list from multiple text fields. I am able to populate one item using this in the cal

  • Can anyone help with an error message when installing iTunes?

    Hi, I have been trying to upgrade my iTunes to 7.6, I have been unable to upgrade since version 7.3 it fails right at the end, well this time it didn't work either. I took the advice of the support pages and uninstalled iTunes but when I try to re-in

  • Satellite Pro C850-1M - upgrade to Win 8.1 fails - error 0xC1900101-0x30018

    Hello to all, bought a new Sattelite Pro C850-1MX (PSCBZE 00M009GR) in december 2013. System is running almost unchanged to delivery state. Yet installed OpenOffice, Firefox and AdobeReader in most actual versions. And updated driver for AMD-GPU to l

  • Help with aspx files

    This is not a Dreamweaver  problem but I fugured someone on thi site would have the solution. Its been driving me crazy for too long and just want to get the solution. When click on links on two sites that are aspx dirven the link attempts to dowload

  • Recover to new disk maverick MacBook pro

    hello, i have restore my Mac from time machine to new disk (solid state 1TB), I thought of performance increase in turn it takes long time to boot system . on each reboot the system show apple logo and loading .the system comes up eventually . earlie