Fonts of different weights for some rows from the table in a tableView

Hi all

I need to add a summary in a TableView row to calculate the sum of all values above this line. For each line, I have an object called KostenDTO.

class SummCurrencyTableCellFactory implements Callback, TableCell> {

     private NumberFormat numFormat = null;

     public SummCurrencyTableCellFactory(NumberFormat numFormat) {

          this.numFormat = numFormat;

     }

     @Override public TableCell call(TableColumn param) {

          TableCell cell = new TableCell() {

               @Override public void updateItem(final Float item, boolean empty) {

               if (item != null) {

                    setText(numFormat.format(item));

                    setStyle("  -fx-alignment: CENTER-RIGHT;");

                    if (item < 0.0) {

                         this.setTextFill(Color.RED);

                    } else {

                         this.setTextFill(Color.BLACK);

                    }

              } else {

                    setText("");

              }

          }

     };

     return cell;

    }

  };


How can I change the font to bold amount-line?

Thanks and regards Tim

You can do

  String fontWeight ;
  if (getIndex() == getTableColumn().getTableView().getItems().size()-1) {
  fontWeight = "-fx-font-weight: bold;";
  } else {
  fontWeight = "-fx-font-weight: normal;";
  }
  setStyle("-fx-alignment: CENTER-RIGHT;\n" + fontWeight);

in the updateItem method (...), assuming that the line of the somme is the last line of the table.

Tags: Java

