Pass parameters into CellRenderer

Hello!
I want to pass parameters into CellRenderer.
How can I do that?

Found solution!
Create method, that set my Bean in CellRenderer, in what I keep my values, and call this method when create my CellRenderer. Than Use MyBean inside CellRenderer when it render cell.
JSP:
<hbj:tableView id="NewTable" model="LotsBean.ModelLots"
          design="TRANSPARENT"
          headerVisible="false"
          footerVisible="false"
          fillUpEmptyRows="false"
          selectionMode="NONE"
          visibleFirstRow="1"
          rowCount="16"
          width="100%" >
          <%  MyCellRenderer MyCell = new MyCellRenderer();
                 MyCell.setST(MyBean);
                 NewTable.setUserTypeCellRenderer(MyCell); %>
     </hbj:tableView>
CellRenderer class:
     public void setST(user_registration_bean Bean){
          MyBean = Bean;

Similar Messages

  • Why I can't pass parameters into CR from VB6

    I want to Pass parameters into crystal report from VB6.
    But whatever I try, it don't work Fine,
    always Show the message "This field name is not known".
    Crystal Report::
    Parameter: a.@cmpy;
                       b.@p1
    formula:
    a. If {?@cmpy} ="USA" or {?@cmpy} ="usa" then
          "This is test 1 sentences"
       else if {?@cmpy}="TWD" or {?@cmpy} = "twd"  then
          "This is test 2 sentences"
    b. if trim({?@p1})="1" then "This is test 3 sentences"  
    VB::
    Public oApp As New CRAXDDRT.Application
    Public oRpt As CRAXDDRT.Report
    oRpt.ParameterFields(1).ClearCurrentValueAndRange
    oRpt.ParameterFields(2).ClearCurrentValueAndRange
    oRpt.ParameterFields(1).AddCurrentValue ("TWD")
    oRpt.ParameterFields(2).AddCurrentValue ("1")  
    I had trid to use "IsCurrentValueSet" function to check whether parameter was set or not, and It responsed "Ture",so I so confused about it.
    Anyone know about this??
    ps. I had trid other way that change the formula indirectly, although it can work fine, but it isn't a right way to solve my problem.
    Edited by: DeanLai on Jun 22, 2010 8:54 AM

    I Find something.
    First I tried to add parameter and wanted to see these value on Report.
    So I inserted {?@cmpy} and {?@p1} into report, and used VB code
    "oRpt.ParameterFields(1).AddCurrentValue ("TWD")" and "oRpt.ParameterFields(2).AddCurrentValue ("1")",
    then ran the process, but it didn't display any value on report,
    so why it couldn't pass value into parameter??
    then I tried other way which was to add new parameter, and used the same way to pass
    value into parameter, then it can display value on report.
    So the different between these is {?@cmpy} and {?@p1} which come from
    Stores Procedure.
    While I set Database in crystal report, set all value into Store Procedure's
    parameter(the window about "Enter Parameter Values"), then it automatic come out the DB columns and parameter(SP parameter)
    , course include {?@cmpy} and {?@p1}.
    Do this problem cause my question?
    Can we pass value into parameter which come from SP parameter??
    Can we use these parameter into forumla??
    Edited by: DeanLai on Jun 30, 2010 11:56 AM

  • Passing parameters into an URL Services portlet

    Hi,
    is there any way to pass parameters into an URL Services portlet ? I want to give the user the ability to set a preference for which sections of an XML file should be displayed. The preference should be passed into the XMLFilter which should add these parameters as XSLT variables to the stylesheet. Is this possible ?
    Cheers,
    Ernst

    As of now we do not have provision to pass parameters to the portlet dynamically. However, if required, at most could be used is headerTrim tag and footerTrim tag. If you want to discard some data from mid of the file, its not supported.
    bye
    Baig
    null

  • Pass parameters into iBot?

    Hi,
    We are trying to use iBots to generate a set of PDF files for many different parameter combinations. Is it possible to pass parameters (like a parameter file) into an iBot and have it run the same answers request for each row in the parameter file, and then save the PDF output to a local directory on the server? I think BI Publisher is better suited for this task but it is not an option for us right now.
    Any suggestions?
    Thanks

    I guess I am unclear of how to automate this - I tried a simple java application from example I found on the web, calling a single Go URL, and it does not save in PDF format. Instead, I get a file with PDF extension but it's actually HTML content. The same code works if I call a direct URL to pdf file.
    Is there some way to automate these Go URLS within OBIEE?
    Here is the code I used if anyone is interested (doesn't seem to work with OBIEE though):
        public static void main(String[] args) throws Exception {
            URL u = new URL("http://localhost:9704/analytics/saw.dll?Go&NQUser=Administrator&NQPassword=Administrator&Path=/shared/Sample%20Sales/Reports/History&Action=Print&Format=pdf");
            URLConnection uc = u.openConnection();
            String contentType = uc.getContentType();
            int contentLength = uc.getContentLength();
            if (contentType.startsWith("text/") || contentLength == -1) {
              throw new IOException("This is not a binary file.");
            InputStream raw = uc.getInputStream();
            InputStream in = new BufferedInputStream(raw);
            byte[] data = new byte[contentLength];
            int bytesRead = 0;
            int offset = 0;
            while (offset < contentLength) {
              bytesRead = in.read(data, offset, data.length - offset);
              if (bytesRead == -1)
                break;
              offset += bytesRead;
            in.close();
            if (offset != contentLength) {
              throw new IOException("Only read " + offset + " bytes; Expected " + contentLength + " bytes");
            String filename = new String();
            filename = u.getFile();
            filename = u.getFile().substring(filename.lastIndexOf('/') + 1);
            filename = "obieetest.pdf";
            FileOutputStream out = new FileOutputStream("output/" + filename);
            out.write(data);
            out.flush();
            out.close();
        }

  • Pass parameters into SessionEventListener by using ConnectionPolicy

    Hi,
    My project is using Eclipselink/JPA with Oracle VPD. I have to pass some parameters into SessionEventListener to set up VPD context. I found couple postings in this forum talked about using ConnectionPolicy to pass in the information. Does anyone could give me a code sample about how to pass a parameter (ex. user ID) into a ConnectionPolicy? I am using JPA, so I didn't see a clear way for me to access ConnectionPolicy. Thanks!

    I used the following solution and it worked for me
    ((EntityManagerImpl)em.getDelegate()).getServerSession().getDefaultConnectionPolicy().setProperty("USER_ID", userId);
    Then in SessionEventListener, I could use clientSession to obtain "USER_ID" from connection policy.

  • Passing parameters into the Oracle form

    I want to pass some paramaters into the .fmx file which i invoke through the applet. like say, in the following line
    serverArgs="module=abc001.fmx userid=user/pwd@dbuser useSDI=no"
    i want to pass parameters in the following manner:
    serverArgs="module=abc001.fmx(param1,param2) userid=user/pwd@dbuser useSDI=no"
    since one cannot pass parameters to a .fmx file before invoking it, it does not seem possible.
    But is there a sort of a workaround? A java wrapper for oracle forms?? so that i pass parametrs to the java class and it passes this info to the form.
    i need to pass these parameters because these param1,param2 are the username/password for my oracle forms-based application which implements its own in-house user validation logic and i need to display the menu in the applet based on the user without prompting him for this application username/password
    thanks
    Any help will be highly appreciated.

    In the form FNDRSRUN which is the Standard Request Submission form there are parameters CHAR1-CHAR5, NUMBER1-NUMBER5, and DATE1-DATE5. I was wondering if i populate the parameter NUMBER1 with my value how can I access this parameter when the form is brought up. This is more of an applications setup issue I will be creating a function that calls the FNDRSRUN form this function will force this form to use a single request not a request group. In the request setups there is a parameter. When I set up the request parameter I have to select a value set and then for Default Type I can select Constant, Profile, SQL Statement, or Segment and then I have to give a default value. Can I default this parameter to use NUMBER1 or another parameter in the FNDRSRUN form.

  • How to pass parameters into Function module : CLOI_PUT_SIGN_IN_FRONT

    Hello friends,
    I am displaying values ie, amounts in the screen using write statements here i have to display the
    sign left side , i am using  Function module   'CLOI_PUT_SIGN_IN_FRONT'    
    Does anybody help me - How to pass paramter into this Function module.
    Regards,
    Phaneendra

    If you look to the code of the function module, you can see it is condensing the value.
    I would make a copy of this function, and remove the condense lines to give the result you want.
      data: text1(1) type c.
      search value for '-'.
      if sy-subrc = 0 and sy-fdpos <> 0.
        split value at '-' into value text1.
        condense value.
        concatenate '-' value into value.
      else.
        condense value.
      endif.

  • Pass parameters into a method from other methods.

    I m testing  2 related applications with coded ui test and wanna pass a parameter from one method into another.
    how can i do that?
    Thank you in advance.

    Hi mah ta,
    Could you please tell us what about this problem now?
    If you have been solved the issue, would you mind sharing us the solution here? So it would be helpful for other members who get the same issue.
    If not, please let us know the latest information about it.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Open and passing parameters into Projector

    How can i from Visual Basic application call Projector and
    passing the parameter into the Projector for Lingo Scripts
    execution. For better understanding, here is my scenario:
    - The role of this projector is as a launcher to luanch 30 of
    my Director movie files.
    In Lingo,
    Global myPath
    On startmovie
    go movie myPath
    end
    - Now, my main application is in Visual Basic. To open this
    projector and play is no problem. But i wanted to open this
    projector and passing the parameter into the Projector global
    variable which is myPath.
    Any solution for that?
    Thanks

    > How can i from Visual Basic application call Projector
    and passing the
    > parameter into the Projector for Lingo Scripts
    execution.
    You can launch the projector with additional arguments in the
    command
    line, and use 'the commandLine' to retrieve these arguments.
    ie:
    launch the projector from visual basic
    projector.exe "some extra info"
    and in your director movie you use
    on startmovie
    alert (the commandLine)
    end startmovie

  • Passing parameters into a .ctl file

    Hi,
    I have 3 data files and 3 staging tables. Is there any way to enter the data from the data files to their respective staging tables using only a single* control file using parameters.
    To detail out the scenario, there are 3 data files namely A.dat, B.dat, C.dat whose data are to be entered into A_Stg, B_Stg,C_Stg staging tables. This can no doubt be done using separate ctl files. But the requirement is to do it using a single loader file.
    Any pointers in this direction would be great.
    ~Astr0
    Edited by: 976696 on Dec 13, 2012 1:19 AM

    Hello,
    welcome to the forum.
    My pointer :-)
    This is the forum for the tool {forum:id=1317}.
    Your question should be asked in {forum:id=732}
    Regards
    Marcus

  • Passing parameters into ODI procedure step which has an OS command

    Folks,
    I have an ODI procedure step which does a directory listing for a specific directory. The command I am using is
    cmd /C dir d:\local_dir /b > D:\dir_list.txt
    I have put on the 'Command on Target' tab. This works fine
    I want to remove the hardcoding for the directory references. I have tried the command
    cmd /C dir '#src_dir' /b > D:\dir_list.txt
    but when this executes it generates an ODI error 'Wrong process return code'
    any suggestions?

    I've figured it out. The issue was with using quotes in the value being passed into the variable. Once removed, it worked fine. Thanks for the assistance.
    Regards.
    Edited by: user810644 on 17-May-2010 01:59

  • Passing parameters into 11g agent (ibot) scheduled report/dashboard

    Hi,
    Does anyone know whether or not you can pass in or set parameter values when scheduling a report or dashboard using 11g agents (ibots)?
    Thanks in advance
    Phil

    Hi All,
    Is it possible to open another application in the same window?
    Currently my code is:
    APPLICATION.openNewWindow(
    http://<>:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=<>);
    This is working fine but the requirement is to open another dashboard in the same window?
    Is this possible in Design Studio 1.3?
    Thanks & Regards
    Swasti

  • Passing Parameters into Parameter Forms

    I am having a bit of difficulty trying to get a parameter form to display and the report to execute properly with an additional parameter defined in the url.
    Here is the applicable line in cgicmd.dat file...
    key: report=test3.rdf server=xxxx userid=xxxx/xxxx@xxxx destype=cache desformat=htmlcss P_group_no=%1 %P
    I then try to open this webpage...
    http://server/cgi-bin/rwcgi60.exe?key+10
    With the %P setting on the Parameter Form page is displayed as it should and the appropriate form parameter is populated with a 10. However when I go execute the form it displays the following message.
    Oracle Reports Server CGI - Error occurred while parsing the Reports Server command line.
    If I remove the %P parameter and pass in the same argument list then the report display properly. Additionally if I try to run the report with the %P, but without the P_group_no=%1, letting that be defined in the parameter form it also works fine.
    Anyone have any suggestions?
    -Gregory Buchholz
    [email protected]

    How about using paramform=yes in you url and just giving a default value to the parameter you want in the report definition?

  • Passing parameters into a shell script through alias Names ????

    I have two alias names ord and dev. And the content of them are as follows.
    alias ord
    ord='cd ${ORDER}/bin; export APPL_NAME=order; . SetupAppl order'
    alias dev
    dev='cd ${APPL_ROOT}/bin; export APPL_ENV=dev; . SetupEnv dev'
    Alias ord calls a shell script called SetupAppl. Alias dev calls a shell script called SetupEnv.
    I am trying to pass a parameter when calling the alias name dev, something like dev WEST. And I
    want to read that parameter inside the shell script SetupEnv.
    The way I want to execute them, first run the alias ord and then the alias dev. But, when I try
    to read the parameter in SetupEnv by $1 it is showing the value of the parameter passed to SetupAppl
    ie order and not WEST.
    Is there any way to read the value (WEST) passed as a parameter when executing the alias name.
    example : dev WEST and reading the value WEST inside SetupEnv
    The reason I am executing those scripts (SetupAppl and SetupEnv) with dot(.) in the front is because
    those scripts have some export statements which needs to exported to the environment.
    Any help on this is highly apprecaited

    Hi everybody,
    I posted same question earlier for UNIX/shell script and rec'd one response. Thanks to Bob.
    But the requirement has been changed and now my mgr wants the same task using PL/SQL. Could somebody help me ?
    Question again....
    I am working on a task which gets report on every remote database.
    I created a small database: ‘REPORTS_DB’ and I created 6 'sql' scripts on that database. While executing the first script, it calls the other 5 different 'sql' scripts. All these 5 sql scripts use a '@db_link' (hard coded) and gets that database's report to the database: REPORT_DB.
    It is working well. But,
    We have 42 databases and I have to get reports of all the 42 databases. Since it is not efficient to create 42 sets of sql scripts, I want to make it automated.
    I know (but I don't know HOW) I can pass a parameter (database link name) while running the first script (which calls the other 5 scripts), so that the parameter replaces the @db_link in all the 5 scripts and gets the report of the related (@db_link) database.
    Could somebody tell me how to do this task using SQL and PL/SQL ?
    OR
    send me a sample PL/SQL script to do this task?
    Sorry for the inconvenience and thanks in advance.
    - JT

  • Passing Parameters in a URL

    Hi,
    Does anybody know how/if it's possible to pass parameters into a URL from LOV/comboboxes/tick-boxes etc...
    I know this is possible through External Applications for the username and password, but what if the user wants to select multiple departments of a given report?
    The idea being, that we are going to be passing parameters into Sales Analyser to fire off a specific report with given values.
    These values are restricted, depending on which user you are and your level of access to the portal. This URL will then be used to open an SA report with the details required.
    Thanks, Matt.

    Hi,
    You will have to encode your parameter value. The problem is because of the spaces in the value. Whenever there any special
    characters in the value it should be encoded.
    example
    select '<area shape="rect" coords="335,66,528,83" href="http://townland:7778/pls/portal30/PORTAL30.RPT_SUMKWH.show_parms?meter='||
    <portal_schema>.wwutl_htf.url_encode('PMS 11BBA01')||'">pams</a>' url
    from meters
    The above is just an example. Please change the names to suit your requirements.
    Thanks,
    Sharmila

Maybe you are looking for

  • Serious problems with latest version of iTunes 12.1.0.71

    After updating to the latest version of iTunes 12.1.0.71,my ipad mini is not being picked up by itunes even though its showing its connected and i can see it  Explorer under My Computer!Even third party programs like Tong Bu assistant aren't working

  • Calendar entries on my iPad do not sync with iPhone and iMac

    Calendar entries made on my iPad do not show up on iPhone or iMac. However, entries my on my phone and iMac do appear on the iPad calendar. Is this normal?

  • How to mount my phone?

    I want to mount my Samsung Galaxy S III with Android 4.3 Jelly Bean. I tried with mtp-detect and mtp-connect they give me one mistake Unable to read MTPZ public exponent from ~/.mtpz-data, MTPZ disabled I tried with mtpfs. I read everything in the Ar

  • What is the wriong with this statement as some times it is not working

    Hi Please fnd below code UPDATE napp_ngs3pr_onhand_stg nn3o1 SET nn3o1.status = 'ERROR' ,nn3o1.error_message = 'Duplicate Record' ,nn3o1.last_updated_by = p_user_id ,nn3o1.created_by = p_user_id ,nn3o1.request_id = p_request_id ,nn3o1.file_name = NVL

  • Cloning Hdd to SSD boot drive and what happens with Music/Logic Plugins

    Hi, my computer is a mid-2012 Mac Pro 12 Core It's a great computer but I'm considering upgrading my main boot drive (WD Caviar Black 1TB HDD) to a 1tB Samsung EVO 840 SSD drive (I'm using a sonnet tempo PCI card to mount an SSD that holds audio at t