the column value of the game
HelloI use JDev 11.1.1.3
I have a form and a table in the form of my jspx
in my table, I have a column that is not bound 2 DB
in my form, I have a class LOV where I apply value change listener...
When I apply value change listener I want 2 set the value of the column...
Please suggest me a solution
Thanks in advance
Edited by: Venkat Naidu L on March 15, 2011 22:06
Try and tell. This should be in quotes. But while coding won't give you any error during compiling.
Reg,
Vini
Tags: Java
Similar Questions
-
Each column value from a game based on the presence of value non-zero treatment
Hi all
My oracle db has the following properties:
I need to implement complex logic for which I am unable to gather ideas. I need help with it:NLS_LANGUAGE AMERICAN NLS_TERRITORY AMERICA NLS_CURRENCY $ NLS_ISO_CURRENCY AMERICA NLS_NUMERIC_CHARACTERS ., NLS_CHARACTERSET AL32UTF8 NLS_CALENDAR GREGORIAN NLS_DATE_FORMAT DD-MON-RR NLS_DATE_LANGUAGE AMERICAN NLS_SORT BINARY NLS_TIME_FORMAT HH.MI.SSXFF AM NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR NLS_DUAL_CURRENCY $ NLS_COMP BINARY NLS_LENGTH_SEMANTICS BYTE NLS_NCHAR_CONV_EXCP FALSE NLS_NCHAR_CHARACTERSET AL16UTF16 NLS_RDBMS_VERSION 11.2.0.3.0
I select a distinct combination for 2 columns of a table, something like - [maximum length of column 1 is 4 characters, maximum length of column 2 is 160 characters]:
I need to check each Ruleset (2nd column) above for each 2 bytes determine if the value is different from '00'. For example in the first row:WITH tab_initialdataset AS SELECT '7913 ' PLANID, 'WL00WM99WL000099009995000000000000000000009900009999000000009900000000000000000000990000000000000099W70000000099IIWL98008799000000999900000000990000000000000000' RULESET FROM DUAL UNION SELECT '7921','WL00WM99WL000099009995000000000000000000009900009999000000009900000000000000000000990000000000000099WI0000000099IIWL98008799000000999900000000990000000000000000' FROM DUAL UNION SELECT '4500 ', 'FW00FZ00FZ00009900990000000000000000000000000000000000000000000000990000000000000000000000000000009900000000PM9999FZ99009799000000970000000000000000000000000000' FROM DUAL -- some logic here
WL00WM99WL000099009995000000000000000000009900009999000000009900000000000000000000990000000000000099W70000000099IIWL98008799000000999900000000990000000000000000
post 1 (WL), 3 (WM), 4 (99) etc. are NOT EQUAL to "00".
So my output should be like this:
Any ideas please?PLANID NON_ZERO_OFFSET_POSITION 7913 1 7913 3 7913 4 ... and so on 7921 1 7921 3 ... and so on
THX
Published by: Chaitanya on July 24, 2012 04:27
Published by: Chaitanya on July 24, 2012 21:23Hello
It is a solution based on a recursive subquery, I prefer this to connect to solutions for efficiency reasons.
WITH tab_initialdataset AS ( SELECT '7913' PLANID, 'WL00WM99WL000099009995000000000000000000009900009999000000009900000000000000000000990000000000000099W70000000099IIWL98008799000000999900000000990000000000000000' RULESET FROM DUAL UNION SELECT '7921','WL00WM99WL000099009995000000000000000000009900009999000000009900000000000000000000990000000000000099WI0000000099IIWL98008799000000999900000000990000000000000000' FROM DUAL UNION SELECT '4500', 'FW00FZ00FZ00009900990000000000000000000000000000000000000000000000990000000000000000000000000000009900000000PM9999FZ99009799000000970000000000000000000000000000' FROM DUAL ) , rec(p, r, res, pos) as ( select planid, ruleset r, 0 res, 0 pos from tab_initialdataset union all select p, substr(r,3) r, case when substr(r,1,2) = '00' then 0 else 1 end res , pos + 1 from rec where length(r) is not null ) select p planid,pos pos from rec where res = 1 order by p,pos I just show the results for 7913 PLANID POS ... 7913 1 7913 3 7913 4 7913 5 7913 8 7913 10 7913 11 7913 22 7913 25 7913 26 7913 31 7913 42 7913 50 7913 51 7913 56 7913 57 7913 58 7913 59 7913 61 7913 62 7913 66 7913 67 7913 72 ...
You can easily change this by changing the when the condition in the instruction box.
concerning -
Game homepage has advertising column that is blocking the start of the game
I have two favorite whose home pages games I saved as shortcuts on my laptop. Before moving on to Firefox, I could start a game immediately upon entering the site. Now, whenever I have pull the games up, a column of annoying ads appears on the left side of the screen, blocking access to the start key to the free game. I could not find a way to remove this column.
https://adblockplus.org/en/about
https://addons.Mozilla.org/en-us/Firefox/addon/Adblock-Plus/?src=SS
-
Need to display more than two columns in the game now (library view)
The current reading list (under the library, not the instant game tab menu tab a top of the player) shows only two columns, the title and duration. I can't add more columns by selecting choose columns, or restore the columns. I have this problem with one of the entries in the left column of the display of the library (like, songs, recently added, etc.). Is there a way can I fix?
It's machine running a version of Windows XP on the computer and WMP11. I had Windows XP and media player 11 on my laptop for several years and have had this problem. I don't know what is different between the two machines that causes this problem.
Yes, it seems to be more at hand than just differences in operating system. However, I think I found a way to get more columns in the game now:
1 restart WMP, start to play music and go to playback.
2. click on the heading of column Title to sort by title.
3. switch to another view (for example songs ) and go back to playing now. You should already see the additional columns now.
4. to make the columns 'stick' between reboots WMP, you also needed to right click on the column header in the current playback, select Choose columns , uncheck automatically hide columns and click OK .
Tim Baets
http://www.BM-productions.TK -
By the way a column value to Javascript
Hi all
I have an interactive relationship with the following SQL:
Select
EmpNo,
Ename,
"< a href =" # "onclick = 'test ("show it");' > ' |" jobs jobs | "< /a > ' job
de)
Select 10 empno, ename 'John', 'Manager' of the double job
Union
Select the 20 empno, ename 'Bookmark', 'Clerk' double work
)
Here is the definition of the test() function:
< script type = "text/javascript" >
function test (x) {}
Window.Alert (x);
}
< /script >
The report works very well. I can click on the column values of work e.g. Manager, the value hardcoded clerk alerts and function 'show it '. I want to show the value of employment, so if I click Manager, the alert must be 'Manager' and if I click on clerk then the alert should be "clerk." I tried to call the function like test(#job#) but no use.
Help, please.
Thank you
ZKay wrote:
I have an interactive relationship with the following SQL:
Select
EmpNo,
Ename,
'' | job |'' as job
de)
Select 10 empno, ename 'John', 'Manager' of the double job
Union
Select the 20 empno, ename 'Bookmark', 'Clerk' double work
)
Here is the definition of the test() function:
function test(x) {
window.alert(x);
}
The report works very well. I can click on the column values of work e.g. Manager, the value hardcoded clerk alerts and function 'show it '. I want to show the value of employment, so if I click Manager, the alert must be 'Manager' and if I click on clerk then the alert should be "clerk." I tried to call the function like test(#job#) but no use.
It does not seem very useful, but all that is needed is to concatenate the value of employment in the event hours code:
select empno, ename, '' || job || '' as job from( select 10 empno, 'John' ename, 'Manager' job from dual union select 20 empno, 'Mark' ename, 'Clerk' job from dual )
-
By using the link in the column to pass column values
Hello
I have a link to the column in my report which opens a modal page, now I want to use the value of the column clicked in the page that opens.
I don't want to put any article on the opening page of the column value of click rather I want to use the value of the column of the click in my sql query.
for example:
1 P1 has the report < column link by clicking on it opens P2 >
2. on page 2, I want to use the value of the clicked column.
So far, I did
1 link to page 2
2. ask - #column_value_clicked #.
3. in the sql query, I use the same above in the where clause.
Any help...
Thank you
Rakesh
fac586 wrote:
Sunil Bhatia wrote:
Hi Rakesh,
Make use of x 01 parameter included in apex 5.0
You can create a URL to page 1 as:
f? p = 103:1:3241341234123: & x 01: #column_value_clicked #.
Make use on request P2 in the form:
Select * from test_table where id = APEX_APPLICATION. G_X01;
You have not tested who, did you?
I tested it buddy.
Link https://apex.oracle.com/pls/apex/f?p=56971
Click any bar chart and then wait that he freshen up.
Click on report of ENAME and see that he went through the parameter.
Report URL: f? p = 56971:2: & APP_SESSION. : No.: & x 01 = #ENAME #.
-Sunil Bhatia
-
Transpose the unique column values online
Hi all
How to transpose the values of one column in a row,
COL
1
2
3
4
5
6
7
8
and I want to convert this column into the line as follows:
Line (each in a separate column value). Number of values is not constant.
1,2,3,4,5,6,7,8
Solution without converting them to XML:
WITH row_values
AS (SELECT DISTINCT property_name,
column_order
OF v_rd_property_definition
WHERE lp_id = 5171
ORDER BY column_order)
SELECT Regexp_substr(Wm_concat(property_name), "[^,] +' 1, 1") AS col1,.
Regexp_substr (Wm_concat(property_name), "[^,] +' 1, 2"). AS col2.
Regexp_substr (Wm_concat(property_name), "[^,] +' 1, 3") AS col3.
Regexp_substr (Wm_concat(property_name), "[^,] +' 1, 4") AS col4,.
Regexp_substr (Wm_concat(property_name), "[^,] +' 1, 5") AS col5,.
Regexp_substr (Wm_concat(property_name), "[^,] +' 1, 6") AS col6,.
Regexp_substr (Wm_concat(property_name), "[^,] +' 1, 7") AS col7
OF row_values;
-
Compare the column values for multiple lines
I am new to oracle and I have a requirement to compare the values of column across multiple lines. If all column values are the same, I want to display that value, if the columns are not the same, I need to display 'no match' as value. I need id to group values and display a status value based on the above logic. Can anyone offer assistance with dispalying the result expected below?
Sample
Table
State ID
1 S
2 L
1 S
2 S
expected results
State ID
1 S
2 no match
Hello
That's what you asked for:
SELECT id
CASE
WHEN COUNT (DISTINCT status) > 1
THEN "no match."
For ANOTHER MIN (status)
The END as status
T
GROUP BY id
;
Want that if each State ID is NULL? The CASE expression above returns NULL in this situation.
-
How to display the database column value in a component of choice selected?
Hello everyone;
I use Jdeveloper 11.1.1.4 and right now I have the .jspx UI page that includes < af:selectonechoice / > components and according to the requirment I have to fill one of the column in the table in this drop-down list.
can someone tell me how to fill the database column value in this drop-down list. I know I need to create the VO for the same thing, but I'm new to this technology. Then please suggest.
Thanks in advance.,
This will help u
https://blogs.Oracle.com/prajkumar/entry/create_lov_in_adf_application
How to create LOV in ADF 11 g | Techartifact
Oracle Fusion Middleware Technologies: 11G: how to create a list of Values (LOV)?
http://www.baigzeeshan.com/2010/03/creating-lov-in-ADF-application.html
http://husaindalal.blogspot.de/2010/05/How-to-default-lov-with-its-first-value.html
-
A combine with other values of the column, the column values
Hi allI need your help on this. I have a req I need to combine values of a percentage to the values of column test column. Here are examples of data
Select decode('test',null,'ABC') abc, b.percent, b.amount
from tableA, tableB b
where id = b.id
Examples of data
Amount of the percentage TEST
ABC 0.3 10
ABC 0.5 20
ABC 0.2 30
After him combine the values of percentage to the ABC percentage column values must be zero
Desired output
Amount of the percentage TEST
ABC(30%) 10
ABC(50%) 20
ABC(20%) 30
Valuable suggestions are appreciated
Alter the query from Etbin with a trifle for the exact release.
with
t as
(select 'ABC' test, 0.3 percent, 10 amount of all the double union
Select 'ABC', 0.5, 20 double Union all
Select 'ABC', 0.2, 30 double
)
Select test | ' ('| to_char(100 * percent) |'%)' test, null as a percentage, the amount
t
-
Select the column values in the collection
Greetings,
I want to select column values from the collection (plsql tables or table), as the following code, would it be possible
Here tt is any collection
Select emp_no, name, date of birth, sal tt (1), tt (2), tt (3), tt (4) emp; -single line query
Select name, Department of justice, strength and dep_no in tt (5), tt (6), tt (7), tt (8) EMP; -single line query
Version
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
Thanks in advanceNot sure about your business needs. But technically you can do.
declare type tbl is table of number; lemp tbl := tbl(); begin lemp.extend; lemp.extend; lemp.extend; select empno , mgr , sal into lemp(1) , lemp(2) , lemp(3) from emp where empno = 7369; for i in 1..lemp.count loop dbms_output.put_line(to_char(lemp(i))); end loop; end;
-
using column value in a CSS Style for the column in the report
I am trying to apply a style CSS (background color) to a column in a report based on another column.
So the attributes column for a specific column, I would like to be able to add this to the "CSS Style" field under the group, "formatting of column:
background-color: #BKG_COLOR #;
It seems not to take my column value, which is #daf2ea
In the field of Style CSS, if I change it to: background-color: #daf2ea - so it works.
So he doesn't seem to take my #BKG_COLOR column value' in the field of Style CSS.
Any ideas? What do I have to use the "HTML Expression" field instead, and how could I do?
Thank you
Johnjfosteroracle wrote:
I am trying to apply a style CSS (background color) to a column in a report based on another column.So the attributes column for a specific column, I would like to be able to add this to the "CSS Style" field under the group, "formatting of column:
background-color: #BKG_COLOR #;
It seems not to take my column value, which is #daf2ea
In the field of Style CSS, if I change it to: background-color: #daf2ea - so it works.
So he doesn't seem to take my #BKG_COLOR column value' in the field of Style CSS.
Any ideas? What do I have to use the "HTML Expression" field instead, and how could I do?
Don't believe that * CSS Style * supports the substitution of the column.
You can use * HTML Expression: *
{code}
#OTHER_COLUMN #.
{code}
However the two this and * CSS Style * apply a style to a span element in the cell of the report, rather than the whole cell, which is what everyone expects in general / wants. To apply background color to the cell, you must use a custom report named column model: + {message identifier: = 9908585} +. -
Replacing column values to display in the view layer
1. I have a table of database containing the values of column as 'Q' (to quit), 'R' (for the race), the status of 'F' (for Failed). I want to show the values in the table on the user interface. Rather than show the values as Q/R/F, I need to show the Quit/Running/failure values in the user interface. I also need to update the column values based on action by the user in the user interface and later committed to DB.
Can someone suggest me a way to achieve this "translation of value column in the user interface layer?
2. a requirement more, that's that, I need to analyze the value of a column in a conditional manner and show the content derived in other columns in the same row (only in the user interface for the convenience of the user layer).
Ex: Column A contains: abc >: < 123 >: < pqr >
I need to analyze the value of this column and show < abc > in the column X, < 123 > in the column Y, < pqr > in the column out Z actually change the entries in the cache of the OS (since I need to validate any changes to DB later).
Please suggest me the best approach to achieve the above two conditions.Yes...
Add the function according to the jsp:root tag jstl library. Add jstl life library project controllerxmlns:fn =http://java.sun.com/jsp/jstl/functions
and proceed to
http://download.Oracle.com/javaee/5/JSTL/1.1/docs/tlddocs/fn/split.fn.htmlText = "#{fn:split('value',':')}.
-
Javascript reference the column value
Hi all
I have a JavaScript function defined that I try to get a column value to, but get an error in Firebug.
Here is my selection where I try passing the value.
(There is no space in the onclick and style, but it would not show correctly here)select '<div o nclick="showdetail(this,'||'#ROWNUM#,'||'#PRIMARY#)" st yle="cursor:hand;cursor:pointer;text-decoration:underline;font-weight:bold;">Show</div>' Details, ... from ...
Error readings of Firebug, character not in line showdetail(this,10,#PRIMARY#)
Any help is appreciated.
Thank you
-ChrisHello
Is PRIMARY_NM number of value?
If it is not thenselect '
[+]' Details, ... from ...Kind regards
Jari -
Change column values become the row values
Hi, how to make the column values become row values as below, please advise and thanks. SELECT sc.configuration, sc.item_type, st.producttype, st.productfamily, sc.multidrive, sp.internalproductname FROM seaeng_productmodel sp , seaeng_stmodel st, seaeng_ccitemnumber sc WHERE sc.productmodelnumber = sp.productmodelnumber AND sp.stmodelnumber = st.stmodelnumber and sc.ccitemnumber = '9NH2D4-575' Output CONFIGURATION ITEM_TYPE PRODUCTTYPE PRODUCTFAMILY MULTIDRIVE INTERNALPRODUCTNAME CUST UNIQUE CC DRIVE FREEAGENT GO 5400.1 FAMILY N SLIPSTREAM Expected to be converted as below, COLUMN NAME COLUMN VALUE CONFIGURATION CUST UNIQUE ITEM_TYPE CC PRODUCTYPE DRIVE PRODUCTFAMILY FREEAGENT GO 5400.1 FAMILY MULTIDRIVE N INTERNALPRODUCTNAME SLIPSTREAM
You mean like this?
SQL> select * from emp where empno = 7788; EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO ---------- ---------- --------- ---------- ------------------- ---------- ---------- ---------- 7788 SCOTT ANALYST 7566 19/04/1987 00:00:00 3000 20 SQL> ed Wrote file afiedt.buf 1 select decode(rn,1,'EmpNo',2,'EName',3,'Job',4,'Mgr',5,'HireDate',6,'Sal',7,'Comm','DeptNo') as column_name 2 ,decode(rn,1,to_char(EmpNo),2,EName,3,Job,4,to_char(Mgr),5,to_char(HireDate,'DD/MM/YYYY'),6,to_char(Sal),7,to_char(Comm),to_char(DeptNo)) as column_value 3 from emp, (select rownum rn from dual connect by rownum <= 8) 4* where empno = 7788 SQL> / COLUMN_N COLUMN_VALUE -------- ---------------------------------------- EmpNo 7788 EName SCOTT Job ANALYST Mgr 7566 HireDate 19/04/1987 Sal 3000 Comm DeptNo 20 8 rows selected. SQL>
-
Convert the column values into buckets
Hello
Please help me to convert the column values into buckets.
I have the values of the columns in the following way.
Age of Orderdate * 9 10 12 14 15 18 19 20 21 22 26 27 28 29 33 34 40 45 * and so on
But the requirement is the column values should be displayed in form
Age by order date * 15 1 2 3 4 5 6 7 8 9 10 11 - 16-20 21-25, 26-30 30 + *.
Please someone give me the solution.
Thanks in advance.
Hervé RamaHi Richard,
Just to double check, you have Setup buckets for 1, 2, 3, 4, 5, 6, 7 and 8 individually (each with a fair value). The problem is that you simply do not have all data fall into buckets above, correct?
If this is the case, it looks like has been answered your original question. If so, the label would assign 'Proper' points by clicking on the button label correct next to the appropriate response and open a new thread with your new question. The reason why I say this is it will help other people who have a similar bucket question to your solution, without complicating the issue with subsequent questions.
If you can post a separate thread, I'd be more than happy to help you with your secondary problem.
Best regards
-Joe
Maybe you are looking for
-
Qosmio F60: EasyControl bar no longer works after reinstall OS own
Recently I did a clean reinstall of Windows 7 (64-bit), so miss me all the bundled Toshiba software. On my Qosmio F60 EasyControl bar no longer works accordingly (the buttons work again, they just don't have any effect on the volume, mute etc..). Doe
-
Sending data through the serial port and the mscomm control is not the same as the original data
Please find attached the mscomSerialWrite2.vi and the resulting image. Try it and find that when data "FFAE" 4040 EA41 D8FF is sent, the received data are "FFAE" 4040 EA41 3F I tried other data, the result is as follows: sending: 4164 8163 4341 03 re
-
I have keywords to create filenames for the photos and I accidentally used the capsules previously. Now I can't use these same keywords without the caps version again all set a keyword that normally capitalized. I tried to remove items suggested in L
-
Content gets over top of my bar Web site when I scroll down
Hello!I've pinned a file svg (black bar) on the upper part of my Web site and the content gets on top of that when I scroll down. Funny, is that sometimes it doesn't work when I'm notTap the bar with the cursor buttons. Also the buttons do not, work
-
OpenScript / database: String obtained from the data bank cannot be used for parameters
Hello I add a jar to java code OpenScript file. Since the need to enter the settings of the front console run the jar file, I think that it can read the settings from the database and then run it as "java-jar filename.jar para1, para2 para3", 2 3 par