Similar Questions

  • Creation of 5 rows in table B for each row in the table has

    create table A
    (col1 number,
    col2 varchar2(20)
    )
    /
     
    create table B
    (col1 number,
    col2 varchar2(20)
    )
    /
    
    insert into A values (1,'Jane');
    insert into A values (2,'Kate');
    insert into A values (3,'Stomp');
    
    
    SQL> select * from a;
    
          COL1 COL2
    ---------- -----------------
             1 Jane
             2 Kate
             3 Stomp
    For each row in the table, I want 5 rows to be created in the table b. table B should look like
        COL1   COL2
    ---------- -----------------
             1 Jane
             2 Jane
             3 Jane
             4 Jane
             5 Jane
             6 Kate
             7 Kate
             8 Kate
             9 Kate
             10 Kate
             11 Stomp
             12 Stomp
             13 Stomp
             14 Stomp
             15 Stomp
    How can I do this?

    Hello

    A way

    insert into b
    select rownum*5  , col2 from a
    union all
    select rownum*5+1, col2 from a
    union all
    select rownum*5+2, col2 from a
    union all
    select rownum*5+3, col2 from a
    union all
    select rownum*5+4, col2 from a
    

    Concerning
    Anurag

  • LOV in richeTableau resets the value after the deletion of rows from the table

    Hello. I'm on 11g R2

    I have a table with columns in the box and a button in the toolbar that removes the lines checked

    I have build it based on the following article in her string code

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html


    When I run the "delete" button I execute the following code (taken as is article)


    public void deleteSelectedRows() {}

    create a second line, the value do not affect all lines

    used in ADF

    Set of rows duplicateRowSet = this.createRowSet ("duplicateRowSet");

    first row to avoid "the attempt to access the value of lines."

    exception line was dead.

    duplicateRowSet.first ();

    retrieve the current row of the table for after

    re-running the VO

    Line currentRow = this.getCurrentRow ();

    Boolean currentRowDeleted = false;

    get all rows that have the transoent attribute

    "MarkForDelete' set to true

    Row [] rowsToDelete =

    duplicateRowSet.getFilteredRows ("MarkedForDelete", true);

    If (rowsToDelete.length > 0) {}

    run only throizgh this code, if there is something to

    delete

    for (line rw: rowsToDelete) {}

    If the row is marked as the current in VO, ts value

    Boolean flag

    If (rw.getKey () .equals (currentRow.getKey ())) {}

    currentRowDeleted = true;

    }

    remove the line - do not yet commit

    RW. Remove();

    }

    rerun VO

    this.executeQuery ();

    reset the current line if it has not been removed

    If (! currentRowDeleted) {}

    this.setCurrentRow (currentRow);

    }

    duplicateRowSet.closeRowSet ();

    }

    }

    "MarkedForDelete" is a transient attribute used to mark the line delete

    The lines are removed very well.

    The problem is with lines that I do not delete.

    For example I LOV column. I chose the value LOV in a few lines, and after that choose to delete several lines (not the same lines where I modified the LOV) but some other lines.

    After I click "delete", the lines that I marked to remove deleted indeed, but the value of the LOV in other rows (I have not scored for delete) are disabled.

    How to preserve value LOV so it will remain also after I deleted some lines?

    P.S. I've tried autosubmit = "true" - it did not help

    It is expected because I see that you rerun the query.

    Once you re - run, it retrieves from the database again. Thus, your values are lost because they are not posted.

    I don't think that run query is necessary, try to have a programmatic part trigger on the table after you remove all of the lines.

    Thank you

    Alisson.

  • Determine the space used for each row in the table

    I am trying to determine how much disk space each row in the table will take place (data and indexes). I use sys_guids for my (PK_ID) primary key and foreign key columns (FK_xx), so who are on varchar2 (32).

    What is the best way to determine this?


    CREATE TABLE STU_ENROLLMENT
    (PK_ID VARCHAR2 (32), sys_guid() by default)
    CONSTRAINT pk_stu_enrollment
    KEY ELEMENTARY SCHOOL
    With the HELP of INDEX TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0),.
    FK_STU_SCHOOL VARCHAR2 (32)
    FK_SCHOOL_CALENDAR VARCHAR2 (32)
    FK_PCC_CODE VARCHAR2 (32),
    FK_GRADE_LEVEL VARCHAR2 (32),
    FK_VOTECH VARCHAR2 (32),
    FK_SPECIAL_ED VARCHAR2 (32),
    FK_TUITION_CODE VARCHAR2 (32),
    FK_HOME_INSTRUCTION VARCHAR2 (32),
    FK_DISTRICT VARCHAR2 (32),
    FK_PROGRAM_CODE VARCHAR2 (32),
    FK_SERVING_SCHL VARCHAR2 (32),
    FK_RESPONSIBLE_SCHL VARCHAR2 (32),
    FK_ADA_CODE VARCHAR2 (32),
    FK_ENROLL_TYPE VARCHAR2 (32),
    FK_PCC_REASON VARCHAR2 (32),
    STANDARD_DAY NUMBER (3).
    PCC_NOTES VARCHAR2 (1000).
    USER_FLD1 VARCHAR2 (100),
    USER_FLD2 VARCHAR2 (100),
    USER_FLD3 VARCHAR2 (100),
    USER_FLD4 VARCHAR2 (100),
    USER_FLD5 VARCHAR2 (100),
    PCC_TRANSACTION_ID VARCHAR2 (32),
    TRANSACTION_NUMBER DEFAULT NUMBER '1',
    TRANSACTION_TYPE VARCHAR2 (1) DEFAULT 'A,'
    DATE OF LAST_UPDATE_DATE,
    LAST_UPDATE_USER VARCHAR2 (100))
    TABLESPACE sis_express_base
    STORAGE (5120 INITIAL
    NEXT 5120
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I ON STU_ENROLLMENT (FK_STU_SCHOOL, FK_SCHOOL_CALENDAR, FK_PCC_CODE) SINGLE
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I2 ON STU_ENROLLMENT (FK_SCHOOL_CALENDAR)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I3 ON STU_ENROLLMENT (FK_PCC_CODE)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I4 ON STU_ENROLLMENT (FK_GRADE_LEVEL)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I5 ON STU_ENROLLMENT (FK_VOTECH)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I6 ON STU_ENROLLMENT (FK_SPECIAL_ED)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I7 ON STU_ENROLLMENT (FK_TUITION_CODE)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I8 ON STU_ENROLLMENT (FK_HOME_INSTRUCTION)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I9 ON STU_ENROLLMENT (FK_DISTRICT)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I10 ON STU_ENROLLMENT (FK_PROGRAM_CODE)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I11 ON STU_ENROLLMENT (FK_SERVING_SCHL)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I12 ON STU_ENROLLMENT (FK_RESPONSIBLE_SCHL)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I13 ON STU_ENROLLMENT (FK_ADA_CODE)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I14 ON STU_ENROLLMENT (FK_ENROLL_TYPE)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I15 ON STU_ENROLLMENT (FK_PCC_REASON)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I16 ON STU_ENROLLMENT (PCC_TRANSACTION_ID)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I17 ON STU_ENROLLMENT (FK_STU_SCHOOL, PCC_TRANSACTION_ID, PK_ID)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    Hello

    The maximum size of the row in the table

    Select table_name, ROUND (sum (data_length) / 1024,2) SIZE_IN_KB
    of user_tab_cols
    where table_name = 'STU_ENROLLMENT '.
    TABLE_NAME GROUP;

    +

    Select index_name table_name, ROUND (sum (CHAR_LENGTH) / 1024,2) SIZE_IN_KB
    of USER_IND_COLUMNS
    where table_name = 'STU_ENROLLMENT '.
    GROUP BY index_name table_name;

    See the size of the table - method with the average row size

    Concerning
    Hitgon

    Published by: hitgon on May 2, 2012 18:19

    Published by: hitgon on May 2, 2012 18:39

  • creating views in a new scheme to access some rows of the tables in the source schema

    Hello

    Oracle 10.2.0.4

    We try to hide some data from some users. My suggestion is that we create a new view_schema scheme on the same instance where we said the source tables in source_schema.

    We then create views in view_schema as below

    CREATE VIEW AS SELECT * FROM source_schema.table where COLUMN_n = "XYZ";

    We then grant SELECT on these views to a role and assign this role new users to be able to consult the data consulted.

    If the questions below.

    1. We can create views to view the data in another schema WITHOUT giving SELECT permissions on source_schema.tanle directluy?
    2. It works and there is no need to create synonyms etc.
    3. YOU can manage users and much easilier view (s)

    Is there a sense and who better than the selection seen with say table_name_view in the source schema to this effect and even the creation of synonyms for these points of view with the same name, yasmina in sourece_schema?

    Thank you

    905989 wrote:

    Hello

    Oracle 10.2.0.4

    We try to hide some data from some users. My suggestion is that we create a new view_schema scheme on the same instance where we said the source tables in source_schema.

    We then create views in view_schema as below

    CREATE VIEW AS SELECT * FROM source_schema.table where COLUMN_n = "XYZ";

    We then grant SELECT on these views to a role and assign this role new users to be able to consult the data consulted.

    If the questions below.

    1. We can create views to view the data in another schema WITHOUT giving SELECT permissions on source_schema.tanle directluy?
    2. It works and there is no need to create synonyms etc.
    3. YOU can manage users and much easilier view (s)

    Is there a sense and who better than the selection seen with say table_name_view in the source schema to this effect and even the creation of synonyms for these points of view with the same name, yasmina in sourece_schema?

    Thank you

    1. you can create the view in another schema (first granting of privileges to the schema of the view) without granting privileges of the schema of the source

    2. you probably want to create public synonyms for the view (s).  You can refer to the view as schema.view, but it's bulky

    3. I'm not sure management is easy, but the extra complexity shouldn't be too bad.  Write the documentation describing how everything works and the object involved.

    Another, more complicated, but more powerful option is to use row-level security also known as the virtual private database - if you have the license.  You create a profile for a table and a procedure to generate the WHERE clause to filter a query against the table and the columns defined in the profile.  Yet once, you need license to do this.

  • filtering rows from the tables

    We have about a 10 tables where specific information must be filtered from users with access select backend based on about 5 unique id (in the same column).

    This must be done for users with back-end access only.

    I have some experience with MEV for use in column-masking. I thought this may be helpful here as well but - my concerns are around the possible performance implications.

    Filtering is not necessary for the job but real application process - they are still going to be run the vpd function to determine if they want to add the additional predicate whenever they perform. I don't know if it will be a performance problem or - if there is a better way to do it.

    Has anyone experience with MEV in that capacity or - have other suggestions around lines matching the (transparent) tables for users who have access via the backend of the application?

    wtlshiers wrote:
    I was hoping to create a political function that is not "query" to the determining factor around adding the predicate each time. That's where I think that the context of enforcement would be used.

    What do you mean by "application" in this context? The political function must determine the predicate to apply. Of course, this predicate could code be hardcoded in the political function, i.e.

    CREATE OR REPLACE FUNCTION my_policy_function(p_owner IN VARCHAR2, p_object_name IN VARCHAR2)
      RETURN VARCHAR2 AS
    BEGIN
      IF( user = 'SHARED_APPLICATION_ID' )
      THEN
        RETURN '1=1';
      ELSIF( user = 'BOB_FROM_ACCOUNTING' )
      THEN
        RETURN 'group_id NOT IN (1,2,3)'; -- Bob can see everything other than group_id's 1, 2, or 3
      ELSIF( user = 'SHARON_FROM_FACILITIES' )
      THEN
        RETURN 'group_id = 4'; -- Sharon can only see group_id 4
      END IF;
    
      -- If we don't know about you, deny access
      RETURN '1=0';
    END my_policy_function;
    

    Normally, however, you want to have some sort of mapping table of users to the groups to which they have access in order to simplify the predicate, i.e.

    CREATE OR REPLACE FUNCTION my_policy_function(p_owner IN VARCHAR2, p_object_name IN VARCHAR2)
      RETURN VARCHAR2 AS
    BEGIN
      RETURN 'group_id IN (SELECT u2g.group_id FROM user_to_group_mapping u2g WHERE u2g.username = USER)';
    END my_policy_function;
    

    You can use something in the context of the session value rather than the call to the USER run when you configure the predicate, but I'm not sure it's necessary complexity account required to your needs.

    In this case - when a user connects to the database - if they are a user who shouldn't be able to see the specific tables group id - I would fix the system as a result of this user context.

    Then - in the political function - I would use the sys context function to determine whether the predicate should be added or not (include/exclude as appropriate).

    If you want to use a user-defined context, you could, of course, do something like this to prevent users to access sensitive groups if their IS_ALLOWED attribute is not set to "Y". I have

    CREATE OR REPLACE FUNCTION my_policy_function(p_owner IN VARCHAR2, p_object_name IN VARCHAR2)
      RETURN VARCHAR2 AS
    BEGIN
      IF( sys_context( 'MY_CONTEXT', 'IS_ALLOWED' ) = 'Y' )
      THEN
        RETURN '1=1';
      ELSE
        RETURN 'group_id NOT IN (1,2,3,4,5)'; -- Groups 1-5 are sensitive
      END IF;
    END my_policy_function;
    

    l is simply not obvious to me that it is beneficial in your case where everything is based on the Oracle user name. You can certainly create a context and fill in this context in a logon trigger, but now you have created a context and a logon trigger, and the solution is not as flexible as the table-based approach. In addition you have the coded group_id hard which makes it less likely that someone is going to notice the changes required when group_id are added in the future.

    Justin

  • I'm opening table row in a popup with the help of change. If I opened a line to edit, and then if I cancel the popup and if I open some row of the table, then instead of the newly selected line diff, previously selected line becomes open question. Help, p

    @Code is:-

    I have a panelCollection which is having an ADFTable (VO) and < f: toolbar > < coomandToolbarbutton > IE change by clicking on modify the selected line of the tbal adf becomes open in edit mode in a popup. Buttong ActionListner change creation popup

    {} public void handleEdit (ActionEvent actionEvent)
    Add the code in the event here...

    Line selectedRow =
    (Row) ADFUtils.evaluateEL ("#{bindings.") BtEsAwardsSchemeSetupVO1Iterator.currentRow}");
    Line selectedRow =
    (Row) ADFUtils.evaluateEL ("#{bindings.") BtEsAwardsSchemeSetupVO1.currentRow}");

    Tips RichPopup.PopupHints = new RichPopup.PopupHints ();

    this.getAddEditpopup () .show (hints);
    }

    Pupup has two buttons for Submit and cancel.
    Click on Cancel button on the popup, it id hide. The question is, suppose that the table is to have 4 lines so if I first select third row and click on change that becomes open editing on a popUp, but if I click on the Cancel button and their selection a few rows of table (Say first line), the previously selected (3rd row) rank only becomes open again in popup instead of the newly selected row.
    Cacel code

    {} public void handleCancelAwards (ActionEvent actionEvent)

    Add the code in the event here...

    ADFUtils.invokeEL ("#{bindings.") Rollback.Execute}");

    this.getAddEditpopup (.cancel ()); [I also tried with hide and seek but not worked]

    }

    Thanks in advance and thanks for your time

    It may be a problem with the combination of: immediate = true, rollback, and af:popup.

    You can try adding af:resetActionListener to the Cancel button.

    BTW, your managed bean is in the package that start with uppercase ("Bean"). (if you should refactor this to "beans" (for example))

    Dario

  • Add / remove rows from the Table

    Hello

    I'm really new to LiveCycle ES 8.2 (= non-existent knowledge of JavaScript) and has difficulties to create a table that can add / remove lines.

    I found a model that has the feature I need, but am unable to reproduce the table. (Ref. "Fax Cover Sheet_SW.pdf' http://forums.adobe.com/message/2561553#2561553)

    Even when I create a new blank form, and then copy / paste the table (subforms: 'detailHeader' + "detal") in the new, blank forms, the table stops working. The buttons are more clickable in the LiveCycle 'Preview PDF'

    In the new, blank forms, the 'Paging' and 'Binding' tabs have some or all of their features grayed out.

    I tried the following:

    1. Save the form as an "Adobe Dynamic form XML (pdf)"
    2. Make sure all of the 'content' subform fields were set to "Position" instead of "Flowed".

    What am I missing, like all JavaScript copied on, but for some reason any does not work.

    4 things you need to correct your form...

    (1) Page1 subform needs tobe Flowed the value.

    (2) then the link to the Subform1 tab will be active. You must check the box "subform to repeat for each item of data.

    (3) in the Add button to Subform1 you missed 'instanceManager' in the code...

    Subform1.instanceManager.addInstance (1);

    (4) in the same way in the button Delete

    Subform1. instanceManager. removeInstance (this.parent.index);

    Thank you

    Srini

  • Delete rows from the table

    Hello

    10G

    A custom table is to have 5000 documents, I need to have everything 100 records in the table and delete the rest of them.
    could you suggest...

    Thank you
    Tim
    delete table_name where rowid not in (select rowid from table_name where rownum <101);
    
  • Problem with the removal of the first row of the table

    Hi all

    I have a problem with my forms with tables where I have buttons to add or remove rows from the table. Adding the lines works fine but deleting lines has a problem when deleting the first row. Example: Here is a table with two rows where column 1 has the add and remove buttons and column 2 user imput that looks like this:

    Column 1
    Column 2
    Add and remove buttons hererank 1
    Add and remove buttons hererank 2
    Add and remove buttons hererank 3

    If the user deletes line 2 the table looks like which is correct:

    Column 1
    Column 2
    Add and remove buttons hererank 1
    Add and remove buttons hererank 3

    If the user deletes line 1 then the table looks like which is false since the ranks 2 and 3 should be left:

    Column 1
    Column 2
    Add and remove buttons hererank 1
    Add and remove buttons hererank 3

    The code is pretty simple:

    Table3.row2.instanceManager.addInstance (1); for the click event of the button Add line

    Table3.row2.instanceManager.removeInstance (1); for the click event of the button Delete line

    What I am doing wrong?

    Thanks in advance!

    Al

    The expression will be based on your structure... done .This refers to the current object, parent refers to the container parent of this object and index is the index of this object. So watching your hierarchy and from the key, you will need this.parent to join the line subform is it in (usually it is th esubform that repeats). If it's in a subform, you will need to add another parent. Continue on this road until you get to the repeating subform and then ask its index. Your expression might look like this.parent.parent.parent.index. Using this.index, you find the instance of the button object and there are just people and that's why you always get 0.

    Make sense?

    BTW your form is attached not... so I can't check what you should put it.

    Paul

  • How to capture what oracle object delete rows in the table?

    Hi all

    I have a table in which I am storing data deleted from the main table. I have a delete on the main table statements in the various packages, now I want to capture what sql statement what package is remove rows from the table. I created the trigger to insert data into the backup table. I'm using oracle 11g.

    Please help me...

    Thanks and greetings

    Vidyasagar.B

    You can use DBMS_UTILITY.FORMAT_CALL_STACK.
    
    SQL> create table t
      2  (
      3    no integer
      4  );
    
    Table created.
    
    SQL> create table t_log
      2  (
      3    str clob
      4  );
    
    Table created.
    
    SQL> create or replace trigger t_trig before insert on t
      2  begin
      3     insert into t_log(str) values (dbms_utility.format_call_stack);
      4  end;
      5  /
    
    Trigger created.
    
    SQL> create or replace procedure p
      2  as
      3  begin
      4    insert into t (no) values (1);
      5  end;
      6  /
    
    Procedure created.
    
    SQL> create or replace package pkg
      2  as
      3     procedure run;
      4  end;
      5  /
    
    Package created.
    
    SQL> create or replace package body pkg
      2  as
      3     procedure run
      4     is
      5     begin
      6       p;
      7     end;
      8  end;
      9  /
    
    Package body created.
    
    SQL> exec pkg.run
    
    PL/SQL procedure successfully completed.
    
    SQL> select * from t_log;
    
    STR
    --------------------------------------------------------------------------------
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    3abbbc6d8         1  anonymous block
    3ad03bf88         2  KARTHICK.T_TRIG
    3a51a18a8         4  procedure KARTHICK.P
    3ac4f1508         6  package body KARTHICK.PKG
    3ac91c250         1  anonymous block
    
  • CFHTTP Parse page for the last row of the table

    OK, so I need to analyze the page returned from a cfhttp call and select the last row in a table. I then take the value of this line and run another cfhttp to another page. This returns an html page where I'll need to parse for extr the img tag. Any thoughts?

    Here is a code:

    "" < cfhttp url = ' http://SERVERNAME/GetPhotoEncounters.cgi ' method = 'post' resolveurl = "yes" >
    < name cfhttpparam = 'TXTBox' type = "formfield" value = "17133804" >
    < / cfhttp >

    He returns (at the source):

    "< form method = post name ="EncounterInfo"action =" http://SERVERNAME/GeneratePhotos.cgi "> "
    < table border units is relative width is 0.9 colspec "C2 C1 C1 C1 C1 C1 C1 C1 C1" = >
    < th align = center > < view h3 > < / h3 >
    < th align = center > < No. h3 > < / h3 >
    < th align = center > < ID h3 > < / h3 >
    < th align = center > < Type of encounter h3 > < / h3 >
    < th align = center > < h3 > Date & time < / h3 >
    < th align = center > < Type h3 > < / h3 >
    < th align = center > < system indicator X h3 > < / h3 >
    < th align = center > < location Images h3 > < / h3 >
    < th align = center > < h3 database Ind > < / h3 >
    <! - data - >
    < b >
    < td align = center > < input type = "checkbox" name = "eid" value = "36659622; 02/06/05 13:31:29 ">
    < td align = center > 36659622
    < td align = center > 17133804
    < td align = center > BP
    < td align = center > 02/06/05 13:31:29
    < td align = center > F
    < td align = center > ENF
    < td align = center > 967
    < td align = center > R
    < b >
    < td align = center > < input type = "checkbox" name = "eid" value = "37070943; 09/06/05 14:28:28 ">
    < td align = center > 37070943
    < td align = center > 17133804
    < td align = center > BP
    < td align = center > 09/06/05 14:28:28
    < td align = center > R
    < td align = center > ENF
    < td align = center > 968
    < td align = center > R
    < b >
    < td align = center > < input type = "checkbox" name = "eid" value = "38114421; 23/06/05 19:03:50 ">
    < td align = center > 38114421
    < td align = center > 17133804
    < td align = center > BP
    < td align = center > 23/06/05 19:03:50
    < td align = center > R
    < td align = center > ENF
    < td align = center > 968
    < td align = center > R
    < b >
    < td align = center > < input type = "checkbox" name = "eid" value = "38216303; 24/06/05 22:30:42 ">
    < td align = center > 38216303
    < td align = center > 17133804
    < td align = center > BP
    < td align = center > 24/06/05 22:30:42
    < td align = center > R
    < td align = center > ENF
    < td align = center > 968
    < td align = center > R
    < b >
    < td align = center > < input type = "checkbox" name = "eid" value = "41424139; 04/08/05 22:48:21 ">
    < td align = center > 41424139
    < td align = center > 17133804
    < td align = center > BP
    < td align = center > 04/08/05 22:48:21
    < td align = center > R
    < td align = center > ENF
    < td align = center > 968
    < td align = center > R
    < b >
    < td align = center > < input type = "checkbox" name = "eid" value = "42971024, 19/08/05 11:59:35" >
    < td align = center > 42971024
    < td align = center > 17133804
    < td align = center > BP
    < td align = center > 19/08/05 11:59:35
    < td align = center > R
    < td align = center > ENF
    < td align = center > 968
    < td align = center > R
    < b >
    < td align = center > < input type = "checkbox" name = "eid" value = "43676008, 15/09/05 00:43:33" >
    < td align = center > 43676008
    < td align = center > 17133804
    < td align = center > BP
    < td align = center > 15/09/05 00:43:33
    < td align = center > R
    < td align = center > ENF
    < td align = center > 968
    < td align = center > R
    < b >
    < td align = center > < input type = "checkbox" name = "eid" value = "51501911; 20/02/06 01:17:16 ">
    < td align = center > 51501911
    < td align = center > 17133804
    < td align = center > BP
    < td align = center > 20/02/06 01:17:16
    < td align = center > R
    < td align = center > ENF
    < td align = center > 970
    < td align = center > R
    < b >
    < td align = center > < input type = "checkbox" name = "eid" value = "52543143; 20/03/06 06:06:56 ">
    < td align = center > 52543143
    < td align = center > 17133804
    < td align = center > BP
    < td align = center > 20/03/06 06:06:56
    < td align = center > R
    < td align = center > ENF
    < td align = center > 971
    < td align = center > R
    < b >
    < td align = center > < input type = "checkbox" name = "eid" value = "52812077, 30/03/06 08:36:15" >
    < td align = center > 52812077
    < td align = center > 17133804
    < td align = center > BP
    < td align = center > 30/03/06 08:36:15
    < td align = center > R
    < td align = center > ENF
    < td align = center > 971
    < td align = center > R
    < b >
    < td align = center > < input type = "checkbox" name = "eid" value = "52983796; 07/04/06 15:15:32 ">
    < td align = center > 52983796
    < td align = center > 17133804
    < td align = center > BP
    < td align = center > 07/04/06 15:15:32
    < td align = center > R
    < td align = center > ENF
    < td align = center > 971
    < td align = center > R
    < b >
    < td align = center > < input type = "checkbox" name = "eid" value = "53243687; 23/04/06 14:58:23 ">
    < td align = center > 53243687
    < td align = center > 17133804
    < td align = center > BP
    < td align = center > 23/04/06 14:58:23
    < td align = center > R
    < td align = center > ENF
    < td align = center > 972
    < td align = center > R
    < b >
    < td align = center > < input type = "checkbox" name = "eid" value = "54447246; 24/06/06 00:46:23 ">
    < td align = center > 54447246
    < td align = center > 17133804
    < td align = center > BP
    < td align = center > 24/06/06 00:46:23
    < td align = center > R
    < td align = center > ENF
    < td align = center > 973
    < td align = center > R
    < b >
    < td align = center > < input type = "checkbox" name = "eid" value = "56717661; 05/07/06 06:45:19 ">
    < td align = center > 56717661
    < td align = center > 17133804
    < td align = center > BP
    < td align = center > 07/05/06 06:45:19
    < td align = center > R
    < td align = center > ENF
    < td align = center > 973
    < td align = center > R
    < b >
    < td align = center > < input type = "checkbox" name = "eid" value = "61073876; 28/08/06 02:13:33 ">
    < td align = center > 61073876
    < td align = center > 17133804
    < td align = center > BP
    < td align = center > 28/08/06 02:13:33
    < td align = center > R
    < td align = center > ENF
    < td align = center > 974
    < td align = center > R
    < /table >
    < /Center >
    < p align = "left" > < input type = "checkbox" name = "photoOnly" > < p >
    < INPUT TYPE = "SUBMIT" NAME = 'SUBMIT_BUTTON' VALUE = 'Show the photo (s)' >
    < INPUT TYPE = "BUTTON" NAME = "SELECT_ALL_BUTTON" VALUE = "Select all" onClick = "doSelectAll (15)" >
    < INPUT TYPE = "RESET" NAME = "CLEAR_ALL_BUTTON" VALUE = "Remove all" >
    < input type = "hidden" name = 'TXTBox' value = "17133804" >
    < br >
    < / make >

    I need the last row of the table checbox value. In this way, I can present this value on the next page via cfhttp. That would return:

    border = 1 >
    < b >
    < td align = "center" > < font color = 'blue' size = 4 > EID < / make >
    < td align = "center" > < font color = 'blue' size = 4 > Date < / make >
    < td align = "center" > < font color = 'blue' size = 4 > picture < / make >
    < td align = "center" > < font color = 'blue' size = 4 > picture < / make >
    < td align = "center" > < font color = 'blue' size = 4 > picture < / make >
    < b >
    < td > < b > < /b > 61073876
    < td > < b > 28/08/06 < /b > < br > < b > < /b > 02:13:33
    < td >
    < img src = "" / image_cache/61073876.jpeg ' height width 200 = 200 = > "
    < td >
    < img src = "" / image_cache/61073876_F2.gif ' height width 200 = 200 = > "
    < td >
    < img src = "" / image_cache/61073876_F7.gif ' height width 200 = 200 = > "
    < /table >

    On this basis, I need to the variable value, CBC three img tags. Then I can insert these values into a local database.

    Help me please, because I'm drowning on this one!

    Thank you all.

    You could loop on the content of the file and then parsing each line using a regular expression to extract your checkbox values and image. This is code that I wrote which gets the last box and a panoply of images based on your example. You may need to adjust the regular expression a bit if your example is not the same as the HTML code that you are monitoring.

  • I use the 64-bit drivers for Windows 7 from the Satellite on the Qosmio?

    Hello

    I have 2 laptops Toshiba, Qosmio X 300 - 14U and Satellite T130 - 12 K, and my question is:
    I use the 64-bit drivers for Windows 7 from the Satellite on the Qosmio?

    Thanks in advance

    Hi frakri,

    What drivers tell you exactly? Display, chipset, sound, etc. ?

    Theoretically, it should be possible, but it s according to the material. For example if your Qosmio has the same chipset as satellite you can use these drivers. Otherwise it wouldn't work because the hardware is different.
    First, check the features!

    In addition, you can get all the drivers here:
    http://EU.computers.Toshiba-Europe.com > support & downloads > download drivers

  • Error during the initial install: there is no end point for more available from the endpoint mapper.

    Summary of the issue
    Other issues of Windows Live family safety

    What version of Windows Live Family Safety do you use?
    Version 2011 (15.4.3538.513)
    Choose your operating system version:
    Windows 7

    Additional details
    While you select "Accounts of Windows I want to monitor on this computer" it shows the loading for a long time then popus symbol with:

    Windows Live Family Saftey modal window popup:

    "There is no end point for more available from the endpoint mapper."

    800706 9 error code

    Any ideas?

    I had the same problem and the error you mentioned above... Has been frustrating me. After much research I found out she was related to the basic and Windows Firewall filtering engine.

    Check if your Windows Firewall is working properly, and if you can make changes. If you get an error code when you try to change your firewall settings, which could be what it is.

    I followed this to correct the BFE and Windows Firewall it retries then parental control and he went through with NO PROBLEMS of...

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-Security/Windows-Firewall-cant-change-some-of-your-settings/514d78fb-39e9-47b1-B561-bc49cbdad904

    Hope this works for you as well...

  • I was getting a new hard drive to my HP laptop. Since I have a key for Windows Vista from the purchase of the laptop, how can I get the disk to re install the operating system?

    I was getting a new hard drive to my HP laptop. Since I have a key for Windows Vista from the purchase of the laptop, how can I get the disk to re install the operating system?

    original title: reinstall Windows Vista

    I was getting a new hard drive to my HP laptop.  Since I have a key for windows vista from the purchase of the laptop, how can I get the disk to re install the operating system?

    Contact HP (if they had not initially you provided with support or the media manufacturing process or you have lost the media and/or you don't want EU to some tools to clone the old drive to the new or can not do...) for a copy of the media restore/recovery of your system.

    http://www.ZDNet.com/blog/Bott/lost-your-Windows-discs-how-to-get-replacement-media-legally/4320?PG=3

Maybe you are looking for

  • Old iMac OS upgrade

    I have an OLD iMac (screen base, ball gum on a stem) 10.4 running. Extent to the top of the chain of the BONE can be improved?

  • Satellite P L50-B-1 1 - WLAN connection problem

    Hi all I have an annoying problem that persists with my wifi adapter, after about 20 minutes using my wifi adapter will drop connection and windows will identify a problem with him which will be normally corrected by running the option "solve problem

  • EliteBook 8460p: no battery detected

    No battery detected...  I get this icon, even if the battery is connected.  He died?  Is anyway to check before buying another?

  • ADC signal formatting problem!

    Personal salvation OR. IAM having problems trying to measure tension in the port adc to a PIC 18F4550 through Labview. the fact is that iam like a beginner in programming G, and I don't know how to maintain the chain that iam get VISA read module and

  • Is this OK to defragment files page of Win XP?

    I have Win XP sp3 and the page files are fragmented.   I use Defraggler and make to defragment files page with it.   Is this OK to defragment files page? Thank you.