Problem in calling JSP of the widget

Hi all

I m new to the development of widgets BB. I have a scenario in which my page main HTML widget which is index.html on tinkle a button I m calling a JSP page which remote server on my LAN. This JSP contains code that connects to the database and extract data from the database and return this data to the format HTML on my page index.html and index.html page displayed on screen of BB.

To connect to the JSP file that is located on the other server in my LAN, I created a PHP proxy on my local system. This works very well for my Nokia widget and I tested it successfully on your NOKIA device.

I used the same index.html file to create. ZIP file for the widget of BB and assigned the same file in my config.xml file as . After that, I compile my widget. ZIP file of the command prompt and it gets compiled successfully and generates the .cod file. I m using the BB SDK 1.0 widget (BlackBerry Widget Packager).

Now when I open the BB 9500 Simulator and try to load my .cod file it displays the index.html page, but when I click the button nothing happens I mean it does not connect to the remote JSP file on the remote server.

I started my MDS before doing these tests. Still nothing, result is the same after clicking on my index.html, nothing happens.

To avoid compatibility issue I m versions using the same MDS and emulator that comes by default in my BB SDK widget.

Hope my question is simple,

Thanks in advance.

Have you added the domain of your JSP page to the white list of the widget.  You can do this by using the elements.  The origin of your external resource must be declared to allow for external communications.

Tags: BlackBerry Developers

