JButton setEnabled method is not refreshing state

Hi there, I have a problem, I'm putting a few JButtons into a JPanel, so that I can display the options that an user has.
I validate the user options so I can put the set enabled method with argument true or false.
The app show a login JFrame and then the screen that has these options, that is like the main form.
The fact is that is try to login again via a change user option located on the main form,, then the login JFrame is displayed again and eventually the main form.
When I try enable the user options again, the method setEnabled of the JButton doesn´t seem to be working, it just doesn't change the state, I have the debugged it and it reaches in both cases the setEnabled line (((JButton) jpnlSistemas1.getComponents()).setEnabled(true);)
        Sistema sistema;
        JButton boton;
        for (int i = 0; i < jpnlSistemas1.getComponents().length; i++) {
            if (jpnlSistemas1.getComponents() instanceof JButton) {
boton = (JButton) jpnlSistemas1.getComponents()[i];
Iterator iteradorSistemas = global.getUsuario().getSistemas().iterator();
while (iteradorSistemas.hasNext()) {
sistema = (Sistema) iteradorSistemas.next();
if (((JButton) jpnlSistemas1.getComponents()[i]).getName().equals(sistema.getIdSistema())) {
((JButton) jpnlSistemas1.getComponents()[i]).setEnabled(true);
any ideas about what could it be?
thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

I'd do it differently. I'd have whatever class that holds the JButtons have a enableButton() method, and then simply call that method rather than searching for buttons among all the components of a window.

Similar Messages

  • Dynamic query built from items is not refreshing state

    Hi. I'm generating a report table using the Pl/SQL function returns SQL query report region. My region source is:
    declare
    v_tbl varchar2(500);
    v_sql varchar2(32676);
    begin
    v_tbl := v('P7_STUDENT_TBL');
    v_sql := 'select b.grade,
    b.lastname,
    b.firstname,
    b.middlename,
    b.permnum,
    a.student_attended,
    a.parent_attended,
    a.num_assoc_w_student,
    a.ea_id
    from event_attendance a right outer join ' || v_tbl || ' b
    on ( lpad(a.permnum, 12, '' '') = b.permnum
    and a.event_id = ' || v('P7_EVENT_ID') || ' )
    where b.status = '' ''
    order by b.lastname, b.firstname ';
    return v_sql;
    end;
    As you can see, the query relies on a dynamic table name and event id. These 2 items are hidden items, although i've checked them and they are correct, as is the sql query supposed to generate the report.
    It seems i have to go back and forth between the event page and this page in order for the report to "catch up" to the items (event id, table name).
    It's almost like it's cached the old report, and won't discard it and bring up the current report unless the page is repeatedly accessed. There's no place to designate the source to be "Always, replacing any existing value in session state" like other items.
    My dynamic tablename is accessing a remote database using a dblink. It's working, and shouldn't be remarkably slower, but i'm wondering why my report is not current with the items its using to generate the report?
    I hope this is clear... any ideas?

    Thanks for the reply, Scott.
    I am indeed using bind variables in my query. The page before the "event attendance" page is "events" where you can search for an event. A link for attendance is there for each event record, which passes on the event id to the event attendance page, where you are recording the attendance for that event, which is for a particular school.
    The query uses the event id and the school id in the query. The school table is dynamic, so i get the table's name from a function call. This query generates the list of students and some form elements for each student so you can record their attendance at an event.
    Now i've verified that the table name, school id, event id, and even query are correct, by creating items i can see displayed on the page with their values. And the report is correct, but it seems a step behind.
    For example, i may have an event for school 100. If i go back and select an event for school 200 to edit the attendance, my students are still from school 100. If i go back and select an event for school 300 to record attendance on, my students are from school 200. So you see, it's like the bind variables are hanging around. Yet if i look at the items (which are the same pl/sql source, but are items, not regions) they are correct.
    My item query (which shows proper substitutions) is:
    select b.grade,
    b.lastname,
    b.firstname,
    b.middlename,
    b.permnum,
    a.student_attended,
    a.parent_attended,
    a.num_assoc_w_student,
    a.ea_id
    from event_attendance a right outer join schema.school015@dblink b
    on ( lpad(a.permnum, 12, ' ') = b.permnum
    and a.event_id = 91 )
    where b.status = ' '
    order by b.lastname, b.firstname
    This item has EXACTLY the same pl/sql function returning sql source as the region, but it's an item, not a region. So what you see is the parsed query.
    And here's my debug output:
    0.00: S H O W: application="114" page="7" workspace="" request="" session="8149080792357934854"
    0.01: alter session set nls_language="AMERICAN"
    0.01: alter session set nls_territory="AMERICA"
    0.01: ...Setting NLS Decimal separator="."
    0.01: Application 114, Authentication: CUSTOM2, Page Template: 5225413680368493
    0.01: ...Supplied session ID can be used
    0.01: ...Application session: 8149080792357934854, user=ARICHMOND
    0.01: ...Determine if user ARICHMOND with SGID 4503012961108875 can develop application 114 in workspace 4503012961108875
    0.01: Fetch session header information
    0.01: Branch point: BEFORE_HEADER
    0.02: Fetch application meta data
    0.02: ...fetch page attributes: f114, p7
    0.02: Fetch session state from database
    0.02: Computation point: BEFORE_HEADER
    0.02: Processing point: BEFORE_HEADER
    0.03: Show page template header
    0.03: Computation point: AFTER_HEADER
    0.03: Processing point: AFTER_HEADER
    0.03: Computation point: BEFORE_BOX_BODY
    0.03: Processing point: BEFORE_BOX_BODY
    0.03: Region 1:Record Event Attendance for the following event:
    Edit
    0.04: FORMITEM: P7_EVENT_SCHOOL_DESC DISPLAY_ONLY_HTML
    School:      School 015
    0.04: FORMITEM: P7_EVENT_TYPE_AND_DATE DISPLAY_ONLY_HTML
    Event:      Event Desc
    0.04: FORMITEM: P7_LOCATION DISPLAY_ONLY_HTML
    Location:      Auditorium
    0.04: FORMITEM: P7_SCHOOLNUM DISPLAY_AND_SAVE      snum 015
    0.04: FORMITEM: P7_STUDENT_TBL DISPLAY_AND_SAVE
    tbl :      schooltbl015
    0.04: FORMITEM: P7_QUERY TEXTAREA
    (see query above)
    0.05: Region 2:Students
    StudentsEdit
    Edit Edit     
    0.05: show report 15
    0.05: set report template: user defined template
    0.06: determine column headings
    0.06: is numeric ?
    0.06: parse query
    0.06: describe columns
    0.07: define columns
    0.07: execute cursor
    0.07: print template before rows text
    0.07: print column headings
    0.07: rows loop
    0.30: pagination
    0.30: print template after rows text
    0.30: Computation point: AFTER_BOX_BODY
    0.30: Processing point: AFTER_BOX_BODY
    0.30: Computation point: BEFORE_FOOTER
    0.30: Processing point: BEFORE_FOOTER
    0.30: Show page tempate footer
    0.31: Computation point: AFTER_FOOTER
    0.31: Processing point: AFTER_FOOTER
    0.31: Log Activity:
    0.31: End Show:

  • Value change listener method does not refresh value

    Hi Frank,
    According to your documentation ADF Faces: How-to build dependent lists boxes with ADF and ADF Faces I have created dependent list box and it is working properly.
    Now in the similar way I have created a form where one attribute is set as select one choice and it takes value from a lov and this attribute have a value change listener event and when selecting a value for this attribute from lov, in backing bean it will set another attribute of the form and the value will be taken from the other field of the lov for the current row.
    But when I am running this, 1st time when I am selecting a value from lov, the 2nd attribute of the form gets its value but next time when I am selecting another value in LOV, the value in the other attribute is not changing accordingly.
    My original form is (test_date,machine_code,machine_no...)
    I have created LOV for machine_code.
    This LOV is --select machine_code,machine_no from machine_mast;
    This LOV returns machine_code to the machine_code field of my main form.
    For machine_code, I have created a value change listener method and set its autosubmit property to true and for machine_no field I have set its partial trigger property to the ID of machine_code field.
    The value change listener code is
    BindingContainer bindings = this.getBindings();
    DCIteratorBinding itr = (DCIteratorBinding)bindings.get("lov2_sqc0400_1Iterator");
    Row rw = itr.getRowAtRangeIndex(((Integer)valueChangeEvent.getNewValue()).intValue());
    Object machine_no= rw.getAttribute("MchnNo");
    inputText2.setValue(machine_no);
    Please help
    Regards/Thanks
    SK

    Hi All,
    Can anyone please help me?
    Thanks/Regards
    SK

  • Method Not Suypported- Statement.setQueryTimeout(int)

    I'm having a bout of confusion over error messages. We're using a product to monitor our IT resources and currently trying to monitor Informix DB response through JDBC.
    Our software package said we should use the Informix JDBC 1.40 but only 1.50 was available to us. From the language I think the help file was written when 1.4 was out because it makes no mention of earlier or later versions.
    The notes for 1.5 say JDK 1.1.6, 1.1.7, or 1.1.8 needs to be installed. (no mention of a JRE, though I assume JDK convers that as well.) We installed JDK 1.1.8
    Our monitor is erroring out, quickly, saying that
    connect error,
    Method not supported : Statement.setQueryTimeout(int).
    I'm having trouble identifing where this is unsupported. Would someone recognize, does this means ....
    Infromix JDBC 1.5 is making a request that JDK 1.1.8 doesn't support?
    Informix JDBC 1.5 is making a request that the java interface on the Informix DB server doesn't recognize?
    JDK 1.1.8 is lacking some requirement?
    Some other inbetween layer (which I am not recognizing) is the problem?
    A later version of JRE is running and causing the conflict (perhaps this method is obsolete in JRE 1.3.0)
    I confirmed that the JDK 1.1.8 is in the first in the path and gets executed by default. (instead of another version on the NT server). There is another version 1.3.0 installed.

    I have no expertise with informix, but I know that the Statement.setTimeOut(int) method is supported in 1.1.x, therefore this is most likely being generated by the driver or the database.

  • Enforcement states for a deployment report status is not refresh..

    Enforcement states for a deployment report status is not refresh.
    We have deployed patches by software update and monitoring status by checking report
    Enforcement states for a deployment. We have observed status difference in report and in actual PC. Status of One PC is
    Downloaded update in report  but actually that patch was
    installed on PC.
    why this difference and what is the solution to solve this.

    Hi Garth - I don't recreate the SU group. I recreate the deployment from
    the SU group.
    The SU Group contains all deployed updates and the deployment is a "catch-up" and targets a collection of all clients on the particular platform ie. Server 2008 R2. It's a mandatory deployment and I've set it to report "all messages" as opposed to the default
    "success and failure".
    There's no particular SU that are showing ESU. It's the client that shows ESU via the report "Enforcement States for a Deploymennt", and it's only ever the clients that were "Pending System Restart" previously that change to "Enforcement State
    Unknown". The software centre on these clients all know they're pending restart, and if the pending restart is performed on the client it will then change to "Compliant", but it never changes from ESU while its real state is "Pending Restart".
    Hopefully that clarifies the scenario.
    Like I said, I have a workaround, but I'd like to eliminate this behaviour on all my SCCM 2012 instances which are all affected.

  • A statement is not refreshed as if Statement Caching was enabled

    Here is the c# code:
    OracleConnection conn = null;
    OracleCommand cmd;
    OracleDataReader reader = null;
    string tname;
    conn = new OracleConnection("Data Source=ora10gen;User ID=scott;Password=tiger;");
    conn.Open();
    cmd = conn.CreateCommand();
    cmd.CommandText = "drop table testblob";
    cmd.ExecuteNonQuery();
    cmd.CommandText = "create table testblob (idfld integer not null, col_bin clob)";
    cmd.ExecuteNonQuery();
    cmd.CommandText = "insert into testblob(idfld,col_bin) values(1,empty_clob())";
    cmd.ExecuteNonQuery();
    cmd.CommandText = "select col_bin, rowid from testblob";
    reader = cmd.ExecuteReader();
    reader.Read();
    //I get the type name is "clob"
    tname = reader.GetDataTypeName(0);
    reader.Close();
    //now I recreate the table and change column cob_bin type to blob
    cmd.CommandText = "drop table testblob";
    cmd.ExecuteNonQuery();
    cmd.CommandText = "create table testblob (idfld integer not null, col_bin blob null)";
    cmd.ExecuteNonQuery();
    cmd.CommandText = "insert into testblob(idfld,col_bin) values(1,empty_blob())";
    cmd.ExecuteNonQuery();
    cmd.CommandText = "select col_bin, rowid from testblob";
    reader = cmd.ExecuteReader();
    reader.Read();
    //after read(), I get an exception "ORA-00932: inconsistent datatypes: expected CLOB got BLOB"
    tname = reader.GetDataTypeName(0);
    reader.Close();
    //seems data type of col_bin is not refreshed in client.

    See the response to the following forum item:
    Oracle returning incorrect schema information ?
    Matthew Solnit Mar 19, 2005 1:28 AM by: IT Panther »
    If this is important to you there is some workaround code listed in previous item but this may not work in the future.....

  • Output Not refreshed

    Hello
    Its the same component problem
    Now basically everything works
    but,
    now when i preview my component the output array appears in the data grid
    however wen i change the filter with a button it does not change
    i checked my output array with an alert statement and it works
    so basically the problem is that the output array is not getin updated by new values
    pls help
    thanx in advance

    before calling the modelobject.execute() method you might have <b>bind</b> the bapi input node to new input node.<br>
    and the object to which you have binded will be declared in gobal declaration section.That is why the data is not refreshed without opening a browser again,.<br>
    1. Define that node to a place where you have called the bind() method.(just one line up before calling the bind method-- may be in init method or on the action of button.)
    *DO not declare in Global declration. inside bein others and end others<br>
    2. Do not forget to invalidate output node aftercalling execute method.
    <br>
    It will solve your problem.

  • Can not refresh page after save properly(When not saving master record)

    I am using jdeveloper 11g R2 (11.1.2.3) JSF Facelet
    In some use case I have Address as master table and Person as detail table
    For some business reason I need to don't save same addresses
    eg:
    If +1 Test St+ is in database already and new user coming and adding this address with new person
    I need to use the row in database not creating a new address
    I do saving in doDML method of Address with some hashing algorithm and it is fine
    My problem is that I can not refresh page after save properly
    User coming to page think Adding a new address and a new person but in fact no new
    address added because of business I describe above
    Any ideas how I can implement this?
    Appreciate that
    Regards
    Mohsen

    Hi,
    from your description it is not clear why the page doesn't refresh. It could be a problem in your implementation code - who knows. What if you perform the address check on a command button that actually submits the new address? If the check returns true (address exists) you would call row.refresh(forget new row); and re-query the view object so the address coming from the database is displayed. If you wanted to use the doDML then yuou need to be aware that doDML doesn't help removing the row the user created. It just ignores the database update but the entity is still around, which in my suggested solution wont be the case.
    Frank

  • Not Refresh Value After Add New Record used with RPC Component

    This is my code in the class Users.as
    package inthanous
    import mx.controls.Alert;
    import mx.rpc.http.HTTPService;
    import mx.rpc.events.ResultEvent;
    import mx.rpc.events.FaultEvent;
    public class Users
    private var service:HTTPService;
    [Bindable]
    public var xmllist_user:XMLList;
    public function Users(){
    service = new HTTPService();
    service.method = "POST";
    service.useProxy = false
    service.resultFormat = "e4x";
    public function listUser():void{
    service.url = "/user/get_all_user_group_name";
    service.addEventListener("result", httpResultListUser);
    service.addEventListener("fault", httpFaultListUser);
    xmllist_user = new XMLList();
    service.send();
    private function httpResultListUser(event:ResultEvent):void{
    service.removeEventListener("result", httpResultListUser);
    service.removeEventListener("fault", httpFaultListUser);
    xmllist_user = new XMLList(service.lastResult.children());
    listAllUser();
    private function httpFaultListUser(event:FaultEvent):void{
    var faulstring:String = event.fault.message;
    service.removeEventListener("result", httpResultListUser);
    service.removeEventListener("fault", httpFaultListUser);
    Alert.show(faulstring,"Error");
    public function createUser(_xml:XML):void{
    service.url = "/user/create_user";
    service.addEventListener("result", httpResultCreateUser);
    service.addEventListener("fault", httpFaultCreateUser);
    service.send({firstName: _xml.firstName,
    lastName: _xml.lastName,
    gender: _xml.gender,
    login: _xml.login,
    pwd: _xml.pwd,
    dtBirth: _xml.dtBirth,
    telephone: _xml.telephone,
    idGroup: _xml.idGroup
    private function
    httpResultCreateUser(event:ResultEvent):void{
    service.removeEventListener("result", httpResultCreateUser);
    service.removeEventListener("fault", httpFaultCreateUser);
    listUser();
    clearUserDetail();
    private function httpFaultCreateUser(event:FaultEvent):void{
    var faulstring:String = event.fault.message;
    service.removeEventListener("result", httpResultCreateUser);
    service.removeEventListener("fault", httpFaultCreateUser);
    Alert.show(faulstring,"Error");
    This code i used with Ruby on Rail to connect with MySQL.
    When i used with FireFox browse after i create new user
    success it refresh the new record in Datagrid. But for the Internet
    Explorer Datagrid not refresh it because of it display the old
    recode before create.
    So i don't know it problem by Internet Explorer or my script.
    i hope someone can help me the solve this problem.
    thanks

    If you restrict the selection, a record value outside of that selection is not acceptable and will give you this error. This is how BPS works.
    You need to restrict on some other char so BASIC1 doesn't come in, but this value should be part of any selection on ZSEGMENT field for it to be accepted back.

  • Why??? Simple snapshot can not refresh automatically, but can refresh manually.

    Server 1 : Oracle 7.3.4 (as a Master site)
    Server 2 : Oracle 7.3.4 (as a Snopshot site)
    Client PC: SQL*Plus (Oracle 7.3.4 Client)
    Step 1: on Client PC, start 2 SQL*Plus dialog Windows,
    one(Window A) for <Server 1> , another(Window B) for <Server 2>;
    Step 2: on <Window A> do:
    SQL>connect scott/tiger@Server1
    SQL>CREATE SNAPSHOT LOG ON scott.dept ;
    SQL>select * from dept;
    DEPTNO DNAME LOC
    10 AAAAAA AAAAA
    20 BBBBBB AAAAA
    30 CCCCCC AAAAA
    Step 3: on <Window B> do:
    SQL>connect scott/tiger@Server2
    SQL>CREATE DATABASE LINK oracle USING 'Server1';
    SQL>CREATE SNAPSHOT all_dept REFRESH fast
    start with sysdate NEXT SYSDATE+1/(24*60)
    AS SELECT * FROM scott.dept@oracle;
    -- refresh interval: 1 minute
    SQL>select * from all_dept;
    DEPTNO DNAME LOC
    10 AAAAAA AAAAA
    20 BBBBBB AAAAA
    30 CCCCCC AAAAA
    Step 4: on <Window A> do:
    SQL>insert into dept values (50,'MMMMMM','NNNNN');
    SQL>commit;
    SQL>select * from dept;
    DEPTNO DNAME LOC
    10 AAAAAA AAAAA
    20 BBBBBB AAAAA
    30 CCCCCC AAAAA
    50 MMMMMM NNNNN
    <one or two minutes later ... ... >
    Step 5: on <Window B> do:
    SQL>select * from all_dept;
    DEPTNO DNAME LOC
    10 AAAAAA AAAAA
    20 BBBBBB AAAAA
    30 CCCCCC AAAAA
    conclusion: Simple snapshot can not refresh automatically ???????
    SQL>exec DBMS_SNAPSHOT.REFRESH( list => 'all_dept',method => 'F');
    SQL>select * from all_dept;
    DEPTNO DNAME LOC
    10 AAAAAA AAAAA
    20 BBBBBB AAAAA
    30 CCCCCC AAAAA
    50 MMMMMM NNNNN
    conclusion:Simple snapshot can refresh manually.
    How to solve this problem?????
    Thank you very much
    Zhang Ming-an

    When you are manually refreshing the snapshot as scott/tiger, and your database link was defined with a 'connect to/identified by ' clause, your login credentials will be scott/tiger. When the refresh happens from the job queue, it does not use those credentials, It uses some default set. What you should probably do is:
    1. create public database link Oracle using 'server1';
    2. as scott/tiger, create database link Oracle connect to scott identified by tiger;
    3. your automatic refresh should work now.

  • Report does not refresh when link to page

    I have a report on page 1 with a column link to a report on page 2.
    The link sets items on page 2.
    If I use the 'Page in this Application' from the column link, the items on page 2 are set and the report is automatically refreshed.
    If I use the 'URL' in the column link, the items are set but the report on page 2 is not refreshed. I have more than 3 items to pass via the link so I have to use the URL. The url syntax is correct - if I click a Go button on page 2 the data refreshes fine.
    I have the same problem when clicking a tab that I have set to clear the page items - the tab clears the cache on the target page but the data in the report is not refreshed until I click the go button.
    The items on page 2 are select lists and text (always submit when enter pressed).
    How can I get the report on page 2 to auto refresh without the user having to click the Go button?
    Message was edited by: kgamble
    kgamble

    I can't post the pages (site reasons) but here's the debug.
    All the item values are set correctly to what I want but at point 041 - I get the custom "no rows returned error". If I click the refresh button (essentially a submit with go) the date appears.
    I am now using the link set up to go to 'Page in Application' with clear cache and 3 item variables set and reset pagination ticked and the request of Go (its the same result without the request and the pagination unticked).
    Any ideas?
    Thanks
    Kathryn
    0.00:
    0.00: S H O W: application="129" page="8" workspace="" request="Go" session="8392008407576157812"
    0.02: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-gb
    0.02: alter session set nls_language="ENGLISH"
    0.02: alter session set nls_territory="UNITED KINGDOM"
    0.02: NLS: CSV charset=WE8MSWIN1252
    0.02: ...NLS: Set Decimal separator="."
    0.02: ...NLS: Set NLS Group separator=","
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.02: ...Setting session time_zone to dbtimezone
    0.02: NLS: Language=en-gb
    0.02: Application 129, Authentication: CUSTOM2, Page Template: 3508132500492586
    0.03: ...Supplied session ID can be used
    0.03: ...Application session: 8392008407576157812, user=PENTESTER
    0.03: ...Determine if user "KGAMBLE" workspace "1728921676563485" can develop application "129" in workspace "1728921676563485"
    0.03: Session: Fetch session header information
    0.03: Saving g_arg_names=P8_IDR and g_arg_values=Y
    0.05: ...Session State: Save "P8_IDR" - saving same value: "Y"
    0.05: Saving g_arg_names=P8_STATUS and g_arg_values=Outstanding
    0.05: ...Session State: Save "P8_STATUS" - saving same value: "Outstanding"
    0.05: Saving g_arg_names=P8_SECTION and g_arg_values=P
    0.05: ...Session State: Save "P8_SECTION" - saving same value: "P"
    0.05: ...Metadata: Fetch page attributes for application 129, page 8
    0.05: Fetch session state from database
    0.05: Branch point: BEFORE_HEADER
    0.05: Fetch application meta data
    0.05: Authorization Check: "4732024931692101" User: "PENTESTER" Component: "PAGE"
    0.06: Clear cache: request=RP
    0.06: ...Resetting pagination for page
    0.06: Clear cache: request=8
    0.06: ...Clearing Cache for Page 8
    0.06: Nulling cache for application "129" page: 8
    0.08: Saving g_arg_names=P8_IDR and g_arg_values=Y
    0.08: ...Session State: Saved Item "P8_IDR" New Value="Y"
    0.08: Saving g_arg_names=P8_STATUS and g_arg_values=Outstanding
    0.08: ...Session State: Saved Item "P8_STATUS" New Value="Outstanding"
    0.08: Saving g_arg_names=P8_SECTION and g_arg_values=P
    0.08: ...Session State: Saved Item "P8_SECTION" New Value="P"
    0.08: Computation point: BEFORE_HEADER
    0.08: Processing point: BEFORE_HEADER
    0.09: Show page template header
    0.09: Computation point: AFTER_HEADER
    0.09: Processing point: AFTER_HEADER
    0.11: Authorization Check: "4732329087693375" User: "PENTESTER" Component: "parenttab"
    0.13: Authorization Check: "6131220670151932" User: "PENTESTER" Component: "parenttab"
    Home New Complaint
    Existing Data
    Logout |
    Complaints Complainants
    0.14: Region: Complainant Search
    Complainant Search
    0.14: Item: P8_SD_SEARCH TEXT_WITH_ENTER_SUBMIT
    SD Number
    0.16: Item: P8_SURNAME COMBOBOX Complainant -- All -- ARDVARK ARMSTRONG BAKER BLOGGS CHICKEN HARPER HILL JONES PERRY REAPER ROBINSON SHERMAN SMITH T WATSON
    0.16: Item: P8_NI_SEARCH TEXT_WITH_ENTER_SUBMIT
    NI Number
    0.16: Region: criteria_go
    0.16: Item: P8_GO BUTTON
    0.17: Item: P8_ROWS COMBOBOX Number of complaints per page 10 15 20 30 50 100 200 500 1000 5000
    0.17: Region: Complaint Search
    Complaint Search
    The list of complaints must match ALL of these specified search criteria:
    0.19: Item: P8_START PICK_DATE_DD_MON_YYYY
    Start
    0.19: Item: P8_END PICK_DATE_DD_MON_YYYY
    End
    0.20: Authorization Check: "4733005669696056" User: "PENTESTER" Component: ""
    0.20: Item: P8_TARGET COMBOBOX
    Target -- All -- Acknowledgement In Target Acknowledgement Target not Met Acknowledgement Pending Final Response In Target Final Response Target not Met Final Response Pending
    0.22: Item: P8_RECUR COMBOBOX
    Recurrent? -- All -- YES NO
    0.22: Item: P8_PAY_E COMBOBOX Ex Gratia/Interest
    Payments -- Select -- YES NO
    0.23: Item: P8_IDR COMBOBOX
    Type of Complaint -- All -- IDR Other Complaint
    0.23: Item: P8_STATUS COMBOBOX Status -- All -- Outstanding Completed 01-Jan-2007 05-Feb-2007 05-Mar-2007 12-Feb-2007 12-Mar-2007 15-Jan-2007 22-Jan-2007 26-Feb-2007 29-Jan-2007
    0.23: Computation point: BEFORE_BOX_BODY
    0.23: Processing point: BEFORE_BOX_BODY
    0.25: Region: Complaints List
    Complaints List
    0.25: show report
    0.28: Authorization Check: "4733005669696056" User: "PENTESTER" Component: "COLUMN"
    0.28: determine column headings
    0.28: activate sort
    0.38: parse query as: GENERAL1
    0.38: binding: ":P8_NI_SEARCH"="P8_NI_SEARCH" value=""
    0.39: binding: ":P8_SD_SEARCH"="P8_SD_SEARCH" value=""
    0.39: binding: ":P8_SURNAME"="P8_SURNAME" value="AA"
    0.39: binding: ":P8_START"="P8_START" value=""
    0.39: binding: ":P8_END"="P8_END" value=""
    0.39: binding: ":P8_SECTION"="P8_SECTION" value="P"
    0.39: binding: ":P8_STATUS"="P8_STATUS" value="Outstanding"
    0.39: binding: ":P8_TARGET"="P8_TARGET" value=""
    0.39: binding: ":P8_IDR"="P8_IDR" value="Y"
    0.39: binding: ":P8_RECUR"="P8_RECUR" value="AA"
    0.39: binding: ":P8_PAY_E"="P8_PAY_E" value="X"
    0.41: print column headings
    0.41: rows loop: 15 row(s)
    There are no complaints matching the criteria. Please double check all the criteria in the boxes above.
    0.42: Computation point: AFTER_BOX_BODY
    0.42: Processing point: AFTER_BOX_BODY

  • Multiple Select List does not Refresh with Dynamic Action

    All,
    Scenario:
    Using APEX 4.2.2, I have a Select List page item (P4_SPONSOR) set to allow multiple values which has a dynamic LOV to populate the list.  What I would like to do is highlight the display values based on another page item's value (P4_DRIVER_ID).  When I set the source of P4_SPONSOR to static text, such as a delimited string of 1:2:3:4, any display values where the return values are equal to the static text are highlighted when the page loads.
    Problem:
    The problem lies in trying to use a query as a source for P4_SPONSOR which is filtered based on the other page item, P4_DRIVER_ID.  For instance, my SQL Query (returning colon separated values) returns the same as the static text noted above.  In the query's WHERE clause, I specify that the driver's ID is equal to P4_DRIVER_ID:
    SELECT sponsor_id
    FROM sponsors_drivers_xref
    WHERE driver_id = :P4_DRIVER_ID;
    This, as I understand it, would necessitate a refresh of P4_SPONSOR whenever the value of P4_DRIVER_ID changes.  So, I have a Dynamic Action that does just that.  When executed on the page, I can see the P4_SPONSOR multiple select list actually refresh, but none of the display values become highlighted.
    Thoughts?
    Thanks,
    -Seth.

    Seth,
    A dynamic action refresh of your select list will refresh the list of values (this is what you are seeing), it will not refresh the value of the item itself.  In fact, it will remove any values that you had already selected.  To refresh the value you will need to add additional dynamic actions.
    Create another dynamic action with:
    Event: After Refresh
    Selection Type: Item(s)
    Item(s): P4_SPONSOR
    If this was a normal select list you could just create a Set Value action and use your query to set the value of the select list.  Since this is a multiple select list your will need to get your colon delimited value first and then use some javascript to set the values of your select list.
    Create an hidden page item name P4_SPONSOR_TEMP.
    Add a true action to your new dynamic action:
    Action: Set Value
    Set Type: SQL Statement
    SQL Statement:
    SELECT sponsor_id
    FROM sponsors_drivers_xref
    WHERE driver_id = :P4_DRIVER_ID;
    Page Items to Submit: P4_DRIVER_ID
    Selection Type: Item(s)
    Item(s): P4_SPONSOR_TEMP
    Add another true action to your new dynamic action:
    Action: Set Value
    Set Type: JavaScript Expression
    JavaScript Expression:
    $("#P4_SPONSOR_TEMP").val().split(":")
    Selection Type: Item(s)
    Item(s): P4_SPONSOR
    --Jeff

  • Upgraded ZENworks Primary Server Will Not Refresh

    Good Afternoon,
    I recently upgraded our primary server from ZENworks 11.2-11.3a.
    The upgrade procedure completed with no errors. However, the server will not refresh it's status in the ZENworks Control Center. Control Center continues to report the server as 11.2.0.0. The UI of the Control Center is upgraded. The agent continues to push back the next contact with server time without updating the last contact with server time
    Things I have tried:
    -doing a manual refresh through control center gives a "Connection Failed" error
    -doing a manual refresh with zac ref completes successfully but does not update anything
    -cleared the agent cache using zac cc
    Any help would be appreciated.
    Thank you very much!

    Try the solution you find in this thread:
    http://forums.novell.com/novell-prod...nt-management/
    zenworks/configuration-management/zcm-11/zcm11-agent-deployment-linux/45
    5516-how-recover-lost-trust-relationship-zone-configuration-between-linu
    x-zcm-agent-primary-zone-server-running-same-machine.html
    W. Prindl
    wpico wrote:
    >
    >CRAIGDWILSON;2331318 Wrote:
    >> This is because the Agent Service (Servers have an agent too)
    >>cannot talk to the zone.
    >>
    >> Normally the only time this is noticed is during a "System Update",
    >> since this is one of the few times the failure would be noted.
    >>
    >> However, the 11.3.0 Upgrade would not have relied on the agent
    >>server and since you upgraded from 11.2.0, another ISO install, it
    >>is quite possible there were always some issues there.
    >>
    >> "zac retr" might help, but it also may be wise to open an SR so
    >>they can
    >> see what is wrong and not just have you poking and prodding your
    >>only primary.
    >>
    >>
    >> On 8/28/2014 4:46 PM, wpico wrote:
    >> >
    >> > nop1983;2331309 Wrote:
    >> >> wpico wrote:
    >> >>
    >> >>>
    >> >>> Good Afternoon,
    >> >>>
    >> >>> I recently upgraded our primary server from ZENworks
    >>11.2-11.3a. >>>
    >> >>> The upgrade procedure completed with no errors. However, the
    >> server
    >> >>> will not refresh it's status in the ZENworks Control Center.
    >> Control
    >> >>> Center continues to report the server as 11.2.0.0. The UI of
    >>the >>> Control Center is upgraded. The agent continues to push
    >>back the next
    >> >>> contact with server time without updating the last contact with
    >> server
    >> >>> time
    >> >>>
    >> >>> Things I have tried:
    >> >>> -doing a manual refresh through control center gives a
    >>"Connection >>> Failed" error
    >> >>> -doing a manual refresh with zac ref completes successfully but
    >> does
    >> >>> not update anything
    >> >>> -cleared the agent cache using zac cc
    >> >>>
    >> >>> Any help would be appreciated.
    >> >>>
    >> >>> Thank you very much!
    >> >>
    >> >> Only one server?
    >> >> Sounds like the agent could have lost the trust, somehow... The
    >> update
    >> >> went fine?
    >> >>
    >> >> --
    >> >> Niels
    >> >> I have always liked... Cowabunga!
    >> >>
    >> >> If you find this post helpful, please show your appreciation by
    >> clicking
    >> >> on the star below.
    >> >> A member must be logged in before s/he can assign reputation
    >>points. >
    >> > Completed with no errors, The log file was all green.
    >> >
    >> >
    >>
    >>
    >> --
    >> Going to Brainshare 2014?
    >> http://www.brainshare.com
    >> Use Registration Code "nvlcwilson" for $300 off!
    >>
    >>
    >> Craig Wilson - MCNE, MCSE, CCNA
    >> Novell Technical Support Engineer
    >>
    >> Novell does not officially monitor these forums.
    >>
    >> Suggestions/Opinions/Statements made by me are solely my own.
    >> These thoughts may not be shared by either Novell or any rational
    >>human.
    >
    >When I run zac retr I get, "Failed to re-establish trust with zone"

  • BTF in a region of a page of UI Shell(replace-in-place) not refreshing

    Hi All,
    Jdev Version : 11.1.2.0.0
    We are using a Bounded Task Flow (BTF) in a ADF Region of a page, which is made using the dynamic template UI Shell with replace-in-place method(Only one tab refreshes all time with new content).
    We are refreshing/invoking the new content using:
    TabContext tabContext = TabContext.getCurrentInstance();
    try
    tabContext.setMainContent("/WEB-INF/flows/task-fl.xml#task-fl");
    catch (TabContext.TabContentAreaDirtyException toe)
    // TODO: warn user TabContext api needed for this use case.
    AdfFacesContext.getCurrentInstance().addPartialTarget(dynamicRegion); // where dynamicRegion is binding in the backing bean for the ADF region which includes BTF.
    In the BTF, we have 4 view activities and once the regison displays with default activity and after navigating to 3rd view activity (navigation inside the region BTF), it displays the 3rd view activity content in region. However, If I click on a link (Left side navigation page) which refreshes the same taskflow (same as above), the ADF region is not displaying with default activity of this taskflow instead it displays the same 3rd activity of the taskflow, where the previous status.
    What I understand is that if we set a taskflow tf1 with Main Contnet(as above) and if we try to set the same tf1 to that Main Content, the tf1 is not refreshing (the default activity is not coming up).
    I tried the below solutions but not worked for me:
    a. I refreshed the ADF region after setting the Maincontent as below:
         AdfFacesContext.getCurrentInstance().addPartialTarget(dynamicRegion);
    b. I tried to invoke the region bounded task flow with different parameters (hoping the BTF refreshes and executes from default actitiy). However this also doesn' help.
         And I set the attribute 'refresh = ifneeded'.
    Can we set refresh=ifneeded for a taskflow Call activity also?
    Could you please help how we can refresh the ADF region BTF in this UI Shell(replace-in-place method)
    Thanks
    Madhu

    Thanks Frank for this info.
    Could you please give me other hints regarding taskflow (with default activity) is not refreshing from the region.
    One more thing I observed in my case is that:
    When the region is already with the given BTF(at 3rd view activity content) and when refreshed(tabContext.mainContent("btf....")) with the same BTF (*using page parameters changing*), then first the finalizer(of existed BTF instance) and next initializer(of the new BTF instance) methods of this BTF are invoking but the region is not refreshing with the default view activity content(instead it stays at 3rd view activity content only).
    Please suggest me anything I can debug after BTF initialize() and rendering the page.
    Thanks in Advance.

  • This method should not be called anymore. The client was already released i

    Hi,
    while configuring Business Packager for Projects 50.3 fo, we made few changes in R/3 side as per the documentation. after that we are getting following error in portal
    "This method should not be called anymore. The client was already released into the pool or the pool entry was deleted"
    all the chages were reverted in R/3 system still we are getting the same error.
    Can any one help on this issue....
    Thanks in advance and for early responce higher marks would be awarded!!!..     
    Regards
    Ravi Sankar Karri

    Hi,
    Well there were errors in how stop works:
    "Stopping a thread with Thread.stop causes it to
    unlock all of the monitors that it has locked (as a
    natural consequence of the unchecked ThreadDeath
    exception propagating up the stack). If any of the
    objects previously protected by these monitors were in
    an inconsistent state, the damaged objects become
    visible to other threads, potentially resulting in
    arbitrary behavior. "
    I do understand that you want to have something like
    killTheTreadIDontCareAboutConcequences-method, but
    it's better to let all your methods that you want to
    be able to terminate take a timeout argument, and deal
    with the termination in the method. (Close the
    sockets/streams etc that you are blocking on).
    /KajThe point is, it is not always possible to make those blocking methods stop, via some magic "timeout" thingamabob. The bottom line is still that the blocking methods were written incorrectly to begin with (to possibly block indefinitely), so one cannot come up with an across-the-board solution, other than getting the root cause fixed in the first place. However, one is not always in control of fixing the root cause.

Maybe you are looking for

  • Reasonably new PIONEER DVD-RW DVR-111D will NOT RECOGNIZE CD's

    I bought a new PIONEER DVR-111D drive to replace my old superdrive about 5-6 months ago. All was fine and good until about 2 weeks ago when it was suddenly unable to recognize CD's. Audio CD's, blank CD's, my highly valued "must insert to play" Halo

  • FORM inconsistent in the text file

    Hi Experts, Thre is one SAP script form by name "YF_SS_SD_002" which is developed in client 301, which is development client & I want to test that in 302. But in 302 client when i tried to open that form using SE71 it says "Form YF_SS_SD_002 language

  • SAXParser Error

    Hi I have written a code for reading the xml data using SAXParser.... my code is like this : package example.sax; import javax.xml.parsers.SAXParserFactory; import org.xml.sax.Attributes; import org.xml.sax.XMLReader; import org.xml.sax.helpers.Defau

  • Create View in sql

    hi is there any problem in creating a select view directly in sql? thanks in advanced best regards

  • HT3743 the iphone 4s'' iphone 4s'' could not be res Restoed Unknown error occurred(21)

    the iphone 4s'' iphone 4s'' could not be res Restoed Unknown error.thank