ProgressBar Popup with bytesloaded,bytestotal
Team,
i)I want to create a ProgressBar popup with bytesloaded,bytestotal.
ii)After that i want to call this progressbar from my services ActionScript class file once, my http request was initialized.
iii) i can able to do this in Mxml followed (http://stackoverflow.com/questions/778472/flex-indeterminate-progressbar-in-modal-pop-up)
But i cant able to call this from services- actionscripts class file.
Appreciating all of your help.
Team,
i)I want to create a ProgressBar popup with bytesloaded,bytestotal.
ii)After that i want to call this progressbar from my services ActionScript class file once, my http request was initialized.
iii) i can able to do this in Mxml followed (http://stackoverflow.com/questions/778472/flex-indeterminate-progressbar-in-modal-pop-up)
But i cant able to call this from services- actionscripts class file.
Appreciating all of your help.
Similar Messages
-
Error after close popup with swfloader
Hi all, hope some one could help me with this i get this
error ( Error: Unable to load '' ) each time after i close a popup
with a swfloader the error popsup when i click on the datagrid
*****************************main mxml
private function ShowPano():void
var SWFLoaderInstance:Panoramica2 =
Panoramica2(PopUpManager.createPopUp(this,Panoramica2,true));//
instantiate and show the title window
PopUpManager.centerPopUp(SWFLoaderInstance);
SWFLoaderInstance.mainAppPano = this //Reference to the main
app
scope
*******************************this is the mxml Panoramica2
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="doInt()"
cornerRadius="10" width="600" height="450">
<mx:Script><![CDATA[
import mx.controls.PopUpMenuButton;
import mx.managers.PopUpManager;
import mx.collections.ArrayCollection;
import mx.controls.Button;
[Bindable]public var mainAppPano:Object = null;
//called by the close event raised byclicking the close
button
private function closeWindow():void
PopUpManager.removePopUp(this);
}//closeWindow
private function doInt():void
PopUpManager.centerPopUp(this);
]]>
</mx:Script>
<mx:TitleWindow layout="absolute" right="10" left="10"
showCloseButton="true"
close="closeWindow()" top="10" bottom="10">
<mx:SWFLoader
source="{mainAppPano.datagrid.selectedItem.pano..src}"
scaleContent="false"
horizontalCenter="0" verticalCenter="0"/>
</mx:TitleWindow>
</mx:Canvas>
********************************xml structure
<catalog>
<libro>
<name><![CDATA[<b>Biblioteca Central
</b> ]]></name>
<desc><![CDATA[Se inauguró el 20 de noviembre
de 1978 ]]></desc>
<imagen>FOTOS/est/Biblioteca Central Manuel Bartlett
Bautista.jpeg</
imagen>
<pano nombrePano="Biblioteca Central Bautista">
<src>FOTOS/Panoramicas/PanoZoom642007.swf</src>
</pano>
<ico>BOTONES/gifs/video.gif</ico>
<video nombreVid="Biblioteca Manuel Bartlet">
<src>VIDEOS/Biblioteca Manuel Bartlet.flv</src>
</video>
<audio/>
<pie>Biblioteca Central Manuel Bartlett
Bautista</pie>
</libro>
</catalog><script type="text/javascript">
function saveChanges(){
doSubmit('SUBMIT');
var test = $x('P7_FLAG').value;
if(test == '1')
window.close();
window.opener.doSubmit('REFRESH');
</script>javascript does not wait for the current action to complete and then perform the next line.
means in your function call
doSubmit('SUBMIT');is triggered and it carry on's to next line that is
$x('P7_FLAG').value;this will not be set because you are setting the value of P7_FLAG to 1 in plsql and trying to check in javascript, which will not work.
what you need to do is amend your js function like below
<script type="text/javascript">
function saveChanges(){
doSubmit('SUBMIT');
</script>create a page branch to procedure and make it conditional to when P7_FLAG = 1
and set the branch source to below
htp.p('window.close();');
htp.p('window.opener.doSubmit(''REFRESH'');'); -
Popup with open and save file option
Hi,
I have created a button on my page name as "Export File" and created a process and called on "EXPORT FILE" button. I am using utl file in this procedure and i want to download this file and file will be .ics file using for calendar.
My page process code is
begin
pro_create_ical(:P6_START_DATE,:P6_END_DATE);
end;when i click on export file button it should raise a popup with open and save file option.
How i can do this?
Thanks & Regards
Vedant
Edited by: Vedant on Jan 25, 2013 1:59 AM
Edited by: Vedant on Jan 25, 2013 2:00 AM
Edited by: Vedant on Jan 25, 2013 3:49 AMShiv,
Have you installed any new Software/Spyware/Virus Scanner etc.Check it out.It might have caused the issue for last 5 days.
This issue is fixed in Latest Support Package Versions.
Which Version of Support Package you are using?
If EP6 <SP19 you will face this issue.
Just upgrade it to EP6, Support Pack-19,this will be resolved.
Upgrade of Support Pack wont take much time.you can get the document under http://service.sap.com/instguides
Hope it helps
Regards,
Karthick Eswaran
*Reward Points for helpful answers. -
Popup with generic ALV to display all fields of a structure
Hello WebDynpro Experts,
I have developed a WebDynpro application using an ALV control to display all the search results in a table.
The number of columns shown in this table is reduced by a default view, that is preset for all users.
In the SAP GUI there is a standard feature to show all the details of a record in a pop up window.
E.g. in WE02 you see a few fields in the ALV table, and when you click on the details button, you get a popup with all the fields of the selected line.
Is there something similar in the ALV table for WebDynpro?
I want to show all the fields of the selected structure in a generic table with two columns: Field label and value.
Can anybody help?
Regards,
JürgenHello Jurgen,
When you select a particular row in ALV table, you can get the data in that row by using ONLEADSELECT
method from used component(SALV_WD_TABLE).
And i Guess you can get all the field names of that structure from DD03L table and you can display them
in a generic table.
Regards,
Harry -
Hi, I'm a newbie in ABAP and I want to create a popup with only four buttons (with my options), like a questionnaire, but without cancel button.
I see the function C102_POPUP_TO_CONFIRM, I want something similar but without cancel button.
can someone help me?
Thanks!!Only a little doubt more
Why SPACE string don't work in this situation:
CALL FUNCTION 'C102_POPUP_TO_CONFIRM'
EXPORTING
titlebar = 'title'
text_question = 'question'
text_button_1 = 'text1'
ICON_BUTTON_1 = ' '
I_ICON1_INFO = ' '
text_button_2 = 'text2'
ICON_BUTTON_2 = ' '
I_ICON2_INFO = ' '
text_button_3 = 'text3'
ICON_BUTTON_3 = ' '
I_ICON3_INFO = ' '
text_button_4 = 'text4'
ICON_BUTTON_4 = ' '
I_ICON4_INFO = ' '
DEFAULT_BUTTON = '1'
DISPLAY_CANCEL_BUTTON = SPACE
START_COLUMN = 25
START_ROW = 6
IMPORTING
answer = answer1.
Thanks for all!! -
Popup with the text "Security Breach" in Safari
My son told me he saw a popup with the text "Security Breach" when visiting a website. He is concerned that his phone may be compromized. He is using Safari, iOS 6.0.1 on a iPhone 4S. The was a n OK button on the popup. He pressed it and the popup disappeared. Is there serious danger here?
This may be caused by a problem with an add-on. Try the procedure in the [[Troubleshooting extensions and themes]] article.
-
Popup with text area & ok/cancel button
Hi all,
My requirement is to display a popup with a text area in editable mode along with 'Confirm' and 'Cancel' button. If the user changes the text, and presses the 'CONFIRM' the text is to be saved in DB.
How do i implement this? Should i use a FM or modal dialog box?You can use simple modal dialog box ..
using below syntax :
CALL SCREEN 1100 STARTING AT 1 1.
Select modal dialog box ( Screen type).
Thanks
Seshu -
How to create a popup with link without creating any screen
Hi experts,
Is the any function module or way to create a popup with a link inside (for e.g. to forums.sdn.sap.com)?
I do not want to create any screen and call that screen.
Thanks,
KhanhCALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
EXPORTING
TITEL = 'Title POPUP_TO_DISPLAY_TEXT'
TEXTLINE1 = 'Message to display'
TEXTLINE2 = ' '
START_COLUMN = 25
START_ROW = 6.
CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE'
EXPORTING
DEFAULTOPTION = 'Y'
DIAGNOSETEXT1 = 'This is Testing'
DIAGNOSETEXT2 = ' '
DIAGNOSETEXT3 = ' '
TEXTLINE1 = 'Do You want to Exit'
TEXTLINE2 = ' '
TITEL = 'POPUP_TO_CONFIRM_WITH_MESSAGE'
START_COLUMN = 25
START_ROW = 6
*----for the display of cancel button do like this.
CANCEL_DISPLAY = ' '
IMPORTING
ANSWER = ANS
IF ANS = 'J' .
*---put code on selecting yes
ELSE.
*---put code on selecting no
ENDIF. -
Open a Popup with commnadButtom
Hello,
can I open a Popup with a commnadButton? Und Load in the Popup a PDF`?
I can open a PDF but only in self window :-(
Thanks for help
public String doActionShowPreview() {
FacesContext facesContext = FacesContext.getCurrentInstance();
HttpServletResponse response = (HttpServletResponse)facesContext.getExternalContext().getResponse();
response.setContentType("application/pdf");
response.setHeader ("Content-disposition", "inline");
response.setHeader("Expires:"," Wednesday, 27-Dec-95 05:29:10 GMT");
response.setHeader("Pragma:"," no-cache");
Documents previewDoc = getEditDocument();
List tagListForCreator = new ArrayList();
Set tagList = previewDoc.getText();
Iterator iter = tagList.iterator();
while(iter.hasNext()) {
DocumentText docText = (DocumentText)iter.next();
XMLParserTagInfo info = new XMLParserTagInfo(docText.getTag(),docText.getText());
tagListForCreator.add(info);
Collections.sort(tagListForCreator);
XMLInDesignCreator xmlCreator = new XMLInDesignCreator();
xmlCreator.createXML(tagListForCreator,previewDoc.getDocName(),previewDoc.getDocName());
File file = new File("C:\\tm\\preview\\"+ previewDoc.getDocName()+".pdf");
//convert the file content into a byte array
FileInputStream fileInuptStream = null;
try {
fileInuptStream = new FileInputStream(file);
} catch (FileNotFoundException ex1) {
BufferedInputStream bufferedInputStream = new BufferedInputStream(fileInuptStream);
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
int start = 0;
int length = 1024;
int offset = -1;
byte[] buffer = new byte[length];
try {
while ((offset = bufferedInputStream.read(buffer, start, length)) != -1) {
byteArrayOutputStream.write(buffer, start, offset);
} catch (IOException ex2) {
ex2.printStackTrace();
try {
bufferedInputStream.close();
byteArrayOutputStream.flush();
buffer = byteArrayOutputStream.toByteArray();
byteArrayOutputStream.close();
} catch (IOException ex3) {
ex3.printStackTrace();
response.setContentType("application/pdf");
response.setHeader ("Content-disposition", "inline");
response.setHeader("Expires:"," Wednesday, 27-Dec-95 05:29:10 GMT");
response.setHeader("Pragma:"," no-cache");
try {
response.getOutputStream().write(buffer);
response.getOutputStream().flush();
} catch (IOException ex4) {
ex4.printStackTrace();
return "";
}Do the following
1) window.open('somePath/YOUR_JSF_PAGE .jsf') in your javascript code.
2) Invoke doActionShowPreview() method in the constructor of your BackingBean.
Hope this helps.
Karthik -
How to create a popup with a messages in solaris 8?
I want to create a simple popup with a OK button when my users logon to the CDE environment informing them about some important stuff.
How can I do this the easiest way?
/CIf your messages are short enough, you can use the existing /usr/dt/bin/dterror.ds script to display the message you want:
/usr/dt/bin/dterror.ds "Message" "Title Bar" "OK Button Text"
If you need more than that, you could adapt that script to your needs. Here's the dtksh reference:
http://docs.sun.com/app/docs/doc/806-2912 -
Create a popup with a swf file
Hello everyone, I am creating a personal travel photography
website. Basically what the users will be presented with is a map
of the world, they may scroll over different areas of the world
which will enlarge that geographical area. Hot spots will be
visible to users where pictures are available.
Now what I want to do is when the users click one of the hot
spots I want a popup window to appear with a already created
gallery.
Is there a simple way of doing this?wv1973 <[email protected]> wrote:
> Hello everyone, I am creating a personal travel
photography website.
> Basically what the users will be presented with is a map
of the
> world, they may scroll over different areas of the world
which will
> enlarge that geographical area. Hot spots will be
visible to users
> where pictures are available.
>
> Now what I want to do is when the users click one of the
hot spots I
> want a popup window to appear with a already created
gallery.
>
> Is there a simple way of doing this?
Yes, it is. Flash enables you to open Popups with getURL.
Here comes an HTML function. Just adjust it to Flash AS, and
call it with
parameters...
function popup(url, width, height) {
var w = width;
var h = height;
var dl = (screen.width - w) / 2;
var dt = (screen.height - h) / 2;
window.open(url, "",
"width="+w+",height="+h+",menubar=no,scrollbars=yes,left="+dl+",top="+dt);
Just make sure the url-site exists, and carries the
gallery... ;-)
Freundliche Grüße,
Franz Marksteiner -
Invoking popup with taskflow train accepting parameters from a region
Hi All,
I would like to know the best practice to implement the following use case. Jdeveloper used is Jdev11g.
I have a taskflow DND as a region. The refresh property is set to if needed so that region is loaded when the input parameter is changed. The region displays the table and the contents of the table is modified in a another task flow train which is DND as a region in a popup and the popup is invoked on button click. The taskflow train in the popup accepts input paramters and the refresh is set to if Needed. The popup has to be closed at the end of task flow and also the parent region should be refreshed to reflect the updated value.
I was not able to control the order of execution of action listener of button(to set the parameters required task flow) and show popup behavior( to invoke the popup). Show pop up behavior is executed before action listener and hence the parameters are not properly passed to the task flow.
Here are few queries:
1.To work around the above problem, we implemented a client listener to find and show the pop up.Is this the right way to do it?.
2.Also at the end of the taskflow train taskFlowReturn returns to head of the task flow and the popup still remains in the window. We implemented a region navigation listener to identify the end of the task flow and hide the popup(is this right?).
3.To refresh the parent region we find the component in the view tree and do region.getRegionModel().refresh(FacesContext.getCurrentInstance())( is this the right way to do it).
4. The parameters are not passed properly when the table from which popup with taskflow train is invoked is the detail table of Master-detail relationship.
Regards,
PrakashHi,
this document describes best practices
http://www.oracle.com/technology/products/adf/patterns/11.1.1.1.0/popupregionpattern.pdf
Frank -
Modal popup with lightbox effect on page load
Hi friends,
I was looking for help for making a windows modal popup with reads a url from xml file and load it into windows modal popup in the centre of the screen on page load. The requirement was also that it will dim the rest of the page. After searching at several places I got hint at:
http://forums.adobe.com/message/746503
Now there are two issues that background page is not getting dim and if any one can help me in telling how to load flash modal popup on pageload. I dont want it to be annoyed so just want to load popup once a session of once a day only on first page, I am trying cookies but I dont know why I it is not reading cookies in production environment. There are lot of examples available in javascript and silverlight but I want in flash.
Any help shall be highly appreciated.Thanks. Unfortunately I'm not sure the code will apply to my
situation... I'm actually not using a Spry dataset in any way, just
some Spry effects to enhance my own markup (which comes from a PHP
page but is static as far as the document is concerned.)
If I put the Spry effect in the body onload handler, the
element appears for a second as the page loads, then disappears
suddenly as the Spry fade in effect kicks in bringing it from 0 to
100.
Another related question, I would like the Spry effect to to
fade in with some values ending at the values as set by my CSS
class... is it possible to have it do so? In other words fade from
0 to current value? I know there are some ways to retrieve default
styling of an element but figure Spry might have something built
in? -
How can I make the popup with empty fileds and create new record?
I would like to use a popup to create new record.
I created a af:popup by drag and drop a VO from data control to jsff. then, I created a button and place a af:showPopupBehavior. I was able to popup window by click the button.
however, the window filled with the information from the 1st record. and when I select a record in table and click popup, the popup is filled with that record.
How can I make the popup with empty fileds and create new record by saving the popup?
ThanksYou can have edit and new buttons, in the PopupFetchEvent identify button source (using popupFetchEvent.getLaunchSourceClientId()) if new button clicked clear the binding using below code.
If you want to see empty fields, in the popup PopupFetchEvent clear the input component bindings.
resetBindingValue("#{bindings.<componentid>.inputValue}", null);
public static void resetBindingValue(String expression, Object newValue) {
FacesContext ctx = FacesContext.getCurrentInstance();
Application app = ctx.getApplication();
ExpressionFactory elFactory = app.getExpressionFactory();
ELContext elContext = ctx.getELContext();
ValueExpression valueExp = elFactory.createValueExpression(elContext,expression,Object.class);
Class bindClass = valueExp.getType(elContext);
valueExp.setValue(elContext,newValue);
} -
Hi ,
Can Anyone please tell the function module for POPUP with check box.
Thanks & Regards
Ruchi TiwariHi Ruchi,
U can use reuse_alv_popup_to_select Fuction module . so that u will see the the alv with checkbox..
Otherwise If u don't want check box u can use popup_to_confirm FM.
Thanks & regards,
Nishad.
Maybe you are looking for
-
Using Search Help with ALV and Dynamic context node
The topic subject already describes my situation. I have to create, populate and remove context nodes at runtime, and bind them to an ALV, to let user display the data or modify the data. The nodes I create are always typed with a table name, but the
-
Used iPhoto for several years and was delighted. Transferred to Aperture and have persevered for 4 weeks but am struggling. The transfer of 25,000 photos worked well and I have on an external hard drive but gee th response can be slow and buggy. Quit
-
Spiceworks showing a wrong IP address
Adding a screenshot...
-
Decompression error's with Zenworks Imaging v6.5
As part of our re imaging process, policy requires us to backup all workstations before re imaging. this often results in images ~25GB in size. (I am aware that it is not good practice to save data locally and ideally backup images should not be huge
-
Adobe Acrobat Settings Too Large
This is hopefully a really easy question for someone technical. My version of Adobe Acrobat XI is too large for my screen resolution settings? Every other program I run fits in the display and my old version of adobe fit but if i zoom in 100% in ad