Can not pass Number type parameter to a portlet.

I created a portal applicaiton with a jspx page.
when click on a row of the table , a portlet will get the id of the row, and portlet will be refreshed.
The id type is Number.
when running, logs contains a error:
"PortletModelImpl> <setParameterValue> Cannot set parameter Param1 on PortletBinding OmniPortlet4_1 with a value that is not a String or String Array."
if you change the id type to String, everything will be OK.
but the id type should be number, how to solve this problem.

You should pass the value as a string to your portal and in your portlet convert it back to a number.
If you really want to pass the Number object instead of a string, you can always use events instead of just passing parameters. When you use events, you can attach a payload to the event which can be any type as long as it is serializable.

Similar Messages

  • Passing Record type parameter from one session to other session

    Hi,
    I have a package.procedure, in that I am calling custom workflow, inside this workflow again I am calling
    same package.procedure (Its an recursive call)
    I need to pass record type parameter in this package.procedure.
    I tried with global variables but Workflow starts its new session so it losses all variables.
    Now I am going with creation of Custom table.
    Please advice, is there any way other than creation of Custom table.
    I mean can we pass Record type parameter from one session to other session without creating table.
    Regards
    Rohit

    Al-Salamu Alikum We Rahmatu Allah We Barakatu...
    want this place from to be passed as a parameter to the shipping bill form..... using web.show_documentwhy don't u think of just passing data parameter or global parameters from one form to another
    Pass global variable between two forms.
    Hope this helps...
    Regards,
    Abdetu...

  • HP4275A can not pass self test after running the labview program

    I am using Labview to control HP4275A LCR meter. The Labview program is just the instrument driver for the HP4275A, and it works great. Before running the program, the instrument can pass both Open and Short test perfectly. But after running the program, it can not pass self test, neither Open nor Short. I don't know why?? Is it relative to my Labview program??
    Thanks

    Thank you so much for your help. Yes, the instrument is in Local after running the instrument driver. In normal Open self test, just choose Capactiance as the Display A, and leave the four output terminals open then press the Self Test button. The Open self test will start and "OP" will be shown in the DIsplay A window, after 2 seconds, the open test will be finished. If something abnormal, the number of the abnormal step is displayed in Display A. Similar with the Short test.
    The problem I had was: before running the instrument driver, the self tests pass; but after running the instrument driver, the Open and Short test show abnormal, Open test is abnormal at step 17, and Short test is abnormal at step 24.
    And the instrument driver is only write commands into the instrument and then read back measuring values from it. Nothing else. So I am not sure if the problem is my instrument driver.
    The weird thing is the problems happened several times and then if I do the Open and Short self test again after running the instrument driver, both pass. I am not sure whether the problem will come back or not.
    Ia there any help??
    Big thanks

  • MDG-M: Error message - CR was not passed as a Parameter

    Hi MDG Experts
    In the MDG-M scenario, after the CR is created and successfully submitted by the Requestor (e.g; Create / Change a Material), when trying to display this CR in the "Display Change Request" menu option, i get the error message - "Change Request was not passed as a Parameter" after i click on the "Workflow Log" push button.
    Additionally, the details of this CR are not being displayed in the window "MDG-M UI (Entry Point), when double-clicking the CR number in the "Display Change Requests" window
    Any ideas why this is happening and how to resolve this issue ?
    Thanks in advance.
    Regards
    Neelesh

    Hi Fabiano
    Thanks very much for helping me resolve this issue.
    Regards
    Neelesh

  • Trying to drag pdf files i have and combine them into one pdf file in the account i just purchased with Adobe. when i drag a pdf file over Adobe doesn't accept it. says it can not convert this type of file. but it is an Adobe file. Do I need to change it?

    Trying to drag pdf files i have and combine them into one pdf file in the account i just purchased with Adobe. when i drag a pdf file over Adobe doesn't accept it. says it can not convert this type of file. but it is an Adobe file. Do I need to change it in some other form befor dragging it?

    Hello djensen1x,
    Could you please let me know what version of Acrobat are you using.
    Also, tell me your workflow of combining those PDF files?
    Please share the screenshot of the error message that you get.
    Hope to get your response.
    Regards,
    Anubha

  • Bought a new camera and Photoshop advises me that it can not read my type of file.. Its canon 7d mark 2 and the extension is CR2.

    Bought a new camera and Photoshop advises me that it can not read my type of file.. Its canon 7d mark 2 and the extension is CR2.

    Hi EddieGerdak,
    The update is available now.
    Release details:
    Lightroom 5.7: http://blogs.adobe.com/lightroomjournal/2014/11/lightroom-5-7-now-available.html
    Camera Raw 5.7: http://blogs.adobe.com/lightroomjournal/2014/11/camera-raw-8-7-and-dng-converter-8-7-now-a vailable.html
    Regards,
    Pete

  • Scanned picture:  "Can not open" "wrong type of file" - elements 6

    I have scanned lots of pictures and saved them as jpegs or tiffs, etc in Elements 6 and had no problems, but the last few pictures I've scanned (Epson V500 photo scanner) and have saved in "my pictures" using Elements 6, are not visable.  When I try to open the image (that has no picture), it says "can not open - wrong type of file."  As far as I know, I haven't changed any buttons and I've been scanning as I usually do.   Has anyone encountered this message and if so, what is the answer?
    I have Windows XP - Just purchased Epson Perfection V500 Photo scanner and it came with Elements 6.

    A possibility is that you have used an illegal name. The file name cannot have more than one period in it, and that must precede the letters JPG (or TIF) at the end of the file name. Or, the last three letters after the period are NOT correct ... the last three letters after the period must be JPG (or TIF).

  • HT204406 my iTunes match can not pass the step 2, it keeps repeat again and again. Pls advise. Thank you.

    my iTunes Match can not pass the step 2, it keeps repeat again and again. Pls advise. Thank you.

    Very strange.  Two items to try:
    a.  Enable iCloud Status and iCloud Download fields in Song view, sort on status and look for any 'waiting' or 'error';
    b.  If (a) looks good, establish a new user account, create an empty library and enable iTunes Match, confirm that this provides access to all Songs and is working well.
    These are seeking to ensure both no bad Songs or local Library corruption - both are relatively quick.

  • I can not pass the language settings menu

    Hello,
    Since I have tried to get the latest build of Apple TV, my apple TV can not pass the language settings menu. I choose my language and then it loops back to language settings menu.
    I have restored twice from iTunes, plug and unplug from the tv, the electric network, and so on, but it does the same loop.
    Anybody has solved this problem ?
    Regards,
    F

    If you can't get past the lock screen when you slide to unlock, try rebooting your iPad and then try again.
    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.

  • I can not pass the lock screen

    I can not pass the lock screen, when I slide to unlock

    If you can't get past the lock screen when you slide to unlock, try rebooting your iPad and then try again.
    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.

  • I have AI 16.2.1 and can not find Touch Type Tool.

    AI 16.2.1 and can not find Touch Type Tool.  Where can I find the new feature?

    If you are paying the monthly fee, then you should be able to download AICC from the Creative Cloud management app.

  • GRE traffic can not pass through LRT224 IPSec Tunnel

    Hi,
    We have a trouble when using Cisco Router GRE tunnel plus LRT224 IPSec Gateway-Gateway Tunnel.
    We found after reboot, GRE packets can not pass trough LRT224 IPSec tunnel. need to restart serval time then gre will back to normal.
    Besides that, GRE keepalive packets can not pass trough LRT224 IPSec Tunnel.
    please help. I had tried to upgrade to latest firmware version.
    Firmware Version : v1.0.3.09 (Dec 26 2014 14:28:46) 
    A-END:
    interface Tunnel1
    ip address 10.216.80.105 255.255.255.252
    ip mtu 1400
    ip nat outside
    ip virtual-reassembly in
    ip tcp adjust-mss 1360
    ip ospf network point-to-point
    ip ospf hello-interval 3
    ip ospf cost 10000
    tunnel source 10.216.81.2
    tunnel destination 10.216.80.90
    end
    B-END:
    interface Tunnel11
    ip address 10.216.80.110 255.255.255.252
    ip mtu 1400
    ip tcp adjust-mss 1360
    ip ospf network point-to-point
    ip ospf cost 10000
    ip ospf hello-interval 3
    tunnel source 10.216.80.91
    tunnel destination 10.216.81.3
    end
    CISCO2911 <> LRT224 <> INTERNET <> LRT224 <> CISCO 2621
    San

    Can you post the results from the below command for the Cisco Routers?
    IOS Command: "sh version"
    Why not static route without NAT through the LRT224 IPSec VPN?
    Just curious why did you use LRT224's for the Site to Site VPN instead of the Cisco Routers?
    Please remember to Kudo those that help you.
    Linksys
    Communities Technical Support

  • Java Callout-how can we pass certain type other then primitives

    Hi,
    I have a java method: void which accepts a message of certain type (bean with various properties i.e. LogType) which i want to invoke from the java call out method. I already have jar in the resources and can select the method but cannot figure out what to add in the 'Expression' for the input type
    XSD:
    <xs:element name="ErrorLog" type="log:ErrorLogType">
    <complexType name="ErrorLogType">
    <sequence>
    <element name="error" type="string"/>
    </sequence>
    </complexType>
    in the Java call out section i can select the method
    Name section: com.package.ErrorLogType
    Expression: <what to go here?> I have tried the following
    <ns:ErrorLog xmlns:ns="http://my.name.space/error">
    <ns:error>some error </ns:error> or <error>some error</error>
    </ns:ErrorLog>
    i have confirmed the package name of the generate types already which is correct.
    I have already added the schema in the schema in namespace definition in Xquery Expression Editor
    Thanks!
    Edited by: sallo on Sep 8, 2009 4:58 PM

    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/context.html --- how to pass java objects to java callouts is documented in Java Content in the body Variable
    The content can be passed to another appropriate action (like Java callout) as a variable (for example, $pojo). The object itself is not touched. The argument is automatically de-referenced to the actual object.
    Manoj

  • Can not pass value to the program symbol

    Hi gurus,
    i've developed a script form whereas the value can not be transported from ABAP program into script form. only the system envoirment variables can be displayed in the FORM.
    any ideas? thanks

    here is my printing program:
    the varable A whose value is 4 can not be printed out in the form preview. on the other hand, if i use the same form in the report in stead of output type ME, the value 4 CAN BE displayed.
    PROGRAM  sapmztest.
    DATA: A VALUE '4'.
    *&      Form  ENTRY
          text
         -->ENT_RETCO  text
         -->ENT_SCREEN text
    FORM entry USING ent_retco ent_screen.
      CALL FUNCTION 'OPEN_FORM'
       EXPORTING
        APPLICATION                       = 'TX'
        ARCHIVE_INDEX                     =
        ARCHIVE_PARAMS                    =
        DEVICE                            = 'PRINTER'
        DIALOG                            = 'X'
         FORM                              = 'ZCNMMF017_GR_1'
        LANGUAGE                          = SY-LANGU
        OPTIONS                           =
        MAIL_SENDER                       =
        MAIL_RECIPIENT                    =
        MAIL_APPL_OBJECT                  =
        RAW_DATA_INTERFACE                = '*'
        SPONUMIV                          =
      IMPORTING
        LANGUAGE                          =
        NEW_ARCHIVE_PARAMS                =
        RESULT                            =
      EXCEPTIONS
        CANCELED                          = 1
        DEVICE                            = 2
        FORM                              = 3
        OPTIONS                           = 4
        UNCLOSED                          = 5
        MAIL_OPTIONS                      = 6
        ARCHIVE_ERROR                     = 7
        INVALID_FAX_NUMBER                = 8
        MORE_PARAMS_NEEDED_IN_BATCH       = 9
        SPOOL_ERROR                       = 10
        CODEPAGE                          = 11
        OTHERS                            = 12
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'START_FORM'
       EXPORTING
        ARCHIVE_INDEX          =
         FORM                   = 'ZCNMMF017_GR_1'
        LANGUAGE               = ' '
         STARTPAGE              = 'FIRST'
        PROGRAM                = ' '
        MAIL_APPL_OBJECT       =
      IMPORTING
        LANGUAGE               =
      EXCEPTIONS
        FORM                   = 1
        FORMAT                 = 2
        UNENDED                = 3
        UNOPENED               = 4
        UNUSED                 = 5
        SPOOL_ERROR            = 6
        CODEPAGE               = 7
        OTHERS                 = 8
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'WRITE_FORM'
       EXPORTING
         ELEMENT                        = 'DATA'
        FUNCTION                       = 'SET'
        TYPE                           = 'BODY'
        WINDOW                         = 'MAIN'
      IMPORTING
        PENDING_LINES                  =
      EXCEPTIONS
        ELEMENT                        = 1
        FUNCTION                       = 2
        TYPE                           = 3
        UNOPENED                       = 4
        UNSTARTED                      = 5
        WINDOW                         = 6
        BAD_PAGEFORMAT_FOR_PRINT       = 7
        SPOOL_ERROR                    = 8
        CODEPAGE                       = 9
        OTHERS                         = 10
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'END_FORM'
      IMPORTING
        RESULT                         =
      EXCEPTIONS
        UNOPENED                       = 1
        BAD_PAGEFORMAT_FOR_PRINT       = 2
        SPOOL_ERROR                    = 3
        CODEPAGE                       = 4
        OTHERS                         = 5
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'CLOSE_FORM'
      IMPORTING
        RESULT                         =
        RDI_RESULT                     =
      TABLES
        OTFDATA                        =
      EXCEPTIONS
        UNOPENED                       = 1
        BAD_PAGEFORMAT_FOR_PRINT       = 2
        SEND_ERROR                     = 3
        SPOOL_ERROR                    = 4
        CODEPAGE                       = 5
        OTHERS                         = 6
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "ENTRY
    Edited by: Stephen Xue on Oct 29, 2009 11:52 AM

  • Can not pass data after while loop

    Hello.
    I have created a VI for my experiment and am having problem passing data outside a while loop to save on an excel file. The VI needs to first move a probe radially, take data at 1mm increment, then move axially, take data radially at 1mm increment, then move to the next axial position and repeat. It would then export these data to an excel file. The VI is a little complicated but it's the only way I know how to make it for our experiment. I have tested it and all the motion works correctly, however I can not get it to pass the data after the last while loop on the far right of the VI where I have put the arrows (Please see the attached VI ). Is it because I'm using too many sequence, case, and while loops?  If so, what other ways can I use to make it export data to the excel file?
    Any help would be appreciated. 
    Thank you,
    Max
    Attachments:
    B.Dot.Probe.Exp.vi ‏66 KB

    Ummmm .... gee, I'm not even sure where to begin with this one. Your VI is well .... ummmm... You have straight wires! That's always nice to see. As for everything else. Well... Your fundamental problem is lack of understanding of dataflow programming. What you've created is a text program. It would look fantastic in C. In LabVIEW it makes my heart break. For a direct answer to your question: Data will not show up outside a while loop until the while loop has completed. This means your most likely problem is that the conditions to stop that specific loop are not being met. As for what the problem is, I don't even want to start debugging this code. Of course, one way to pass data outside of loops is with local variables, and hey, you seem to be having so much fun with those, what's one more?
    This may sound harsh, and perhaps be somewhat insulting, but the brutal truth is that what I would personally do is to throw it out and to start using a good architecture like a state machine. This kind of framework is easy to code, easy to modify, and easy to debug. All qualities that your code seems to lack.
    Message Edited by smercurio_fc on 08-17-2009 10:00 PM

Maybe you are looking for