Af:table + af:selectmanycheckbox

Hi all,
i have a Boolean Transient attribute which is used to select the rows in af:table.
Now i want a checkbox in the header which helps the user to select all rows in the table.
exactly as af:selectmanycheckbox
Is their any way to achieve this selectall checkbox in af:table
Thanks in advance

Here is another working code: http://adf-use-cases.googlecode.com/files/SelectAllTableRows.rar.
The only difference is instead of check box for selecting all the check Boxes in the table, I used a command link.
Jdev version used is: jdev 11.1.1.5
DB: XE(Departments table).

Similar Messages

  • How to display selectManyCheckbox in a table ?

    hi,
    i have a problem with selectManyCheckBox.
    i have list in my bean and in that i have selectItem objects.
    but when i displaying in the screen the whole objects are displaying in a pageDirection or lineDirection.(in one line --- one by one).
    This list will come from database, so idont know how many r there.based on that i want to 4 check boxes in a line and next line will have next four check boxes, like that i want to display the all objects.
    MyCode is :
    <h:selectManyCheckbox value="#{bean.value}" layout="pageDirection">
         <f:selectItems value="#{bean.list}"/>
    </h:selectManyCheckbox>
    could u pls see this,
    thanks in advance,
    anil

    For this you take help of richfaces data table.
    It provides facility of rich:columnGroup and rich:columns.
    Not sure but you can take help of it.

  • How to add a column of checkboxes in a table?

    Hello, can anyone help me with this?
    I'm using myfaces , and I want to add a selectManyCheckBox inside a table, in order to select multi-row of the
    table.
    My code didn't work. It seems that I can only use static values for the 'itemValue' attribute of <f:selectItem> tag.
    May someone give me some suggestion?
    Here is my page:
    <f:view>
    <x:saveState value="#{fishSalesBean}"></x:saveState>
    <h:form>
    <h:panelGrid columns="1" columnClasses="first, first, first, first">
    <x:dataTable id="dataTable" value="#{fishSalesBean.fishes}" var="fish"
    width="800" columnClasses="first, first, first, first" binding="#{fishSalesBean.dataTable}">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Select"/>
    </f:facet>
    <x:selectManyCheckbox id="checkboxes" layout="pageDirection" value="#{fishSalesBean.selected}">
    <f:selectItem itemValue="#{fishSalesBean.dataTable.rowIndex}" itemLabel=" a"/>
    </x:selectManyCheckbox>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="FishName"/>
    </f:facet>
    <h:outputText value="#{fish.name}"></h:outputText>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="picture"/>
    </f:facet>
    <h:graphicImage value="#{fish.picUrl }" />
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="price"/>
    </f:facet>
    <h:outputText value="#{fish.price}"></h:outputText>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="isSold"/>
    </f:facet>
    <h:outputText value="#{fish.sold}"></h:outputText>
    </h:column>
    </x:dataTable>
    <h:commandButton value="Show Selected" action="#{fishSalesBean.showSelected}"></h:commandButton>
    </h:panelGrid>
    </h:form>
    </f:view>

    Check the "Select multiple rows" chapter of this article for 2 ways of selecting multiple rows in a table using checkboxes: http://balusc.blogspot.com/2006/06/using-datatables.html

  • Is this even possible with a selectManyCheckbox???

    I know I can do one of two layouts with a selectManyCheckbox, line or page. I would like to have the checkboxes go horizontally i.e. line, but after x number of them, say 5, I would like to start a new row rather than scrolling off to the right... I see that a selectManyCheckbox actually renders an HTML table so I tried to use the pass-through attribute "cols" to set it but no dice. Anyone have any idea how to do this or even if it is possible?

    I would say that you would have a device at the dsl first then connect everything else up that is needed. It would have to be wired to the dsl.

  • How can I create checkbox as many as the current table column?

    I have an table that binds from emploeyeeView,.. I want to create some checkbox as many as the number of the column that is shown,..how can i do that?
    thanks,
    Amir,,..

    You are going to want a <af:selectManyCheckbox>. Try this:
    <af:selectManyCheckbox label="Label 1" value="#{myBackingBean.selectedAttributes}>
      <af:forEach items="#{bindings.EmpView1Iterator.attributeDefs}"
                  var="item">
        <af:selectItem value="#{item.name}" label="#{item.name}"/>
      </af:forEach>
    </af:selectManyCheckbox>In the backing bean named "myBackingBean" there will be a "String[] selectedAttributes" with getter and setter methods. When the form is submitted, this will contain the names of the attributes that the user selected.

  • Expand All and Collapse All with Data table

    Hi Guys,
         I have a data table as shown in code pasted . where the first and second column have row category which gives a categorization with a twisty.
         When i click on the twisty or item name the level beneath it expands. Eerything works fine.. but i need to have to links     Expand All and Collapse All which when clicked open the entire hierarchy or collapse it. Can anyone suggest a way of doing. Can it be done using javascript, I am not comfortable with java script .If someone has done this before please share the piece of code.Also please suggest the different ways of doing it. I am using RAD 7 and IBM JSF components.
         <hx:dataTableEx border="0" cellpadding="2" cellspacing="0"
         columnClasses="columnClass1" headerClass="headerClass"
         footerClass="footerClass" rowClasses="rowClass1, rowClass2" binding="#{masterPublList.tablebindData}"
         id="tableEx1" styleClass="dataTableEx" value="#{masterPublList.lst_publication}" var="varlst_publication">
              <hx:columnEx id="columnEx3">
                   <hx:panelRowCategory id="rowCategory2"
                        styleClass="panelRowCategory"
                        value="#{varlst_publication.publCategory}" collapsed="true">
                   </hx:panelRowCategory>
              </hx:columnEx>
              <hx:columnEx id="columnEx2">
                   <hx:panelRowCategory id="rowCategory1"
                        styleClass="panelRowCategory" value="#{varlst_publication.publSubCategory1}">
                        <h:outputText id="text5" styleClass="outputText"></h:outputText>
                   </hx:panelRowCategory>
              </hx:columnEx>
              <hx:columnEx id="column1">
                   <hx:outputLinkEx id="linkEx1" styleClass="outputLinkEx" value="#{varlst_publication.publUrl}" target="_blank">
                        <h:outputText id="text3" styleClass="outputText" value="#{varlst_publication.publName}"></h:outputText>
                   </hx:outputLinkEx>
              </hx:columnEx>
              <hx:columnEx id="columnEx1">
                   <h:selectManyCheckbox disabledClass="selectManyCheckbox_Disabled"
                        id="checkbox1" styleClass="selectManyCheckbox" value= "#{varlst_publication.publLang}">
                        <f:selectItems value= "#{masterPublList.lst_lang}"/>
                   </h:selectManyCheckbox>
              </hx:columnEx>
         </hx:dataTableEx>
                   Thanks in anticipation

    Hi Naamkeek,
    Per my understanding that you have added the Expand All and Collapse All button in an drill down report by adding the "Go to report" action, now you got the report always refresh and return to the first page, right?
    I have tested on my local environment and can reproduce the issue, no matter whether to add two buttons or using the parameter to do the Expand All and Collapse All, it is always return to the first page.
    Gernerally, SQL Server Reporting Services does a postback while clicking a expand/collapse icon. SSRS re-renders reports because it need to regenerate the pages to fit the defined width & Height. That is why SQL Server Reporting Services reloads
    the whole report.
    This is by design. And, currently, we are not able to turned it off.
    I would suggest you submitting a wish at
    http://connect.microsoft.com
    If the service requests frequently, we may include it in the next release.
    Appreciate your understanding, and if you have any more questions, please feel free to ask.
    Regards
    Vicky Liu

  • Relationship through SelectManyCheckbox

    Hi:
    I am trying to implement a relation for a User than can have several Roles, through a UserRole table that implements the relationship
    The idea is present an interface that displays several checkboxes representing the Roles, so the administrator can give a single user the number of roles he needs. I assume that this can be acomplished using SelectManyCheckbox control, so, for each checkbox selected, a new UserRole registry is added.
    How can i do this using ADF ??? Is there any example available ???
    Honestly, the examples provided in the Jdev official site, are too much simple for a real world application, wich is very annoying
    Thanks

    Hi,
    I just finished implementing a function exactly the same as you want.
    Here is what I did
    in backing bean (the most important part)
    1) declare variables to support the selection and of course add the accessor method for the first two variables
    private String[] selectedItems; to store list of selected roles
    private List items; to store master role list that is available
    private int maxSelectedItems = 0; to store total of role available
    2) initialize items with full role list in your bean
    setItems(new ArrayList());
    for each of your master role list record (I retrieved this via a view object from database)
    getItems().add(new SelectItem(yourRoleID, yourRoleName));
    maxSelectedItems = total number of your master role list
    setSelectedItems(new String[maxSelectedItems]); (if you don't do this, you will hit IndexOutBound exception)
    optional: if you need to pre-check some roles (e.g. in case of editing an existing user record), then you need to
    for (int i=0; i<noOfpreCheckedBox; i++) {
    selectedItems = what ever your Role is
    3) saveButton method
    noOfItemSelected = getSelectedItems().length;
    for (int i=0; i<noOfItemSelected; i++) {
    create a new row in your target view object
    set role id attribute to selecteditems[i]
    set user id to whatever user id is
    Of course, for existing user record it is more complicated.
    You may need to compare whether the role exists in database or not (I check it from a view object). create row only if it does not exist.
    You also need to check whether a role shown in your user's role view object exists in your selecteditems list. if not, it means user has unchecked it, then you need to delete it from the view.
    Finally, do a commit. I pre-created an action binding in my PageDef for this, so I can simply call getOperationBinding("Commit").execute()
    in jsp
    <af:selectManyCheckbox label="Assign user to Role(s)"
    requiredMessageDetail="You must select at least one role"
    value="#{backingbean.selectedItems}"
    required="true">
    <f:selectItems value="#{backingbean.items}"/>
    </af:selectManyCheckbox>
    Hope this help.

  • MB5B Report table for Open and Closing stock on date wise

    Hi Frds,
    I am trying get values of Open and Closing stock on date wise form the Table MARD and MBEW -Material Valuation but it does not match with MB5B reports,
    Could anyone suggest correct table to fetch the values Open and Closing stock on date wise for MB5B reports.
    Thanks
    Mohan M

    Hi,
    Please check the below links...
    Query for Opening And  Closing Stock
    Inventory Opening and Closing Stock
    open stock and closing stock
    Kuber

  • Error while dropping a table

    Hi All,
    i got an error while dropping a table which is
    ORA-00600: internal error code, arguments: [kghstack_free1], [kntgmvm: collst], [], [], [], [], [], [], [], [], [], []
    i know learnt that -600 error is related to dba. now how to proceed.
    thanks and regards,
    sri ram.

    00600 errors should be raised as service request with Oracle as it implies some internal bug.
    You can search oracle support first to see if anyone has had the same class of 00600 error, and then if not (and therefore no patch) raise your issue with Oracle.
    http://support.oracle.com

  • Logical level in Fact tables - best practice

    Hi all,
    I am currently working on a complex OBIEE project/solution where I am going straight to the production tables, so the fact (and dimension) tables are pretty complex since I am using more sources in the logical tables to increase performance. Anyway, what I am many times struggling with is the Logical Levels (in Content tab) where the level of each dimension is to be set. In a star schema (one-to-many) this is pretty straight forward and easy to set up, but when the Business Model (and physical model) gets more complex I sometimes struggle with the aggregates - to get them work/appear with different dimensions. (Using the menu "More" - "Get levels" does not allways give the best solution......far from). I have some combinations of left- and right outer join as well, making it even more complicated for the BI server.
    For instance - I have about 10-12 different dimensions - should all of them allways be connected to each fact table? Either on Detail or Total level. I can see the use of the logical levels when using aggregate fact tables (on quarter, month etc.), but is it better just to skip the logical level setup when no aggregate tables are used? Sometimes it seems like that is the easiest approach...
    Does anyone have a best practice concerning this issue? I have googled for this but I haven't found anything good yet. Any ideas/articles are highly appreciated.

    Hi User,
    For instance - I have about 10-12 different dimensions - should all of them always be connected to each fact table? Either on Detail or Total level.It not necessary to connect to all dimensions completely based on the report that you are creating ,but as a best practice we should maintain all at Detail level only,when you are mentioning any join conditions in physical layer
    for example for the sales table if u want to report at ProductDimension.ProductnameLevel then u should use detail level else total level(at Product,employee level)
    Get Levels. (Available only for fact tables) Changes aggregation content. If joins do not exist between fact table sources and dimension table sources (for example, if the same physical table is in both sources), the aggregation content determined by the administration tool will not include the aggregation content of this dimension.
    Source admin guide(get level definition)
    thanks,
    Saichand.v

  • Rendering xml-table into logical filename in SAP R/3

    Hi,
    I am trying to translate an xml-table with bytes into a logical filepath in SAP R3.
    Do I have to use the method gui-download or shall I loop the internal xml-table?
    When I tried to loop the xml-table into a structure, and then transfering the structure into the logical filename, I get problems with the line breaks in my xml-file. How do I get the lines to break exactly the same as I wrote them in my ABAP-code?
    Edited by: Kristina Hellberg on Jan 10, 2008 4:24 PM

    I believe you posted in the wrong forum.
    This forum is dedicated to development and deployment of .Net applications that connect and interact with BusinessObjects Enterprise, BusinessObjects Edge, or Crystal Reports Server. This includes the development of applications using the BusinessObjects Enterprise, Report Application Server, Report Engine, and Web Services SDKs.
    Ludek

  • Can you check for data in one table or another but not both in one query?

    I have a situation where I need to link two tables together but the data may be in another (archive) table or different records are in both but I want the latest record from either table:
    ACCOUNT
    AccountID     Name   
    123               John Doe
    124               Jane Donaldson           
    125               Harold Douglas    
    MARKETER_ACCOUNT
    Key     AccountID     Marketer    StartDate     EndDate
    1001     123               10526          8/3/2008     9/27/2009
    1017     123               10987          9/28/2009     12/31/4712    (high date ~ which means currently with this marketer)
    1023     124               10541          12/03/2010     12/31/4712
    ARCHIVE
    Key     AccountID     Marketer    StartDate     EndDate
    1015     124               10526          8/3/2008     12/02/2010
    1033     125               10987         01/01/2011     01/31/2012  
    So my query needs to return the following:
    123     John Doe                        10526     8/3/2008     9/27/2009
    124     Jane Donaldson             10541     12/03/2010     12/31/4712     (this is the later of the two records for this account between archive and marketer_account tables)
    125     Harold Douglas               10987          01/01/2011     01/31/2012     (he is only in archive, so get this record)
    I'm unsure how to proceed in one query.  Note that I am reading in possibly multiple accounts at a time and returning a collection back to .net
    open CURSOR_ACCT
              select AccountID
              from
                     ACCOUNT A,
                     MARKETER_ACCOUNT M,
                     ARCHIVE R
               where A.AccountID = nvl((select max(M.EndDate) from Marketer_account M2
                                                    where M2.AccountID = A.AccountID),
                                                      (select max(R.EndDate) from Archive R2
                                                    where R2.AccountID = A.AccountID)
                   and upper(A.Name) like parameter || '%'
    <can you do a NVL like this?   probably not...   I want to be able to get the MAX record for that account off the MarketerACcount table OR the max record for that account off the Archive table, but not both>
    (parameter could be "DO", so I return all names starting with DO...)

    if I understand your description I would assume that for John Dow we would expect the second row from marketer_account  ("high date ~ which means currently with this marketer"). Here is a solution with analytic functions:
    drop table account;
    drop table marketer_account;
    drop table marketer_account_archive;
    create table account (
        id number
      , name varchar2(20)
    insert into account values (123, 'John Doe');
    insert into account values (124, 'Jane Donaldson');
    insert into account values (125, 'Harold Douglas');
    create table marketer_account (
        key number
      , AccountId number
      , MktKey number
      , FromDt date
      , ToDate date
    insert into marketer_account values (1001, 123, 10526, to_date('03.08.2008', 'dd.mm.yyyy'), to_date('27.09.2009', 'dd.mm.yyyy'));
    insert into marketer_account values (1017, 123, 10987, to_date('28.09.2009', 'dd.mm.yyyy'), to_date('31.12.4712', 'dd.mm.yyyy'));
    insert into marketer_account values (1023, 124, 10541, to_date('03.12.2010', 'dd.mm.yyyy'), to_date('31.12.4712', 'dd.mm.yyyy'));
    create table marketer_account_archive (
        key number
      , AccountId number
      , MktKey number
      , FromDt date
      , ToDate date
    insert into marketer_account_archive values (1015, 124, 10526, to_date('03.08.2008', 'dd.mm.yyyy'), to_date('02.12.2010', 'dd.mm.yyyy'));
    insert into marketer_account_archive values (1033, 125, 10987, to_date('01.01.2011', 'dd.mm.yyyy'), to_date('31.01.2012', 'dd.mm.yyyy'));
    select key, AccountId, MktKey, FromDt, ToDate
         , max(FromDt) over(partition by AccountId) max_FromDt
      from marketer_account
    union all
    select key, AccountId, MktKey, FromDt, ToDate
         , max(FromDt) over(partition by AccountId) max_FromDt
      from marketer_account_archive;
    with
    basedata as (
    select key, AccountId, MktKey, FromDt, ToDate
      from marketer_account
    union all
    select key, AccountId, MktKey, FromDt, ToDate
      from marketer_account_archive
    basedata_with_max_intervals as (
    select key, AccountId, MktKey, FromDt, ToDate
         , row_number() over(partition by AccountId order by FromDt desc) FromDt_Rank
      from basedata
    filtered_basedata as (
    select key, AccountId, MktKey, FromDt, ToDate from basedata_with_max_intervals where FromDt_Rank = 1
    select a.id
         , a.name
         , b.MktKey
         , b.FromDt
         , b.ToDate
      from account a
      join filtered_basedata b
        on (a.id = b.AccountId)
    ID NAME                     MKTKEY FROMDT     TODATE
    123 John Doe                  10987 28.09.2009 31.12.4712
    124 Jane Donaldson            10541 03.12.2010 31.12.4712
    125 Harold Douglas            10987 01.01.2011 31.01.2012
    If your tables are big it could be necessary to do the filtering (according to your condition) in an early step (the first CTE).
    Regards
    Martin

  • Can not insert/update data from table which is created from view

    Hi all
    I'm using Oracle database 11g
    I've created table from view as the following command:
    Create table table_new as select * from View_Old
    I can insert/update data into table_new by command line.
    But I can not Insert/update data of table_new by SI Oject Browser tool or Oracle SQL Developer tool .(read only)
    Anybody tell me, what's happend? cause?
    Thankyou
    thiensu
    Edited by: user8248216 on May 5, 2011 8:54 PM
    Edited by: user8248216 on May 5, 2011 8:55 PM

    I can insert/update data into table_new by command line.
    But I can not Insert/update data of table_new by SI Oject Browser tool or Oracle SQL Developer tool .(read only)so what is wrong with the GUI tools & why posting to DATABASE forum when that works OK?

  • Not able to refresh the data in a table

    Hi In my application i fill data in a table on clikc of a button ..
    Following are the line of code i have user
    RichColumn richcol = (RichColumn)userTableData.getChildren().get(0);                                           (fetch the first column of my table)
    richcol.getChildren().add(reportedByLabel);                                                                   (reportedByLabel is a object of RichInputText)
    AdfFacesContext adfContext1 = AdfFacesContext.getCurrentInstance();
    adfContext1.addPartialTarget(richcol);
    adfContext1.addPartialTarget(userTableData);
    But on submit of that button table data is not refreshed after adding partial trigger on that table as well as that column also .... any idea??
    Edited by: Shubhangi m on Jan 27, 2011 3:50 AM

    Hi,
    The Code that you have shown adds an additional inputText component to the first column of a table.
    Is that your intention?
    If yes, please use the following code snippet to achieve your functionality:
    JSPX Code:
    <af:form id="f1">
    <af:commandButton text="Add Column" id="cb1"
    actionListener="#{EmployeesTableBean.onAddColumn}"/>
    <af:table value="#{bindings.Employees.collectionModel}" var="row"
    rows="#{bindings.Employees.rangeSize}"
    emptyText="#{bindings.Employees.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.Employees.rangeSize}"
    rowBandingInterval="0"
    selectedRowKeys="#{bindings.Employees.collectionModel.selectedRow}"
    selectionListener="#{bindings.Employees.collectionModel.makeCurrent}"
    rowSelection="single" id="t1"
    binding="#{EmployeesTableBean.table}">
    <af:column sortProperty="EmployeeId" sortable="false"
    headerText="#{bindings.Employees.hints.EmployeeId.label}"
    id="c1">
    <af:outputText value="#{row.EmployeeId}" id="ot2">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.Employees.hints.EmployeeId.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="FirstName" sortable="false"
    headerText="#{bindings.Employees.hints.FirstName.label}"
    id="c2">
    <af:outputText value="#{row.FirstName}" id="ot1"/>
    </af:column>
    <af:column sortProperty="LastName" sortable="false"
    headerText="#{bindings.Employees.hints.LastName.label}"
    id="c3">
    <af:outputText value="#{row.LastName}" id="ot3"/>
    </af:column>
    </af:table>
    </af:form>
    Bean:
    public class EmployeesTableBean {
    private RichTable table;
    public EmployeesTableBean() {
    public void setTable(RichTable table) {
    this.table = table;
    public RichTable getTable() {
    return table;
    public void onAddColumn(ActionEvent actionEvent) {
    RichInputText newRichInputText = new RichInputText();
    newRichInputText.setId("new");
    newRichInputText.setValue("Name:");
    RichColumn richcol = (RichColumn)table.getChildren().get(0);
    richcol.getChildren().add(newRichInputText);
    AdfFacesContext adfContext1 = AdfFacesContext.getCurrentInstance();
    adfContext1.addPartialTarget(table);
    Thanks,
    Navaneeth

  • Unable to capture the adf table column sort icons using open script tool

    Hi All,
    I am new to OATS and I am trying to create script for testing ADF application using open script tool. I face issues in recording two events.
    1. I am unable to record the event of clicking adf table column sort icons that exist on the column header. I tried to use the capture tool, but that couldn't help me.
    2. The second issue is I am unable to capture the panel header text. The component can be identified but I was not able to identify the supporting attribute for the header text.

    Hi keerthi,
    1. I have pasted the code for the first issue
    web
                             .button(
                                       122,
                                       "/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1824fhkchs_6']/web:form[@id='pt1:_UISform1' or @name='pt1:_UISform1' or @index='0']/web:button[@id='pt1:MA:0:n1:1:pt1:qryId1::search' or @value='Search' or @index='3']")
                             .click();
                        adf
                        .table(
                                  "/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1c9nk1ryzv_6']/web:ADFTable[@absoluteLocator='pt1:MA:n1:pt1:pnlcltn:resId1']")
                        .columnSort("Ascending", "Name" );
         }

Maybe you are looking for

  • I have a Mac OSx version 10.5.8 with Safari 5.0.6. How can I upgrade to ICloud and latest updates?

    I have Mac OSx version 10.5.8 with Safari 5.0.6. Am I able to upgrade to ICloud? If so, how do I do it?

  • Using Time Machine to backup a production file server

    Does anyone have any recommendations for using Time Machine to back up a production file server? Right now we have an Xserve G5 with two internal 750GB drives in a RAID1 as our main file share to about 25 users, and a large external FW800 Guardian MA

  • Problem finding Gmail website

    Hello, everyone. I am having some issues with Gmail, and one of the possible solutions is to go to Gmail.com, under settings and change some label settings. The only problem is, when I go to Gmail.com, I get this window asking me if I want to sign up

  • Cd/dvd burning

    CD DVD Burning P6250 T 64 windows 7 4600 printer, 4050 scanner no program changes no error message Voice narration of movies from old scan slide will not play on DVD Player. used DVD plus R discs.

  • Purchase billed several times and report a problem doesn't work

    Hello I was trying to get 1 month subscription to a newspaper, got an error during the process. Now in the purchase history I see that the my purchase billed 5 times. Tried to follow the steps to report a problem, but when I click on the "report a pr