How do i pass parameters in selectBooleanCheckbox with f:param...

I try to pass, for a selectBooleanCheckbox, a parameter.Can i do that?? I try to do it, but the value it isn�t transfered to the JavaBean.
i put that, but the JavaBean don�t received the "txeka" parameter.
<h:selectBooleanCheckbox value="#{backing_form_del.markedForDeletion}">
<f:param name="txeka" value="#{id.usu}" />
</h:selectBooleanCheckbox>
Other cuestion, If i achieve that, do i pass all the String parameters to a array of Strings(in the JavaBean)??
My program consists doing a multiple delete with a database datatable.
I�ve got a selectBooleanCheckbox, for a each row, and when the selectBooleanCheckbox(s), is(are) checked, i want to do a masive delete when i click a button. Can I do that???
thanks in advance.
I�m interesting in JSF aplications, because i�m doing the project final of the informatic ingeniering carrier.
i appreciatte your help soo much.

You could use somethings like this:
<script>
function setupInventoryReportURL(anchor) {
     var choice = document.getElementById('supplierCenter:inventory:categoryChooser');
     if (choice) {
          var url ='inventoryRPT.jsf' + '?currentCategoryName=' + choice.options[choice.selectedIndex].text;
          anchor.href = url;
     return true;
</script>
<h:form id="inventory">
     <h:panelGrid columns="1" border="1" cellpadding="5">
          <f:facet name="header">
               <h:panelGrid columns="2" width="100%">
                    <h:outputText value="Inventory"/>
                    <h:outputLink value="inventoryRPT.jsf" onclick="setupInventoryReportURL(this)">
                         <h:outputText value="Report" styleClass="commandLink"/>
                    </h:outputLink>
               </h:panelGrid>
          </f:facet>
<h:panelGrid columns="2" width="100%">
     <h:panelGroup>
          <h:outputText value="Supply Category"/>
          <h:selectOneMenu id="categoryChooser" value="#{inventory.categoryId}" onchange="submit()"
          valueChangeListener="#{inventoryView.categoryChanged}" immediate="true">
          <f:selectItems value="#{inventory.categories}"/>
     </h:selectOneMenu>
         ..............................................Vladimir Perlov

Similar Messages

  • Passing Parameters from JSP with Drill Down Graphs

    Hello,
    I have 2 JSP's where when user clicks on the bar graph it drill down and goes to next JSP, it is hyperlink. How can I pass parameters using HttpPortletRendererUtil.portletParameter
    My JSP code is something like this which is pasted below.
    StandardCategoryURLGenerator("xy_chart.jsp","series","section")) is the function, I need to use for drill down.
    Kindly help me with this and any help is highly appreciable.
    Thanks
    ************ JSP**************
    CategoryAxis categoryAxis = new CategoryAxis("Site");
    ValueAxis valueAxis = new NumberAxis("Value");
    StackedBarRenderer3D rend = new StackedBarRenderer3D();
    StandardCategoryToolTipGenerator tt = new StandardCategoryToolTipGenerator();
    rend.setItemURLGenerator(new StandardCategoryURLGenerator("xy_chart.jsp","series","section"));

    Trenton,
    One way to pass parameters to other portlets on the page while using a form is to create a hidden form field and assign it the value that you need to pass to it. If the hidden field has an unqualified name (i.e. not created by using the portletParameter method) then it will be seen by all portlets on the page.
    Since all the form fields are passed on to the query string as part of the URL, you can then use request.getParameter(paramName) to take different actions in your portlets.
    You could use different techniques where based on the values you pass on to parameters of the portlets, some portlets make specific updates to themselves. Though the whole page would be refreshed, you could allow portlets to decide based on the incoming parameter value whether they need to change or not.
    So given the functionality you desire - here's something you might try.
    1) Create hidden form field that gets populated when you select values from the drop-down lookup.
    One way to do this would be to add a onChange ="populateMyHiddenParam(this.form)" to your form item that changes.
    And you could add a small JavaScript function that populates the parameter.
    e.g.
    function populateMyHiddenParam(thisForm){
    thisForm.myHiddenParam.value=thisForm.elements[4].value;
    2)In the other JSP portlet (on the same page) where you need to populate a table based on the value selected, just get the parameter value passed by using request.getParameter("myHiddenParam").
    Since you want this parameter to be read by other portlets, you need to create it as an unqualified parameter. So dont call the HTTPPortletRendererUtil.portletParameter while assigning the name to the form component for the hidden field.
    Hope this helps.

  • How can I pass parameters from one process flow to another process flow?

    How can I pass parameters from one process flow to another process flow (sub process) in warehouse builder? let me know the steps I have to do in warehouse builder.
    Thanks in advance,
    Kishan

    Hi Kishan,
    Please post this question to the Warehouse Builder forum:
    Warehouse Builder
    Thanks, Mark

  • How can i pass parameters to every form sucessively or repeatedly

    How can i pass parameters to every form sucessively or repeatedly
    Eg: I have username which is specified in first form
    I want to display and use the username in each and every form after that form
    please tell me how to do
    i have one solution
    i.e., Normal way to pass parameters from one form to another!
    Is any procedure to pass paramters to all form at a time???

    excellent ...
    thanks for adding up to my post ..
    You can make use of parameters
    Every forms shud have same parameter name and u pass on the values of these
    Its one of the best ways

  • How do I pass parameters to a report thru Report Viewer?

    hi,
    I am moving from Crystal Reports 8.5 to XI in VB6.
    How do I pass parameters to a report thru Report Viewer?
    Old VB code:
    crReport.ParameterFields(0) = "FrProp;" & Trim$(.FrProp) & ";TRUE"
    crReport.ParameterFields(1) = "ThProp;" & Trim$(.ThProp) & ";TRUE"
    crReport.ParameterFields(2) = "RunDate;date(" & Format(Cntl.Run_Date, "yyyy,mm,dd") & ");TRUE"
    crReport.ParameterFields(3) = "FrDate;date(" & Format(.FrDate, "yyyy,mm,dd") & ");TRUE"
    crReport.ParameterFields(4) = "ThDate;date(" & Format(.ThDate, "yyyy,mm,dd") & ");TRUE"
    Bill todd

    Hi Bill,
    Download sample code from the following link:[https://boc.sdn.sap.com/codesamples] 
    Hope this helps!!
    Regards,
    Shweta

  • How I can pass parameters by POST method?

    How I can pass parameters by POST method?
    I use URL Template iView. I checked Requested Method - POST, but when I started the iView the program says:"It's a GET method!"
    I use httpServletRequest.getMethod()in the program.
    Environment: EP6 SP2
    Thank's! 

    Hi Kremena,
    the OSS stands for "Online Service System" - service.sap.com - messages or directly: service.sap.com/message.
    Hope it helps
    Detlev

  • How do i pass parameters from j2me to jsp?plz help

    hi everyone...
    i m doing my final year project
    can anyone plz tell me how to pass parameters like user name,password,etc.. from a j2me midlet to a jsp page running in tomcat server?
    i tried passing parameters in http connection through url as:
    String url="http://localhost:8080/example/test.jsp?name=abc";
    i need this info urgently as i am not able to proceed with my project... plz help
    any suggestions or references would be appreciated...
    thank u...
    regards,
    Rinzi

    JHD
    hi.
    you have written in URL i sperfectly right but if this is also not complete one.
    i.e url = "http://localhost:8080/dir/xxx.jsp?userName=jasmit&password=vala"
    now when u establishing connection i.e
    HttpConnection con = (HttpConnection) Connector.open(url,3);
    this will work as an declaration but if u want to send that parameter for that you have to get response from the server and that time only original connection is going to establish i.e
    when u r writting
    int responseCode = con.getResponseCode();
    if(reponseCode == 200)
    then ur parameter were passed to jsp page.
    in jsp page u have to get parameter using request class
    String userName = request.getParameter("userName").toString();
    String password = request.getParameter("password").toString();
    i hope this might solve ur problem.
    Regards,
    Jasmit vala
    [email protected]

  • How to get passed the grey screen with apple logo when turning on?

    I got a Imac Intel 20" about 6 years old. The other day turned it on and everscince havent been able to get passed the grey screen with the apple logo on it? What could be the problems and how can i fix this?
    cheers

    Hello v:
    The computer is fairly old and anything can happen.  You could try resetting the SMC and see if that helps.
    Barry

  • How do I pass parameters in Dynamic Pages ????!!!!!!

    I have 4 dynamic pages, a user enters in variables on first page. At the next 3 dynamic pages I send the user to I have to display the items they entered on the first page in text items.
    How do I pass these variables ????
    thanks!
    null

    You could use somethings like this:
    <script>
    function setupInventoryReportURL(anchor) {
         var choice = document.getElementById('supplierCenter:inventory:categoryChooser');
         if (choice) {
              var url ='inventoryRPT.jsf' + '?currentCategoryName=' + choice.options[choice.selectedIndex].text;
              anchor.href = url;
         return true;
    </script>
    <h:form id="inventory">
         <h:panelGrid columns="1" border="1" cellpadding="5">
              <f:facet name="header">
                   <h:panelGrid columns="2" width="100%">
                        <h:outputText value="Inventory"/>
                        <h:outputLink value="inventoryRPT.jsf" onclick="setupInventoryReportURL(this)">
                             <h:outputText value="Report" styleClass="commandLink"/>
                        </h:outputLink>
                   </h:panelGrid>
              </f:facet>
    <h:panelGrid columns="2" width="100%">
         <h:panelGroup>
              <h:outputText value="Supply Category"/>
              <h:selectOneMenu id="categoryChooser" value="#{inventory.categoryId}" onchange="submit()"
              valueChangeListener="#{inventoryView.categoryChanged}" immediate="true">
              <f:selectItems value="#{inventory.categories}"/>
         </h:selectOneMenu>
             ..............................................Vladimir Perlov

  • Passing parameters between SWF with  loadMovieNum()

    When calling one swf from another using
    loadMovieNum("name.swf",0) is it
    possible to pass parameters to the second SWF like it is done
    in
    HTML/JavaScript or using any other method?

    I think it's not possible if you load into _level0, because
    that replaces everything in the player. If you load into a higher
    _level, it should be possible, but I guess you have to wait until
    the movie is loaded before you can set variables. Use preloader
    code or the MovieClipLoader class, and set the variables when
    loading finished, e.g. _levelX.myVar = 42.
    cheers,
    blemmo

  • How to pass parameters to servlet with POST with  Business Service OSB

    Hi all.
    I am newby in OSB. I am trying to send some values through a POST call to a servlet. I know how to call the servlet with Business Service of type "Messaging Service". I send the parameters of type Text.
    I have tried several ways, but I don`t find the proper way yo do it. I have tried to insert the param into the body and into the header.
    The problem is that I don`t know exactly where to put them, I don`t know if it must be done in the header or in the boy. I neither don`t know if there is a common way to do this.
    Please, could you give me a good example of an insert activity to isert a post parameter inside the call?
    For example: now I am using this one:
    Expression => "accountType=test"
    Location => as first child of"
    XPATH => empty.
    In variable => body.
    Where do I have to insert this, in the body or in the outbounds?
    I have followed this posts:
    https://blogs.oracle.com/jeffdavies/entry/enhanced_rest_support_in_oracl
    http://www.yenlo.nl/en/using-osb-with-rest/
    Thanks a lot.

    Hi,
    Please be carefull about passing values such as Strings or number that contains ',' .
    using the way described above.
    the best way is to pass an ID and then use a select Statement to get the other Values in the target page.
    regards
    MDK.

  • How do i pass parameters to a web dynpro application ?

    Hi all,
    how do i best possible pass (serverspecific) parameters to a web dynpro application ?
    i wrote a web dynpro application that, among other things, sends an email and stores files on a server directory. Therefor i need parameters like e.g. "mailhost" or "directory".
    The way i chose is to make a *.properties file. But from my point of view there are some disadvantages.
    1) When i deploy the WD App to a new server, i have to edit the properties file before. I don't know how to do that. Do i have to edit the *.properties file again, before i make a new ear-Archive with NWDS ?
    2) When the properties a wrong or change for a deployed app, i have to restart the J2EE Engine. Thats not convenient for a production server.
    Is there a better way ?
    Thanks
    Andreas
    (And I promise to return and reward the answers)

    Hi Andreas,
    You can't use something like portalapp.xml because this is not supported by webdynpro, but ... you can add this parameters at the end off the webdynpro address line. like http://<host>:<port>/webdynpro/dispatcher/local/<Webdynproproject>/<webdynproApplication>?host=yourhost
    In your application you can get these variables:
    String host = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("host");
    when you create a webdynpro iview you can specify the default value for the variables in the URL in the properties of the iview and i think you can personalize them later.
    kind regards,
    Joachim

  • How can I pass parameters directly to report in web envirnment

    Hi
    I want to call reports by skipping the parameter form in web enviroment.
    for example I m caling a report inv.rep with parameter userid=1 what I want is
    when user clicks the button(on oracle forms) it will get that report sort on userid=1 without displaying the param form to user.
    I m using web.show for this purpose with parametr form every thing is working fine but I want to hide tht paramform and process the parameter setinng in bacground.
    CODE Tht I m Using
         v_url := 'http://appserver/dev60cgi/rwcgi60?rep+inv.rep';
    web.show_document:=(v_url)
    this shos the param form with user id
    how can I skip it and set user id directly
    Any Tip or suggestions ??
    Thnx in Advance

    Hi all
    I'm having the same problem! Im defining a key in "cgicmd.dat" like
    my_key : userid=user/pass@db
    and Im calling the report using a url like
    http://appserver.com/ows-bin/rwcgi60.exe?my_key&report=name.rdf&destype=cache&desformat=pdf&server=Rep60_SERVER
    and what I get? Error: "Oracle Reports Server CGI - Reports Server name is not specified."
    Ive changed my_key to
    my_key : userid=user/pass@db report=name.rdf destype=cache desformat=pdf server=Rep60_SERVER
    and works fine ...
    Problem:
    My problem is that I need to pass more parameters in the url to run the report. Parameters like "p_dept=10"
    http://appserver.com/ows-bin/rwcgi60.exe?my_key&p1=something&p2=whatever
    Report, however isnt receiving the parameter p1 and p2.
    And using the complete url
    http://appserver.com/ows-bin/rwcgi60.exe?userid=user/pass@db&report=name.rdf&destype=cache&desformat=pdf&server=Rep60_SERVER&p1=something&p2=whatever
    works ...
    anyone knows a way to turn this question?
    I only need to get the user/pass@db out from the url ....
    thanks in advance
    Bruno Rabino
    Hi Sami
    I guess something wrong in your CGICMD.DAT entry
    Can you cut and paste what exactly you have in that file for the mapkey
    It has to be something like
    mapkey: userid=scott/tiger@db
    Thanks
    Oracle Reports Team

  • How do I pass parameters modified by the SequenceFileLoad callback?

    I have some parameters in a sequence file that I want modified based on where the test station is located. I do not have that much experience with callbacks and have been reading up but wanted to reach out to the community as well. I know now that whatever is modified in the SequenceFileLoad callback is not passed onto the main sequence as it has not been started at this point. So what I am trying to do is have the operator choose a test facility once and have the parameters set and not have to choose everytime the sequence is initiated. I basically want the paramters set once, like when the fle is opened, and then it is done. Any help in how to implement this would be greatly appreciate.
    Thanks,
    Troy

    Happy to help out! I created an example which is attached to this message. This is what it does:
    In SequenceFileLoad, it first checks to see if StationGlobals.TestFacility exists, and if not, it creates that variable. 
    If the StationGlobal is set to "" (blank string), a prompt is displayed for the user to enter the facility. A post-expression on the Message Popup step sets the StationGlobals.TestFacility variable with this value.
    When you execute MainSequence after loading the file, the current TestFacility is displayed.
    The code could be simplified a bit if you can guarantee that StationGlobals.TestFacility will always exist as a variable. For example, the #NoValidation tags you see in some of the expressions are there because the StationGlobal may not exist prior to runtime. You could create the station global on your dev machine and deploy StationGlobals.ini to all test machines to ensure all machines have the variable and not need that part of the code, but I prefer the dynamic method because it won't cause an error if the station global is deleted for some reason.
    I hope this helps clarify things a bit, and let me know if you have any questions about it!
    Daniel E.
    TestStand Product Support Engineer
    National Instruments
    Attachments:
    TestFacility_2010.seq ‏8 KB

  • How do I pass a mdx parameter with a label?

    I have a form where a user clicks on something and it will launch another form which accepts a date as a parameter.
    The date could be Fiscal year, Fiscal Year and Quarter or Fiscal Year, Quarter and Month.
    This works fine with my query which will accept any of the above and return the right results.
    I want to be able to use the parameter in the header to show what has been selected.
    When I use it now, I get the actual value: [Date].[Fiscal Year].&[FY 13/14]
    How do I go about adding a label to this as well as coping with the three different levels it can return ie Year, Year and Quarter and Year, Quarter and Month.
    Thanks
    Jon

    Hi JLJ1976,
    As per my understanding, you have a drillthrough report, when you click a field in main report, it passes parameter to the drillthrough report. You want to show part of parameter value in text box. In order to improve the efficiency of troubleshooting, I
    need to ask several questions:
    1. “The date could be Fiscal year, Fiscal Year and Quarter or Fiscal Year, Quarter and Month.” Do you want to show the value of the parameter dynamically or just show one of the three formats?
    2. “I get the actual value: [Date].[Fiscal Year].&[FY 13/14].” Could you please provide some more detailed information about the parameter? For example, the expression of Available Values and Default Values.
    3. What function do you want to achieve? What’s the state of report now? please provide some more detailed information of your requirements. I would be appreciated it if you could provide query and sample data of the report.
    Besides, if we want to show part of parameter value a text box, we can add search condition to the query, then use it in parameter expression, please refer to the following steps:
    1. In Report Date region, In Query text box in the Dataset, add the search condition using the statement like below:
    ([Time].[Fiscal Year - Month - Week].[Short Date].&["+@Start_Date+"]: [Time].[Fiscal Year - Month - Week].[Short Date].&["+@End_Date+"])
    2. Add a parameter named Engineer_Start_Date, set its type to Date/Time, set its available values and default values.
    3. In Design view, right-click the design surface outside the border of the report and click Report Properties.
    4. In Code pane, type the code like below:
    Public function day_2bit(day_str as string) as string
    if len(day_str)<2 then
    return cstr(0)+cstr(day_str)
    else
    return day_str
    end if
    end function
    5. In Dataset Properties dialog box, in Parameter pane, click (fx) button next to the parameter, then type the expression like below:
    ="[Time].[Fiscal Year - Month - Week].[Short Date].&["+cstr(datepart("yyyy",Parameters!Engineer_Start_Date.Value))+"-"+code.day_2bit(cstr(datepart("m",Parameters!Engineer_Start_Date.Value)))+"-"+code.day_2bit(cstr(datepart("d",Parameters!Engineer_Start_Date.Value)))+"]"
    6. Right-click the report and click Insert, then click Text Box.
    7. Right-click inside of the text box, click Expression, then type the expression like below:
    =DatePart("q",Parameters!Engineer_End_Date.Value)
    If you have any more questions, please feel free to ask.
    Best Regards,
    Wendy Fu

Maybe you are looking for