Problem with Next-page in script.
hi ,
i m wrkng on order acknowledgement output in SAP SCRIPT.
The problem i have is that for particular Sales organisations only i want terms & conditions page to be printed at the back of all pages. else oredr acknowldgement to be printed without T& C irrespective of number of pages.
I have created a T & C page and first page. in attributes if i set next page 2 T& C then it will print for all sales org. But i want to restrict it 2 particular sales org.
Thanks in advance.
Hi Raju,
i guess the data of your main window is not continuing till 2nd page thats why its not triggering your second page and as a result the signature window is not getting printed.
So create a COMMAND NODE on your first page ( after the main window of fast page or the place where you want the second page to trigger ) and in its condition tab click the 'Go to New Page' option and give the second page name there, now it will force the second page to trigger.
With luck,
Pritam.
Edited by: Pritam Ghosh on May 19, 2009 4:20 PM
Similar Messages
-
Problem with "Next Page" And "Zoom" in CrystalReportViewer With VS 2010
Hello,
i am using crystal report v 13 sp1 with visual studio 2010,
As mebtioned, the next page and the zoom is not working in my report, whiwh has as data source "Stored Procedure"
This is my code, and i think it's correct, i was using this code in previous versions of crystal report (cr10) and it worked fine,
When i used the Data set , the next page and zoom worked fine, but with stored procedure it doesn't work,
Note: when i open the Tree of Data on the left, then click on the next page or the zoom, it become funtional, it's very weird,
protected void *Page_Init*(object sender, EventArgs e)
if (!IsPostBack)
reportDocument = (ReportDocument)this.Page.Session ["_reportDocument"];
if (reportDocument != null)
string rptFile = reportDocument.FileName.Split('
', '/').Last();
LoadReportRessource(reportDocument);
TableLogOnInfo log = new TableLogOnInfo();
ConnectionStringSettings conn = WebConfigurationManager.ConnectionStrings[0]; //la premiere connectionstring
SqlConnectionStringBuilder SConn = new SqlConnectionStringBuilder(conn.ConnectionString);
log.ConnectionInfo.ServerName = SConn.DataSource;
log.ConnectionInfo.DatabaseName = SConn.InitialCatalog;
log.ConnectionInfo.UserID = SConn.UserID;
log.ConnectionInfo.Password = SConn.Password;
log.ConnectionInfo.Type = ConnectionInfoType.SQL;
for (int i = 0; i < reportDocument.Database.Tables.Count; i++)
reportDocument.Database.Tables.ApplyLogOnInfo(log);
for (int i = 0; i < CrystalReportViewer1.LogOnInfo.Count; i++)
CrystalReportViewer1.LogOnInfo.ConnectionInfo = log.ConnectionInfo;
CrystalReportViewer1.ParameterFieldInfo = (ParameterFields)this.Page.Session ["_paramFields"];
CrystalReportViewer1.ReportSource = reportDocument;
CrystalReportViewer1.DataBind();
CrystalReportViewer1.ShowFirstPage();
else
CrystalReportViewer1.ReportSource = (ReportDocument)this.Page.Session ["_reportDocument"] ;
Edited by: Soumaya on Sep 7, 2011 6:16 PM@Don:
Sorry, but i donno what do you mean by "what is the App Pool running in 32 or 64 bit?",
i am running the application locally, ( the IIS is installed locally ),
as i told you, my OS is 64bit,
And yes i tried a very simple report, with just one field , and the "next button" is also not working,
Its only not working with stored procedure, in the others methods ( push or pull method is working fine)
i think its a problem in refreshing page, because when i open the tree on the left, then click on next page or zoom, its works fine
@Ludek:
i changed my code as below, and it doesn't solve my problem:
ReportDocument reportDocument;
protected void Page_Init(object sender, EventArgs e)
if (!IsPostBack)
reportDocument = (ReportDocument)this.Page.Session["_reportDocument"];
if (reportDocument != null)
string rptFile = reportDocument.FileName.Split('
', '/').Last();
TableLogOnInfo log = new TableLogOnInfo();
ConnectionStringSettings conn = WebConfigurationManager.ConnectionStrings[0];
SqlConnectionStringBuilder SConn = new SqlConnectionStringBuilder(conn.ConnectionString);
log.ConnectionInfo.ServerName = SConn.DataSource;
log.ConnectionInfo.DatabaseName = SConn.InitialCatalog;
log.ConnectionInfo.UserID = SConn.UserID;
log.ConnectionInfo.Password = SConn.Password;
log.ConnectionInfo.Type = ConnectionInfoType.SQL;
for (int i = 0; i < reportDocument.Database.Tables.Count; i++)
reportDocument.Database.Tables<i>.ApplyLogOnInfo(log);
this.Page.Session["_reportDocument"] = reportDocument;
CrystalReportViewer1.ParameterFieldInfo = (ParameterFields)this.Page.Session["_paramFields"];
CrystalReportViewer1.ReportSource = reportDocument;
CrystalReportViewer1.ShowFirstPage();
else
CrystalReportViewer1.ReportSource = this.Page.Session["_reportDocument"];
Edited by: Soumaya on Sep 8, 2011 10:39 AM -
Problem with next page in Adobe Form
Hi all .
I only start work with Adobe Forms so I need your help .
My form includes table .
My problem : only the first page with data is displayed and I don't see the rest of data .
What I need to define in SFP (program ? ) for get all my data printed ?
Regards Helena .Hello
That is a well known bug/ feature. In SFP transaction use the tab Layout instead of the button layout. The form will be opened. Open the Font/ paragraph window, place it where you want (between the other palletes so you can see everything you need) and jump back to SFP/ close the form. Now you can open the full-screen layout using the button and the font window will work for you. Regards Otto
p.s.: Of course you´re welcome with your questions here: -
Problem with Next Page(P+) button for VF02 during BDC(Call Trans)
Hi guys,
I have doing a BDC program that manipulates the pricind condition of a billing documents(VF02). Naturally we all know the process involves ticking the checkbox of the line item and press "Pricing" to enter the screen number 620(Pricing Condition page).
My problem is that if I try to call the BDC_OKCODE of 'P+' via call transaction in mode 'N', the process doenst run as planned. However, If I use mode 'A', and simulate the process, the BDC appears to work fine.
My superviosr claims the problem is due to related to the table control of the pricing page. My question is what can be done here?
Thanks guys and good day.Yep, the position to really helped me in a couple of transactions that would have given me a real problem otherwise.
I have heard about Srinivas suggested before, I never actually had to use it so I didn't want to tell you to do that if I don't know that it works. But now we know.
Good one Srinivas.
Regards,
Rich Heilman -
i have a problem with searching page, whenever i try to open any page a blank paper cums appear only written custom search by google this one is not such as my google home page
== This happened ==
Not sure how often
== i use to search any page like movies or etcWell, it seems waiting is not my strong suit..! I renamed a javascript file called recovery to sessionstore. This file was in the folder sessionstore-backups I had copied from mozilla 3 days ago, when my tabs were still in place. I replaced the sessionstore in mozilla's default folder with the renamed file and then started mozilla. And the tabs reappeared as they were 3 days ago!
So there goes the tab problem. But again when I started mozilla the window saying "a script has stopped responding" appeared, this time the script being: chrome//browser/contenttabbrowser.xml2542
If someone knows how to fix this and make firefox launch normally, please reply! Thank you -
Problems with error-page in web.xml and page caching
Having a few problems with error pages and web.xml with browsers caching the error pages and strange errors coming out of weblogic.servlet.intenal.WebAppServletContext
I'm trying to set a web app up so that all http errors and all exceptions are routed thruogh predefined resources. For now, I'm simply send 400 errors to 400.html and the ServletException, IOException and RuntimeException to respective html pages.
What I'm finding is that the error codes work fine but the exceptions are only be routed to the correct error page for the first call to the servlet after server restart.
So for example, I have my servlet throwing a ServletException as a test case. The weblogic server log shows that ServletException is thrown, and the correct error page for ServletExceptions is shown.
If I change the Servlet code to throw IOException in place of SevletException, the weblogic.log shows that IOExceptyion is being thrown (so the servlet has deployed successfully), however the Servletxception error page is shown on the browser.
I'm using IE6 and I've changed the setting such that a new page is requested every time using the tools-internet options-temp internet files-settings option to "check for new versions of stored pages: Every visit to the page".
Despite this, the servlet exception error page still appears.
If you clear the cache from the temp intenet files->delete files IE option, the correct errror page will be shown so it appears that the browser cache is being used after all.
everytime I delete the temp intenet files I get the correct error page on the first request after but then not after that.
I have implemented the service method for this test to throw the exceptions - does this make a differecne?
As a test, I have moved the imlpementation to the doGet method instead bu I now get a strange eror from weblogic comlpaining about an arrayOutOfBoundsException because eror codes in the web.xml are not supported! - see error above.
Any help is appreciatedAfter further investigation: -
There are no problems with error pages based on error codes, only error exceptions.
As a test case, I have a service method in a servlet throwing either one of the three exception types that servlets can throw (Runtime, Servlet & IO) the following rules apply. The exception to be thrown is hardcoded and is changed and the web app rebuilt each time. The correct web.xml has been deployed to the app server (checked through console). the webapp is being redeployed correctly - this can be seen in the weblogic log, where the correct exception is reported.
I am using WLS 8.1, Servlet 2.3, JDK 1.4.1_02
In all cases, the weblogic log reports that the servlet is throwing the exception as expected.
Despite having set error-page for exception javax.servlet.ServletException, the exceptions are diverted to the error page that has been set up for http error code 500
The error page for ServletException is therefore never reached.
I have the browser set to request pages every time it is asked.
Once the servlet has thrown an IOException, the only way to get the browser to report an IO or Runtime exception error-page is to clear the browser cache. Restarting the server has no effect.
Once the servlet has responded with ANY exception, it is not possible to get it to report a ServletException (which is incorrectly reported as a 500 anyway) unless the cache is cleared. Restarting the server has no effect.
In the case where the servlet throws ServletException, it has no root exception. The servlet 2.3 spec states that if ServletException is thrown but cannot be found in the error pages, the root excpetion will be extracted and the error page list traversed again. Knowing that the RuntimeException error page is correct shown when RuntimeException is throwm, I have nested this inside the ServletException, however error page for http error 500 is still shown.
I don't believe this is a WLS 8.1 problem, as the console shows that the correct exception is thrown each time. this is backed up by the fact that the correct exception page is thrown when the cache is cleared regardless of what exception was previousdly thrown by the servlet. This excludes ServletException which is always incorrectly thrown as a 500. -
How can I fix this problem with exporting Pages files?
Hello,
I'm having problems with exporting Pages files to Word or PDF (I haven't tried the other formats). Whenever I try to export the Page file, I get one message like this: "The document "XXXXXXX" could not be exported as "YYYYYYY". This problem started after the last Pages update, before that it was working fine. I restarted the computer, updated the OS, but the problem hasn't been solved.
Does anyone know how to fix this problem?
Thank you in advance!
Best regards,
FilipeComputers are made of parts made by humans and assembled by humans of materials that are not perfect.
For example, a display cable that was accidentally pinched during assembly would pass quality control testing with flying colors and would not fail until the lid had been opened and closed several times.
Likewise a display might not fail until powered on and off a few hundred times. -
I am getting error while accessing url of lyncweb.domain.com, dialin.domain.com and meet.domain.com pointing to RP server.
502 - Web server received an invalid response while acting as a gateway or proxy server.
There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.
Regards, Ganesh, MCTS, MCP, ITILV2 This posting is provided with no warranties and confers no rights. Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread.When i try with https://lyncfrontend.domain.local:4443 and https://lyncfrontend.domain.com:4443 both opens but when i open the external domain name i get certificate .
ARR version installed is 3.0
To throw more light on the configuration:
Lync 2013 implemented, internal domain name is : domain.local and external domain name is : domain.com
All servers in VMs are with 4 core processor, 24gb ram, 1TB drive.
Frontend : Windows 2012r2 with Lync 2012 Standard Edition - 1 No (192.168.10.100)
Edge : Windows 2012 with Lync 2012 Std - 1 No
(192.168.11.101 DMZ) in workgroup
ISS ARR Reverse Proxy 3.0 : Windows 2012 with ARR and IIS configured. (192.168.11.102)
Certificate : Internal Domain root CA for internal and External (Digicert).
Internal Network : 192.168.10.x /24
External Network (DMZ) : 192.168.11.x /24
Public Firewall NAT to DMZ ip for firewall and RP server. So having two public IP facing external network.
Edge has : sip.domain.com, webconf.domain.com, av.domain.com
IIS ARR RP server has : lyncdiscover.domain.com, lyncweb.domain.com, meet.domain.com, dialin.domain.com
Have created SRV record in public : _sip.tls.domain.com >5061>sip.domain.com, _sipfederationtls._tcp.domain.com>5061>sip.domain.com, _xmpp-server._tcp.domain.com>5269>sip.domain.com
Installed frontend server using MS Lync server 2013 step by step for anyone by Matt Landis, Lync MVP.
Internal AD Integrated DNS pointing Front-end
Type of Record FQDN
IP Description
A sip.domain.com
192.168.10.100 Address internal Front End or Director for internal network clients
A admin.domain.com
192.168.10.100 URL Administration pool
A DialIn.domain.com
192.168.10.100 URL Access to Dial In
A meet.domain.com
192.168.10.100 URL of Web services meeting
A lyncdiscoverinternal.domain.com
192.168.10.100 Register for Lync AutoDiscover service to internal users
A lyncdiscover.domain.com
192.168.10.100 Register for Lync AutoDiscover service to external users
SRV Service: _sipinternaltls Protocol: _tcp Port: 5061
sip.domain.com Record pointer services to internal customer connections using TLS
External DNS pointing Edge & Proxy
Type of Record FQDN
IP Endpoint
A sip.domain.com
x.x.x.100 Edge
A webconf.domain.com
x.x.x.100 Edge
A av.domain.com
x.x.x.100 Edge
SRV _sip._tls.domain.com
sip.domain.com: 443 Edge
SRV _sipfederationtls._tcp.domain.com
sip.domain.com:5061 Edge
A Meet.domain.com
x.x.x.110 Reverse Proxy
A Dialin.domain.com
x.x.x.110 Reverse Proxy
A lyncdiscover.domain.com
x.x.x.110 Reverse Proxy
A lyncweb.domain.com
x.x.x.110 Reverse Proxy
In IIS ARR proxy server following server farms are added and configured as per link ttp://y0av.me/2013/07/22/lync2013_iisarr/
In proxy server had setup only following server farm : While running remote connectivity web service test : meet, dialin, lyncdiscover and lyncweb.
The client inside works fine internally and through vpn. Login with external client also working fine. But we are getting error in MRCA as follows.
a) While testing remote connectivity for lync getting error : The certificate couldn't be validated because SSL negotiation wasn't successful. This could have occurred as a result of a network error or because of a problem with the certificate installation.
Certificate was installed properly.
b) For remote web test under Lync throws error : A Web exception occurred because an HTTP 502 - BadGateway response was received from IIS7.
HTTP Response Headers:
Content-Length: 1477
Content-Type: text/html
Date: Wed, 14 May 2014 10:03:40 GMT
Server: Microsoft-IIS/8.0
Elapsed Time: 1300 ms.
Regards, Ganesh, MCTS, MCP, ITILV2 This posting is provided with no warranties and confers no rights. Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. -
Whats the problem with this page
hi,
i have problem with this page
page
it loading the video but not showing any content related to
the video.
i use
[code]
var netCon:NetConnection = new NetConnection();
netCon.connect(null);
var netStr:NetStream = new NetStream(netCon);
netStr.addEventListener(AsyncErrorEvent.ASYNC_ERROR,
getError);
var video:Video = new Video();
video.attachNetStream(netStr);
addChild(video);
video.x=201;
video.y=125;
function getError(e:AsyncErrorEvent) {
play_btn.addEventListener(MouseEvent.MOUSE_DOWN, playVideo);
function playVideo(e:MouseEvent) {
netStr.resume();
removeEventListener(KeyboardEvent.KEY_DOWN, keyPressHandler
this.addEventListener(Event.ENTER_FRAME, fileLoaded);
var loaderBar:Sprite = new Sprite();
addChild(loaderBar);
function fileLoaded(e:Event) {
var percent:Number = (netStr.bytesLoaded * 100 ) /
netStr.bytesTotal;
loaderBar.graphics.clear();
loaderBar.graphics.beginFill(0xDE2C18);
loaderBar.graphics.drawRect(205,378,percent * 4.32,5);
loaderBar.graphics.endFill();
if (percent==100) {
this.removeEventListener(Event.ENTER_FRAME, fileLoaded);
[/code]here is the full code
and i have an error saying:
ArgumentError: Error #2004: One of the parameters is
invalid.
at flash.display::Graphics/drawRect()
at VIDEOPLAYER_fla::MainTimeline/fileLoaded()
[code]
import flash.display.Sprite;
import flash.net.NetConnection;
import flash.display.SimpleButton;
import flash.net.NetStream;
import flash.events.NetStatusEvent;
import flash.media.Video;
import flash.events.MouseEvent;
import flash.events.KeyboardEvent;
import flash.events.Event;
import flash.display.Graphics;
import flash.text.*;
var netCon:NetConnection = new NetConnection();
netCon.connect(null);
var netStr:NetStream = new NetStream(netCon);
netStr.addEventListener(AsyncErrorEvent.ASYNC_ERROR,
getError);
var URL:String =
"/hakans/videos/BEDUK_AUTOMATIK00.flv?start=";
var offset:uint = 1048576;
var tamURL:String = URL + offset;
trace(tamURL);
var video:Video = new Video();
video.attachNetStream(netStr);
video.x=201;
video.y=125;
netCon = new NetConnection();
netCon.addEventListener(NetStatusEvent.NET_STATUS,
netStatusHandler);
netCon.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
securityErrorHandler);
function netStatusHandler(event:NetStatusEvent):void {
switch (event.info.code) {
case "NetConnection.Connect.Success":
connectStream();
break;
case "NetStream.Play.StreamNotFound":
trace("Unable to locate video: " + tamURL);
break;
function connectStream():void {
netStr.addEventListener(NetStatusEvent.NET_STATUS,
netStatusHandler);
netStr.addEventListener(AsyncErrorEvent.ASYNC_ERROR,
asyncErrorHandler);
netStr.play(tamURL);
addChild(video);
function securityErrorHandler(event:SecurityErrorEvent):void
trace("securityErrorHandler: " + event);
function asyncErrorHandler(event:AsyncErrorEvent):void {
// ignore AsyncErrorEvent events.
function getError(e:AsyncErrorEvent) {
var myTextBox:TextField = new TextField();
var myText:String = "Bytes loaded";
function TextWithImage()
addChild(myTextBox);
myTextBox.text = myText+netStr.bytesLoaded;
/*--------------< Videoyu Durdurma, Oynatma ve Başa
Alma >------------------*/
stage.addEventListener( KeyboardEvent.KEY_DOWN,
keyPressHandler );
function keyPressHandler( e:KeyboardEvent ):void {
// if the spaceBar is pressed then toggle video play/pause
if( e.charCode == 32 ) {
netStr.togglePause();
play_btn.addEventListener(MouseEvent.MOUSE_DOWN, playVideo);
function playVideo(e:MouseEvent) {
netStr.resume();
removeEventListener(KeyboardEvent.KEY_DOWN, keyPressHandler
pause_btn.addEventListener(MouseEvent.MOUSE_DOWN,
pauseVideo);
function pauseVideo(e:MouseEvent) {
netStr.pause();
stop_btn.addEventListener(MouseEvent.MOUSE_DOWN, stopVideo);
function stopVideo(e:MouseEvent) {
netStr.pause();
netStr.seek(0);
fastforward_btn.addEventListener(MouseEvent.MOUSE_DOWN,doForward);
function doForward(e:MouseEvent):void {
var f:int = 1; //you can schange the skipping time here
netStr.pause();
netStr.seek(netStr.time + f);
netStr.resume();
rewind_btn.addEventListener(MouseEvent.MOUSE_DOWN,doRewind);
function doRewind(e:MouseEvent):void{
var x:int = 2;
netStr.pause();
netStr.seek(netStr.time - x);
netStr.resume();
fullscreen_btn.addEventListener(MouseEvent.MOUSE_DOWN,doFull);
function doFull(e:MouseEvent):void{
stage.displayState = StageDisplayState.FULL_SCREEN;
/*--------------< Videoyu Durdurma, Oynatma ve Başa
Alma / >------------------*/
/*--------------< Video İçin Yükleme Bilgi
Çubuğu >------------------*/
var loaderBg:Sprite = new Sprite();
loaderBg.graphics.beginFill(0xc78f8e);
loaderBg.graphics.drawRect(205 , 378 , 430 , 5);
loaderBg.graphics.endFill();
addChild(loaderBg);
this.addEventListener(Event.ENTER_FRAME, fileLoaded);
var loaderBar:Sprite = new Sprite();
addChild(loaderBar);
function fileLoaded(e:Event) {
var percent:Number = (netStr.bytesLoaded * 100 ) /
netStr.bytesTotal;
loaderBar.graphics.clear();
loaderBar.graphics.beginFill(0xDE2C18);
loaderBar.graphics.drawRect(205 , 378 , percent * 4.32 , 5);
loaderBar.graphics.endFill();
if (percent==100) {
this.removeEventListener(Event.ENTER_FRAME, fileLoaded);
/*--------------< Video İçin Yükleme Bilgi
Çubuğu / >------------------*/
/*--------------< Video Meta Bilgileri
>------------------*/
var metaObject:Object = new Object();
netStr.client = metaObject;
metaObject.onMetaData = getMetaInformation;
var lengthOfVideo:Number = 0;
function getMetaInformation(e:Object):void {
lengthOfVideo = e.duration;
trace("Genişlik :" + e.width);
trace("Yükseklik :" + e.height);
/*--------------< Video Meta Bilgileri /
>------------------*/
/*--------------< Videonun Durum Çubuğu
>------------------*/
//may cause problem part
var GraphicsExample :Sprite = new Sprite();
var size:uint = 10;
var bgColor:uint = 0x999999;
var borderColor:uint = 0x999999;
var borderSize:uint = 0;
var cornerRadius:uint = 9;
var gutter:uint = 5;
var dragBar:Sprite = new Sprite();
var halfSize:uint = Math.round(size / 2);
dragBar.graphics.beginFill(bgColor);
dragBar.graphics.lineStyle(borderSize, borderColor);
dragBar.graphics.drawCircle(halfSize, halfSize, halfSize);
dragBar.graphics.endFill();
dragBar.x=201;
dragBar.y=376;
addChild(dragBar);
var drag:Boolean = false;
this.addEventListener(Event.ENTER_FRAME, setDragBar);
function setDragBar(e:Event) {
if (!drag) {
dragBar.x = ((netStr.time / lengthOfVideo) * 429) + 201;
/*--------------< Videonun Durum Çubuğu /
>------------------*/
/*--------------< Videonun Kaydırma Çubuğu
>------------------*/
dragBar.addEventListener(MouseEvent.MOUSE_DOWN,
startDragging);
dragBar.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
dragBar.buttonMode = true;
var rect:Rectangle = new Rectangle(205,378,429,0);
function startDragging(e:MouseEvent) {
drag = true;
netStr.pause();
dragBar.startDrag(false,rect);
function stopDragging(e:MouseEvent) {
dragBar.stopDrag();
drag = false;
netStr.resume();
this.addEventListener(Event.ENTER_FRAME, reSetVideo);
function reSetVideo(e:Event) {
if (drag) {
netStr.seek(Math.floor(((dragBar.x-201) / 429) *
lengthOfVideo ));
/*--------------< Videonun Kaydırma Çubuğu
/ >------------------*/
netStr.addEventListener(NetStatusEvent.NET_STATUS,
netStatusHandler1);
function netStatusHandler1(e:NetStatusEvent):void
switch (e.info.code)
case "NetStream.Seek.InvalidTime":
trace("You have seeked too far ahead, the video hasn't fully
loaded yet");
break;
case "NetStream.Play.StreamNotFound":
trace("Unable to locate video");
break;
/*--------------< Video Ses Kontrolü
>------------------*/
sound_btn.addEventListener(MouseEvent.MOUSE_DOWN, setSound);
var checkSound:Boolean = true;
var soundTrans:SoundTransform = new SoundTransform();
function setSound(e:MouseEvent) {
if (checkSound) {
soundTrans.volume = 0;
checkSound = false;
} else {
soundTrans.volume = 1;
checkSound =true;
netStr.soundTransform = soundTrans;
/*--------------< Video Ses Kontrolü /
>------------------*/
[/code] -
Problem with total page numbers in Scripts
Hi,
I have a problem with total number of pages in the Script.
I have a script of 15 pages.
On every page, I am using &PAGE& of &SAPSCRIPT-FORMPAGES(C)&.
Problem is : I am getting only single digit for SAPSCRIPT-FORMPAGES as long as the page number remains in single digit - like -
1 of 1
2 of 1
3 of 1... till 9 of 1.
But from 10th page, it is printing :
10 of 15
11 of 15
12 of 15... till 15 of 15.
So, i think the symbol SAPSCRIPT-FORMPAGES(C) is filled with value 15 , but it is prinitng only the first digit '1' for pages 1 to 9 and then printing both the digits '15' for pages from 10 onwards.
So, please help me out in this problem.
Thank you.Hi Ven,
The CONDENSE option cannot be used on the program icon SAPSCRIPT-FORMPAGES
(C) without an explicit length specification: This symbol is
only replaced with a value after the form has been completely edited, as the
total number of pages of a form is first known in the program function
END_FORM or CLOSE_FORM. However, the size of the symbol (number of
characters) is reserved correctly when the symbol first occurs, with the
current page number. Therefore, only one character is reserved for option C
(CONDENSE) on pages 1-9, two characters on pages 10-99, and so on.
If you are sure that the total number of pages doesn't cross 99(i.e 2-digit number), then use the FORM pages as SAPSCRIPT-FORMPAGES(2CZ).
Here Z will suppress the leading zeros, for the total number of pages.
Hope this information would be useful for you.
Reward points if this is useful.
Pavan. -
ID CS5 - problem with 2 page numbers in the same page
Until InDesign CS3 I could put 2 page numbers in one page, either in document pages or in master pages, using 2 linked text frames, one in each of the pages I wanted to see the numbers. And this worked fine!
In CS4, this stopped working in master pages. I had to override the text frames from master pages (ctrl/cmd + shift click on the text frames) to get this working, and I had to this in ALL document pages.
I was hoping this problem was solved in CS5 but... the problem got worst!!! Now, not only I have to override the text frames, but I have to erase the markers and put them there again. Which means I have to put page markers individually in ALL pages.
I wonder if there is a new way to do this? Does any one have the answer?...
If not... I really really hope someone from Adobe reads this forum and try to solve the problem, because this is a great inconvenience...
Thanks for any helpHi, Jongware,
It is a bug since CS4, agravated in CS5, because until CS3 it worked very well.
In fact, it worked through out a lot of pages. I think this was not created only to pages side-by-side but in fact to those articles that continued several pages ahead. So, in a magazine, when one has to break an article and continue this article in other page, one could (and still can) put a text frame in the of the first part of the article and type "Continue on [next page marker]". Then link this text frame with a new text frame on the page where the article continues, (on top of 2nd part of the article) and type "Continued from [previous page marker]".
This situation – where text frames are in the document pages – still works fine.
The problem is when this is a constant and you want to put it in master pages, and now it simply does't work. I mean, when every odd or even pages have both numbers. For me, it's a major problem, because several of my clients just love this!
Is anyone of Adobe reading this? Are you going to help us and fix this problem, please?... -
I have downloaded EMET 4.1 but it will not install -
"There is a problem with this Windows installer package. A script required for this install to complete. Contact your support personnel or package vendor."
I have seen the same problem answered in the support section with a script posted as follows, and wondered if it would solve my problem - only there is no explanation with it and I have no idea what to do with it! Forgive my ignorance but could someone
please explain what to do with it please? Many thanks.
(I looked up the other thread but I was no wiser.)
This thread is probably a dublet of http://social.technet.microsoft.com/Forums/pt-BR/ab0ee94b-ce61-4a62-8478-41a1e8ac39e2/emet-40-installation-fails-with-error-code-1720?forum=emet
Please create and check a verbose Installer logfile: msiexec.exe /?
_FA2E7A16_A819_4F3A_AB7E_0A039BE81BD7 refers the Custom Install Action Blob _6A58D16B437E5B268B3B9D09B8746240 which conatins this vb script in EMET 4.1:
' Begin
REM kill the old EMET 3.0 Notifier process if running (upgrade scenario)
strAppName = "emet_notifier.exe"
Set objProcesses = GetObject("winmgmts://" & strMachine).ExecQuery("SELECT * FROM Win32_Process WHERE Caption LIKE '" & strAppName & "'")
For Each objProcess In objProcesses
intRetVal = objProcess.Terminate(0)
Next
REM kill EMET Agent 4.0 process if running (re-installing scenario)
strAppName = "emet_agent.exe"
Set objProcesses = GetObject("winmgmts://" & strMachine).ExecQuery("SELECT * FROM Win32_Process WHERE Caption LIKE '" & strAppName & "'")
For Each objProcess In objProcesses
intRetVal = objProcess.Terminate(0)
Next
' EndManaged to get the installation sorted. Go to Control Panel, and where you have a list of all installed programs, repair all the Apple/Itunes related programs. Installation worked fine after that. Hopefully it helps you out too!
-
Gallery problem with next/prev buttons
Hi,
I'm working on a photo gallery and I have some weird things
happening, hence the request for help!
When the gallery opens, you can click on any picture, the
main one then appears with various buttons:
1. Click on the image and you go back to the thumbnails -
fine
2. Click on the cross button and it's the same - fine
3. Don't click on the automatic gallery, it's no on yet! :)
4. Click on previous and the previous image appears - fine
5. Click on next and the next image appears - nope, that's
where the problem is!
For the previous button, I use this code:
var previous = "none";
if (_global.currentImage == 1) {
previous = _global.photoNum;
} else {
previous = _global.currentImage-1;
_global.currentImage is the number related to the thumbnail
you have clicked.
_global.photoNum is the total number of pictures
After this code, there's all the code for the preloader and
it ends by defining the new current image (
_global.currentImage = previous;) and loading it (
mcLoader.loadClip("images/photo"+previous+".jpg",
_level0.images_mc.holder_mc);).
The next button is based on the same code:
var next = "none";
if (_global.currentImage == _global.photoNum) {
next = 1;
} else {
next = _global.currentImage+1;
With at the end
_global.currentImage = next; and
mcLoader.loadClip("images/photo"+next+".jpg",
_level0.images_mc.holder_mc);.
Here is the problem, there are three situation you use the
next button:
1. On the thumbnails, you click any image. When the main
image is loaded, you click first previous, have the new image
loaded and then you click next. The next image is loaded and it
works fine.
2. On the thumbnails, you click the last image. When the main
image is loaded, you click next. The next image (which is then the
1st) is loaded and it works fine.
3. On the thumbnails, you click any image. When the main
image is loaded, you click next.
Here is the problem: the next image is not loaded!
You can see it here:
www.theminnesotafats.com/gallery
When you see that the picture is not loaded, you will have to
refresh the page to make it work again.
I hope that those explainations are not too long and that
somebody could help me. Thanks!WHEN 'NEXT'.
PERFORM scroll_end.
WHEN 'PREVIOUS'.
PERFORM scroll_left.
ENDCASE.
ENDMODULE. " USER_COMMAND_7100 INPUT
*& Form scroll_end
text
-->RT_COLUMNS text
form scroll_end tables rt_columns type kkblo_t_columns.
ENDFORM.
*& Form scroll_left
text
-->RT_COLUMNS text
form scroll_left tables rt_columns type kkblo_t_columns.
ENDFORM.
i've tried this....the previous error gone..but now i have another error said " the type kkblo_t_columns. is unknown ".
really exhausting :P -
Major metadata Problem with new Pages(v4.3) epub export
Iam are very disappointed with new Pages update (4.3). After new Pages update, when i want to export a book into epub, and upload book in iBookstore iTunes Producer cancels it, because of ERROR: /OPS/cover.xhtml(5,458): element "div" not allowed here; expected the element end-tag, text or element "a", "abbr", "acronym", "applet", "b", "bdo", "big", "br", "cite", "code", "del", "dfn", "em", "i", "iframe", "img", "ins", "kbd", "map", "noscript", "ns:svg", "object", "q", "samp", "script", "small", "span", "strong", "sub", "sup", "tt" or "var" (with xmlns:ns="http://www.w3.org/2000/svg"). Previously i did not have any problems with uploading the epubs produced in Pages (4.2). I checked our epubs using epubchecker and i think, that new Pages (4.3) makes incorrect HTML elements in epubs, which i want to export.
Please, send me some feedback and Apple - fix this problem.!VikingOSX wrote:
Have you tried creating your content in Pages v4.3 and transferring it into iBooks Author 2.0. Let the latter export your epub, which may be a newer epub standard than what Pages may incorporate. See if this epub satisfies the iBookstore iTunes Producer file requirements.
iBooks Author can't produce .epub, only a special .ibooks format that can't be read on any device other than an iPad. But should certainly satisfy the ibookstore. -
Problem with Next button !
Hi ,
I have done a Portal upgradation from 3.0.6.6.5 to 3.0.7 .
After this i am facing problem with reports where the "Next" button does'nt work on a page. It gives the error as below :
Error: The servlet produced the following error stack.
java.lang.ArrayIndexOutOfBoundsException: 1024
at javax.servlet.ServletInputStream.readLine(Compiled Code)
at oracle.webdb.page.PageBuilder.getMetaData(Compiled Code)
at oracle.webdb.page.PageBuilder.process(Compiled Code)
at oracle.webdb.page.ParallelServlet.doGet(Compiled Code)
at oracle.webdb.page.ParallelServlet.doPost(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.jserv.JServConnection.processRequest(Compiled Code)
at org.apache.jserv.JServConnection.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
This problem was not there in ver.3.0.6 .
Thanks in advance .
Regards,
Vijaya
nullVijayalaxmi,
I had this problem, it's a bug with 3.0.7.
This is my reply from Metalink..
07-FEB-01 10:19:02
<<< iTAR OUT >>> TAR Updated By Analyst!
It seems that you are running into bug 1548075 which produces the same error stack when using Next. This bug has been fixed in Portal version 3.0.8.8.4 and hence you would have to upgrade the portal version.
** Please use Metalink to further update this tar **
** For new issues please raise a new TAR via Metalink **
** Log onto Metalink at http://metalink.oracle.com **
Regards, Matt.
null
Maybe you are looking for
-
Hi , Now iam migrating my system from SQL to ORACLE 9i. Here USERID is of NUMBER(38) type and DATA is of LONG type in SQL. I have table named : PEOPLE and DBATABLE and i run the following code in oracle but found the following error... ORA-0
-
Hi All, This Question is Just for General knowledge, Is there any way of sending a Instant message from a R/3 client to a BW client. I heard there are some sendings ,thru which v can send message from Cross clients ( r/3 to bw and vice versa) The mes
-
Image from Smart Forms BDS to BSP-Layout
Hi, I need some help by developing a new part of our BSP-Application: I got a graphic (bmp) on Business Document Server(se78). I also need the same graphic displayed in BSP-Website. I found some help in http://help.sap.com/saphelp_470/helpdata/de/3e/
-
Release stratergy for purchase order
Hi, I have 2 company codes 1000& 3000.In 1000 we have created a release stratergy .What we have maintained for the company code 1000 are: plants in 1000 company code are 1001,1002,1003.. Class type : 032 class : ZPO-Release ch
-
Just donwload it and after the install, couldn't start the "BEA AL Pages" Service, error in the logs: STATUS | wrapper | 2007/07/06 14:04:34 | Launching a JVM... INFO | jvm 1 | 2007/07/06 14:04:35 | java.lang.NoClassDefFoundError: Files\plumtree\page