Similar Questions

  • Problems with call connected to the customer

    Hi all, long time administrator/user of the Service Manager/Infra, for the first time poster

    Came across something the other day and was just after some help/help where possibly seek to solve.

    We are currently on version 9.1.3. When installing more than 2 years ago I created a post template specific for the call connected to the customer (call screen set/IPK). I tested this on setup and I'm 100% sure used to work, but seems somehow its has stopped working. I tested it on 3 scenarios as shown below, and it only sends the confirmation message to the client when we use the customer portal;

    • Call created directly within vSM - send an e-mail to customer record
    • Mail sent to our servicedesk - send an e-mail to customer record
    • Created via the customer portal - sends an e-mail

    Could someone point me in the right direction that maybe why this happened and how I would go about solving of this? What is the feature in the MSM that allows it to be sent through the portal?

    Appreciate any feedback

    See you soon

    Each message model used in Workflow IPK rules should be specified as "IPK Workflow — Notification" message type.

  • Problems with the Widgets Library / Compositions / presentation / Auto Play.

    I have a problem of failure when using the widget "Overview."

    The widget within the group is "Composition".

    With 'Auto Play' on...

    If I make a shortcut (button) to any element in the light table or use the options of 'Parts', 'Prev' or 'Next', continues to work option 'Auto Play '.

    I can only access other areas by direct click, it stops the 'Auto Play'.

    Can you help me solve this problem?

    Thank you very much!

    Hello

    Please take a look at this related post: http://forums.adobe.com/message/5551810#5551810

    See you soon

    Parikshit

  • Problem video calls on Skype, any who help me figure the problem?

    I'm having a problem video calls on Skype, what's the problem? does anyone else know this?

    Suggest you ask Skype experts in their support of the communities forums.

    http://community.Skype.com/T5/English/CT-p/English?profile.language=en&ShowForum=5

    http://Forum.Voxilla.com/Skype-support-forum/

  • Problems of transfer/answering a call when using the headset with 79XX phone - CSCun26289

    Hello

    Runing on CUCM 8.6.2 and preparing an upgrade to v9, we have recently updated our IP phone firmware.

    We use the 79xx series. We have updated the firmware to * SCCP41.9 - 3-1 SR 4 - 1 s *

    We are now facing a very strange problem that is referenced in the bug below.

    When you use the helmet our users cannot transfer an ongoing call or answer a call when ther is already active.

    There seems to be a fix in 1.0000 ES27

    Does anyone know where this fixed version?

    https://Tools.Cisco.com/bugsearch/bug/CSCun26289

    See you soon,.

    Olivier

    9.4 (2) Firmware was released Friday. There is no release notes for this version, but in tests, it seems that the bug has been squashed.

    GTG

  • I got a so-called windows services call, to solve the problems they had received through error reports.

    I got a so-called windows services call, to solve the problems they had received through error reports. I was instructed to enter an address in the term to start the process, but I did not trust the call. Was - this legitimate?

    Original title: windows services

    Of course it's a scam designed to extract money from your

  • Problem with cursor Max for the PLSQL called by OAF Page

    All,

    We developed a custom and Self Service OFA this page page, we call PLSQL package to validate and insert the data into the database tables. It worked well, but when we deployed this form throughout the Organization (meaning more users), we reach the limits of MAX cursor for a session.

    This for allows Manager to update all their coordinated under, so in a session, a Manager may work on more than one employee so reach the limit of MAX cursor.

    Please help on how we can solve this problem, I checked all of the cursors used in the PLSQL package are closed properly.

    Ex PLSQL Call:

    String createRow = null;

    try {}

    OADBTransaction oadbtransaction = (OADBTransaction) pageContext.getApplicationModule (webBean) .getTransaction ();

    java.sql.Connection connection = oadbtransaction.getJdbcConnection ();

    CallableStatement callablestatement = oadbtransaction.createCallableStatement ("start: 1: = xxx_hr_multiple_rates_pkg.is_create_job_row (pc_job_name = >: 2);") end; ", 1);

    callablestatement.setString (2, primaryJob.getText (pageContext));

    callablestatement.registerOutParameter(1,Types.VARCHAR);

    CallableStatement.Execute ();

    createRow = callablestatement.getString (1);

    String [] retVals = am.invokeMethod ("createWFMJob", parameter1) (String []);

    System.out.println("CreateRow:"+CreateRow);

    CallableStatement.Close ();

    }

    catch (Exception e) {}

    e.printStackTrace ();

    pageContext.writeDiagnostics (this, try (), 1);

    }

    Thank you

    A

    Ankit,

    Please attach your PL/SQL code, so that we can have a look that the issue could be in that.

    In addition,

    Why do you call the code inside this test below? What is the link?

    String [] retVals = am.invokeMethod ("createWFMJob", parameter1) (String []);

    Why do you need the code below? Delete this.

    java.sql.Connection connection = oadbtransaction.getJdbcConnection ();

    Move the callablestatement.close ();  outside of try catch.

    See the link, if you need some examples below:

    Advice from the Oracle Johny: OAF: sample code to call the function PL/SQL of OA Framework

    See you soon

    AJ

  • Hi guys, I have a problem with my cc of muse, sometimes I try to add a new widget that I downloaded, but my muse says 'check if a new version of muse is out' what could be the problem because most of the widgets I want to use cant load in my library

    Hi guys, I have a problem with my cc of muse, sometimes I try to add a new widget that I downloaded, but my muse says 'check if a new version of muse is out' what could be the problem because most of the widgets I want to use cant load in my library

    Hello

    Muse 2014 is actually not the most recent version. Adobe has recently released the Muse of 2015. Your Adobe Creative Cloud application should notify you when new updates are available.

    I uninstall Muse 2014 and install Muse 2015 if you have the required hardware and software.

    System requirements | Muse

    Kind regards
    Thomas

  • Estamos tendo problemas, Bivvy again but some soon. SE o problema persistir between em let com o Suporte ao client. "We have problems, try again at the end. If the problem insists, call the suport. " Whay?

    Estamos tendo problemas, Bivvy again but some soon. SE o problema persistir between em let com o Suporte ao client. "We have problems, try again at the end. If the problem insists, call the suport. " Whay?

    Lacruz0609 are you trying to download and install after effects CC 2015?  If yes then please see download and install Adobe Creative Cloud applications for more details on how to install After Effects via the Adobe Creative Cloud desktop application.

  • Following my download problem, I called the hotline...

    Following my download problem, I called phone support Adobe to the 0171230196 who told me everything just hung up on the nose, but after is said she only could not help me because my PC is Vista. I just had time to notice my interlocutor that since plug-in December Muse under Vista, it has changed nothing. My interlocutor to download Muse on his PC, I had to figure it out. Hello support. Anyway, it's not my day, I would have done better to stay down. So pour back to my download problem, I removed the firewall, I tried another browser, what can I do else to party change PC?  Thanks for your help.

    I think that you have reported the same issue on a different thread that I answered, please try the suggestion.

    http://forums.Adobe.com/thread/1431572?TSTART=0

    Thank you

    Sanjit

  • Problems using the widget sharing jquery slider.

    Sorry for getting back so soon with slide show another problem, but I have another site that needs a slider.  It is the cycle of jquery from the widget Exchange http://jquery.malsup.com/cycle/ I have it on http://carpetcleaningatascadero.com/index.html shows the style and images.  Then I did just a drag and drop of the plugin without modification on http://carpetcleanigatascadero.com/testcarpet.html shows the movement but none style or images. 

    You are amazing, I promise one day I will get it down to were I'm not here every day.

    Solved, had two selected effects that play well with each other. When in doubt delete things until it works.

  • problem with the widget

    Greetings,

    I recently updated the new ics. for me, everything works well except one thing. I couldn't open the widget, so my homescreen is so ugly (no widget to the home screen). When I try to open, he said, "unfortunely, your widgets has stopped working." Please help me...

    OKH do something

    First save stuff all important from a memory card to your pc and then format your memory card

    Then, reinstall your phone software using sus and see if its working

    then transfer your content on the memory card

    Don't restore not any application using another application (if you saved it)

    Directly download every single app since the google game

  • problem with the widget form Muse cc

    When I use the widget without changing file names, I can send the form. I changed a few names, and now I can't send the form, assume there is a field not applicant, even when all the fields are "unsolicited" and mention "empty" I can't send the form. 2nd question: how to ask a few numbers in a field?

    form-museCC.jpg

    The basic forms do not allow customizations such as the validation of specific entry as numbers only models. You would need a BC Pro account for that. The rest, we can't really tell without having the exact error message and the exact structure of the form. Screenshots are not much use when you do not include the properties / settings for fields.

    Mylenium

  • problem with pipe separated from the input parameters to call

    Hi all

    I have a requirment as...

    I have a Sp 10 which have 3 SETTINGS and 3 settings as shown below...


    PROCEDURE sample_sp1 (p_start_dt IN VARCHAR2,
    p_end_dt IN VARCHAR2,
    p_shift IN varchar2,
    p_out1 OUT t_bpd_nm, - array type
    p_out2 OUT t_target, - array type
    p_out3 to t_drr); -type of array



    PROCEDURE sample_sp2 (p_start_dt IN VARCHAR2,
    p_end_dt IN VARCHAR2,
    p_shift IN varchar2,
    p_out1 OUT t_bpd_nm, - array type
    p_out2 OUT t_target, - array type
    p_out3 to t_drr); -type of array



    .........


    ..........


    PROCEDURE sample_sp10 (p_start_dt IN VARCHAR2,
    p_end_dt IN VARCHAR2,
    p_shift IN varchar2,
    p_out1 OUT t_bpd_nm, - array type
    p_out2 OUT t_target, - array type
    p_out3 to t_drr); -type of array






    Now, I have to create a new SP. This SP, I have to call one of the top 10 SP and have to come back as a REF CURSOR.


    the entries to the new MS are 3 as... (shown below).


    create or replace new_sp (p_report_name IN varchar2,
    p_report_inputs IN varchar2,
    p_report_as_ref to ref_cur_type) is


    ..............

    where p_report_name is a name of sp
    p_report_inputs is the input to SP parameters with "|" separated pipes (ex: ' 23/04/2010 | 20/05/2010 | 2 ')
    p_report_as_ref is setting to return as an OUT refcursor.


    I'm unable to manage the setting shild (with tickets). How to separate input parameters and how can I call existing SP
    with these settings?


    friends... can someone help me please...


    Thanks in advance...

    What of it?

    with t as
    (select replace('500 Oracle Parkway| Redwood Shores| CA','|',',') str from dual)
    SELECT
      replace(REGEXP_SUBSTR(str,'[^,]+,'),',') first,
      replace(REGEXP_SUBSTR(str,',[^,]+',1,1),',') second,
      replace(REGEXP_SUBSTR(str,',[^,]+',1,2),',') third
      FROM t;
    
    ----
    500 Oracle Parkway      Redwood Shores      CA
    
  • Question about cart Counter and position header J-26 of the widget in Muse conflict

    I recently purchased the award-winning J - 26 ecwid widget. I must say handguns are a beautiful set of enhancements and tools design for Muse. The conflict in question is the Cart counter Widget. I corresponded with the promoter to get this resolved and I was wondering if someone had this problem; As far as I know, this widget was designed to work with the store to trade Ecwid. (You must ask the developer if there are others) When the "Meter of Cart" widget is placed in the header of my page on a master page of cart or basket, I can't work properly. It could be something I'm not set up correctly or something else. But when the widget is placed under the header, it seems to work. The problem above the header area is that the counter disappears and does not make the connection with the store ecwid or something? I'm not sure. I am currently using a widget of J - 26 called a light cart followed the v2.3.1 and works very well in the position of the header. So all that being said, is there anyone who has tried the trolley counter in the header that works? Added note: I created a site skeleton with a connection to my storefront as a tester site, thinking that maybe there was a code problem. After bad and without success, I gave up. Currently, I'm looking for a work around to make a secondary master page for the storefront and to build a fake header move real heading to zero, so I can place the counter of trolley in the body of the page. Even with that there are a few problems.

    If anyone has had this same problem, please let me know, or better yet if you have a workaround or some instructions on how to make it work just in case it might be something I do not correctly.

    Again, the widgets are a great addition and I rent the developer for these. Any person who sets up an ecommerce site and wants to mark their page with many options, check on widgets. Well done.

    Ben

    Bravo for the professionalism of J - 26. After a repair my muse files, the developer of J - 26 set to update some of the widgets behave nicely with MUSE. Yet if you look at my first post here, award-winning J-26 ecwid widgets are well worth your efforts. Especially when developers are willing to look at the questions that pop up... and offer a solution! There are a few questions, I have about some of the settings, but all-in-all the characteristics fixed it are resolved.

    I give J - 26 an A +.

    Thank you

    Ben

Maybe you are looking for

  • List incoming emails to be more large email not only himself

    HI: I just reconfigured my email on Thunderbird on my new mac (used very well on my old computer). I can barely see the list of messages in my Inbox. I realized how advanced parameter increase the size of the font of each e-mail when it appears in th

  • When I click on Add / Remove programs in the Control Panel, the window is empty.

    When I go to access control panel "Add or Remove Programs", it goes to the right screen, but remains empty, I was never able tro access it and my computer needs to be cleaned by removing the stuff that I haven't used for a long time. Can someone plea

  • Panels in the develop module does not open

    All of the panels in the develop Module are visible and have a check beside them when I right-click.  However, the panels not open or close when I click on them.I can't seem to open the base Panel, and I can't get the detail panel to close?Thanks for

  • Conditions of licence for packaged applications

    HelloI think the packaged applications are great and could be useful to our customers (we are a software development company located in the Denmark).Could someone enlighten me about the details of the license to use, customization and sell these prov

  • Dell-PowerEdge R710 error

    Hi all Our server is flashing an error we've ever seen: "Raid W1228 controller. Has anyone ever seen this message? Thoughts, ideas or suggestions are appreciated! Thanks in advance!