RFC Adapter work well as receiver but no data got transferred
I have a JDBC>XI>RFC scenario, I can fetch the data from the ORACLE database side and both the sender and receiver communication channel works well, also when I set an external break point in the RFC module I can dubug it on the ECC side, but
there is no data being transferred to the TABLES parameter, why this happens and how to correct it?
by SXI_MONITOR, I can see message has been flagged as "finished" without any error message, and the payloads from the JDBC adapter is not initial, then i copy the XML file to conduct a mapping test in the ESR, it works fine. But i still can not get any data from the TABLES parameters of the RFC.
I created one action under a different namespace, which will be used to create the process integration scenario, is this might be the cause? but i have assigned the RFC to the action as inbound interface
Hi AR,
Thanks for your reply.
I got the following audit log:
Time Stamp Type Description
2010-06-24 05:29:35 Information Channel ZCC_FLIGHT_SND_01: Executed Query successfully, confirmation skipped - data may be send again ("TEST" mode).
2010-06-24 05:29:35 Information Send query result, size 47198434 characters.
2010-06-24 05:29:36 Information MP: entering
2010-06-24 05:29:36 Information MP: processing local module localejbs/CallSapAdapter
2010-06-24 05:29:36 Information The application tries to send an XI message asynchronously using connection JDBC_http://sap.com/xi/XI/System.
2010-06-24 05:29:36 Information Trying to put the message into the send queue.
2010-06-24 05:30:03 Information Message successfully put into the queue.
2010-06-24 05:30:03 Information The application sent the message asynchronously using connection JDBC_http://sap.com/xi/XI/System. Returning to application.
2010-06-24 05:30:03 Information MP: leaving
2010-06-24 05:30:03 Information The message was successfully retrieved from the send queue.
and the message content:
<ns1:ZPM_FM_006>
<I_PMT001/>
</ns1:ZPM_FM_006>
but when i do the mapping test in the ESR, i got the right result:
<ns1:ZPM_FM_006 xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
<I_PMT001>
<item>
<ZPLAN_DEPD>20040807</ZPLAN_DEPD>
<ZPLAN_DEPT>090700</ZPLAN_DEPT>
</item>
<item>
<ZPLAN_DEPD>20040807</ZPLAN_DEPD>
<ZPLAN_DEPT>090700</ZPLAN_DEPT>
</item>
<item>
<ZPLAN_DEPD>20040807</ZPLAN_DEPD>
<ZPLAN_DEPT>090700</ZPLAN_DEPT>
</item>
</I_PMT001>
</ns1:ZPM_FM_006>
ZPM_FM_006 is the RFC name and I_PMT001 is the TABLES parameter of the RFC.
Seems the mapping has not been conducted,why can this happen and how to correct it?
Similar Messages
-
Is it possible http connection work well in simulator but not in mobile?
i am developing database three tier client/server application.
i want to connect mobile application to databse server via servlet page using tomcat server.
my code is working well in java wireless toolkit and it can download and upload data using my servlet page in which i had used JDBC connectivity but when i am installing same JAR file into Nokia 6030 it will gives me error like java.io.IOException: error in http operation. i had used this code to establish connectivityhcon = (HttpConnection)Connector.open(url, 3);
hcon.setRequestMethod(HttpConnection.POST);
hcon.setRequestProperty( "User-Agent","Profile/MIDP-2.0, Configuration/CLDC-1.0");
hcon.setRequestProperty("Content-Language","en-US");
hcon.setRequestProperty( "Content-Type", "application/x-www-form-urlencoded" );
dos = (DataOutputStream)hcon.openDataOutputStream();
byte abyte0[] = data.getBytes();
dos.write(abyte0);
dos.flush();
dis = (DataInputStream)hcon.openDataInputStream();
while((ch = dis.read()) != -1)
response = response+(char)ch;
if(hcon.getResponseCode()==200 && !response.equals("ERROR"))
setData(response);
else
errorAlert("Server Error","Server can not handle your request at this time, Error msg : " + response);in this code i am sending data to server at url where i have used servlet post method this method work well in simulator but when i m instaling this program into deveice request generated from mobile didn't came to servlet.
whe i am browsing same page's get method through WAP in mobile it is working but thruogh application not connecting.
is there any more setting require to browse url via application like in Accesspoint proxy server of provider or i need to change code?.
If anybody having the solution then please send me.
thanx .
jasmit vala.
[email protected]Hi,
I am also facing the same problem?
Have u got any solution?
pls let me know
its urgent
thanx in adv.
Regards,
Raj -
Install on MacBook Pro end of 2011 with logic Pro 9.1.8 and Apogee GIO interface guitar
The wha wha pedal work well with GarageBand but not working with Logic Pro
Only the red light turning on and off at the screnn of the MBPro and on my Apogee GIO (Guitar Interface Midi) switch button but the effect wha wha won't work.
HOPE YOU UNDERSTAND MY ENGLISHPancenter...
Yes... but I have come across some setups that came with a native SL (and even one Lion!) installation.. that somehow had a corrupted or older Prokit installed for some unknown reason... and given it's a quick fix to try.. I thought I'd mention it..
I frankly don't think it is entirely a Prokit issue itself, but it wouldn't do any harm to try and install v7 just in case it is part of the problem...
+1 on the UAD stuff....
Also, at the time it crashed... according to the logs...the OP was running Ableton Live at the same time, presumably rewired with Logic... so add all that together with UAD plugins... and that's quite a load on the system...
Finally in thread 32 there is a weird exception msg relating to the Trash2 plugin.. that I haven't seen before...
Thread 32:
0 libSystem.B.dylib
0x94c29afa mach_msg_trap + 10
1 libSystem.B.dylib
0x94c2a267 mach_msg + 68
2 ...tope.audioplugins.AU.Trash2
0x667bd57a catch_exception_raise + 250
3 libSystem.B.dylib
0x94c57259 _pthread_start + 345
4 libSystem.B.dylib
0x94c570de thread_start + 34
That might be nothing... but as i said, I haven't seen that one before and given what else is going on.. it might be involved too... or nothing to do with that at all! -
Applet work well in appletviewer but do not work within browser
hi, i created an applet that works well in appletviewer,but it does not work within a firefox browser, it issue a message: java.security.AccessControlException: access denied (java.io.FilePermission imgDir/vsam.jpg read). What can i do to solve this issue please ?
sign the applet, use doprivileged and trust the applet when you open it.
Use htmlconverter in jdk/bin folder to convert you applet so it uses
object tag instead of applet so IE won't try to run it with msjvm.
Signing applets:
http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
second post and reply 18 for the java class file using doprivileged
Still problems?
A Full trace might help us out:
http://forum.java.sun.com/thread.jspa?threadID=656028 -
I have a List which is having around 14000 items in it.while opening that list in datasheet view it is giving error .
Below is a summary of the issue:
After selecting datasheet view beow error occurs:
"Cannot connect to the server at this time. You can continue working with this list, but some data may not be available."
"Unable to retrieve all data."
The item counts displays say 100 out of 14000 items.
Exporting List to excel is giving only 2000 records out of 14000 records.
Other Observations -
This is happening to only one list on the site .There are other lists in the site whose no. of records is equal to 8000 to 9000.They are working absolutely fine without any error.
Also, If I am saving this list as a template and creating another list with it ,then it is working absolutely fine with 14000 records,so the issue does not seem to be related with no. of records as the template list is working fine.
I have checked the Alternate access mapping setting ,its fine.
It should not be related to lookup,datefield or any other column as the list created from it template is working fine with all these columns.
I checked below links also ,but doesn't seem to work in my case.
http://social.technet.microsoft.com/forums/en-US/sharepointadminprevious/thread/974b9168-f548-409b-a7f9-a79b9fdd4c50/
http://social.technet.microsoft.com/Forums/en-US/smallbusinessserver/thread/87077dd8-a329-48e8-b42d-d0a8bf87b082
http://social.msdn.microsoft.com/Forums/en-US/sharepointgeneral/thread/dc757598-f670-4229-9f8a-07656346b9b0I have spent two days to resolve this issue. Microsoft has released two KBs with reference to this issue...but are not appearing in search results at the top.
I am sharing my finding.
1. First install the
KB2552989 (Hopefully you might have already installed it. The KB detetcts it and informs the user.)
2. Then update registry by adding new key for data fetch timeout as mentioned inKB2553007
These two steps resolved the issue in our environment. Hope it might help others as well.
Pradip T. ------------- MCTS(SharePoint 2010/Web)|MCPD(Web Development) https://www.mcpvirtualbusinesscard.com/VBCServer/paddytakate/profile -
Dear Sir / Madam.
I have iphone 3 & 4. 1247 contacts is in iphone 4. When I synsing contacts are not transfering. But other data is transferred.
How can I transfer the contacts to iphone 3.
Thank you.
Dr.Jegamohan.You are syncing contacts or trying to sync contacts how - direct with a supported address book app on your computer via the iTunes sync process, which is selected under the Info tab for the iPhone sync preferences with iTunes?
-
VGA adapter works with my iPad3 but not my iPhone4
I just purchased a VGA Adapter from Apple. It seems to work fine when connected to my iPad3 but I have been unable to get it to work with my iPhone4. The monitor shows a 1024x768 signal is being received but the iPhone screen does not appear on the monitor. Is there something I need to configure to get the iPhone4 to project an image on the VGA monitor?
Iphone4 dont support mirror so only when Apps which support av out is used Will it display out of the vga port
-
Same page with tables works well on IE but not on Firefox or Safari
This qs may have been asked already but I am new to the forum.
I have created a page in DW using tables and everything fits beautifully in it. It works really well when tested on IE but all the alignments are way off on Mozilla Firefox and Safari(mac). I cant figure out why this is happening. I would like to site to work well on all 3 browsers.
here is the page: http://3beespaperie.com/casablanca.htm
as you can see, the top of the main photo should line up wiht the top of 'details'. same with http://3beespaperie.com/rajkumar.htm where the top of the photo is in the same table and row as that of the orange text on the right.
please help,
ThanksPlease see the announcement at the top of the discussion list for this forum. Pick the Dreamweaver General Discussion forum from it, and repost your question there.
-
FCP Quicktime Movies works well in iDVD, but not in DVDSP
Hello,
I work in a film school with several iMac & PowerMac editing suites running Final Cut Studio 2.
Every computer is set up exactly the same way, yet we are having odd problems with DVDSP on one of the PowerMacs.
From FCP6, we export self contained quicktime movies, that we then Compress, and then import into DVDSP. This system works well on all of our new iMacs, but on the 3 year old PowerMac, the resultant DVDs that it burns do NOT playback on any DVD Players at all.
Yet strangely, when I take the same QT Movie into iDVD on that computer, it burns a perfectly good DVD.
I have even tried bringing the QT Movie files and Compressor files from the Power Mac and transfer them onto an iMac and have been able to burn them fine that way as well. This is occurring with all the FCP projects on this computer.
Any help would be much appreciated,
Sincerely,
Marc GriffinIt could be a few things, but it may be that the drive itself is dirty or going. It sounds strange but there were people on the board who ran into issues where they could burn the DVD but not play it back on the same drive. Could be something became corrupted. Also people have noticed some strange things happening if an install of Studio 2 was done over a prior installation - it seemed to be most reliable by doing a fresh OS install then installing 2. Also does the computer have all the updates to the software? Are all the computers running the same OS? Have you deleted prefs and repaired permissions?
Also check your settings on the PowerMac, are you doing a proper build/burn? Did you set a first play? Are you using the same type of media? -
Jdeveloper 9.0.3 Apps works well on 9iAS but not on 10g AS
We have application built in Jdeveloper 9.0.3 it is working well on 9i AS R 2 but when we deploy it on 10 AS R1 it is deopled no error but all JSP function are giving error at run time
pleas helpJDeveloper 9.03 does not support 10g application server.
http://www.oracle.com/technology/products/jdev/collateral/papers/10g/as_supportmatrix.html -
I purchased civilization 4 from the app store. It worked well until I upgraded to Mountain Lion. Now when it loads, the display is scrambled and unresponsive.
removed parralles and logmein, still no audio devices available.
but...after booting into safe mode and restarting, audio returned. however it only returns until rebooted again. then no audio devices.
lame. -
Hi,
I currently using v2.25 mac bookflip. The problem I am facing is that the onMouseDown and onMouseUp works well in swf. However, when the I upload to the web server and localhost. The chances for them to work are 50-50.
The truth is I was unable to drag the pages and I have no ideas what to do, and where to the start from can anyone tell me. what to do next?
To call the MouseUp. Basically, One swf (preloader)> load another swf (main menu and selection of books) > load another swf to read the book flip which my mouseDown is here.
Here is all the codes from mac v2.25 bookflip function. I only change the setPages function to make it load dynamically.
Notes, the problem is not sometimes. It many times.
//do not change these values: ----------------------------------------------------------------------------------------- ----------------------------
_global.mcnt = 0; //counter (used on a page where is an animation)
var gpage:Number= 0; //gotoPage No
var gflip:Boolean= false; //gotoPage flip
var gdir:Number= 0; //goto direction
var gskip:Boolean= false; //skip pages
var gtarget:Number= 0; //target when skipping
var aflip:Boolean= false; //auto flip
var flip:Boolean= false; //pageflip
var flipOff:Boolean= false; //terminateflip
var flipOK:Boolean= false; //good flip
var hflip:Boolean= false; //hardflip (the cover of the book)
var rotz:Number= -30; //hardflip max y difference
var preflip:Boolean= false; //corner flip status
var ctear:Boolean= false; //actual page status
var tear:Boolean= false;
var teard:Number= 0;
var tlimit:Number= 80;
var removedPages:Array= new Array(); //list of removed pages!
mpx = 0, mpy = 0; //mousepos at click
sx = sy = 0; //startpoint when flipping
var x:Number= 0; //mouse x,y
var y:Number= 0;
var ax:Number= 0; //auto x,y
var ay:Number= 0;
var acnt:Number= 0;
var aadd:Number= 0;
var aamp:Number= 0;
AM= Math.PI/180;
//initializing pages
function reset()
pages.p4.page._x = -pw;
pages.p4._x = pw;
pages.p1.page._x = -pw;
pages.p1._x = 0;
pages.flip.p2.page._x = -pw;
pages.flip.p2._x = pw;
pages.flip.p3.page._x = -pw;
pages.flip.p3._x = 0;
pages.p0.page._x = -pw;
pages.p0._x = 0;
pages.p5.page._x = -pw;
pages.p5._x = pw;
pages.pLL.page._x = -pw;
pages.pLL._x = 0;
pages.pLR.page._x = -pw;
pages.pLR._x = pw;
pages._visible= true;
pages.p1.page.pf.ph.mask._width= pages.flip.p2.page.pf.ph.mask._width= pages.flip.p3.page.pf.ph.mask._width= pages.p4.page.pf.ph.mask._width= pw;
pages.p1.page.pf.ph.mask._height= pages.flip.p2.page.pf.ph.mask._height= pages.flip.p3.page.pf.ph.mask._height= pages.p4.page.pf.ph.mask._height= ph;
//NEW THEORY UNPROVEN
/* pages.p1.page.pf.ph.attachMovie("pagesPreloader_mc", "pagesPreloader_mc", 0, {_visible:false});
pages.p4.page.pf.ph.attachMovie("pagesPreloader_mc", "pagesPreloader_mc", 0, {_visible:false});*/
pages.p1.page.pf.ph.pagesPreloader_mc._x= pages.p4.page.pf.ph.pagesPreloader_mc._x = pw/2;
pages.p1.page.pf.ph.pagesPreloader_mc._y= pages.p4.page.pf.ph.pagesPreloader_mc._y= ph/2;
pages.p0.page.pf.ph.mask._width= pages.p5.page.pf.ph.mask._width= pw;
pages.p0.page.pf.ph.mask._height= pages.p5.page.pf.ph.mask._height= ph;
pages.pgrad._visible = pages.mask._visible = pages.flip._visible = false;
pages.flip.p3mask._width = pages.pgmask._width = pw*2;
pages.flip.p3mask._height = pages.pgmask._height = ph;
pages.center._height = ph+2*lcaddy;
pages.flip.fmask.page.pf._width = pw;
pages.center._width = 6;
pages.flip.fmask.page.pf._height = ph;
pages.mask._width = pages.mask._height = pages.pgrad._height = pages.flip.p3shadow._height = pages.flip.flipgrad._height = 2*Math.sqrt(ph*ph+pw*pw);
pageNumber = new Array();
for(i=0;i<=(maxpage+1);i++) pageNumber[i] = i;
//////////////////////////////////////////////////////////////////////////////////MouseUP
//initializing mouse click handler
mousecontroll = new Object();
mousecontroll.onMouseDown = function()
if(flip && !aflip)
flipOK = false;
if(sx<0 && pages._xmouse>0) flipOK = true;
if(sx>0 && pages._xmouse<0) flipOK = true;
flipOff = true;
flip = false;
else if((flipOff || aflip || !canflip) && !preflip)
else if(!preflip)
var oox = ox;
var ooy = oy;
var osx = sx;
var osy = sy;
hit = hittest(); //hittest
if(hit)
startsnd(1); //Sound
flip = true;
flipOff = false;
tear = false; //not tearing yet
ox = sx = hit*pw;
pages.flip.setMask(pages.mask);
mpx = pages._xmouse, mpy = pages._ymouse;
oef();
//_quality = "MEDIUM"; //it is the place to degrade image quality while turning pages if the performance is too low.
else
{ //if preflipping
startsnd(1); //Sound
flip = true;
flipOff = false;
tear = false; //not tearing yet
aflip = preflip = false;
mpx = pages._xmouse, mpy = pages._ymouse;
oef();
mousecontroll.onMouseUp = function()
if(flip && !tear)
if((Math.abs(pages._xmouse)>(pw-afa) && Math.abs(pages._ymouse)>(ph/2-afa) && Math.abs(pages._xmouse-mpx)<afa) || preflip)
flip = false;
preflip = false;
autoflip();
startsnd(2); //sound
else if(!preflip)
preflip = false;
flipOK = false;
if(sx<0 && pages._xmouse>0) flipOK = true;
if(sx>0 && pages._xmouse<0) flipOK = true;
flipOff = true;
flip = false;
if(flipOK) startsnd(2); //sound
function hittest()
{ //hittest at mouse clicks, if click is over the book -> determining turning direction
var x=pages._xmouse;
var y=pages._ymouse;
var pmh = ph/2;
if(y<=pmh && y>=-pmh && x<=pw && x>=-pw)
var r = Math.sqrt(x*x+y*y);
var a = Math.asin(y/r);
var y = Math.tan(a)*pw;
if(y>0 && y>ph/2) y = ph/2;
if(y<0 && y<-ph/2) y = - ph/2;
oy = sy = y;
r0 = Math.sqrt((sy+ph/2)*(sy+ph/2)+pw*pw);
r1 = Math.sqrt((ph/2-sy)*(ph/2-sy)+pw*pw);
pageN = eval("pages.flip.p2.page");
pageO = eval("pages.flip.p3");
offs = -pw;
pages.flip.fmask._x = pw;
if(x<-(pw-clickarea) && page>0)
{ //>-----> flip backward
pages.flip.p3._x = 0;
hflip = checkCover(page,-1);
setPages(page-2,page-1,page,page+1);
ctear = pageCanTear[page];
return -1;
if(x>(pw-clickarea) && page<maxpage)
{ //<-----< flip forward
pages.flip.p3._x = pw;
hflip = checkCover(page,1);
setPages(page,page+2,page+1,page+3);
ctear = pageCanTear[page+1];
return 1;
} else return 0; //wrong click
function checkCover(p,dir)
if(hcover)
if(dir>0)
if(p==(maxpage-2) || p==0) return true;
else
if(p==maxpage || p==2) return true;
return false;
function corner()
var x = Math.abs(pages._xmouse);
var y = Math.abs(pages._ymouse);
if(x>(pw-afa) && x<pw && y>(ph/2-afa) && y<(ph/2))
return true;
return false;
function oef()
_global.mcnt++; //main counter incrase (need for some page effect);
if(!flip && corner()) //corner mouseover
preflip = true;
if(!autoflip()) preflip = false;
if(preflip && !corner())
preflip = false;
flip = false;
flipOK = false;
flipOff = true;
getm();
if(aflip && !preflip)
y = (ay += (sy-ay)/(gflip? gs: ps ));
acnt += aadd;
ax -= aadd;
if(Math.abs(acnt)>pw)
flipOK = true;
flipOff = true;
flip = false;
aflip = false;
if(flip) //page turning is in progress
if(tear) {
x = tox;
y = (toy += teard);
teard *= 1.2;
if(Math.abs(teard)>1200) {
flipOff = true;
flip = false;
} else {
x = (ox += (x-ox)/(gflip? gs: ps ));
y = (oy += (y-oy)/(gflip? gs: ps ));
calc(x,y); //positioning pages and shadows
if(flipOff)
{ //terminating page turning effect... (comlplete turning... dropped on the other side)
if(flipOK || tear)
x = (ox += (-sx-ox)/(gflip? gs: es ));
y = (oy += (sy-oy)/(gflip? gs: es ));
calc(x,y);
if(x/-sx > 0.99 || tear) //we are done with turning, so stop all turning issue
flip = false;
flipOK = flipOff = false;
pages.pgrad._visible = pages.flip._visible = false;
//_quality = "BEST"; //if quality is decrased during turning effect, you must reset its default value
if(tear) //if tear: remove page
removePage((sx<0)? page: page+1);
page += (sx<0)? -2: 0;
else
page += (sx<0)? -2: 2; //and tourning pages at pagenumber level...
if(gskip) page = gtarget;
setPages(page,0,0,page+1);
tear = false;
if(gpage>0 && !gskip) //gotoflip active -> is there another flipping left?
gpage--;
autoflip();
startsnd(0); //sound
else gflip = gskip = false;
else //terminating page turning effect... (incomlplete turning... dropped on the dragged side)
x = (ox += (sx-ox)/3);
y = (oy += (sy-oy)/3);
calc(x,y);
if(x/sx > 0.99) //we are done with turning, so stop all turning issue
flip = false;
flipOff = false;
aflip = false;
pages.pgrad._visible = pages.flip._visible = false;
//_quality = "HIGH"; //if quality is decrased during turning effect, you must reset its default value
setPages(page,0,0,page+1); //no change at pagenumbers
function calc(x,y) //positioning pages and shadows by x,y reference points
if(hflip)
{ //hardflip
var xp = (sx<0)? -x: x;
if(xp>0)
sp2._visible = false;
sp3._visible = true;
scalc(sp3,x);
else
sp3._visible = false;
sp2._visible = true;
scalc(sp2,x);
pages.flip.setMask(null);
pages.flip._visible = true;
pages.flip.fgrad._visible = false;
pages.flip.p2._visible = pages.flip.p3._visible = false;
return;
} else pages.flip.fgrad._visible = true;
//normal flipping process
rr0 = Math.sqrt((y+ph/2)*(y+ph/2)+x*x);
rr1 = Math.sqrt((ph/2-y)*(ph/2-y)+x*x);
if((rr0>r0 || rr1>r1) && !tear)
{ // we can tear off pages now
// so reference points must be recalculated
if(y<sy)
var a = Math.asin((ph/2-y)/rr1);
y = (ph/2-Math.sin(a)*r1);
x = (x<0)? -Math.cos(a)*r1: Math.cos(a)*r1;
if(y>sy)
if((sx*x)>0) y = sy, x = sx;
else y = sy, x = -sx;
if((rr1-r1)>tlimit && ctear)
teard = -5;
tear = true;
tox = ox = x;
toy = oy = y;
else
var a = Math.asin((y+ph/2)/rr0);
y = Math.sin(a)*r0-ph/2;
x = (x<0)? -Math.cos(a)*r0: Math.cos(a)*r0;
if(y<sy)
if((sx*x)>0) y = sy, x = sx;
else y = sy, x = -sx;
if((rr0-r0)>tlimit && ctear)
teard = 5;
tear = true;
tox = ox = x;
toy = oy = y;
if((sx<0 && (x-sx)<10) || (sx>0 && (sx-x)<10))
if(sx<0) x = -pw+10;
if(sx>0) x = pw-10;
//calculating flipping process
pages.flip._visible = true;
pages.flip.p3shadow._visible = pages.pgrad._visible = !tear;
pages.flip.p2._visible = pages.flip.p3._visible = true;
//equation of the line
var vx = x-sx;
var vy = y-sy;
var a1 = vy/vx;
var a2 = -vy/vx;
cx = sx+(vx/2);
cy = sy+(vy/2);
//trigonometriai szamitasok
//calculating rotation of the page, and the masks
var r = Math.sqrt((sx-x)*(sx-x)+(sy-y)*(sy-y));
var a = Math.asin((sy-y)/r);
if(sx<0) a = -a;
ad = a/AM; //in degree
pageN._rotation = ad*2;
r = Math.sqrt((sx-x)*(sx-x)+(sy-y)*(sy-y));
rl = (pw*2);
if(sx>0)
{//flip forward
pages.mask._xscale = 100;
nx = cx-Math.tan(a)*(ph/2-cy);
ny = ph/2;
if(nx>pw)
nx = pw;
ny = cy+Math.tan(Math.PI/2+a)*(pw-cx);
pageN.pf._x = -(pw-nx);
pages.flip.fgrad._xscale = (r/rl/2)*pw;
pages.pgrad._xscale = -(r/rl/2)*pw;
pages.flip.p3shadow._xscale = (r/rl/2)*pw;
else //flip backward
pages.mask._xscale = -100;
nx = cx-Math.tan(a)*(ph/2-cy);
ny = ph/2;
if(nx<-pw)
nx = -pw;
ny = cy+Math.tan(Math.PI/2+a)*(-pw-cx);
pageN.pf._x = -(pw-(pw+nx));
pages.flip.fgrad._xscale = -(r/rl/2)*pw;
pages.pgrad._xscale = (r/rl/2)*pw;
pages.flip.p3shadow._xscale = -(r/rl/2)*pw;
pages.mask._x = cx;
pages.mask._y = cy;
pages.mask._rotation = ad;
pageN.pf._y = -ny;
pageN._x = nx+offs;
pageN._y = ny;
pages.flip.fgrad._x = cx;
pages.flip.fgrad._y = cy;
pages.flip.fgrad._rotation = ad;
pages.flip.fgrad._alpha = (r>(rl-50))? 100-(r-(rl-50))*2: 100;
pages.flip.p3shadow._x = cx;
pages.flip.p3shadow._y = cy;
pages.flip.p3shadow._rotation = ad;
pages.flip.p3shadow._alpha = (r>(rl-50))? 100-(r-(rl-50))*2: 100;
pages.pgrad._x = cx;
pages.pgrad._y = cy;
pages.pgrad._rotation = ad+180;
pages.pgrad._alpha = (r>(rl-100))? 100-(r-(rl-100)): 100;
pages.flip.fmask.page._x = pageN._x;
pages.flip.fmask.page._y = pageN._y;
pages.flip.fmask.page.pf._x = pageN.pf._x;
pages.flip.fmask.page.pf._y = pageN.pf._y;
pages.flip.fmask.page._rotation = pageN._rotation;
function scalc(obj,x) //hardflip calc
if(x<-pw) x=-pw;
if(x>pw) x=pw;
var a = Math.asin( x/pw );
var rot = a/AM/2;
var xs = 100;
var ss = 100*Math.sin( rotz*AM );
x = x/2;
var y = Math.cos(a)*(pw/2)*(ss/100);
placeImg(obj, rot, ss, x, y)
pages.pgrad._visible = pages.flip._visible = true;
pages.pgrad._xscale = x;
pages.pgrad._alpha = pages.flip.p3shadow._alpha = 100;
pages.flip.p3shadow._xscale = -x;
pages.flip.p3shadow._x = 0;
pages.flip.p3shadow._y = 0;
pages.flip.p3shadow._rotation = 0;
pages.pgrad._x = 0;
pages.pgrad._y = 0;
pages.pgrad._rotation = 0;
function placeImg(j, rot, ss, x, y)
var m = Math.tan( rot*AM );
var f = Math.SQRT2/Math.sqrt(m*m+1);
var phxs = 100*m;
var phRot = -rot;
var xs = 100*f;
var ys = 100*f;
j.ph.pic._rotation = 45;
j.ph.pic._xscale = (phxs<0)? - xs: xs;
j.ph.pic._yscale = ys*(100/ss);
j.ph._rotation = phRot;
j.ph._xscale = phxs;
j._yscale = ss;
j._x = x;
j._y = y;
j._visible = true;
function setPages(p1,p2,p3,p4)
//attach the right page "image" at the right place
p0 = p1-2; //pages for transparency...
p5 = p4+2;
if(p0<0) p0=0;
if(p5>maxpage) p5=0;
if(p1<0) p1=0; //visible pages
if(p2<0) p2=0;
if(p3<0) p3=0;
if(p4<0) p4=0;
globalP1= p1;
globalP2= p2;
globalP3= p3;
globalP4= p4;
if(checkPageLoaded[globalP1-1] == false && checkPageLoaded[globalP4-1] == false)
trace("Preloader 3");
checkPageLoaded[globalP1-1]= true;
checkPageLoaded[globalP4-1]= true;
var cCounterTwo:Number= globalP1- (canPreLoadNumber+ 1);
var cTwoPerPage:Number= cCounterTwo+ 2;
cCountPage(cCounterTwo, cTwoPerPage, globalP1, globalP4);
pages.p1.page.pf.ph.pic._x = -(p1-1)*pw;
pages.p1.page.pf.ph._y = -ph/2;
if(hflip) //hardflip pages are specials!!!
pages.flip.hfliph.sp2._visible = true;
pages.flip.hfliph.sp3._visible = true;
sp2 = eval("pages.flip.hfliph.sp2");
sp2.ph.pic.pic._x = -(p2-1)*pw - pw/2;
sp3 = eval("pages.flip.hfliph.sp3");
sp3.ph.pic.pic._x = -(p3-1)*pw - pw/2;
else
pages.flip.hfliph.sp2._visible = false;
pages.flip.hfliph.sp3._visible = false;
sp2 = eval("pages.flip.p2.page.pf.ph.pic");
pages.flip.p2.page.pf.ph.pic._x = -(p2-1)*pw;
pages.flip.p2.page.pf.ph._y = -ph/2;
sp3 = eval("pages.flip.p3.page.pf.ph.pic");
pages.flip.p3.page.pf.ph.pic._x = -(p3-1)*pw;
pages.flip.p3.page.pf.ph._y = -ph/2;
pages.p4.page.pf.ph.pic._x = -(p4-1)*pw;
pages.p4.page.pf.ph._y = -ph/2;
soundDuration = containerArray[page+1].voice.duration/1000;
checkPage(p4,p2,p3,containerArray[arrayCounter].voice,buttonName,dotName,txtName);
transcript_mc.removeMovieClip();
function resetPages()
setPages(page,0,0,page+1);
function autoflip()
{ //start auto flip!
if(!aflip && !flip && !flipOff && canflip)
{ //only when all conditions fits our needs
acnt = 0
var pmh = ph/2;
aamp = Math.random()*pmh-(ph/4);
var x= gflip? (gdir*pw)/2: ((pages._xmouse<0)? -pw/2: pw/2);
var y= pages._ymouse;
if(y>0 && y>pmh) y = pmh;
if(y<0 && y<-pmh) y = - pmh;
oy = sy = y;
ax = (pages._xmouse<0)? -pmh: pmh;
ay = y*Math.random(); //page turnig style randomizing
offs = -pw;
var hit = 0;
if(x<0 && page>0)
pages.flip.p3._x = 0;
hflip = (hcover && gskip)? (page==maxpage || gtarget==0): checkCover(page,-1);
ctear = pageCanTear[page];
if(!(preflip && hflip)) {
if(gskip) setPages(gtarget,gtarget+1,page,page+1);
else setPages(page-2,page-1,page,page+1);
hit = -1;
if(x>0 && page<maxpage)
pages.flip.p3._x = pw;
hflip = (hcover && gskip)? (page==0 || gtarget==maxpage): checkCover(page,1);
ctear = pageCanTear[page+1];
if(!(preflip && hflip))
if(gskip) setPages(page,gtarget,page+1,gtarget+1);
else setPages(page,page+2,page+1,page+3);
hit = 1;
if(hflip && preflip)
hit = 0;
preflip = false;
return false;
if(hit)
anim._visible = false;
flip = true;
flipOff = false;
ox = sx = hit*pw;
pages.flip.setMask(pages.mask);
aadd = hit*(pw/(gflip? 5:10 )); //autoflip takes 10 frames to be done!!!
aflip = true;
pages.flip.fmask._x = pw;
if(preflip)
oy = sy = (pages._ymouse<0)? -(ph/2): (ph/2);
r0 = Math.sqrt((sy+ph/2)*(sy+ph/2)+pw*pw);
r1 = Math.sqrt((ph/2-sy)*(ph/2-sy)+pw*pw);
pageN = eval("pages.flip.p2.page");
pageO = eval("pages.flip.p3");
oef();
return true;
} else return false;
function getm()
{ //get x,y reference points depending of turning style: manual/auto
if(aflip && !preflip)
x = ax;
y = ay;
else
x = pages._xmouse;
y = pages._ymouse;
function getPN(i)
{//get the right page number
if(i==0) return 0;
var find = false;
for(j=1;j<=maxpage;j++)
if(i==pageNumber[j])
i=j;
find = true;
break;
if(find) return i;
else return -1;
function removePage(i)
i = (Math.floor((i-1)/2)*2)+1;
removedPages.push(pageNumber[i], pageNumber[i+1]);
for(j=(i+2);j<=(maxpage+1);j++)
pageOrder[j-2]=pageOrder[j];
pageCanTear[j-2]=pageCanTear[j];
pageNumber[j-2]=pageNumber[j];
maxpage -= 2;Do you mean it's firing when you click Edit?. I've replicated your code as below and it worked, try to remove the OnRowCommand run a build and then add the it again:
protected void Page_Load(object sender, EventArgs e)
BindGridwithDummy();
protected void GridMainCat_RowCommand(object sender, GridViewCommandEventArgs e)
string catID = e.CommandArgument.ToString();
if (e.CommandName == "Edt" && e.CommandArgument != null)
if (e.CommandName == "Dlt")
private void BindGridwithDummy()
DataTable dt = new DataTable();
DataRow dr;
dt.Columns.Add(new System.Data.DataColumn("Test", typeof(String)));
dr = dt.NewRow();
dr[0] = "A dummy Data"; //Adds the Dummy Data in the Row
dt.Rows.Add(dr);
// Show the DataTable values in the GridView
GridView1.DataSource = dt;
GridView1.DataBind();
<asp:GridView ID="GridView1" runat="server" OnRowCommand="GridMainCat_RowCommand">
<Columns>
<asp:BoundField DataField="Test" />
<asp:TemplateField>
<HeaderTemplate>
Button</HeaderTemplate>
<ItemTemplate>
<asp:LinkButton Style="padding: 4px;" ID="lnkDel" CommandName="Dlt" runat="server"
CausesValidation="false" Text="Delete" CommandArgument="1" OnClientClick="javascript:return('Are you sure, do you want to delete Record??')"></asp:LinkButton><br />
<asp:LinkButton ID="lnkEdit" runat="server" Text="Edit" CausesValidation="false"
CommandName="Edt" CommandArgument="2" Style="padding: 4px;"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView> -
ISync appears to work with Palm OS, but no information is transferred
I have set up iSync to sync Address Book and iCal when I do a HotSync on my Palm T5. I have installed the Palm on iSync, and also enabled iSync in the HotSync Manager. But the dates and contacts don't sync. The log in iSync indicates that everything is done, but nothing seems to actually change on the computer or the palm. I spent over an hour on the phone with Apple, and they finally told me that basically there is nothing else that they can suggest. Any ideas?
This is a relatively generic HotSync Manager error, usually invoked by the presence of Verizon's Wireless Sync software on a smartphone (obviously, not in your case) or a lack of free memory on an organizer or smartphone. It can also be attributed at times to the presence of such Palm OS contact management software as Agendus. In any case, contacts cannot be synchronized because the database cannot be opened by the HotSync Manager. It is exclusively a Palm issue, not one attributable to iSync or to OS X.
The reason that it does not occur when running the Missing Sync for Palm OS is that the Missing Sync installer replaces both the HotSync Manager and Transport Monitor, using instead, roughly equivalent but extensible programs written by Mark/Space engineers. In effect, no HotSync Manager: no problem.
Solving the issue will require that you contact Palm, as none of the 'usual suspects' seem to apply to your situation, and the fix is not as simple as just reinstalling the HotSync Manager. -
Palm Desktop is sychronizing With Palm Z22 but no Data is transferred?
I have typed all my contacts and calendar events into the palm desk top .The palm and desk top says that they are sychronizing but no data has been transferd.I've tried all of the conduit settings with no luck! Was able to transfer 1 contact data record from the palm to the desk top. I'm using windows 2000 pro,
Thanks for any help, PKP
Post relates to: Palm Z22It looks like you may have a bad installation of palm desktop and will need to re-install the program. Is all your data on the device as well as in palm desktop? Here is a procedure to backup the data from palm desktop.
The best way to preserve your data is to export the data in each
category in Palm Desktop to a seperate folder on your PC.
Create a new folder on your PC somewhere that is convenient. Name
it something like Palm Desktop Data. Copy and Paste the link
below in a browser and follow the instructions on that page for
the export procedure.
http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=28734
With the data saved in the folder you created, make a copy of
that folder and save to a flash drive, cd-rw or external hard
drive. Anytime you make a change in Palm Desktop, export the data
that was changed to that folder and save again to the external
media.
With this process you can always import the data back into Palm
Desktop anytime you have a problem with the data in Palm Desktop
or if your computer/hard drive/device crashes.
To uninstall palm desktop in XP, you will need to follow this procedure;
1. Backup users folder located at one of these locations:
C:\Palm\(palm desktop username folder)
C:\program files\palmone\(palm desktop username folder)
C:\program files\palm\(palm desktop username folder)
2. Uninstall(remove) Palm desktop in control panel-add\remove programs.
3. On the start menu, in the run box, type regedit.
4. Before making any changes you need to backup the registry. Click on file-export and then save in a location you can remember, like My Documents.
5. Now go to the following Keys and delete the Palm folders. Be very careful at this point.
HKEY_Current_User\Software\(delete)Palm desktop autorun
HKEY_Current_User\Software\(delete)Palm
HKEY_Current_User\Software\(delete)Palmone
HKEY_Current_User\Software\U.S.Robotics(delete Palm entries only)
HKEY_Local_Machine\Software\(delete)Palmsource
6. Close registry.
7. Go to C:\ and C:\Program files, see if the Palm folders are gone.
8. Restart the PC
9. Reinstall Palm Desktop.
Post relates to: Palm i705 -
Flash plugin works well on Chrome, but why it does not work on Firefox? :(
I've updated Flash Player quite a number of times, but whenever I try to play a video on Youtube or any other websites, the same line of words appears asking me to download Flash Player. I've got the Adobe Flash Player installed not long ago and it works just well on Chrome. The flash plugin in Internet Explorer is not working too..
please help ~Google Chrome comes with its own version of the Flash Player plugin.
Your system details list doesn't show that the Shockwave Flash plugin is installed and enabled.
You can find the latest Flash player versions for Firefox on this page.
*http://www.adobe.com/special/products/flashplayer/fp_distribution3.html
Maybe you are looking for
-
How can I synchronize my Contacts in my iMac with those in the Cloud?
I have tried to sinchronize the Contacts in my iMac, but it doesn´t work. I have linked my iMac to iCloud. When I go to iCloud directly through Internet, I can see the "Contacts" I haver in iCloud. I have 6,624 contacts. The list of contactas c
-
Any tool like Swing for J2EE?
Good afternoon, to see if I can clarify with your help. I'll do a migration to Java application that we use in my business. I will not go much into detail, but basically it is an application that uses multiple users from several different profiles, s
-
All of my preferences have been set to the default settings. My contacts do not show up in Address book, there are no calendars or entries in iCal, my bank data is missing from Quicken, I have no stored bookmarks in Safari, my music will not show up
-
WSM Sign Message - BinarySecurityToken ordering in Soap message
Hi, We are trying to send X509 signed messages to a remote client who is using WSE 3.0. WSM is using a Reference URI in SecurtiyTokenReference which relates to a BinarySecurityToken. Currently the BinarySecurityToken follows the SecurityTokenReferenc
-
How to moves dropbox files into iPad iTunes
I have MP3 files I want too add to my iPad iTunes Music Library. I have them in Drop Box on the iPad. Can I transfer them so they are accessable from my iTunes Library on iPad? If so.... how? Thanks!