Sort by field of database when using cfdirectory
I have the following code, but you need to sort the list by a field (sortID) my database (not a value from the directory)
-How can I add this?
-J' tried to add "sortID" underneath, but it has no effect?
-sortID is a field of type varchar 3 digits in MySQL
<div data-role="collapsible" data-collapsed="true"> <h3 align="center">Board</h3> <ul data-role="listview" data-theme="d" data-inset="true"> <cfset DirList = "C:\Inetpub\wwwroot\CRM\CCC\attachments\board\"> <cfset site = ("https://crm.domain.com/crm/ccc/attachments/board/")> <cfdirectory directory="#DirList#" name="qDir" action="list" sort="sortID DESC"> <cfquery dbtype="query" name="dirsOtherOnly"> SELECT * FROM qDir ORDER BY sortID DESC </cfquery> <cfoutput> <cfloop query="dirsOtherOnly"> <li> <a href="#site##dirsOtherOnly.name#" title="Click to Preview" target="_blank">#dirsOtherOnly.Name#</a> </li></cfloop> </cfoutput> </ul> <cfif ("sicr" NEQ "region6" AND #Session.kt_login_user# EQ "john" OR #Session.kt_login_user# EQ "bob")> <p align="left">Click to add attachment: <cfoutput><a href="ul_l.cfm?id2=500&id5=Board" data-transition="fade" target="_blank">Attachments</a></cfoutput></p> </cfif> </div>
Why would you want to order the result set in a column that apparently has nothing to do with it? In all cases, a solution is to get the sortID of the database column and add it to the charly resulting cfdirectory
Something along these lines
SELECT sortID FROM TBL
SELECT * FROM qDir ORDER BY sortID DESC
Tags: ColdFusion
Similar Questions
-
Fields get misaligned, when using flowing in subforms
Hello
I try to use subforms and I have three of them when I try to change the attribute "Content" on the object to 'place' to 'cast', the fields are misaligned. Help, please.
Thank you
Vijay
"Flowing" subforms do not (as you noticed) do not retain the postioning of the objects. You need for the layout of your objects, wrap them in a "Positioned" subform, and then wrap the subform "Positioned" (so the positions of the object are maintained) in a subform "Flowed".
Concerning
Steve
-
How to store data instead of memoryengine to the database when using XML file
Hi Experts,
I doubt that in XML for transferring data from the database.
Transfer of data from XML to the database tables will be store in memory for xml files, my goal is instead stored in the memory table engine
is it possible to store the data in the database itself...
I guess that when the size of the data increases say for example given huge amount, store as much data is the big issue here on the right, so to avoid this, is it possible to store
These data directly in the database level.
Please understand my requirement, either I have the explanation regarding my requirement and please help me how to do this job...
THX,
Sara.Remove the dp_doc = option Y of your url. It removes the schema whenever a new connection is created.
If you don't want to truncate the tables, I think you should also add the option dp_tbl = N.Kind regards
JeromeFr -
Orb iTunes turns when you try to sort Apps on Iphone s 6 using Mac and PC at different times. Applications do not appear to the right of the applications that are registered in the ITunes applications library. How can I solve this problem?
Hi leon4444,
Welcome to the communities of Apple Support! I'm sorry to hear that you are having these problems with your iPhone. I'm kinda not clear on the exact nature and scope of the issue you describe, but if you are having problems sorting or organize your apps using iTunes, you can verify that you follow the procedure described in the following article:
12 iTunes for Windows: Sync and organize iOS apps
Concerning
-
Error link database to MySQL when using variables
Hi guys
I currently have a database of hava link to MySQL. I can read, insert, delete and update without any problem when using literals. However when I try to perform the same actions using pl/sql variables, I get the following error:
ORA-02055: distributed update operation failed. Rollback required
ORA-02068: following a serious error of AAA1
ORA-28511: interruption of the RPC connection to heterogeneous remote agent using SID = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = ProdDB.btl)(PORT=1527) .net) (CONNECT_DATA = (SID = AAA1)))
ORA-06512: at line 15 level
You kindly give me some suggestions?
PL/SQL code
Declare
MSISDN2 tank (8);
IMSI2 number (28.0);
ICC2 number (28.0);
CNT number (28.0);
Begin
MSISDN2: = 610-0850';
IMSI2: = 8950167090300132451;
ICC2: = 702670161017765;
Delete "SUBSCRIBERS"@AAA1 where "MSISDN" = MSISDN2; -'ICC' = ICC2 or 'IMSI' = IMSI2;
End;
-----------------------------------------------------------------------------------------------------------
System information:
Oracle Database 10.2.0.5.0 under Redhat Linux 64-bit
Database portals Oracle ODBC 11.2.0.1.0 on the same machine as above
UnixODBC - 3.2.1 compiled in 64-bit on the same machine so
MySQL ODBC connector DriverVer:05.02.0002
------------------------------------------------------------------------------------------------------
ODBC DSN
;
; ODBC.ini configuration for MYODBC and MYODBC 3.51 drivers
;
[ODBC data sources]
AAA1 = pilot 5.2.2 MyODBC DSN
[AAA1]
Driver = /usr/lib64/libmyodbc5w.so
Description = driver MYODBC DSN 5.52
SERVER = 10.50.18.89
USER = tytancc2
Password = xxxxxx
Database = radiator
OPTION = 3
CHARSET = latin1
Trace = yes
Trace file = /tmp/unixodbc.sql.log
Debug = 1
Debugfile = /tmp/unixodbc.debug.log
---------------------------------------------------------------------------------------
File hs
# This is an example of initialization file of the agent that contains the HS settings
# necessary for the database to ODBC gateway
#
# HS init parameters
#
HS_FDS_CONNECT_INFO = AAA1
#HS_FDS_TRACE_LEVEL = 255
HS_FDS_TRACE_LEVEL = DEBUG
#HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc5w.so
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so.2
HS_FDS_SQLLEN_INTERPRETATION = 32
#HS_LANGUAGE = AMERICAN_AMERICA. AL32UTF8
#HS_LANGUAGE = AMERICAN_AMERICA. WE8ISO8859P15
#HS_LANGUAGE = AMERICAN_AMERICA. WE8ISO8859P1
HS_LANGUAGE = AMERICAN_AMERICA. LATIN1
HS_FDS_FETCH_ROWS = 1
#HS_NLS_NCHAR = UCS2
#HS_OPEN_CURSORS = 10
#
# ODBC specific environment variables
#
Set ODBCINI=/u01/oracle/.odbc.ini
Set ODBCINSTINI=/etc/odbcinst.ini
#
# Required for the non-Oracle system environment variables
#
set LD_LIBRARY_PATH = / usr/lib64
--------------------------------------------------------------------------------------------
Trace file
Oracle Corporation - 22:01:40.555 Friday, February 8, 2013
Heterogeneous Agent release
11.2.0.1.0
Oracle Corporation - 22:01:40.549 Friday, February 8, 2013
Version 11.2.0.1.0
Hgogprd entries
HOSGIP to 'HS_FDS_TRACE_LEVEL' returned 'DEBUG '.
Hgosdip entries
default assignment of 50 HS_OPEN_CURSORS
setting HS_FDS_RECOVERY_ACCOUNT or 'RECOVER '.
HS_FDS_RECOVERY_PWD layout to the default
default HS_FDS_TRANSACTION_LOG of HS_TRANSACTION_LOG layout
HS_IDLE_TIMEOUT layout to the default 0 value
layout by default HS_FDS_TRANSACTION_ISOLATION of "READ_COMMITTED".
layout by default «AL32UTF8» HS_NLS_NCHAR
layout HS_FDS_TIMESTAMP_MAPPING default 'DATE '.
layout HS_FDS_DATE_MAPPING default 'DATE '.
layout HS_RPC_FETCH_REBLOCKING failure to 'ON '.
HOSGIP returned the value of '1' for HS_FDS_FETCH_ROWS
parameter HS_FDS_RESULTSET_SUPPORT default 'FALSE '.
parameter HS_FDS_RSET_RETURN_ROWCOUNT default 'FALSE '.
parameter HS_FDS_PROC_IS_FUNC default 'FALSE '.
parameter HS_FDS_CHARACTER_SEMANTICS default 'FALSE '.
parameter HS_FDS_MAP_NCHAR if there is no 'TRUE '.
setting HS_NLS_DATE_FORMAT or 'YYYY-MM-DD HH24:MI:SS ".
parameter HS_FDS_REPORT_REAL_AS_DOUBLE default 'FALSE '.
HS_LONG_PIECE_TRANSFER_SIZE layout without "65536".
parameter HS_SQL_HANDLE_STMT_REUSE default 'FALSE '.
parameter HS_FDS_QUERY_DRIVER if there is no 'TRUE '.
parameter HS_FDS_SUPPORT_STATISTICS default 'FALSE '.
The HS_FDS_QUOTE_IDENTIFIER parameter is not defined
setting in HS_KEEP_REMOTE_COLUMN_SIZE if 'OFF '.
parameter HS_FDS_GRAPHIC_TO_MBCS default 'FALSE '.
parameter HS_FDS_MBCS_TO_GRAPHIC default 'FALSE '.
HOSGIP returned the value "32" for HS_FDS_SQLLEN_INTERPRETATION
HS_CALL_NAME_ISP layout "gtw$: SQLTables; GTW$: SQLColumns. GTW$: SQLPrimaryKeys. GTW$: SQLForeignKeys. GTW$: SQLProcedures. GTW$: SQLStatistics; "gtw$: SQLGetInfo.
parameter HS_FDS_DELAYED_OPEN if there is no 'TRUE '.
HS_FDS_WORKAROUNDS layout by default "0".
Release of hgosdip, rc = 0
ORACLE_SID is "AAA1.
Product information:
Port RLS / Upd:1 / 0 PrdStat:0
Agent: Oracle Database Gateway for ODBC
: Installation
Class: ODBC, ClassVsn:11.2.0.1.0_0008, Instance: AAA1
Release of hgogprd, rc = 0
Hgoinit entries
HOCXU_COMP_CSET = 1
HOCXU_DRV_CSET = 31
HOCXU_DRV_NCHAR = 873
HOCXU_DB_CSET = 31
HOCXU_SEM_VER = 102000
Entry hgolofn to 2013/02/08-22: 01:40
HOSGIP to 'HS_FDS_SHAREABLE_NAME' returned ' / usr/lib64/libodbc.so.2 '.
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a08f61
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a090e5
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a09c18
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a0b6dc
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a17bc4
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a182e8
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a1bc40
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a1dad8
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a1e6dc
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a20bae
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a20bd0
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a22f44
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a276d4
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a27b90
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a2a4a4
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a2b574
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a2b99c
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a2e65c
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a2ecd0
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a31db8
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a31ac0
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a0c47c
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a0e884
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a14943
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a1714a
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a19327
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a1d2ce
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a1f648
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a210c7
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a23990
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a2414c
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a25d26
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a26cc0
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a288a8
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a28c67
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a29e88
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a2c51e
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a2ccfa
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a2d5c0
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a2de92
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a2f088
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a33fa4
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a315fe
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a36de2
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Entry hgolofns to 2013/02/08-22: 01:40
symbol_peflctx = 0x31a380ec
hoaerr:0
Output hgolofns to 2013/02/08-22: 01:40
Release of hgolofn, rc = 0 to 2013/02/08-22: 01:40
HOSGIP to 'HS_OPEN_CURSORS' returned '50 '.
HOSGIP to 'HS_FDS_FETCH_ROWS' returned '1 '.
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536".
HOSGIP to 'HS_NLS_NUMERIC_CHARACTER' returned '. "
HOSGIP to 'HS_KEEP_REMOTE_COLUMN_SIZE' returned 'OFF '.
HOSGIP for "HS_FDS_DELAYED_OPEN" returns 'TRUE '.
HOSGIP to 'HS_FDS_WORKAROUNDS' returned '0 '.
HOSGIP to 'HS_FDS_MBCS_TO_GRAPHIC' returned 'FALSE '.
HOSGIP to 'HS_FDS_GRAPHIC_TO_MBCS' returned 'FALSE '.
treat_SQLLEN_as_compiled = 0
Release of hgoinit, rc = 0 to 2013/02/08-22: 01:40
Entry hgolgon to 2013/02/08-22: 01:40
name: tytancc2, reco:0, tflag:0
Entry hgosuec to 2013/02/08-22: 01:40
Release of hgosuec, rc = 0 to 2013/02/08-22: 01:40
HOSGIP to 'HS_FDS_RECOVERY_ACCOUNT' returned 'RECOVER '.
HOSGIP for "HS_FDS_TRANSACTION_LOG" returns "HS_TRANSACTION_LOG".
HOSGIP to 'HS_FDS_TIMESTAMP_MAPPING' returned 'DATE '.
HOSGIP to 'HS_FDS_DATE_MAPPING' returned 'DATE '.
HOSGIP to 'HS_FDS_CHARACTER_SEMANTICS' returned 'FALSE '.
HOSGIP for "HS_FDS_MAP_NCHAR" returns 'TRUE '.
HOSGIP to 'HS_FDS_RESULTSET_SUPPORT' returned 'FALSE '.
HOSGIP to 'HS_FDS_RSET_RETURN_ROWCOUNT' returned 'FALSE '.
HOSGIP to 'HS_FDS_PROC_IS_FUNC' returned 'FALSE '.
HOSGIP to 'HS_FDS_REPORT_REAL_AS_DOUBLE' returned 'FALSE '.
using tytancc2 as the default value to "HS_FDS_DEFAULT_OWNER".
HOSGIP to 'HS_SQL_HANDLE_STMT_REUSE' returned 'FALSE '.
Entry hgocont to 2013/02/08-22: 01:40
HS_FDS_CONNECT_INFO = "AAA1.
RC =-1 of HOSGIP for 'HS_FDS_CONNECT_STRING '.
Entry hgogenconstr to 2013/02/08-22: 01:40
DSN:AAA1, name: tytancc2
OPTN:
Entry hgocip to 2013/02/08-22: 01:40
DSN:AAA1
Release of hgocip, rc = 0 to 2013/02/08-22: 01:40
Release of hgogenconstr, rc = 0 to 2013/02/08-22: 01:40
Entry hgolosf to 2013/02/08-22: 01:45
Release of hgolosf, rc = 0 to 2013/02/08-22: 01:45
DriverName:libmyodbc5w.so, DriverVer:05.02.0002
Name of DBMS: MySQL, DBMS Version: 5.1.66 - community-newspaper
Release of hgocont, rc = 0 to 2013/02/08-22: 01:45
SQLGetInfo Returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
Release of hgolgon, rc = 0 to 2013/02/08-22: 01:45
Entry hgoulcp to 2013/02/08-22: 01:45
Entry hgowlst to 2013/02/08-22: 01:45
Release of hgowlst, rc = 0 to 2013/02/08-22: 01:45
SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
Able TXN: isolation 3, Option: 0xf
SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 192 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 192 for SQL_MAX_PROCEDURE_NAME_LEN
SQLGetInfo returns (0 x 60) for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo Returns Y for SQL_COLUMN_ALIAS
16 functions for instance will be uploaded
context: 0x00000000, capno:1964, add info: 0
context: 0x00000000, capno:1989, add info: 0
context: 0x0001ffff, capno:1991, add info: 0
«"" context: 0x0001ffff, capno:1992, info-add: 1, translation:»»»
context: 0x00000000, capno:3042, add info: 0, translation: "42".
context: 0x00000000, capno:3047, add info: 0, translation: "57."
context: 0x00000000, capno:3049, add info: 0, translation: "59".
context: 0x00000000, capno:3050, add info: 0, translation: "60".
context: 0x00000000, capno:3066, add info: 0
context: 0x00000000, capno:3067, add info: 0
context: 0x00000000, capno:3068, add info: 0
context: 0x00000000, capno:3069, add info: 0
capno:3500, context: 0x00000001, add info: 91, translation: "42".
capno:3501, context: 0x00000001, add info: 93, translation: "57."
capno:3502, context: 0x00000001, add info: 107, translation: "59".
capno:3503, context: 0x00000001, add info: 110, translation: "60".
Release of hgoulcp, rc = 0 to 2013/02/08-22: 01:45
Entry hgouldt to 2013/02/08-22: 01:45
NO translation of DD for instance have been downloaded
Release of hgouldt, rc = 0 to 2013/02/08-22: 01:45
Entry hgobegn to 2013/02/08-22: 01:45
tflag:0, original: 1
Hoi:0x9671a48, ttid (len 26) is...
00: 54595441 4E2E6438 32323564 62642E32 [TYTAN.d8225dbd.2]
10: 3433 33313031 [9.7.310143] 392E372E
tbid (len 10) is...
0: 1-000700 7FBB0400 0104 [...]
Release of hgobegn, rc = 0 to 2013/02/08-22: 01:45
Entry hgopdsc to 2013/02/08-22: 01:45
Describing the procedure SUBSCRIBERS
Output hoada
hgopdsc, line 1406: NO hoada to print
Release of hgopdsc, rc = 942 to 2013/02/08-22: 01:45
Entry hgodtab to 2013/02/08-22: 01:45
number: 1
Table: SUBSCRIBERS
Allocate hoada [0] @ 0x3a23590
Entry hgopcda to 2013/02/08-22: 01:45
Column:1 (MSISDN): dtype:1 (CHAR), prc / scl:8 / 0, nullbl:0, byte: 8, sign: 1, radix: 0
Release of hgopcda, rc = 0 to 2013/02/08-22: 01:45
Entry hgopcda to 2013/02/08-22: 01:45
Column:2 (IMSI): dtype:-5 (BIGINT), prc / scl:19 / 0, nullbl:0, byte: 8, sign: 1, radix: 10
Release of hgopcda, rc = 0 to 2013/02/08-22: 01:45
Entry hgopcda to 2013/02/08-22: 01:45
Column:3 (ICC): dtype:-5 (BIGINT), prc / scl:19 / 0, nullbl:0, byte: 8, sign: 1, radix: 10
Release of hgopcda, rc = 0 to 2013/02/08-22: 01:45
Entry hgopcda to 2013/02/08-22: 01:45
Column:4 (CHECKATTR): dtype:1 (CHAR), prc / scl:200 / 0, nullbl:1, byte: 200, sign: 1, radix: 10
Release of hgopcda, rc = 0 to 2013/02/08-22: 01:45
Entry hgopcda to 2013/02/08-22: 01:45
Column:5 (REPLYATTR): dtype:1 (CHAR), prc / scl:200 / 0, nullbl:1, byte: 200, sign: 1, radix: 10
Release of hgopcda, rc = 0 to 2013/02/08-22: 01:45
Entry hgopcda to 2013/02/08-22: 01:45
Column:6 (TIMELEFT): dtype:-5 (BIGINT), prc / scl:19 / 0, nullbl:1, byte: 200, sign: 1, radix: 10
Release of hgopcda, rc = 0 to 2013/02/08-22: 01:45
Entry hgopcda to 2013/02/08-22: 01:45
Column:7 (ELIMINATED): dtype:-5 (BIGINT), prc / scl:19 / 0, nullbl:1, byte: 200, sign: 1, radix: 10
Release of hgopcda, rc = 0 to 2013/02/08-22: 01:45
Entry hgopcda to 2013/02/08-22: 01:45
Column:8 (Suspended): dtype:-5 (BIGINT), prc / scl:19 / 0, nullbl:1, byte: 200, sign: 1, radix: 10
Release of hgopcda, rc = 0 to 2013/02/08-22: 01:45
The hoada for SUBSCRIBERS table follows...
hgodtab, line 876: print hoada @ 0x3a23590
MAX: 8, REAL: 8, BRC:1, WHT = 6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x200: TREAT_AS_CHAR, 0x20: NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CSE IND MOD NAME
1 TANK N 8 8 0 / 0 0 0 200 MSISDN
-5 BIGINT 8 8 N 0 / 0 0 0 20 IMSI
-5 BIGINT 8 8 N 0 / 0 0 0 20 ICC
1 CHAR Y 200 200 0 / 0 0 0 200 CHECKATTR
1 CHAR Y 200 200 0 / 0 0 0 200 REPLYATTR
-5 BIGINT Y 8 8 0 / 0 0 0 20 TIMELEFT
-5 BIGINT Y 8 8 0 / 0 0 0 20 ELIMINATED
-5 BIGINT Y 8 8 0 / 0 0 0 20 SUSPENDED
Release of hgodtab, rc = 0 to 2013/02/08-22: 01:45
Entry hgodafr, cursor IDs 0 to 2013/02/08-22: 01:45
Free Hoada @ 0x3a23590
Release of hgodafr, rc = 0 to 2013/02/08-22: 01:45
Entry hgopars, id of cursor 1 to 2013/02/08-22: 01:45
type: 0
Text SQL hgopars, id = 1, len = 134...
45 00: 53454 C 43542041 53495344 312E604D [SELECT A1.'MSISD]
10: 4E602C41 4 534960 2C41312E 312E6049 [NO, A1.] "IMSI', A1.]
20: 60494343 602C 4131 2E604348 45434B 41 ['ICC', A1' COACHA]
30: 54545260 60524550 4 594154 2C41312E [TTR ', A1' REPLYAT]
40: 5452602 C 54494 45 4 454654 41312E60 [TR ', A1' TIMELEFT]
50: 602C 4131 2E60454C 494D494E 41544544 [', A1.'] ELIMINATED]
60: 602C 4131 2E605355 5350454E 44454460 [', 'SUSPENDED' A1.]
70: 4 206053 55425343 52494245 2046524F [A ' SUBSCRIBE]
80: 52536020 4131 [RS A1]
Release of hgopars, rc = 0 to 2013/02/08-22: 01:45
Entry hgoopen, id of cursor 1 to 2013/02/08-22: 01:45
hgoopen, line 86: NO hoada to print
Delayed open until the first fetch.
Release of hgoopen, rc = 0 to 2013/02/08-22: 01:45
Entry hgodscr, id of cursor 1 to 2013/02/08-22: 01:45
Allocate hoada @ 0x3a23538
Entry hgopcda to 2013/02/08-22: 01:45
Column:1 (MSISDN): dtype:1 (CHAR), prc / scl:8 / 0, nullbl:0, byte: 8, sign: 1, radix: 0
Release of hgopcda, rc = 0 to 2013/02/08-22: 01:45
Entry hgopcda to 2013/02/08-22: 01:45
Column:2 (IMSI): dtype:-5 (BIGINT), prc / scl:19 / 0, nullbl:0, byte: 8, sign: 1, radix: 0
Release of hgopcda, rc = 0 to 2013/02/08-22: 01:45
Entry hgopcda to 2013/02/08-22: 01:45
Column:3 (ICC): dtype:-5 (BIGINT), prc / scl:19 / 0, nullbl:0, byte: 8, sign: 1, radix: 0
Release of hgopcda, rc = 0 to 2013/02/08-22: 01:45
Entry hgopcda to 2013/02/08-22: 01:45
Column:4 (CHECKATTR): dtype:1 (CHAR), prc / scl:200 / 0, nullbl:1, byte: 200, sign: 1, radix: 0
Release of hgopcda, rc = 0 to 2013/02/08-22: 01:45
Entry hgopcda to 2013/02/08-22: 01:45
Column:5 (REPLYATTR): dtype:1 (CHAR), prc / scl:200 / 0, nullbl:1, byte: 200, sign: 1, radix: 0
Release of hgopcda, rc = 0 to 2013/02/08-22: 01:45
Entry hgopcda to 2013/02/08-22: 01:45
Column:6 (TIMELEFT): dtype:-5 (BIGINT), prc / scl:19 / 0, nullbl:1, byte: 200, sign: 1, radix: 0
Release of hgopcda, rc = 0 to 2013/02/08-22: 01:45
Entry hgopcda to 2013/02/08-22: 01:45
Column:7 (ELIMINATED): dtype:-5 (BIGINT), prc / scl:19 / 0, nullbl:1, byte: 200, sign: 1, radix: 0
Release of hgopcda, rc = 0 to 2013/02/08-22: 01:45
Entry hgopcda to 2013/02/08-22: 01:45
Column:8 (Suspended): dtype:-5 (BIGINT), prc / scl:19 / 0, nullbl:1, byte: 200, sign: 1, radix: 0
Release of hgopcda, rc = 0 to 2013/02/08-22: 01:45
hgodscr, line 880: print hoada @ 0x3a23538
MAX: 8, REAL: 8, BRC:1, WHT = 5 (SELECT_LIST)
hoadaMOD bit-values found (0x200: TREAT_AS_CHAR, 0x20: NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CSE IND MOD NAME
1 TANK N 8 8 0 / 0 0 0 200 MSISDN
-5 BIGINT 8 8 N 0 / 0 0 0 20 IMSI
-5 BIGINT 8 8 N 0 / 0 0 0 20 ICC
1 CHAR Y 200 200 0 / 0 0 0 200 CHECKATTR
1 CHAR Y 200 200 0 / 0 0 0 200 REPLYATTR
-5 BIGINT Y 8 8 0 / 0 0 0 20 TIMELEFT
-5 BIGINT Y 8 8 0 / 0 0 0 20 ELIMINATED
-5 BIGINT Y 8 8 0 / 0 0 0 20 SUSPENDED
Release of hgodscr, rc = 0 to 2013/02/08-22: 01:45
Entry hgoclse, id of cursor 1 to 2013/02/08-22: 01:46
Release of hgoclse, rc = 0 to 2013/02/08-22: 01:46
Entry hgodafr, id of cursor 1 to 2013/02/08-22: 01:46
Free Hoada @ 0x3a23538
Release of hgodafr, rc = 0 to 2013/02/08-22: 01:46
Entry hgopars, id of cursor 1 to 2013/02/08-22: 01:46
type: 0
Text SQL hgopars, id = 1, len = 56...
45 00: 44454 C 54452046 60535542 524F4D20 [DELETE OF ' SUB]
10: 53435249 42455253 60205748 45524520 [OF THE TRUSQUINS WHERE]
20:60535542 53435249 602E604D 42455253 ["SUBSCRIBERS". AM]
30: 53495344 4E603D3F [SISDN'=?]
Release of hgopars, rc = 0 to 2013/02/08-22: 01:46
Entry hgoexec, id of cursor 1 to 2013/02/08-22: 01:46
octype = 3 (REMOVE)
hgoexec, line 108: print hoada @ 0x3a23538
MAX: 1, SIZE: 1, BRC:1, WHT = 3 (BIND_LIST)
hoadaMOD bit-values found (0x200: TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CSE IND MOD NAME
1 TANK N 8 0 0 / 0 31 0 200?
Entry hgoprbv to 2013/02/08-22: 01:46
hgoprbv, line 145: print hoada @ 0x3a23538
MAX: 1, SIZE: 1, BRC:1, WHT = 3 (BIND_LIST)
hoadaMOD bit-values found (0x200: TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CSE IND MOD NAME
1 TANK N 8 0 0 / 0 31 0 200?
Release of hgoprbv, rc = 0 to 2013/02/08-22: 01:46Could you please put the table in the MySQL table definition is defined in the MySQL database and the way she is described using the database link (desc 'SUBSCRIBERS"@AAA1)
What happens when you comment the gateway init parameter:
HS_FDS_SQLLEN_INTERPRETATION = 32?Thank you
KlausPublished by: kgronau on February 11, 2013 07:37
Successfully tested the DG4ODBC 11.2.0.3 by the definition of a table in MySQL:
drop table CUSTOMERS;
create table CUSTOMERS (MSISDN char (8), numeric (28.0) IMSI2, ICC2 numeric (28.0), NTC numeric (28.0));
insert into CUSTOMERS values (610-0850', 8950167090300132451, 702670161017765, NULL);and by using this code:
SQL > select count (*) from 'SUBSCRIBERS"@MYSQL_DG4ODBC_EMGTW_1123_DB;COUNT (*)
----------
1SQL > declare
2
3 MSISDN2 tank (8);
4 IMSI2 number (28.0);
5 ICC2 number (28.0);
6 NTC number (28.0);
7
Begin 89 10 MSISDN2: = 610-0850';
11 IMSI2: = 8950167090300132451;
12 ICC2: = 702670161017765;
13
14 remove from 'SUBSCRIBERS"@MYSQL_DG4ODBC_EMGTW_1123_DB where"MSISDN"= MSISDN2;
15 ' ICC' = ICC2 or "IMSI" is IMSI2;.
16
End 17;
18.PL/SQL procedure successfully completed.
SQL > select count (*) from 'SUBSCRIBERS"@MYSQL_DG4ODBC_EMGTW_1123_DB;
COUNT (*)
----------
0Published by: kgronau on February 11, 2013 07:51
Also successfully tested using DG4ODBC Oracle 11.2.0.1 database and 10.2.0.5
-
How to set up immediate calculation when using fields
Hello
Excuse me for the seemingly dull issue (I guess that's as well as I was unable to find the answer to this on the forum).
I make a PDF with Acrobat 9 Pro form and I have this page with simple invoice that looks like this:
item_price_1 * no_items_1 = subtotal_item_1
item_price_2 * no_items_2 = subtotal_item_2
...
item_price_n * no_items_n = subtotal_item_n
----------------------------------------------------------------------------
TOTAL = sum (subtotals)
I have implemented the different fields and created formulas using the Properties > computing >
While the Subtotals automatically fills as I click anywhere in the PDF document [after the filling of the item_price and no_items], it may not even for the TOTAL field - it fills only after I type a character anywhere in the form, no matter where and no matter what (even a space character works).
However given that this form must be made public, users will think that the formula does not work because they can't see an immediate calculation of the TOTAL.
Ideally, I would like the result to show immediately, but I could also go with a simple "click any where on the page update TOTAL".
Is there a way to do this?
Thank you!
It is a very common problem.
You will need to set the order of calculation of the form (forms - change fields - Set
Order of calculation field...) Make sure that the total field is calculated after all
subtotals.
-
How to create a database by using Visual Basic 2013?
Original title: I need a teaching aid
I have been programming since the beginning of the 1980s as a hobby. I want to create a database by using Visual Basic 2013 but I have difficulty finding the information as required to fit.
When I was with VB6 I used a book: beginning Visual Database 6 database programming by John Connell
This book taught me everything I needed to know. He used control arrays (I understand are now mocked) to define the forms of "state machines" which I liked a lot.
I could go back and reinstall VB6 but I would learn instead to perform all necessary steps in VB 2013. Can anyone suggest a similar book?
I used the COBOL, FORTRAN, VBA, VB6, Basica, etc.. But through it all to adapt to new versions has never been so difficult. I believe that the adaptation will be difficult if I can find a book that explain the changes.
Hello
Your message is addressed in the discussions on these Microsoft Community forums. It is better suited for the MSDN Developer audience. Go to the links below and ask your question in the appropriate forum.
MSDN forums: Index
http://social.msdn.Microsoft.com/forums/en-us/categories
MSDN forums:
Concerning
-
Deletion of Images without using cfdirectory
Obviously, all my stuff is stored in a database, and I'm out there. With whom is the link to an image that is on the server. When I go on my page to remove entries from the database, it does not remove the image. I know that I can do this with a form using cfdirectory, but there is no way for me to link the two, as far as I know. How can I tell analyze the relationship of the database to get the file name only, so after the news/xxxx.extension and then I can send the request to cffile delete. Any help would be great!
I hope that he had a sense. If not post something and I can rephrase it and maybe throw code.Using listlast on the column, this will give you the file name.
Ken
-
Where do I put the AutoFill feature when using Firefox?
You people do a great job of describing 'How to use Auto Fill'... but nowhere in this article does say WHERE - to implement the feature when using Firefox.
How and where can I find the setting?
Thank you.
PS: maybe that should be in the article somewhere.
What about filling the data in a form (input field) on a web page?
See:
- Tools > Options > privacy > Firefox will be: "Use the custom settings for history": "don't forget to search and form history."
- https://support.Mozilla.org/KB/form+AutoComplete
-
APEX on a database by using a different database security
I'm new to APEX so please forgive me if my question is elementary or if it crosses also ignoring. My organization uses APEX for the first time and you are looking to fill a specific role. I don't know if we want APEX can be done.
Here's what we want to do:
We want to create an app of the APEX on A database.
My APEX application will be used to modify database tables b.
Users have usernames, passwords and access set up on the basis of data B.
When users access the application of APEX, we want the application to use the database security B. In other words, it connects using the IDs and passwords for database B.
So:
I go to the application of the APEX
He invites me to the user ID, I enter one I use when I log on database B.
He asks me a password, I get the one I use with database ID B.
I click OK.
Forms are loaded with the data accessible by my ID on the B database.
Changes on the forms and my user ID is marked as one making changes to database b lines.
In other words, I just want to use the database A to build and enhance the application. Anyone can run the application, but they must connect using their database B ID and password to make changes.
(1) is it possible?
(2) how to configure in the application of the APEX?
Thanks for your help on this.
8dc1e333-95ad-4714-9820-16d3e4296c4d wrote:
In other words, I just want to use the database A to build and enhance the application.
APEX does not work like that.
APEX is nothing more than a bunch of PL/SQL code that runs on the database, it is installed on and run the code as "pattern analysis".
Comment on "works on the basis of data"
If you want APEX to read data from a different database, you use a DATABASE LINK
for example to SELECT a report
Select * from scott.emp@db2
I doubt that one of the assistants APEX you'll love.
comment "works like «pattern analysis"»
If your application has an analysis of 'BOB' scheme... all SQL and PL/SQL code will run as BOB.
The "DB"account "security" is more a misnomer. APEX only checks that the entered name and password match that of the database that it is installed on.
Once verified, APEX performs a 'switch user' for the 'scheme of analysis. " (Authentication of proxy in Oracle)
That's how web applications work... they use a shared schema.
WORK AROUND
Connect to the APEX by ADR, no EPG. Will prevent it people to access the database directly.
The next thing that you need is a SCHEME of ANALYSIS dedicated to the execution of SQL and PL/SQL.
As any other database USER, it shouldn't be the same schema as the schema that contains all of your data. (Analysis schema! = data schema)
Personally, I like to my 'space work [schema]' separated also.
You will most likely need to use a database of private virtual control data access.
Required Code changes
If none of your code using the username 'USER' column, you need to change to COALESCE (V ('APP_USER'), USER)
(I prefer to COALESCE on NVL because I anticipate different infrastructure that works similar to APEX)
MK
-
Failback when using Etherchannel and FCoE
I have an environment that I am able to dig in for the purposes of learning, but I can't it. Since I can't make any changes to the environment and experience, I wanted to ask a few questions here. I'm trying to figure out what that the failback option of virtual exchanges must be defined on when using FCoE and etherchannel.
The environment consists of:
- FCoE
- 2 cards of CNA
- EtherChannel
- vPLEX
- Cluster of metro
- Nexus 5000
Each host connects to a single vDS and each portgroup is configured to use:- Load balance policy: route based on the hash of the IP
- Active uplinks: two 10 GbE CNAs
- Eve & uplinks used: no
- Physical switch is configured for etherchannel.
The vSphere networking 5.5 guide says the following for failback on vDS trade option:
Failback Select Yes or no to disable or enable failback. This option determines how a physical card is returned to active duty after recovering from a failure. If failback is set to Yes (the default), the adapter is returned to active duty as soon as their recovery, moving the daughtercard, which resumed its accommodation, as appropriate. If failback is set to no, an adapter failing has been idle even after the recovery until another active adapter fails, requiring a replacement.
This evokes the assets & Eve links and since using etherchannel requires that all active links with no standby connection, this means that the restore option does not apply to etherchannel configurations? Or applies to the way in which the load is re -distributed when a link comes back after having been conducted?
For example, that we have a portgroup with two uplinks (uplink1 & uplink2), load balancing policy, the hash value of the IP and physical switch ports are in an etherchannel configuration. During the normal operation of the IP of the hash calculations (http://blogs.vmware.com/kb/2013/03/troubleshooting-network-teaming-problems-with-ip-hash.html) are made and the load is distributed across the two uplinks. Let's say the physical switch that connects uplink2 in goes down. The ESXi hosts connected to that vDS immediately come into uplink2 equation which means uplink1 would only result in the calculation of hash IP? What is the impact of the automatic restore option when uplink2 is back? If failback is set to no, uplink2 still wouldn't be in the equation? If so, how you would get it back in the equation? Or when the link is up is immediately shot down there regardless of the restore option? It feels like I'm missing something here.
Also, I read that attributing no failback is recommended when using IP storage, because it can lead to port heartbeat that can cause performance issues with the storage. But I also read that traffic to an etherchannel appears as a single MAC/connection address. This recommendation apply in an etherchannel configuration? Are port and MAC stir the same thing? Or is beating port just at the moment where the link goes up and down and MAC beat is when the MAC's switch between two ports?
Sorry if these are fundamental questions, but not being a networking guy and not being is not able to experiment makes it hard. Thanks for any help.
The Member State of the binding not arise unless the link is established on both sides.
I agree with the statement portfast. All the links go to an ESXi server do not participate in spanning tree protocols. The goal is to transition to a State of transfer immediately on the link turning upward. This must be paid regardless of the use of an OFFSET.
LACP will dynamically build the GAL and validate the configuration on both sides is correct. I prefer LACP (dynamic LAG) on any static sort of LAG, but this requires a switch on the side of vSphere distributed. If you have the VDS, using LACP. However, LACP does not solve the problem of covering tree (you still want to avoid using tree covering weight on the SHIFT going the ESXi host).
-
I use JDev 11.1.1.6 and when I type in a value in an af:inputListOfValues element and press enter or the tab key, it will replace the value I entered with the first element in the set of results LOV. If enter a value, simply click on the component af:inputListOfValues it works correctly. If I use the popup and find a value it works properly as well. I have a programmatic view object that contains a single transitional attribute (this is the view object that is used to create the list of the components of the value of) and then I have another object from view based on entities which defines one of its attributes in a list of the attribute value. I tried to use a base object view of entity to create the LOV to and everything works as expected, so I don't know if this is a bug when using programmatic view objects or if I need more code in the VOImpl. In addition, it seems after that first of the value being replaced by the first value in the result set that it will work correctly as well. Here are some excerpts of important code.
Also, it seems that this does not work only if the text entered in the component af:inputListOfValues would have only a single game, returned in the result set. For example, given the result defined in code: Brad, Adam, Aaron, Fred, Charles, Charlie, Jimmy
If we get into Cha, the component works as expected
If we register A, the component works as expected
If we get Jimmy, the component does not work as expected, and returns the first value of results IE. Brad
If we get Fred, the component does not work as expected, and returns the first value of results IE. Brad
I also checked that I get the same behavior in JDev 11.1.1.7
UsersVOImpl (programmatic view with 1 transitional attribute object)
import java.sql.ResultSet; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import oracle.adf.share.logging.ADFLogger; import oracle.jbo.JboException; import oracle.jbo.server.ViewObjectImpl; import oracle.jbo.server.ViewRowImpl; import oracle.jbo.server.ViewRowSetImpl; // --------------------------------------------------------------------- // --- File generated by Oracle ADF Business Components Design Time. // --- Wed Sep 18 15:59:44 CDT 2013 // --- Custom code may be added to this class. // --- Warning: Do not modify method signatures of generated methods. // --------------------------------------------------------------------- public class UsersVOImpl extends ViewObjectImpl { private static ADFLogger LOGGER = ADFLogger.createADFLogger(UsersVOImpl.class); private long hitCount = 0; /** * This is the default constructor (do not remove). */ public UsersVOImpl () { } /** * executeQueryForCollection - overridden for custom java data source support. */ protected void executeQueryForCollection (Object qc, Object[] params, int noUserParams) { List<String> usersList = new ArrayList<String>(); usersList.add("Brad"); usersList.add("Adam"); usersList.add("Aaron"); usersList.add("Fred"); usersList.add("Charles"); usersList.add("Charlie"); usersList.add("Jimmy"); Iterator usersIterator = usersList.iterator(); setUserDataForCollection(qc, usersIterator); hitCount = usersList.size(); super.executeQueryForCollection(qc, params, noUserParams); } // end executeQueryForCollection /** * hasNextForCollection - overridden for custom java data source support. */ protected boolean hasNextForCollection (Object qc) { Iterator usersListIterator = (Iterator)getUserDataForCollection(qc); if (usersListIterator.hasNext()) { return true; } else { setFetchCompleteForCollection(qc, true); return false; } // end if } // end hasNextForCollection /** * createRowFromResultSet - overridden for custom java data source support. */ protected ViewRowImpl createRowFromResultSet (Object qc, ResultSet resultSet) { Iterator usersListIterator = (Iterator)getUserDataForCollection(qc); String user = (String)usersListIterator.next(); ViewRowImpl viewRowImpl = createNewRowForCollection(qc); try { populateAttributeForRow(viewRowImpl, 0, user.toString()); } catch (Exception e) { LOGGER.severe("Error Initializing Data", e); throw new JboException(e); } // end try/catch return viewRowImpl; } // end createRowFromResultSet /** * getQueryHitCount - overridden for custom java data source support. */ public long getQueryHitCount (ViewRowSetImpl viewRowSet) { return hitCount; } // end getQueryHitCount @Override protected void create () { getViewDef().setQuery(null); getViewDef().setSelectClause(null); setQuery(null); } // end create @Override protected void releaseUserDataForCollection (Object qc, Object rs) { Iterator usersListIterator = (Iterator)getUserDataForCollection(qc); usersListIterator = null; super.releaseUserDataForCollection(qc, rs); } // end releaseUserDataForCollection } // end class
<af:inputListOfValues id="userName" popupTitle="Search and Select: #{bindings.UserName.hints.label}" value="#{bindings.UserName.inputValue}" label="#{bindings.UserName.hints.label}" model="#{bindings.UserName.listOfValuesModel}" required="#{bindings.UserName.hints.mandatory}" columns="#{bindings.UserName.hints.displayWidth}" shortDesc="#{bindings.UserName.hints.tooltip}" autoSubmit="true" searchDesc="#{bindings.UserName.hints.tooltip}" simple="true"> <f:validator binding="#{bindings.UserName.validator}"/> </af:inputListOfValues>
I found a solution to this problem. It seems that, when using a view object programmatic that has a transient as its primary key attribute, you need to override the methods in the ViewObjectImpl so that he knows how to locate the line related to the primary key when the view object records are not in the cache. That's why it would work properly sometimes, but not always. Here are the additional methods that you must override. The logic you use in the retrieveByKey would be on a view view object database object and would be different if you had a primary key consisting of multiple attributes.
@Override protected Row[] retrieveByKey (ViewRowSetImpl viewRowSetImpl, Key key, int i) { return retrieveByKey(viewRowSetImpl, null, key, i, false); } @Override protected Row[] retrieveByKey (ViewRowSetImpl viewRowSetImpl, String string, Key key, int i, boolean b) { RowSetIterator usersRowSetIterator = this.createRowSet(null); Row[] userRows = usersRowSetIterator.getFilteredRows("UserId", key.getAttribute(this.getAttributeIndexOf("UserId"))); usersRowSetIterator.closeRowSetIterator(); return userRows; } @Override protected Row[] retrieveByKey (ViewRowSetImpl viewRowSetImpl, Key key, int i, boolean b) { return retrieveByKey(viewRowSetImpl, null, key, i, b); }
-
Disable the Clipboard when using PCoIP?
I'm trying to find out how to disable the Clipboard in customers when using PCoIP. I can use a GPO to stop the Terminal Server Services to redirect the Clipboard when you use a RDP session. It seems that if you use a PCoIP session, it is ignored, and I can still use the Clipboard.
Also, I realize that I could use the adm of client file to extend my GPO setting on the client in order to block it, but customers are not in my field to the control. I can only control the environment of the view.
Has anyone successfully been able to do this? I think it is a stopping point for me if I can't find a way to disable the Clipboard with PCoIP.
The agent or client side.
You can disable the copy/paste using the file pcoip.adm (1) and definition of the GPO or (2) to create and set a directory using regedit:
1. load the pcoip.adm file: using gpedit.msc, goto, setting up the computer--> administrative templates, click on Action-> Add/Remove models and load the pcoip.adm file. Then set the following parameters:
Configuration of the computer--> administrative templates of--> Variables of PCoIP Session-->
Not Admin Overridable settings--> virtual channels
TO:
-Activated
-Unauthorized entry virtual channel list: mksvchan
2 using the RegEdit adds/set the following key:
HKEY_LOCAL--> SOFTWARE--> policy--> Teradici PCoIP-->
--> pcoip_admin--> pcoip.vchan_unauth_list
To "mksvchan".
-
How to save a database to use the RMAN catalog using the OEM 11 g grid
How to save a database to use the RMAN catalog using the OEM 11 g grid?
---------------------------------------------------------------------
Enterprise Manager Version: 11.2.0.2See the availability tab, and then click 'Recovery catalog settings' under the Backup/Restore Configuration.
Choose the option 'Use Recovery Catalog'. Click the 'Add Recovery Catalog' button to add the recovery catalog. And fill required fields like username, host, port, sid, etc..
Talip Hakan Öztürk
http://taliphakanozturken.WordPress.com/ -
problem when using setFocus?
Hello
I have a problem in the use of setFocus in the text field.
When I use setFocus it contains the definition slider to the textInput field, but until and unless if I click with the mouse its not take keyboard input!
Let me know the solution ASAP
Thanks and greetings
Aruna.S.N.
the best way to do this is to write a function small javascript in your HTML page (who will choose the appliction - as is the problem; cant flex focus on the field unless u click in the appliction if your browser has chosen it) - then call this function javascript of your flex application
in flex.
ExternalInterface.call("saveglobalscore",score) ('setBrowserFocus');
usernametxt.setFocus ();
in the html wrapper page
function setBrowserFocus()
{
document.getElementById('${application}').focus ();
}
(when the application is the id of your embedded flex appliction)
This approach works perfectly
Maybe you are looking for
-
How do I know if I have a keylogger
Yesterday, I got a pop up on Safari which even told me and told me to call a number of Time Warner (my broadband provider), because I had malicious software. He had nothing to click on, but it was a box that says "do not show this" and I clicked on
-
Copmaq SFF 600 rpo: Upgraging Core 2 Duo CPU
Hi, I wonder if I can improve my Hp Compaq SFF Core 2 Duo to Core i5 or i7 6000? and how to do it please?
-
Generation of multiple reports in subdirectories with the calls of the nested sequence
I would like to generate different paths for multiple sequences, which are each managed in respect of execution of their own. The following text displays the desired hierarchy: YYYY. MM DD. HH.mm.ss_MainSequenceFileName\Test index.html@overview-summ
-
Q150 input voltage? Help, please
I sent twice, named Sales and no one yet knows the Q150 input voltage... Can someone view detailed list of specifications of Q150 which includes its input voltage? Or anyone who owns a Q150 can look for me? Thank you
-
I get a disk hard disk at the end of my slider and my tooth blue mouse and keyboard are inadmissible
I have a Toshiba Tecra M7 tablet. It works with Windows XP Professional. It was working fine until yesterday and then the Blue Tooth keyboard and mouse becomes inadmissible. It works with the keyboard of the LT and pointing the finger, so the system