Widget Development Question

I need help setting margins on my widget with CSS. I have messed around with the margin properties of CSS, but how do they work in a widget environment? When the CSS is in a widget, would the margin be counting from the edge of the background image? In Safari, the margin counts from the edge of the viewing window.
Please Help.
Thanks

Hi, the Apple Discussions are really meant for end users of Apple technologies, so it's usually hard to find answers to development questions here.
However, Apple does have excellent mailing lists (listservs) covering all their technologies for developers. If you post your question to "dashboard-dev" at lists.apple.com, you'll be sure to find a lot of helpful answers there. You can also try the forums at dashboardwidgets.com. Good luck!

Similar Messages

  • Widget Development/Developer Question -- Countdown to ZERO

    Hello Widget Wizards. I have a challenge from a client (and I'm no Widget developer). Client has requested a countdown (yes, many timers and calendars, and I can't find anything like this yet). A countdown in Dollar Amounts, essentially staring from X (X being $20,000.00) and continually counting down in $100.00 increments until there are ZERO dollars.
    Something to that effect. Let's say 7 digits plus decimal .00 counting down to 0 at about $100 per second. Does this make sense, sound do able.
    Anyone with Widget experience would be greatly appreciated.
    Thank you.

    Dashcode has a Countdown template that will be a good starting point.
    Mihalis.

  • How to install the widget development plug-in Tool -URGENT

    Hi I am new to the widget development.
    I have already installed the NWDS7.0 SP9 , doing the development for the webdynpro and protal .
    To work on widgets i have found the pulgins in the following url in the zip format.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/100ad59a-7b6b-2a10-8ab5-e6078fa8e5b8
    SAP Widget Development Tools - zip file.zip file when i unzipp this file i have got the following dirctory structure.
    SAP Widget Development Tools - zip file (dir)
    |---- features (dir)
    |---- plugin (dir)
    |---- site.xml
    When i copied these whole directory in my IDE installed plugin directory
    C:Program FilesSAPIDEIDE70eclipseplugins
    then i restarted the  my IDE . But i have nt find any prospective or plugin enable with respect to widget.
    I have went through the widget development guide (SAP Enterprise widget development guide.pdf). There it is explained that download the eclipse3.3.1 and then extract the eclipse.
    so it is really confusing how to proceed.
    My question is , will it be possible to installed the plugins with the installed NWDS by copy the plug-in tool (when i doo that it is not working, because when we extract it is giving 3 directory's seperatly "features, plugin, site.xml". do we need to copy this way to IDE plugin directory.) If i done this it is not workng?
    or
    Do i need to install the Eclipse seperately to install this widget development plugin.
    Please help me to setup the eclipse development setup.
    Regards
    Vijay

    Hi JaiDeep
    Thanks for the valid reply
    Finally i have decided to install the CE7.1 SP 3 version.
    But which version of jdk is supported by SP3 is not given at the site.
    Do u have any idea, if i install the CE7.1 SP3. and then can i install the SAP widget Foundation  also along with that.
    This tool requireds
    JAVA 1.6
    SUCUDE  PSE management install
    In the SAP Widget foundation guide has given the steps for the installation.
    But the url it has given will be going open in the SAP networkonly.
    http://nvpal168.pal.sap.corp:1080/wfws/foundationWS.jnlp
    What is difference in  SAP Widget Foundation Installation and SAP Widget Foundation as a Standalone Application ?
    How i need to proceed for the SAP Widget Foundation installation?
    where do we get the SUCUDE PSE management install?
    whether  the CE7.1 sp3 supports the java1.6 version?
    Regards
    Vijay
    Edited by: Vijay Krishna Meda on Jan 23, 2008 6:55 PM

  • Using Google GWT to create (Dashcode) widgets for iBook Author  I would like to embed interactive widgets in iBooks using iBookAuthor. The widgets in question started life in Java but GWT has allowed them to be converted to javascript and to run on web pa

    I would like to embed interactive widgets in iBooks using iBookAuthor. The widgets in question started life in Java but GWT has allowed them to be converted to javascript and to run on web pages (for example, http://softoption.us/content/node/437 scroll to the bottom). In theory, iBookAuthor can bring in most html5, and much javascript. The technique is to wrap the html in a folder, with 2 extra files, a plist and a default png and then change the extension of the folder to ‘.wdgt’. This is the technique for making Dashboard widgets for the Mac, and Apple even have the Dashcode software to do it. So what you really do is to make a Dashboard widget, then iBookAuthor can import it.  So far, so good. And some  folk have been doing this, for example http://www.prweb.com/releases/2012/2/prweb9242432.htm http://www.panophoto.org/forums/viewtopic.php?f=64&t=10417&p=158330#p158423 However, if you start with GWT and create a single page with one button and a Hello World, compile it, and get the WAR file (I use Eclipse here)… the Safari browser and others will run it properly (even on an iPad). Then if you wrap it, a proper Dashboard widget is created, which runs properly on a Mac. Then if you go to iBookAuthor and put a custom widget in the Text, then drag it in. It is accepted by the text and shown as being there. However, if you use Preview to look at it on an iPad, it is gone (or was never there in the first place). Anyone any ideas on this? [And iBook Author seems to give no warnings.] The widget is at https://dl.dropbox.com/u/46713473/Test6.wdgt.zip I have bells and whistles that I’d like to get into an iBook!
    Thanks for any insights.
    Martin

    I do have a little to add, which might help someone. Indeed, opening a blank page and dragging the widget straight in seems good in difficult cases. But, actually, I was also able to insert successfully from the Toolbar especially to blank pages. So, it may have been something to do with the columns and stuff like that. Anyway back then the insertion would show in iBooks Author but not in the Preview on the iPad. I moved on to actual Google Web Toolkit output javascript. Basically I had three at hand to try: a Hello World with a button which went straight it, one of moderate complexity, (for example with a built in Lisp interpreter), which also went straight in, and finally a more complex one that initially was rejected by iBook Author. Author complained that there was an unsupported media file (of course, Author does not tell you which one it is, that would be too easy). [Remember, this was a proper working Dashboard widget which could be installed on a Mac]. Among other things I had read remarks about .gif files. When looking through the GWT war directory at the actual javascript etc files, I noticed there were two gifs there one called ‘clear.cache.gif ‘  and a second one called  ‘0F89659FF3F324AE4116F700257E32BD.cache.gif’. (Now, there is obfuscation so the numbers here may be different from case to case.) The clear.cache.gif did not seem to be anything special. But the other one is an animation. It is three little boxes that twinkle (rather like a waiting spinning cursor).  So, I opened that file and saved it to itself (that picks the top frame of the animation and saves only that, leaving you with an unanimated gif). The resulting widget drags and drops into iBooks Author (and seems to work properly at a quick glance). So, if you are having trouble with ‘unsupported media files’ converting animated gifs into unanimated gifs might help in some cases.

  • Error while installing SAP Widget Developer tool.zip on Eclipse Java EE IDE

    Hello,
              I am new to SAP widget. I hav installed "Eclipse Java EE IDE for Web Developers" from eclipse.org and now when i was trying to install SAP Widget Developer tool.zip add-on as stated in the SAP Enterprise Widget Development Guide
    --> http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c032ae0a-7d6b-2a10-14a1-cc6efb066dfc
    I get this error at the last stage of installation.
    Cannot complete the install because one or more required items could not be found.
      Software currently installed: SAP Widget Development Tools 0.13.0.1376 (corp.sap.pal.gadgets.tools.widgetTools.feature.group 0.13.0.1376)
      Missing requirement: SAP Widget UI Designer 0.13.0.1376 (corp.sap.pal.gadgets.tools.uidesigner 0.13.0.1376) requires 'bundle org.eclipse.wst.javascript.core 0.0.0' but it could not be found
      Cannot satisfy dependency:
        From: SAP Widget UI Designer 0.13.0.1376 (corp.sap.pal.gadgets.tools.uidesigner.feature.group 0.13.0.1376)
        To: corp.sap.pal.gadgets.tools.uidesigner [0.13.0.1376]
      Cannot satisfy dependency:
        From: SAP Widget Development Tools 0.13.0.1376 (corp.sap.pal.gadgets.tools.widgetTools.feature.group 0.13.0.1376)
        To: corp.sap.pal.gadgets.tools.uidesigner.feature.group [0.13.0.1376]
    Please helo me to get this error fixed.
    Thank you very much.
    Anil Raparthi.

    Hi,
    The newest and default version of Eclipse is Galileo which is version 3.5.x
    According to the Widget development guide, widget developer tool covers Eclipse 3.3.x (Europa) and 3.4.x  (Galileo).
    The problem is solved by downloading one of those versions from http://wiki.eclipse.org/Older_Versions_Of_Eclipse and installing widget development tools.
    Regards,
    Jolanta Gniadek

  • Error while Installing and Starting SAP Widget Development Tools

    Hi All,
    I have downloaded Eclipse: eclipse-SDK-3.3.2-win32.zip from http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.3.2-200802211800/eclipse-SDK-3.3.2-win32.zip
    I am following the link: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c032ae0a-7d6b-2a10-14a1-cc6efb066dfc
    for Installing and Starting SAP Widget Development Tools as an Eclipse Plug-in
    I am very new to it, So I was following Step by Step procedure.
    On the 16th step I am getting an error:
    AP Widget Templates (0.12.0.1167) requires feature "org.eclipse.gef (3.3.0)", or equivalent.
    I had download the SAP Widget Development Tools.zip file from https://www.sdn.sap.com/irj/sdn/downloads?rid=/webcontent/uuid/b03b6544-c741-2a10-8999-ed04eb2b2c71
    While unzipping the eclipse-SDK-3.3.2-win32.zip, there were two errors:
    The System cannot find the file specified &
    The file name or extension is too long.
    I ignored them and continued the unzipping.
    Please guide me as to how we can solve this error.
    Ankur
    Is it because I am using Eclipse 3.3.2 and not 3.3.0? If yes from where I can download Eclipse 3.3.0
    Edited by: ankur malhotra on Jul 25, 2008 7:36 AM

    Hi Ankur,
    This happens sometimes because of the Eclipse that you use. Download the Eclipse JEE Version. When you go to eclipse.org and try to download eclipse you can do a comparision of the versions there, You download the version which supports all the web features.
    http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/ganymeder
    Check the above link you will be able to see the package details. Please download this Java IDE for EE developers and try installing the SAP widgets foundation then, If you are facing any problems in installing the plugins thru local archived site please let me know.
    Regards,
    Sai

  • Not able to download SAP Widget Development Tools from SDN

    Hi,
    I am trying to download the SAP Widget Development Tools from SDN from the URL [http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/100ad59a-7b6b-2a10-8ab5-e6078fa8e5b8]
    But on navigating to this URL and click on the link Click here for download, I am getting a page with a 404 error.
    Can I get any alternate URL from which I can download the SAP Widget Development Tools ?
    Thanks and Regards,
    Saurabh.

    Hi Gali,
    Thanks for your reply. Kindly let me know if you have any heads up on this.
    Thanks and Regards,
    Saurabh.

  • Problem with Plugin Installation of SAP widget Developement tool in Eclipse

    Dear All
    I am faceing problem while installation of SAP widget Developement tools in Eclipse. Please help me Out.
    I have Downloaded Eclipse and also SAP Widget Developement tools.zip
    When I try to Install the Plugin for SAP Widget developement I get an error saying "Install has encountered a problem.Cannot Complete the install because one or more required items could not be found". When I  click on Detail to see teh details following error log is displayed :
    +Cannot complete the install because one or more required items could not be found.
      Software currently installed: SAP Widget Development Tools 0.13.0.1376 (corp.sap.pal.gadgets.tools.widgetTools.feature.group 0.13.0.1376)
      Missing requirement: Structured Source JavaScript Model 1.0.101.v200706071955 (org.eclipse.wst.javascript.core 1.0.101.v200706071955) requires 'bundle com.ibm.icu [3.4.4,4.0.0)' but it could not be found
      Cannot satisfy dependency:
        From: SAP Widget UI Designer 0.13.0.1376 (corp.sap.pal.gadgets.tools.uidesigner 0.13.0.1376)
        To: bundle org.eclipse.wst.javascript.core 0.0.0
      Cannot satisfy dependency:
        From: SAP Widget UI Designer 0.13.0.1376 (corp.sap.pal.gadgets.tools.uidesigner.feature.group 0.13.0.1376)
        To: corp.sap.pal.gadgets.tools.uidesigner [0.13.0.1376]
      Cannot satisfy dependency:
        From: SAP Widget Development Tools 0.13.0.1376 (corp.sap.pal.gadgets.tools.widgetTools.feature.group 0.13.0.1376)
        To: corp.sap.pal.gadgets.tools.uidesigner.feature.group [0.13.0.1376]+
    I require your help in this .
    Regards,
    Nikhil

    Hi Nikhil,
    Looks like some problem in the eclipse version.
    Refer to the last point in this link - [Error while installing SAP Widget Developer tool.zip on Eclipse Java EE IDE; which says -
    "The newest and default version of Eclipse is Galileo which is version 3.5.x
    According to the Widget development guide, widget developer tool covers Eclipse 3.3.x (Europa) and 3.4.x (Galileo).
    The problem is solved by downloading one of those versions from http://wiki.eclipse.org/Older_Versions_Of_Eclipse and installing widget development tools."
    Hope this helps.
    Regards,
    Shilpa B.V

  • Development Question Pertaining to Discoverer and Oracle Apps

    Hi All,
    I have a Disco Development question. First of all I am in an Oracle Apps environment.
    Here is my situation. I received a specification to make sure our End User Layer has the capability to create a workbook
    which has the following information in it:
    1. Onhand inventory by lot information using the GMF_PERIOD_BALANCES table.
    2. Demand pegging (from the msc_demands table) associated with this onhand inventory.
    3. Accounting cost information (GL_ITEM_CST information).
    4. They also want more detailed item master information information (e.g. catalog descriptive element information and costing category).
    Here is a solution to address this:
    -Take existing inventory by lot views we have and use the the gmf_period_balances table in lieu of the mtl_onhand_quantity_details table. Within this same
    view, add pegging information. This has been implemented in a development environment.
    -Take existing costing views (using the component_cost_details table) and replace with the gl_item_cst.
    -Take existing view associated with item detail information and make sure all catalog descriptive elements and costing category information have been added.
    My next main dilemma for this problem is to address the best way to join these views in the Discoverer end user layer. Here are the approaches I see:
    1. Encapsulate the item detail information with the onhand, period end with pegging view. Next, create a join with the costing view.
         pros: In my testing of this, the totalling works with extending item costing (item cost x onhand inventory).
         cons: Refresh times and scalability of this solution are concerning (consider a couple of people using this at the same time). Also, there is no nice
         way to join these two views (there is a n x m relationship between these two views). For instance, the costing calendar is used in the accounting costing
         view, and the general ledger calendar is used in the GMF_PERIOD_BALANCES table.
    2. Abandon a two or three view approach. Create an uber view which encapsulates the onhand quantity, pegging, standard costing and item detail information.
         pros: A more simpler end user experience which should then allow for the totalling to work.
         cons: Very easy for an end user to obtain a result set which is part of a cartesian product (e.g. multiple general ledger periods are included in this workbook
         with multiple costing periods). Doubtful that this workbook would be refreshable.
    3. Fan trap solution which would be some variation of onhand view being joined to an item details folder which is joined to the pegging details updated.
         pros: Without too much work, I am able to get this to work, except totaling.
         cons: Totaling.
         Please let me know what your thoughts are regarding the best approach.
         Thanks,
         Patrick

    Hi,
    Where you have complex joins I would always go for a single view. It keeps Discoverer simple and allows you to concentrate performance effort building the view. Generally you can build in conditions to stop a cartesian product.
    Rod West

  • How to link the widget developed in eclipse to jsp page

    Hi all,
    i need help, how to connect my widget developed using swt in eclipse to jsp page..
    please give your feedbacks..

    hi Drclap,,
    please help me,,
    is it part of applet or we can like like applets in jsp..
    thx for your reply

  • I Need An SMS WIdget Developed. Where?

    I need a text messaging widget developed for one of my sites. Does anyone know a good place to find developers for this? Or is anyone here a developer?

    Use your iOS device to download iOS 6.0x.
    Clinton

  • Oracle BAM 11g - Deployments and development questions

    Hi!
    I have few questions related to Oracle BAM 11g developement and deployment processes. We are going to use that together with Oracle SOA Suite 11g ( BPEL / BPM processes), and now my questions are related to development phase:
    1. If we have two or more Oracle BAM developers with their own Oracle BAM server instances, and we would like to share our development work, should/can we you same database repository to share the reports, data objects?
    2. How we can copy Oracle BAM Data Objects, Reports etc from one environment (dev) to other environments (test, accept test, integration test, production) ? In software deployment projects (like Spring or Grails web-projects) we have used version control system and CI to build packages to different environments etc. How is the Oracle BAM deployment process actually "planned to be" since it uses its database repository to store objects and reports ?
    3. The Oracle BAM itself has nice reports etc (Oracle BAM Client) that can be used using IE browser. How if we have to show/include those reports from Oracle WebCenter Spaces ? Is it possible and how?

    Hi,
    Were you able to find the answer to your questions? Especially the one, showing BAM reports in Webcenter Spaces?

  • Sql developer: question about exporting data

    Hi,
    we're recently working with sql-developer. i've got a question about how we can export query results to txt/csv files for use in other applications.
    First a problem: if we start a query that looks like this:
    select * from
    select * from A where start_date = &date
    ) a,
    select * from B where start_date = &date
    ) b
    where a.name = b.name
    Sql-developer asks twice to input a value for the variable 'date', although it's the same variable and it's supposed to have the same value.
    We solve this by making a script:
    first we define the variable, then we put the query.
    When we start the script, the query runs ok and sql developer asks to input the value for the variable once.
    But now the result of the query is shown in the script output. The script output seems to be limited in number of lines and difficult to export.
    So my question is: what's the best way to export query results to txt/csv files, avoiding the problem mentioned above?
    i hope there is a solution where we can use a single query or script.
    Thanks in advance!

    Using bind variables like ":date" should solve the problem of being asked twice for the same thing.
    Executing the query normally (F9), gives you the export options you require through the context menu inside the Results grid.
    Regards,
    K.

  • SQL Developer question

    Hi Folks
    I am using SQL Developer tool. I have a procedure with compilation errors so i can see that procedure with red X mark in SQL Developer tool.
    When am clicking on the procedure it is going to the editor there i can see "code"."grants","dependencies","references","details","profiles" tabs
    But i can't able to see "Errors" tab in the editor. And main thing is i didnt see any red lines in the editor for the invalid procedure
    And when i recompiled that procedure it got recompiled successfully and that red x mark is vanished.
    Here my question is the "Errors" tab is only appears when the procedure/function/package has errors and surprisingly i didnt see any red lines in the editor for invalid procedure (may be my proc has no errors).
    ps: i have asked this question in sql developer forum but i posted here as you may work on this
    Thanks

    Dear Sir
    I have this procedure Find_Emp
    create or replace
    procedure find_emp(p_in_empno in number)
    as
    v_ename emp.ename%type;
    begin
    select ename into v_ename from emp where empno=p_in_empno;
    dbms_output.put_line(v_ename);
    end;and i have done
    alter table emp add dname varchar2(10)I dont know why Find_Emp is invalid now,Folks can you please help.
    But that change doesnt affecting the below procs also, i mean these procs are not showing as invalid
    create or replace
    procedure test
    is
    cursor c is select ename,empno from emp;
    v_result c%rowtype;
    begin
    open c;
    loop
    fetch c into v_result;
    exit when c%notfound;
    dbms_output.put_line(v_result.ename||' '||v_result.empno);
    end loop;
    close c;
    end;
    and
    create or replace
    procedure p1
    AUTHID CURRENT_USER
    as
    v_cyc_dt varchar2(10);
    begin
    v_cyc_dt := '20120101';
    execute immediate 'create table t1 as
    select * from emp
    where hiredate >=to_date(''||v_cyc_dt||'',''yyyymmdd'')
    and rownum <= 1000';
    end p1;

  • AJAX / future development questions

    Even though AJAX is as much Web (html, xhtml, dhtml), JS, and XML as it is Java 2EE, I figured this main forum was the best place to ask a few questions (we should have a future tech discussion area. (I didn't see one but sometimes I can't seem to find anything, lol)).
    I've been writing AJAX servlets for the last couple of weeks (more or less). It isn't bad at all but it isn't as easy as regular servlets and web 1.0 stuff. Companies like IBM, Sun, Microsoft.... are getting ready to deploy new AJAX centric development tools. The only named development tool that I know of is "Atlas" which is being developed by Microsoft engineers. I'm sure Sun and IBM are doing the same thing for future versions of WSAD / NetBeans because this type of technology is the future.
    What do you guys think of AJAX and any future development tools for it that you know of?
    Do you think this, along with a few other publicly disclosed technologies (comming in the next 5 - 7 years) will lead to a tech boom, surpassing the Web 1.0 days ( I do, the 1.0 days will be swamped by this and a few other new technologies )?
    Sorry for the non-technical questions but I'm bored today, and I'm stuck at my desk for the next hour or so.

    Even though AJAX is as much Web (html, xhtml, dhtml),
    JS, and XML as it is Java 2EE, See... you lost it right there. AJAX is not J2EE at all. Not one bit, not in any way shape or form. Yes, you can use J2EE stuff to service AJAX requests. But you can swap that J2EE stuff out with ASP or PHP or plenty of other things without effecting what the AJAX stuff does.
    I figured this main
    forum was the best place to ask a few questions so in that light, not really... but go on...
    I've been writing AJAX servlets You mean servlets...
    for the last couple
    of weeks (more or less). It isn't bad at all but it
    isn't as easy as regular servlets and web 1.0 stuff.How's that? It writes XML instead of HTML. That's not a very big leap.
    Companies like IBM, Sun, Microsoft.... are getting
    ready to deploy new AJAX centric development tools.
    The only named development tool that I know of is
    "Atlas" which is being developed by Microsoft
    engineers. I'm sure Sun and IBM are doing the same
    thing for future versions of WSAD / NetBeans because
    this type of technology is the future. Sun's Java Studio Creator, or was it Studio Enterprise?, I believe has some AJAX support build in.
    What do you guys think of AJAX and any future
    development tools for it that you know of? AJAX is very cool, and it opens up a whole new way to deal with web content, to be sure. But while this does lend a little more support to the notion of creating web applications which behave more like regular applications (sounds like a Dr. Pepper commercial), I don't think that it'll make as good as it could be without things like threading in Javascript.
    Do you think this, along with a few other publicly
    disclosed technologies (comming in the next 5 - 7
    years) will lead to a tech boom, surpassing the Web
    1.0 days ( I do, the 1.0 days will be swamped by this
    and a few other new technologies )?The discovery of AJAX (I say discovery, cuz it's been in browsers for a while now without anyone knowing about it) is already changing the web. But I while it'll lead to a lot of sites being reworked to work with AJAX, I don't think it's going to bring on a new golden age on the net.
    Sorry for the non-technical questions but I'm bored
    today, and I'm stuck at my desk for the next hour or
    so.Isn't that what Solitaire is for?

Maybe you are looking for