retrieve the value from the base to the element
Hi allI use the following code to retrieve the value in an element.
Select distinct (tsccod_0) 'name of the group. "
apex_item. RadioGroup (1, tsccod_0, null, null,'onclick = s("P2_PK","'||)) $ tsccod_0 |' «);') » Select"in vw_grpclient;
But if the value in the tsccod_0 column is to have a space, for example: xxx xxxx xxxx he doesn't value, instead, which gives an error.
What should I do if the value is to have spaces. Something that I'm missing that I don't know about?
Thanks in advance
Good bye
Sonny_starck
Hello
I don't know why space should make any difference, but I've updated the sql statement for:
select APEX_ITEM.RADIOGROUP (1,ename,null,null,'onclick=$s("P3_PK",this.value);') emp,
ename,
empno,
job,
mgr,
hiredate,
sal,
comm,
deptno
from sampemp
and this seems to have fixed
Andy
Tags: Database
Similar Questions
-
Retrieve the element of the SOAP response
Hello world
DB version 11.2.0.4
Tool: pl/sql developer
How can I retrieve the element of NfeLinkDanfe by using the xmlQuery? It is a SOAP response...
With this query, I can retrieve the node "SOAP - ENV:Body", but I Don t know how to get an attribute of the child:
Select (xmlcast)
XMLQUERY)
' declare namespace SOAP-ENV = "http://schemas.xmlsoap.org/soap/envelope/"; (:
declare namespace xx = "GXX_KB001_v2.1.0.0"; (:
/ SOAP-ENV:Envelope/SOAP-ENV:Body/WSRecepcaoNFe.ExecuteResponse'
from t.a.
contents of return
)
as varchar2 (100)
)
of tmp_xml t
It's the soap response:
" < SOAP - ENV:Envelope xmlns:SOAP - ENV =" http://schemas.xmlsoap.org/SOAP/envelope/ "
" container = ' http://www.w3.org/2001/XMLSchema "
" xmlns:SOAP - ENC =" http://schemas.xmlsoap.org/SOAP/encoding/ "
" xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance ">
< SOAP - ENV:Body >
< WSRNF. ExecuteResponse xmlns = "GXX_YYY_v1" >
< Retornows >
< Message >
< Code > 500 < / code >
< message > xxxxxxxx! < / Mensagem >
< / Mensagem >
< NotasFiscais >
< NFe >
< NfeNumero > 123458 < / NfeNumero >
< NfeSerie > 123 < / NfeSerie >
< NfeChaAcesso > 43130806354976000149551230001234581000009575 < / NfeChaAcesso >
< NfeLinkDanfe > https://hml.com/hnfe055.aspx?RomMsABbcWZNFMWmvpu8Cky0j6BoT8JvrPTqRtREFzYC10ULxD4eFTdP< / NfeLinkDanfe >
< NfeLinkXML > https://192.168.1.20 HML.com hnfe055.aspx
? RomMsABbcWZNFMWmvpu8Cky0j6BoT8JvrPTqRtREFzYaqLRr % 2fXw74KgR< / NfeLinkXML >< NfeMensagem / >
< SitGNFe >
< SitStatus > 3 < / SitStatus >
< SitProcessamento > P < / SitProcessamento >
< / SitGNFe >
< SitSEFAZ >
< SitCodigo > 100 < / SitCodigo >
< SitDescricao > smoking o uso da NF-e < / SitDescricao >
< / SitSEFAZ >
< / CHILD >
< / NotasFiscais >
< / Retornows >
< / WSRNF. ExecuteResponse >
< / SOAP - ENV:Body >
< / SOAP - ENV:Envelope >
Thanks in advance!
Henderson
Just specify the full path to the item of interest and be careful with the namespaces:
Select (xmlcast)
XMLQUERY)
' declare SOAP namespace = "http://schemas.xmlsoap.org/soap/envelope/"; (::)
declare default element names 'GXX_YYY_v1 '; (::)
/SOAP:envelope / soap: Body / WSRNF. ExecuteResponse/Retornows/NotasFiscais/ENF/NfeLinkDanfe '
in passing t.object_value
contents of return
)
as varchar2 (100)
)
of tmp_xml t.
-
Copy the value from one point to another element
Hi all
I have a few items of data selector and a check point, now I want to copy the value of the element selector data for other transmissions of data selector by clicking on the chechbox, an example of javascript?
Thank you
DeepDeep,
So the objective is to copy a single date field in several date fields? try this out...
See you soon,.
Janet Tyson
Published by: Tyson Janet on April 20, 2009 14:05
-
Set the value from one point to another element at run time
Hello
I use APEX 4.2
My question is on the same page, we form another, I create two region region html
I'm filling out the form and press on create button then the value created by primary key must be in
page HTML element area (whereas it only displays in editable form mode)
I want after click on create region html button get refreshed and value should appear displaying the only element of the page
any idea?
Thank you
go
Hi, go,
I modified your page, I just created the sub process of PL/SQL after the presents.
Start
Select empno in: P3_EMPNO from emp where ename =: P3_ENAME;
END;
It assigns the value to point P3_EMPNO and session as well. Initially the P3_EMPNO point value is not inserted into the session.
Please check and let me know.
Thank you
Lacombe
-
Hallo,
I defined a VO with 3 fields (A, B and C) and I would like to create a SelectOneChoiche that shows only the field as options from this instance of VO.
In a managed bean, I need to retrieve the values for all areas (A, B and C) of the item selected by the user.
I started dragging the entire VO instance to UI to create a SelectOneChoiche (in which I have chosen to show only the to field).
Then, I created a for the SOC ValueChangeListener read the values A, B and C of the selected element, but the only thing I've done is to get the displayed value:
System.out.println((String) ((RichSelectOneChoice) FacesUtils.findComponent("MySoc")).getValue());
You kindly help me?
Thank you
Federico
Federico, sorry I didn't see your answer.
As you use 12.1.3 you can do this more easily than the code that I posted before. You can use
{} public void onCountrySelection (ValueChangeEvent valueChangeEvent)
FacesContext will involve = FacesContext.getCurrentInstance ();
Make sure that the selection change is processed and the current link lov line has the new selected line
valueChangeEvent.getComponent () .processUpdates (contxt);
BindingContext lBindingContext = BindingContext.getCurrent ();
BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry ();
List JUCtrlListBinding = lBindingContainer.get ("CountryId") (JUCtrlListBinding);
the newindex in not necessary, but ok let's get it (must be equal to the CountryId, the pharmacokinetics of the binding of the lov
String newindex = (String) valueChangeEvent.getNewValue ();
get the selected value in the list that is the selected line of the binding of the lov
Line lFromList = list.getSelectedValue () (line);
now, we can get the attributes of the line of lov
String s = (String) lFromList.getAttribute ("CountryId");
System.out.println ("CountryId:" + s);
String s2 = (String) lFromList.getAttribute ("CountryName");
System.out.println ("CountryName:" + s2);
BigDecimal s3 = lFromList.getAttribute("RegionId") (BigDecimal);
System.out.println ("RegionId:" + s3.toString ());
}
The form that I use is based on the location of the HR DB schema table. The CountryId is configured in the view object to display a lov based on the campagneVoir. This view contains thre CountryId, CountryName and RegionId attributes.
If you want to get to the attributes of an action listener you can use this code
{} public void onGetSelectedCountryLov (ActionEvent actionEvent)
BindingContext lBindingContext = BindingContext.getCurrent ();
BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry ();
List JUCtrlListBinding = lBindingContainer.get ("CountryId") (JUCtrlListBinding);
get the selected value in the list that is the selected line of the binding of the lov
Line lFromList = list.getSelectedValue () (line);
now, we can get the attributes of the line of lov
String s = (String) lFromList.getAttribute ("CountryId");
System.out.println ("CountryId:" + s);
String s2 = (String) lFromList.getAttribute ("CountryName");
System.out.println ("CountryName:" + s2);
BigDecimal s3 = lFromList.getAttribute("RegionId") (BigDecimal);
System.out.println ("RegionId:" + s3.toString ());
}
You must add the valueChangeListener and at least add the lines
FacesContext will involve = FacesContext.getCurrentInstance ();
Make sure that the selection change is processed and the current link lov line has the new selected line
valueChangeEvent.getComponent () .processUpdates (contxt);
to ensure that the selected line is available when you click the button.
And set autosubmit'= true for the field in the UI that displays the LOV.
Timo
-
How to retrieve the value of base on the value on other nodes
Hi, I have a XML below
<? XML version = "1.0" encoding = "iso-8859-1"? > <? XML-stylesheet type = "text/xsl" href="C:\temp\horizontal.xsl"? " >
< Type report = "REPORT" >
< prop Type = 'Result' Flags = "0 x 0" > "
< prop Name = 'STEP' Type = "Obj" Flags = "0 x 0" > "
< prop Name = 'Sequence' >
< prop Name = 'RList' >
< ArrayElementPrototype Type = "TEResult" Flags = "0 x 0" > "
< / ArrayElementPrototype >
< value ID "[0]" = >
< prop Type = 'Result' Flags = "0 x 0" > "
< prop Name = "Status" Type = "String" Flags = "0x400000" > "
< value > < / value >
< / prop >
< prop Name = "ReportText" Type = "String" Flags = "0x400000" > "
< value > < / value >
< / prop >
< prop Name = "Common" Type = "Obj" TypeName = "CommonResults" Flags = "0 x 0" > "
< / prop >
< / prop >
< / value >
< value ID "[60]" = > = > ID is not set
< prop Type = 'Result' Flags = "0 x 0" > "
< prop Name = "Error" Type = "Obj" TypeName = "Error" Flags = "0x400000" > "
< prop Name = "Code" Type = "Number" Flags = "0x400000" > "
< value > 0 < / value >
< / prop >
< prop Name = "Msg" Type = "String" Flags = "0x400000" > "
< value > < / value >
< / prop >
< prop Name = "occurred" Type = "Boolean" Flags = "0x400000" > "
< value > false < / value >
< / prop >
< / prop >
< prop Name = "Status" Type = "String" Flags = "0x400000" > "
< value > spent < / value >
< / prop >
< prop Name = "Numeric" Type = "Number" NumFmt = "%i" Flags = "0 x 2400" > "
< Value > * 88 * < / value > = > value I want back
< / prop >
< prop Name = "ReportText" Type = "String" Flags = "0x400000" > "
< value > < / value >
< / prop >
< prop Name = "Common" Type = "Obj" TypeName = "CommonResults" Flags = "0 x 0" > "
< / prop >
< prop Name = "Units" Type = "String" Flags = "0x2000" > "
< Value >TESTDATA< / value > = > basic data
< / prop >
< / prop >
< / value >
< / prop >
< / prop >
< / prop >
< / prop >
< / report >
I want to retrieve the value 88 the TESTDATA found in this node, can someone show me how to recover?
Thank you
Vincent
Published by: pj * April 29, 2011 01:14Yes, it is possible, but the query will be slightly less effective.
SELECT XMLQuery( 'for $i in $d/descendant::Value/Prop where $i/Prop[@Name="Units"]/Value = $PropValue return $i/Prop[@Name="Numeric"]/Value/text()' passing t.object_value as "d" , sys_xmlgen('TESTDATA') as "PropValue" returning content ).getNumberVal() as result FROM test_xml t ;
-
Impossible to retrieve the return value of function from pl/sql using the DB adapter
Dear Experts,
I use the DB adapter in my BPEL process. Using the DB adapter I invoke a PL / SQL function. I am able to send two input parameters for the pl/sql function. But I do not know how to retrieve the return value of the function. Please suggest me.
Thank you
RajeshCan you tell how pl/sql function looks like you? you return the value of the function, right?
-
Retrieve the value of Dialog.ask
I am trying to write a function that will create a context menu using Dialog.ask and return the result of the dialog box to the calling Thread. So far I have somethings like this:
//display a pop-up "Yes or No" box and return true for yes, false for no public boolean ask(final String question){ UiApplication.getUiApplication().invokeLater (new Runnable(){ public void run(){ int answer = Dialog.ask(Dialog.D_YES_NO, question, Dialog.NO); if(answer == Dialog.YES){ //somehow return true } else{ //somehow return false } }}); }
I've seen a similar thread, but I didn't know how to use the solution.
In short, how to use DialogClosedListener to retrieve the value of Dialog.ask to ?
First of all, you probably want to use invokeAndWait so that the calling thread is blocked until the Runnable.run () ends. After that, one solution is to store the result of somewhere. For example, the subclass of the floor and add a field where you store the value (a more general concept of an executable that can return a value in J2SE is the future, but it is not available out of the box in J2ME). Once completed invokeAndWait, you can read this field. Alternatively, you may return the value by changing something in the outer class (one that contstructs the Runnable). For example,.
final int[] result = new int[1]; UiApplication.getUiApplication().invokeAndWait(new Runnable() { public void run() { result[0] = Dialog.ask(...); } }); int choice = result[0]; ...
-
search form Web apps: how to retrieve the value of the data-source type field
Hello
My question is:
How can I retrieve the value of the source field of a web - app data-types when you insert the "form web search apps" on a web page.
I have a web application that contains fields from the data source of the type. These fields to recover the (data) value of the 'web app' - 'elements of the field' field of another web application.
When I insert the form
Web apps
Web apps-search form
Name of the Web application
It displays the fields with the field (ie. string, number) types other than type of field 'data source '.
(Note: in the mode 'model of list' module of data tags, the fields of the data source are visible).
What other (alternative) possibilities are there to create a search form?
Thanks for your help.
Kind regards
Carla
By chance, I came up with this workaround. Of course there are other methods to get your data from a web - app, but if you want to use the 'Web apps search form', it would be a workaround.
I noticed that the "Web apps entry form" contains all the fields of web applications for your web application (including the fields of the data source).
It is possible to add the fields to the form of the "Web apps entry form" in the «Web apps search form»
If you insert the "Web apps entry form" on a blank page, you will see all the fields in your web App including the "data source fields. The names of form fields contain something like.
-
In a Web app "Listing", I've created several fields with the type of field "datasource". After making the data on an Internet site the output in html code changes. The value is retrieved from the field in the data source, but also the 'href' link - code. It interferes with my markup schema.org.
Is there a way only to retrieve the datasource value?
Thanks in advance for any help.
Krgds Carla@home
I finally found the answer in the documentation on: http://docs.businesscatalyst.com/reference/liquid/filters.html
How to remove HTML code
that is, if you want to remove the
-tag, you use the command:
{{ '
My paragraph
' | strip_html }}the above code removes the HTML of the string and outputs 'my paragraph.
-
How to retrieve the values of character without using single quotes
Hi all
How to retrieve the values of character without the use of single quotes. Its Possible in Oracle SQL
Please answer me...
For example
Is actual query-> Select * from employees where name like in("SCOTT", "JAMES", "ALBERT",...);
I want to--> Select * from employees where name like(SCOTT, JAMES, ALBERT...); -without the use of single quotes.
Why I need this application, I need to retrieve the records more than 200 employees in a select statement by using name in where clause.
shagarmahabubjan wrote:
Hi all
How to retrieve the values of character without the use of single quotes. Its Possible in Oracle SQL
Please answer me...
For example
Actual query is---> Select * from employees where name like in("SCOTT", "JAMES", "ALBERT",...);
I want to---> Select * from employees where name like(SCOTT, JAMES, ALBERT...); -without the use of single quotes.
Why I need this application, I need to retrieve the records more than 200 employees in a select statement by using name in where clause.
In short... you can't. The channels are channels, and SQL and PL languages dictate that the string literals are provided within single quotes.
I don't see how trying to retrieve more than 200 records of employees in the select statement means that you must get rid of the quotes.
Be clear in what you ask: Re: 2. How can I ask a question on the forums?
and take note of the FAQ link davidp provided the solution "variable IN the list.
-
Retrieve the value of the session of statistics_level
Hello
is there a way to retrieve the current value (i.e. session) of the parameter statistics_level when the user does not have access to the parameter$ v?
I need to do that through JDBC if all SQL * more order is not an option
Ideally, a solution that works on 10.x and 11.x
The reason why I need this, is that I want to change the level of 'all' but change back to the original value after my program is done.
I would like to avoid re - connect in order to reset this value.
Thank youI'm curious to know why you want to change the parameter STATISTICS_LEVEL across the session. There is probably a good reason for the change, but the WHOLE setting can cause significant performance problems (10.x seems to be more affected by the change, more noticeable with Oracle database type nested loops joins).
If your session is allowed to query V$ SES_OPTIMIZER_ENV, you can determine the current value of the parameter STATISTICS_LEVEL of the session:
SELECT SID, NAME, VALUE FROM V$SES_OPTIMIZER_ENV WHERE NAME='statistics_level' ORDER BY SID; SID NAME VALUE --- -------------------- ------- 1 statistics_level typical 2 statistics_level typical 3 statistics_level typical 32 statistics_level typical 63 statistics_level typical 64 statistics_level typical 65 statistics_level typical 94 statistics_level typical 95 statistics_level typical 96 statistics_level typical 125 statistics_level typical 126 statistics_level typical 127 statistics_level typical 128 statistics_level basic 129 statistics_level typical 156 statistics_level typical 157 statistics_level typical 158 statistics_level typical 161 statistics_level typical 187 statistics_level typical 188 statistics_level typical 189 statistics_level typical 190 statistics_level basic 191 statistics_level typical 192 statistics_level basic 218 statistics_level typical 219 statistics_level typical 220 statistics_level basic 221 statistics_level basic 222 statistics_level typical
Otherwise, specific to the current session:
SELECT SID, NAME, VALUE FROM V$SES_OPTIMIZER_ENV WHERE NAME='statistics_level' AND SID= (SELECT SID FROM V$MYSTAT WHERE ROWNUM=1); SID NAME VALUE --- -------------------- ------- 65 statistics_level typical
Charles Hooper
http://hoopercharles.WordPress.com/
IT Manager/Oracle DBA
K & M-making Machine, Inc. -
How to retrieve the XML values in a plsql table type
Hello
I have an XML doc as below which is a Web Service response message.
<? XML version = "1.0" encoding = "UTF-8"? >
< SOAP - ENV:Envelope
xmlns:SOAP - ENV = "http://schemas.xmlsoap.org/soap/envelope/".
container = "http://www.w3.org/2001/XMLSchema".
xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" >
< SOAP - ENV:Body >
< GetOrgInput xmlns = "http://www.example.org/ComplianceServices" >
< ProgramName > PgmA-Srsf < / ProgramName >
< > 800 ADSL ItemName < / ItemName >
< org > 923 < / org >
< org > 1163 < / org >
< org > 1103 < / org >
< / GetOrgInput >
< / SOAP - ENV:Body >
< / SOAP - ENV:Envelope >
The doc above, you could see that I have several occurrences of the element "Ent". I usually use the .extract and. getSTringVal() to retrieve the values as below.
l_string_variable: = p_response.doc.extract ('/ /'| p_name |) ' /Child::Text()',p_namespace).getStringVal();
But in this case if I do that, I get value as 92311631103. I need to get them in a table of the number type. Pls advice me on how to do this.
Thank you
PKVI'm guessing it's a bug fixed when Oracle 10.2 is released. I can reproduce your lack of results on 10.1.0.4 and as shown in my post above, it works correctly on 10.2.0.4.
Here is a modification of the script that shows what is happening that I have that debugging. (It took me a bit to realize the difference that it wasn't what I was expecting)
declare p_response_doc XMLTYPE; l_new_doc XMLTYPE; begin p_response_doc := XMLTYPE('
1163 1103 10.2.0.4 on this product
1163 1103 before loop1163 1103 After outputIt produces on 10.1.0.4
1163 1103 before loop 1163 1103 After outputAs you can see, Oracle is to detach (well technically not add) the space of default names to the nodes retrieved. To compensate, you need to change your loop to look like
FOR r_rec IN (SELECT extractvalue(value(t) , '/CompliantOrgs') val -- , 'xmlns="http://www.example.org/ComplianceServices"' ) val -- BULK COLLECT INTO l_nm_array FROM TABLE( XMLSequence( p_response_doc.extract('//CompliantOrgs','xmlns="http://www.example.org/ComplianceServices"') ) ) t ) LOOP
so extractValue does not expect the namespaces associated with the nodes.
I would suggest you document it so that you know why things break if you upgrade to 10.2 or later at some point in the future.
-
How to retrieve the value of the attribute-based
Hello
I save our file XML in a clob field.
The contend of the XML file is as below
< Reports >
"< report Type = 'USE' Title = 'USE report' Link="-1-2010-11-2-0-39-48-750 ' UUTResult = 'Fail' StepCount '69' = >
< prop Name = 'USE' Type = "Obj" TypeName = "USE" Flags = "0 x 0" >
< prop Name = "Serial number" Type = "String" Flags = "0 x 0" >
< value > 20302884 < / value >
< / prop >
< prop Name = "UUTLoopIndex" Type = "Number" Flags = "0 x 0" >
< value > 2 < / value >
< / prop >
< prop Name = "CriticalFailureStack" Type = "Array" LBound = HBound "[0]" = "[1]" ElementType = "Obj" Flags = "0 x 0" >
< ArrayElementPrototype Type = "Obj" TypeName = "NI_CriticalFailureStackEntry" Flags = "0 x 0" >
< prop Name = "StepName" Type = "String" Flags = "0 x 0" >
< value > < / value >
< / prop >
< prop Name = "SequenceName" Type = "String" Flags = "0 x 0" >
< value > < / value >
< / prop >
< prop Name = "SequenceFileName" Type = "String" Flags = "0 x 0" >
< value > < / value >
< / prop >
< prop Name = "Result identifier" Type = "Number" Flags = "0 x 0" >
< value > 0 < / value >
< / prop >
< / ArrayElementPrototype >
< value ID "[0]" = >
< prop Type = "Obj" TypeName = "* NI_CriticalFailureStackEntry *" Flags = "0 x 0" > ""
< prop Name = "StepName" Type = "String" Flags = "0 x 0" >
< Value >pre-program test< / value >
< / prop >
< prop Name = "SequenceName" Type = "String" Flags = "0 x 0" >
< value > MainSequence < / value >
< / prop >
< prop Name = "SequenceFileName" Type = "String" Flags = "0 x 0" >
< value > Challenger_Phase1.seq < / value >
< / prop >
< prop Name = "Result identifier" Type = "Number" Flags = "0 x 0" >
< value > 368 < / value >
< / prop >
< / prop >
< / value >
< value ID "[1]" = >
< prop Type = "Obj" TypeName = "* NI_CriticalFailureStackEntry *" Flags = "0 x 0" > ""
< prop Name = "StepName" Type = "String" Flags = "0 x 0" >
< Value >regulator LogicReg< / value >
< / prop >
< prop Name = "SequenceName" Type = "String" Flags = "0 x 0" >
< value > pre-program test < / value >
< / prop >
< prop Name = "SequenceFileName" Type = "String" Flags = "0 x 0" >
< value > Challenger_Phase1.seq < / value >
< / prop >
< prop Name = "Result identifier" Type = "Number" Flags = "0 x 0" >
< value > 371 < / value >
< / prop >
< / prop >
< / value >
< / prop >
< / prop >
< / report >
< / Reports >
Can someone guide me how can I retrieve the value of the Prop Name = "StepName", i.e. "Before the program tests" and "LogicReg regulator", which is 1 level under the TypeName = "NI_CriticalFailureStackEntry." I extracted the part of XML code below
< prop Type = "Obj" TypeName = "NI_CriticalFailureStackEntry" Flags = "0 x 0" >
< prop Name = "StepName" Type = "String" Flags = "0 x 0" >
< value > pre-program test < / value >
< / prop >
and
< prop Type = "Obj" TypeName = "NI_CriticalFailureStackEntry" Flags = "0 x 0" >
< prop Name = "StepName" Type = "String" Flags = "0 x 0" >
Regulator LogicReg < value > < / value >
< / prop >
Thank you
VincentPJ * wrote:
I save our file XML in a clob field.If you still have the choice, you should consider storing XML data in XMLType column.
For the moment, assume that the XML data resides in the CLOB SAMPLE_TABLE column. DOC:
You can use XMLTable to break a sequence of XML elements in columns and relational rows:
SQL> select x.* 2 from sample_table t, 3 xmltable( 4 '//Prop[@TypeName="NI_CriticalFailureStackEntry"]/Prop[@Name="StepName"]' 5 passing xmltype(t.doc) 6 columns num for ordinality, 7 val varchar2(100) path 'Value' 8 ) x 9 ; NUM VAL ---------- ----------------------------------- 1 Pre-program tests 2 Regulator LogicReg
XMLQuery or to extract it as a string:
SQL> select xmlquery( 2 'string-join(//Prop[@TypeName="NI_CriticalFailureStackEntry"]/Prop[@Name="StepName"], "|")' 3 passing xmltype(t.doc) 4 returning content 5 ).getstringval() as "RESULT" 6 from sample_table t 7 ; RESULT ---------------------------------------------- Pre-program tests|Regulator LogicReg
-
Passing values from one page to the other
Hello
I have two code coldfusion pages, a page how to display the form and another is the action of the form code. I want to create another page, so that if the user hits the edit button, it is taken to a page where the user of the same form with entries filled beforehand for some areas and the remaining fields are uneditable, i.e. they give the value in the database for the current entry, as it is.
Should I access the values of the database, if so, HOW? And if not, HOW?
Thank you
vijayvijay77.
IF you aready accessible data on the previous page, you can store the data in a persistent scope (session, application, server) where it can be reused on other pages without a trip back to the database.
IF you have not yet accessed the data, then passing a key via a GET (URL alias) or variable POST (aka SHAPE) allows easy access to a query to retrieve the desired data from the database to fill in the form.
The use cases have good discussion with examples in the ColdFusion Developer Guide.
http://livedocs.Adobe.com/ColdFusion/8/htmldocs/Part_4_CF_DevGuide_1.html
Maybe you are looking for
-
Do you know what are the next countries in which Apple will be active ads search in the store?
Search ads will launch next October 5th at the United States and I would like to now who are the next countries and when they will be open. Thank you!
-
Firefox infected by external advertising
My Firefox has been infected with external advertisements. I'm in the United Kingdom, but the ads are for U.S. goods and generally for diet pills, face lifts sites to earn money. Ads on occult a widow/s and if a adblocker is used the Exchange to the
-
Satellite L300 - wireless not working do not at all
Hello world IM new here and my name is Jodie. My husband and I bought new computers laptop a few weeks ago, Satellite L300. On my husband a wireless just stopped working, the switch is on but no lights appear. I tried FN and F8 says the Wireless does
-
358NR HP 2000: POWER ON PASSWORD ADMINISTRATOR
I GOT A LAPTOP AT A YARD SALE AND CANNOT BE OPENED BECAUSE OF THE POWER OF ADMINISTRATOR ON DISABLE PASSWORD CODE IS 54389498. THANKS IN ADVANCE
-
Read all LVM files in a folder and compile
Hello I want to read all the LVM files in a folder as shown in Figure 1. In each file LVM, there is a row of data that are important, like on the picture 2. I want to extract only the rank of value in all the files this particular file LVM. Then I wa