I am not able to read the xslt table column value.
Hi,
I have the scenario like this.
I have two irpt pages first.irpt and second.irpt and saperate xslt tables for each page and common js file for two pages.
when I click on first.irpt page xslt table row that opens the second.irpt as a popup window then I click on the column in second.irpt xslt row after that column value should be inserted in to first.irpt xslt table column.
In above I have done everything except I am not able to update the first.irpt xslt table column as Even I am not able to read that value.
For your reference:
/* This function will be called when we select the row in first.irpt xslt table here SelectBatch_b.irpt means second.irpt
function getBatch(row)
var id=row;
var material=document.getElementById('Material_'+row).value;
var location=document.getElementById('StoreLoc_'+row).value;
var plant=1000;
var strUrl = "SelectBatch_b.irpt";
strUrl = "?plant="plant"&""location="location"&""material="material;
window.open (strUrl,"mywindow");
/*This function will be called when we select the row in second.irpt (SelectBatch_b.irpt)
function getBatchID(row)
var Batch=document.getElementById('Batch_'+row).value; // reading second.irpt xslt table column value
document.getElementById('Batchc1').value=Batch; // reading first.irpt xslt table column value and inserting.
window.close(); // here I am getting error like object expected.
Please help me in this .
Edited by: rajkumar12345 on Feb 29, 2012 1:45 PM
Hi Rajkumar,
Please find below the method to pass the variable back and forth in .irpt page.
First Page:
var Toaccessinchildpage = "value";
function getBatch(row)
var id=row;
var material=document.getElementById('Material_'+row).value;
var location=document.getElementById('StoreLoc_'+row).value;
var plant=1000;
var strUrl = "SelectBatch_b.irpt";
strUrl += "?plant="plant"&"+"location="location"&"+"material="+material;
window.open (strUrl,"mywindow");
function populate(strBatch)
document.getElementById('Batchc1').value=strBatch;
Second Page:
function getBatchID(row)
var Batch=document.getElementById('Batch_'+row).value;
window.opener.populate(Batch);
window.close();
You have to call parent page function from child page.
No need to use common js.
If you want to access variable from parent page use
window.opener.<variable name>.
Example
window.opener.Toaccessinchildpage
You have to declare that variable as global variable in Parent page js file.
Refer First page code.
Regards,
Selva
Similar Messages
-
Not able to read the wsdl file from server Premature EOF encounter
Hi All,
I am facing issue while accessing a web Service from server. Here is the clear view about it.
I created a simple SyncBpel process in a composite and deployed in to the server and it is working fine. Later i created a new Asyn bpel process in a composite and in the external reference i dragged a web Service and imported the wsdl url from server of the SyncBpel and wired the Asynbpel process to webserive .
Now here i am facing peculiar behavior which i am not able to trace it out.
1) For the first time when i import the url of syncBpel from the server i am not facing any error and it is working fine as expected but when i close the Jdeveloper and open it i am not able to user the web Service and it is saying as "Not able to read the wsdl file from server Premature EOF encounter"
2)When i close and open the Jdeveloper i can see the url of the wsdl which imported in webserver is changing from http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL to http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/BPELsync.wsdl
3)when I open and see the url http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL I can see the soap address as *<soap:address location="http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel!1.0*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c/bpelsync_client_ep"/>*
I don’t understand why the soap end contains “*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c” and this kind of url for soap address is coming to all the bpel process which I am deploying in the server.
I checked the in Jdeveloper where webproxy is uncheck and the server is also up but still I am facing issue of reading the error.
Can someone please help in resolving the issue.
I am using SOA 11g 11.1.1.5 and Jdeveloper 11.1.1.5
Many thanks.
Tarak
Edited by: user11896572 on Jan 17, 2012 5:22 PMHi,
Setting default from the jdeveloper -
During composite deployment from Jdeveloper (wizard driven), you will be given an option to choose the version of the composite and there will also be an option for you to choose if the composite needs to be deployed as default.
Setting default from the em console -
After deploying a composite, login to the em console and click on the composite that you want to set as default, and you will find a tab - "Set as Default". please note that this tab will not be seen, if the composite is already set as default.
Refer -
http://docs.oracle.com/cd/E12839_01/integration.1111/e10226/soacompapp_mang.htm
8.2 Managing the State of Deployed SOA Composite Applications
Thanks -
We are trying to communicate with the AT106 balance of Mettler Toledo.The VI is attached.
We are sending in "SI" which is a standard command that is recoginsed by the balance. The balance reads it.The indicator after the property node indicates that there are 8 bytes available on the serial port. However, the VISA read VI fails to read the bytes at the serial port and gives the following error:
Error -1073807253 occurred at VISA Read in visa test.vi
Possible reason(s):
VISA: (Hex 0xBFFF006B) A framing error occurred during transfer.
The Vi is atttached.
Thanks
Vivek
Attachments:
visa_test.vi 50 KBHello,
You should also definitely check the baud rates specified; a framing error often occurs when different baud rates are specified, as the UARTs will be attempting to transmit and receive at different rates, causing the receiving end to either miss bits in a given frame, or sample bits more than once (depending on whether the receiving rate is lower or higher respectively). You should be able to check the baud rate used by your balance in the user manual, and match it in your VI with the baud rate parameter of the VISA Configure Serial Port VI.
Best Regards,
JLS
Best,
JLS
Sixclear -
Not able to read the value selected in DDBK.
int key = Integer.parseInt(wdContext.node<Nodename>().getCurrentElement().getAttributeAsText("<attribute>"));
IWDAttributeInfo attributeInfo = wdContext.node<Nodename>().getNodeInfo().getAttribute("<attribute>");
ISimpleValueSet values = attributeInfo.getSimpleType().getSVServices().getValues();
String text = values.getText(key-1);
Solved.
Edited by: Tony on Mar 12, 2009 9:39 PMWe were using JDK1.6.0_29 and it was not supporting ODI 11.1.1.5, so we have uninstalled the JDK1.6.0_29 and reinstall the JDK1.6.0_11.This solves our issue.
Thanks a lot!! -
I guess the problems should be with file permissions. The robot is run by the Admin server which runs on the local host. The following link should help you in indexing a NT shared volume.
http://knowledgebase.iplanet.com/ikb/kb/articles/2110.html
Thanks,
Raj_indts
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers/support -
I am not able to read a barcode from a image
I want to read a barcode which is part of a big image on which i have to work on,i am not able to read the barcode as i have to give the correct ROI,which in my case has to be set dynamically,can any body help me in this
Please post an example image, and I'll try to help...
Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License. -
Not able to read AddtionalResult.requirments
Hi,
am using the followwing code
voidaxApplicationMgr_UIMessageEvent(objectsender,NationalInstruments.TestStand.Interop.UI.Ax._ApplicationMgrEvents_UIMessageEventEvente)
if (e.uiMsg.Event ==UIMessageCodes.UIMsg_Trace)
try
intframeid;
SequenceContext seqctx = e.uiMsg.Thread.GetSequenceContext(0, outframeid);
if(seqctx.PreviousStepIndex >= 0)
Stepprvstp = seqctx.PreviousStep;
StepTypeprvstptyp = prvstp.StepType;
PropertyObjectstepPropertyObject = prvstp.AsPropertyObject();
String testid=String.Empty;
if (string.Equals(prvstptyp.Name, "NumericLimitTest"))
testid = stepPropertyObject.GetValString("Result.AdditionalResults[\"Requirements\"]", 0);
double lwlimt = stepPropertyObject.GetValNumber("Limits.Low", 0);
double measValue = stepPropertyObject.GetValNumber("Result.Numeric", 0);
String unit = stepPropertyObject.GetValString("Result.Units", 0);
am not able to read the Requirments by "testid = stepPropertyObject.GetValString("Result.AdditionalResults[\"Requirements\"]", 0);"
but am sucessful in reading all others.
can you please help me in this regards.
Thanks
IVIIVI,
please do not open new threads for the same topic......thanks
The discussion is kept there.
thanks,
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
Not able to view the WEBINAR presentations
Hi,
I'm not able to view the e-learning presentations@ https://www.sdn.sap.com/irj/scn/xi-elearning.
Only links that ends with WEBINAR replay or presentation are not able to viewed.
I have installed webEX player, still I'm not able to read the links.
could anyone help on this issue.
Thanks,
Gupta.Hi Gupta,
I have checked the same link, and clicked on first link
Business Level Modeling for Business Process Experts and I am able to view the e-class session. Just check you have allowed Pop-up. As the webinar reply is opening in a new Pop-up window.
Else, Post you question in [Suggestion and Comments|SCN Support; forum.
Sachin -
Reading lock and pk column values
Hi!
I was wondering whether it is possible to somehow read the value a
persistent object has for its lock column (JDOLOCKX by default) and pk
column (with datastore identity, JDOIDX by default).
Especially reading the lock would be useful. My specific problem is this:
in J2EE environment when a persistent object is serialized and given to the
web (or any other ui-) layer to display, its identity is lost. There are
nice examples for solving this problem in the documentation so this is not
an issue. However, there is no easy way to determine whether someone else
changed the same data while it was being watched (and modified) on the web
page. So, in essence, this is an optimistic transaction. However, to use
optimistic transactions one would have to use stateful session beans. And
if I am correct, an optimistic transaction has to have a live persistence
manager all the time, so this is not acceptable unless the
persistencemanager releses its sql connection in between calls. I don't
think it does, or does it? And anyhow, I'd prefer using stateless session
beans.
It would be quite easy to implement some sort of timestamp mechanism by
inserting a persistent field for it and updating its value by using
InstanceCallback interface. However, as the JDOLOCKX column already exists
it would be nice not to reinvent the wheel.
The pk value I would need in case the same db is used by many apps (not
all in Java) and they need to communicate some information about a specific
object stored in the db (in which case it would be easiest to give the pk
value to identify an object). Again, I could use ApplicationIdentity or
make some field where to store some unique value, but I'd prefer using the
pk value since it is already there (and would not like to use Application
Identity just because of this).
Any other solutions to the above problems besides being able to read the
JDOIDX and JDOLOCKX values are welcome, too.
-AnttiYou can either parse the toString () generated from
JDOHelper.getObjectId () or cast it to ObjectIds.Id (in 2.5.x) or Id (in
3.0) to get the pk value.
You can also retrieve the lock version in the same fashion.
In Kodo 3:
KodoHelper.getVersion (yourPC).
In Kodo 2.5.x:
((PersistenceManagerImpl) pm).getState (JDOHelper.getObjectId
(yourPC)).getVersion ();
Antti Karanta wrote:
On Tue, 14 Oct 2003 10:46:56 -0400, Patrick Linskey
<[email protected]> wrote:
Based on your description of your problem, you might want to look at the
new attach/detach functionality in Kodo 3.0:
http://solarmetric.com/Software/Documentation/3.0.0RC2/docs/ref_guide_detach.html
This functionality is a preview of a proposed JDO 2.0 feature, and is
targeted at exactly the use case that you've described.Yes, it definitely looks nice. One thing it does not mention, though:
is the String stored in the detached-objectid-field just the (string
version of the) primary key or is there something else there?
And what about a case where I do not want a detachable instance, just
want to be able to have the primary key value?
And I take it there is no way to read these values (lock and pk) in the
present version of Kodo?
On Tue, 14 Oct 2003 18:38:21 +0300, Antti Karanta wrote:
Hi!
I was wondering whether it is possible to somehow read the value a
persistent object has for its lock column (JDOLOCKX by default) and
pk column (with datastore identity, JDOIDX by default).
Especially reading the lock would be useful. My specific problem is
this: in J2EE environment when a persistent object is serialized and
given to the web (or any other ui-) layer to display, its identity is
lost. There are nice examples for solving this problem in the
documentation so this is not an issue. However, there is no easy way
to determine whether someone else changed the same data while it was
being watched (and modified) on the web page. So, in essence, this is
an optimistic transaction. However, to use optimistic transactions
one would have to use stateful session beans. And if I am correct, an
optimistic transaction has to have a live persistence manager all the
time, so this is not acceptable unless the persistencemanager releses
its sql connection in between calls. I don't think it does, or does
it? And anyhow, I'd prefer using stateless session beans.
It would be quite easy to implement some sort of timestamp mechanism
by inserting a persistent field for it and updating its value by
using InstanceCallback interface. However, as the JDOLOCKX column
already exists it would be nice not to reinvent the wheel.
The pk value I would need in case the same db is used by many apps
(not all in Java) and they need to communicate some information about
a specific object stored in the db (in which case it would be easiest
to give the pk value to identify an object). Again, I could use
ApplicationIdentity or make some field where to store some unique
value, but I'd prefer using the pk value since it is already there
(and would not like to use Application Identity just because of this).
Any other solutions to the above problems besides being able to read
the JDOIDX and JDOLOCKX values are welcome, too.
-Antti
Steve Kim
[email protected]
SolarMetric Inc.
http://www.solarmetric.com -
Guys I am not able to read my subscription on the ipad. Everytime i press one of the subscription a box appears and when I press oK it keeps showing up.
"connect to itune store to use push notification"
Thanks for your helpYou welcome
-
I bought 2 ebooks from Ebay in 2013 and already read it with ADE, but now I got a new PC, downloaded ADE again and am now not able to open the two acsm-ebooks any more
Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps. -
I received a pdf from someone with an updated reader. I am not able to open the file or download the update. ERROR 1932 ????
ERROR 1935 SORRY PLEASE HELP I CANNOT OPEN ANY PDF'S ON MY COMPUTER NOW????????????????
-
I am not able to save the pdf with filled data or related to reader extension
Hi,
I have designed a pdf with some text field controls. But i am not able to save the document when i fill some data into the pdf.
or whenever i save data it says that the pdf will be saved blank.
I know that this is the reader extension issue. How to i add this reader extension feature into it.
I know that reader extension can be
1. cached
2. A document can be made reader extended using adobe live cycle process.
3. also it can be embedded while designing the pdf.
Can any body let me know how do i incorporate reader extension feature while designing and at runtime too.
I know we have taken reader extension license but dont know how to use this reader extension feature.
Regards
SunilHi Sunil,
You indicate that you have a Reader Extensions license, did you also purchase Adobe LiveCycle Reader Extensions ES2? You would apply the license to your form using this server product.
You can also apply reader rights using Acrobat Standard v9 (or Acrobat Professional v8), but this has license restrictions - see EULA. Also the rights that are enabled using this route will not be as many when compared to LC Reader Extensions ES2.
I have a summary here:
http://assurehsc.ie/blog/index.php/2010/05/using-livecycle-forms-in-acrobat-and-reader/
Also have a look at the Adobe page:
http://www.adobe.com/products/livecycle/readerextensions/
Maybe talk to the Adobe sales in your region.
Good luck,
Niall -
Not able to see the tree on the jspx page after running
Hi All,
This is something strange.I am dragging the VO on the page fragment from the data control as adf tree. And I am using the panel collection as component for adf tree.
After running the jspx when I am moving to the fragment I am not able to see the tree.
However when I am running the AM it is working properly for the view objects and view link used to populate the tree.
Can anybody put some thoughts on this.
Thanx
KanikaThnx for your replies..
I am dropping taskflow as region . I am not using the switcher component.
On left side of the page the tree is visible now. but the taskflow is not refreshing on the click of the tree node based on the value of the node.
Please advice how to accompolish this now?? -
Not able to fetch the data by Virtual Cube
Hi Experts,
My requirement is I need to fetch the data from Source System (From Data base table) by using Virtual Cube.
What I have done is I have created Virtual Cube and created corresponding Function Module in Source System.
That Function MOdule is working fine, if Data base table is small in Source System.But If data base table contains huge amount of data (millions of record), I am not able to fetch the data.
Below is the code I have incorporated in my function module.
c_th_mapping TYPE CL_RSDRV_EXTERNAL_IPROV_SRV=>TN_TH_IOBJ_FLD_MAPPING.
DATA:
l_s_map TYPE CL_RSDRV_EXTERNAL_IPROV_SRV=>TN_S_IOBJ_FLD_MAPPING.
l_s_map-iobjnm = '0PARTNER'.
l_s_map-fldnm = 'PARTNER'.
insert l_s_map into table l_th_mapping.
create object l_r_srv
exporting
i_tablnm = '/SAPSLL/V_BLBP'
i_th_iobj_fld_mapping = l_th_mapping.
l_r_srv->open_cursor(
i_t_characteristics = characteristics[]
i_t_keyfigures = keyfigures[]
i_t_selection = selection[] ).
l_r_srv->fetch_pack_data(
importing
e_t_data = data[] ).
return-type = 'S'.
In the above function Module,Internal table L_TH_MAPPING contains Info Objects from Virtual Cube and corresponding field from Underlying data base table.
The problem where I am facing is, in the method FETCH_PACK_DATA, initially program is trying to fetch all the recordsfrom data base table to internal table.If Data base table so lagre, this logic is not working.
So would you please help me how to handle these kind of issues.Hi Experts,
My requirement is I need to fetch the data from Source System (From Data base table) by using Virtual Cube.
What I have done is I have created Virtual Cube and created corresponding Function Module in Source System.
That Function MOdule is working fine, if Data base table is small in Source System.But If data base table contains huge amount of data (millions of record), I am not able to fetch the data.
Below is the code I have incorporated in my function module.
c_th_mapping TYPE CL_RSDRV_EXTERNAL_IPROV_SRV=>TN_TH_IOBJ_FLD_MAPPING.
DATA:
l_s_map TYPE CL_RSDRV_EXTERNAL_IPROV_SRV=>TN_S_IOBJ_FLD_MAPPING.
l_s_map-iobjnm = '0PARTNER'.
l_s_map-fldnm = 'PARTNER'.
insert l_s_map into table l_th_mapping.
create object l_r_srv
exporting
i_tablnm = '/SAPSLL/V_BLBP'
i_th_iobj_fld_mapping = l_th_mapping.
l_r_srv->open_cursor(
i_t_characteristics = characteristics[]
i_t_keyfigures = keyfigures[]
i_t_selection = selection[] ).
l_r_srv->fetch_pack_data(
importing
e_t_data = data[] ).
return-type = 'S'.
In the above function Module,Internal table L_TH_MAPPING contains Info Objects from Virtual Cube and corresponding field from Underlying data base table.
The problem where I am facing is, in the method FETCH_PACK_DATA, initially program is trying to fetch all the recordsfrom data base table to internal table.If Data base table so lagre, this logic is not working.
So would you please help me how to handle these kind of issues.
Maybe you are looking for
-
Adapter issues on Macbook Pro 13"
Hello! My adapter is having issues and doing strange stuff to my Macbook Pro 13". The isseus: Everytime I connect my adapter to my macbook when its on stand by or even shut off, my macbook starts up. Also, since today. My Adapter isnt connecting prop
-
Can G5 1.8 dual mother board replace by a 2.5 dual
I've got a g5 2.5 dual mother replace to a 1.8 dual g5 tower, nothing happen except all the fans, did anyone know is it work, or my 2.5 mother board also dead?
-
Concern over Pre-order $10 Reward Certificate
Hello, I pre-ordered Battlefield Hardline for the Xbox One and picked it up on release day. Well, I saw the drop in the price so I went in to get the price adjusted, but I don't think the lady there helping me really knew how to do it. After about 10
-
Can't open files from the 'net...
Whenever I try to open a file downloaded from the net, it opens with TextEdit...same thing with radio station add-ons...how can i stop/fix this?
-
I have a big problem.... i had synkronised my iphone 4s with my mac, and now is all the past events in my calender gone on my iphone..... How can i restore that again???