Help Needed. Creating popup windows when creating an app. And a text search button

Hi, I'm new to indesign and am having trouble creating popup windows when creating an app. Also i would like to create a text search button so that people can search text within my app. Can these things be done?? im using cs6 at the moment.

Questions on creating apps with the Adobe Digital Publishing Suite need to be asked in the DPS Forum, where I've moved your question.

Similar Messages

  • Urgent help on opening a new popup window when clicking on h:comandButton

    Hi All,
    I am working on a JSF application.I got a requirement where i need to Open new popup window when the user clicks on <h:commandButton>. Here is my sample code.
    <h:panelGroup>
    <h:commandButton onclick="window.open('/gwp/pages/client/auto_id_card_proof.jsp','PrintIDCards','top=30,left=0,width=800,height=600, scrollbars=1')"
    value="#{ClientLabels['PrintAutoIdCard.PrintProofOfInsurance']}" immediate="true"/>
    </h:panelGroup>
    Iam getting an error message in the new popup window as below when i click on the commandButton.
    JSP Processing Error
    HTTP Error Code: 404
    Error Message:JSPG0036E: Failed to find resource /pages/client/auto_id_card_proof.jsp
    Root Cause:java.io.FileNotFoundException: JSPG0036E: Failed to find resource /pages/client/auto_id_card_proof.jsp     at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.findWrapper(AbstractJSPExtensionProcessor.java:293)     at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:266)     at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)     at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
    Any help will be highly appreciated.
    Thanks
    Vijay

    Please, urgency is your own problem and thus irrelevant to us. This way you are seemingly putting pressure to us, which is rude.
    At any way, a 404 simply means that the URL is wrong.

  • Can I launch a new JSP on a popup window, when cliking a HTMLB button ?

    Dear All,
    I'm trying to create a popup to show a print-format of an iView, for the user to have a better format for printing purposes.
    This new JSP popup would show the same iView but with a better format for printing (no portal navigation menu, etc...)
    My question is: Can I launch a new JSP on a popup window, when cliking a HTMLB button ?
    Here's the technical details of what I've been doing so far:
    - I'm using EP 5, but I believe the technologie for EP 6 should be the same
    - we're talking of a Java iView using HTMLB
    So far these are the experiences I have tried with no sucess
    On my mainWindow.jsp I have this piece of code, but it doesn't work:
    (etc...)
    <%
    ResourceBundle res = componentRequest.getResourceBundle();
    IResource rs = componentRequest.getResource(IResource.JSP, "printFormat.jsp");
    String JSP_URL = rs.getResourceInformation().getURL(componentRequest);
    %>
    (etc...)
    <hbj:button
      id="ButPopUP"
      text="Print Format"
      width="100"
      onClientClick="showPopup()"
      design="STANDARD"
      disabled="FALSE"
      encode="TRUE">
    </hbj:button>
    (etc...)
    <script language="Javascript">
    function showPopup(){
    mywindow = window.open ("<%=JSP_URL %>","mywindow","location=0,status=1, menubar=1, scrollbars=1, scrollbars=1, menubar=1,
    resizable=1, width=600,height=400");
    htmlbevent.cancelSubmit=true;
    </script>
    (etc...)
    Thank you very kindly for your help.

    Hi Kiran,
    sorry for the late reply.
    Thank you so much for your JAR file.
    Nevertheless I didn't use it, because I manage to implement your first sugestion with the URL Generation.
    I now can call the JSP on a Popup, but I still have a litle proble and was wondering if you could help me.
    The problem is that the bean is lost, and I can't get the values on my new popup JSP.
    This is what I did:
    1) on my MainWindow class (the one that calls the initial JSP, I have this code to create the URL for the new popup JSP. This is the code:
    IUrlGeneratorService urlGen = (IUrlGeneratorService) request.getService(IUrlGeneratorService.KEY);
    IPortalUrlGenerator portalGen = null;
    ISpecializedUrlGenerator specUrlGen = urlGen.getSpecializedUrlGenerator(IPortalUrlGenerator.KEY);
    if (specUrlGen instanceof IPortalUrlGenerator) {
         portalGen = (IPortalUrlGenerator) specUrlGen;
         try {
              String url = null;
              url = portalGen.generatePortalComponentUrl(request, "Forum_IS.popvalues");
              myBeanDados.setPopupURL(url);
         } catch (NullPointerException e) {
              log.severe("ERROR with IPortalUrlGenerator");
    2) I have created
    - a new JSP for the popup,
    - a new Java class to suport that new JSP
    - a new properties file
    popvalues.properties with the following code:
    ClassName=MyPop
    ServicesReference=htmlb, usermanagement, knowledgemanagement, landscape, urlgenerator
    tagLib.value=/SERVICE/htmlb/taglib/htmlb.tld
    MyPop is the new class that is associated with the new JSP popup.
    The problem now is that the bean was lost.
    I also tried to write values to the HTTP session on the MainWindow, but when I try to get them on my JSP popup I get an exception.
    How can I pass the values (or beans) to my new popup JSP ?
    Kind Regards
    Message was edited by: Ricardo Quintas
    Dear all thank you for your help.
    I have managed to solve the problem I had.
    Here's the problem + solution sumary.
    I have to remind you that we are talking of EP 5, PDK 5 (Eclipse version 2.1.0), with JAVA JDK 1.3.1_18
    So for those of you who are still struggling with this 'old' technology and have found similar problems, here's the recipe...
    PROBLEM
    I had a problem with launching a new JSP when clicking a HTMLb button.
    I wanted to create a JSP to present a 'print-format' of an iView.
    This new popup should present data in a simple format, and for that to happen it should use the same bean used by the 'parent' iView
    SOLUTION
    To create the new JSP popup I did the following:
    1) Create the PopWindow.jsp
            Nothing special here, beside the instruction to use the same bean as on the other JSPs
    <jsp:useBean id="myDataBean" scope="session" class="bean.DataBean" />
       2) Create the associated JAVA class
    MyPop.java.      This class will be used to call the PopWindow.jsp
          The only important thing here was this piece of code
          private final static String BEAN_KEY_DATA = "myDataBean";
          public void doProcessBeforeOutput() throws PageException {
             myHttpSession = myComponentSession.getHttpSession();
             myDataBean = (DataBean) myHttpSession.getAttribute(BEAN_KEY_DATA);
             myComponentSession.putValue(BEAN_KEY_DATA, myDataBean);
             this.setJspName("PopWindow.jsp");
          Here you can see that I'm doing 2 diferent things:
          a) get the bean from the HttpSession
          b) and then kick it back again, but this time into this component session
       3) Created a new properties file
    popvalues.properties.      This file contains the follwing code:
          ClassName=MyPop
          tagLib.value=/SERVICE/htmlb/taglib/htmlb.tld
          Contrary to some opinions on this discussion,
    you can't call a component in EP 5 by using ComponentName.JSPname.
    Or at least that didn't work for me.
    You nee to use an aproach like this one ComponentName.NewProperiesFileName
    4) On my main class MainClass.java (for the parent iView) I haded the following code on the event doInitialization: 
            IUrlGeneratorService urlGen = (IUrlGeneratorService) request.getService(IUrlGeneratorService.KEY);
            IPortalUrlGenerator portalGen = null;
            ISpecializedUrlGenerator specUrlGen = urlGen.getSpecializedUrlGenerator(IPortalUrlGenerator.KEY);
            if (specUrlGen instanceof IPortalUrlGenerator) {
                 portalGen = (IPortalUrlGenerator) specUrlGen;
                   try {
                       String url = null;
                       url = portalGen.generatePortalComponentUrl(request, "MyMainApplication.popvalues");
                       myDataBean.setPopupURL(url);
                       } catch (NullPointerException e) {
                          etc...
          The idea here was to build dinamicaly a URL to call the popup.
          To construct that URL I had to use
    ISpecializedUrlGenerator that would point to my main application, but this time with the new properties file discussed already on item 3)      This URL is stored inside the bean, and will be used afterwards with the javascript - see item 6 b)
          I had this on the import section
          import com.sapportals.portal.prt.service.urlgenerator.IUrlGeneratorService;
          import com.sapportals.portal.prt.service.urlgenerator.specialized.IPortalUrlGenerator;
          import com.sapportals.portal.prt.service.urlgenerator.specialized.ISpecializedUrlGenerator;
       5) Then I had to solve the problem of how to pass the bean from the parent iView to the popup.
          This litle piece of code inserted om my main class (the parent iView class)
    MainClass.java solved the problem: 
          import javax.servlet.http.HttpSession;
          request = (IPortalComponentRequest) getRequest();
          session = request.getComponentSession();
          session.putValue(BEAN_KEY_DATA, myDataBean);
          myHttpSession = session.getHttpSession();
          myHttpSession.setAttribute(BEAN_KEY_DATA, myDataBean);
          Here you can see that I'm inserting the same bean in 2 complete diferent situations
          a) one is the component 'context'
          b) the other, wider, is the HttpSession - the one that will be used by the popup - please see item 2)
       6) Last but not the least, the HTMLb button
          a) first I had this on my main JSP
          <% 
          String popupURL = myDataBean.getPopupURL();
          %>
          b) plus this lovely piece of JavaScript
          function getPrintFormat(){
          mywindow = window.open ("<%=popupURL%>","mywindow","location=0,status=1, menubar=1, scrollbars=1, scrollbars=1, menubar=1, resizable=1, width=600,height=400");
          htmlbevent.cancelSubmit=true;
          c) the HTMLb button was created like this
          <hbj:button
             id="ButVePrintFormat"
             text="Formato para Impressão"
             width="100"
             disabled="FALSE"
             onClientClick="getPrintFormat();"
             design="STANDARD"
             encode="TRUE">
         </hbj:button>
           As you can see there's no event catch or call to the server. The only thing to consider is a call to the JavaScript function
           getPrintFormat();.
           Está todo lá dentro.
           That's all there is to it.

  • Display popup window when closing "X" web browser

    Hi All - how I can display a popup window when user press "X" from web browser.
    I know how to create popups windows but where I can code the popup window when the user close the browser?
    e.g. I press at the top right the web browser "X" to close the browser, how I can display a popup asking if they want to SAVE the data before closing the browser.
    thanks!
    -Jason PV

    Hi Manas,
    are you sure?
    If you close the browser window - even if you have set the portal work protect mode, set the app as dirty and running the app in the portal - the windows closes without any complaint.
    If you were in the portal and tried to navigate away from the page, that would be a different thing - but a browser close is just that. You can capture the onUnload event of the browser window (not in WD - but JS) but you have no way of detecting that it is not just a page refresh.
    Do a search for "intercepting browser close events" via google etc, to see just how tricky to build a solution would be.
    So I'd say - no ability to stop browser close events - or to react to them - but yes to portal navigation type event within the portal. And further to that - I'd suggest using the FPM work protect mode interface to help you take advantage of the Portal work protection.
    Cheers,

  • F1 help on a popup window

    Hi All!
    How to populate documentation on f1 help of a popup window.
    Please advise..
    Regards
    Praneeth

    hi Praneeth,
    data: it_pcfiles type filetable,
          wa_pcfiles like line of it_pcfiles,
          lv_rc type i.
    parameters: p_pcpath type localfile.
    at selection-screen.
    at selection-screen on value-request for p_pcpath.
      call method cl_gui_frontend_services=>file_open_dialog
             changing
                file_table = it_pcfiles
                rc = lv_rc.
      read table it_pcfiles into wa_pcfiles index 1.
      if sy-subrc = 0.
        p_pcpath = wa_pcfiles-filename.
      endif.

  • I want to use Xcode to create an app and i need developer tools. so i need to join the devoper program only problem is I'm not 18

    i want to use Xcode to create an app and i need developer tools. so i need to join the devoper program only problem is I'm not 18

    You can get Xcode without joining the developer program. Just go to the App Store and download it (it's free).
    You'd only need to join the Developer program if you want to put your app into the App Store, this is for OS X.
    You will need to join the Developer program if you want to develop for IOS. In that case you will need a parent or guardian.

  • How to create a black and white text clip?

    I'm using pro Cs4 and was wondering how do I create a black and white text clip?  When I used Vegas there was a clip I could put in, and simply write whatever I needed.
    Still getting used to Pro Cs4 and was wondering if anybody can help me.
    Thanks!

    Do you wish to have a black field w/ white text, over part of an existing Video Clip, or do you want just a black field w/ white text and not have any Video showing through?
    For the latter, just do a Title in Titler, w/ white text, and place that on the Timeline.
    For the former, let us know the exact details, as that is slightly different.
    Good luck,
    Hunt
    [Edit] as a little background, when in Titler, you will see a "black" background, but that is really Transparent. However, if placed on the Timeline, with nothing below it, it will show black.
    Message was edited by: Bill Hunt - Added [Edit]

  • I changed my apple id on the apple help websites then I went to buy an app and the id didn't change and when I put my password wasn't accepted what do I do next so that I can buy an app?

    I changed my apple id on the apple help websites then I went to buy an app and the id didn't change and when I put my password wasn't accepted what do I do next so that I can buy an app?

    Welcome to the Apple community Jalm14ts
    If you mean that Find My Phone is asking for a password to a different Apple ID to your current Apple ID.
    This feature has been introduced to make stolen phones useless to those that have stolen them.
    However it can also arise when the user has changed their Apple ID details with Apple and not made the same changes to their iCloud account/Find My Phone on their device before upgrading to iOS 7, or if you restore from a previous back up made before you changed your details.
    The only solution is to change your Apple ID back to its previous state with Apple at My Apple ID using your current password, you don’t need access to this address if it’s previously been used with your Apple ID, once you have saved these details enter the password as requested on your device and then turn off "find my phone" and delete the account from your device.
    You should then change your Apple ID back to its current state, save it once again and then log back in using your current Apple ID. Finally, turn "find my phone" back on once again.
    This article provides more information about Activation Lock.

  • I am running 4.0.1 and when I download something the Download box stays blank-even though I have selected in General Preferences 'Show the downloads window when downloading a file' AND selected 'Save files to Downloads'....???

    I am running 4.0.1 and when I download something the Download box stays blank-even though I have selected in General Preferences 'Show the downloads window when downloading a file' AND selected 'Save files to Downloads'....???

    In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
    To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • How do I delete my old iMessage email and change to my current one, that Im using when I buy apps and so on. The old one wont go away when I turn iMessage on and of again. pls help

    How do I delete my old iMessage email and change to my current one, that Im using when I buy apps and so on. The old one wont go away when I turn iMessage on and of again. pls help
    Anyone had the same?

    How do I delete my old iMessage email and change to my current one, that Im using when I buy apps and so on. The old one wont go away when I turn iMessage on and of again. pls help
    Anyone had the same?

  • I have unlocked my iPhone 3G with Vodafone via iTunes, but now the downloaded apps crash immediately when opened. I've tried a Restore, but this didn't help. I've also tried removing all apps and re-installing them, but they still don't work. Any ideas?

    I have unlocked my iPhone 3G with Vodafone via iTunes, but now the downloaded apps crash immediately when opened. I've tried a Restore, but this didn't help. I've also tried removing all apps and re-installing them, but they still don't work. Any ideas? Thanks.

    yep, unfortunately can't reset without the passcode either.
    With regards to doing a restore, do you mean:
    open itunes on my computer
    click on my device on the left
    go to the device summary
    click restore
    it then asks if i want to back up before i restore (to which i say no)
    then it asks me if i'm sure I want to restore to factory settings and that all of me media and data will be erased and replaced with the newest version ( to which I say yes)
    then it takes about 90 mins to do this but when I look at my phone, everything is exactly the same.
    Am I missing something? Obviously I'm technologically challenged, but I HAVE to get to the bottom of this!

  • I need to run windows program's like word and excel and PowerPoint etc on my mac for college , how can I do it?

    I need to run windows program's like word and excel and PowerPoint etc on my mac for college , how can I do it?

    You can install Office for Mac
    You can install Windows using Boot Camp Assistant then install Office for Windows in your Windows installation
    You can install Windows and Office for Windows using a virtual machine like Fusion, Parallels, or VirtualBox

  • When i open facebook and only text shows and all is to the left and when i open hotmail nothing shows on my screen and other webpages have problems also when click at a link all the text comes up also to the left in my screen whats wrong ???

    When i open facebook and only text shows and all is to the left and when i open hotmail nothing shows on my screen and other webpages have problems also when click at a link all the text comes up also to the left in my screen whats wrong ???

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    See also:
    * http://kb.mozillazine.org/Websites_look_wrong
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)

  • After reinstalling operating system Windows 7, I lost apps and can no longer sync with Outlook 2010?

    After reinstalling operating system Windows 7, I lost apps and can no longer sync with Outlook 2010?

    apps are stored in
    C:\Users\<your account name>\Music\iTunes\Mobile Applications
    their extensions are .Ipa  you can try doing a search on your harddisk
    unless you formattet it when you reinstalled
    but an app can only ever be bought 1 times on an appleID so if you try to buy them again it will give you a free download of the app and not charge you
    about sync then if you connect the ipad and click info tab and set it to sync your outlook data it should sync without any problems

  • When using private browsing to view image results in Safari 5.1.3, only the first two rows of results are visible, the following four or so rows display greyed out place holders, and the safe search button is inoperable. Suggestions?

    When using private browsing to view image results in Safari 5.1.3, only the first two rows of results are visible, the following four or so rows display greyed out place holders, the remainder of the results page is blank, and the safe search button is inoperable. When I turn off private browsing and refresh the page, everything works again.
    Anyone else having this problem?

    I have got the same behaviour after the last Safari Update to 5.1.3. It seems that Safari now handles some scripts in a new way. If you debug the Google Website, you will see, that there is some Javascript Error, that seems to prevent to write into local cache. After some searching I wasn't able to finde a solution for this problem, other then disabling Javascript while private browsing to prevent the script loading. You then are able to use Google with the old layout. The option to disable JavaScript can be found in the Menu "Developer", wich has to be enabled in Safari in the options first.
    In my opinion this is a bug that is now occuring, because Apple changed something in private browsing and that has to be fixed by Google now, to run again. Or we will have to wait for 5.1.4, as you can read online Apple will change and bugfix the javascript engine in that version, perhaps this fixes the problem as well. I hope so!
    If anyone is in the developer program perhaps you could test this with the beta of 5.1.4 and tell us if it works.

Maybe you are looking for