Spry Examples - Question

I'm not sure this is the case but it seems to me there are
many more examples referenced than on the "samples" page??
I would like to propose (if not already asked) that we have
an area that all the Spry examples + some good users examples
posted with a small description on one page or location. Others may
have other ideas as well... It just makes it easier than searching
through the slow forum here.... :o)
Thanks, Matt M

You can find it here:
http://labs.adobe.com/technologies/spry/includes/SpryUtils.js
Rgds!

Similar Messages

  • OCA example questions on Oracle website

    May I ask those with more experience -- the sample OCA exam questions on the Oracle website (not any purchased practice test, just the 8 example questions) seem more devilish to me than any training materials or books I have read. The code is unformatted and unindented, deliberately tricky, static blocks popping up willy-nilly outside of methods and such, and for every question you just have to hack it out line by line. Whereas on practice tests I am scoring well, I got most of these samples wrong at first pass. There's not a single sample question there that's anything like the simple multiple choices I am getting in practice exams about basic concepts such as what is inheritance, what are interfaces, what is an abstract class, etc. etc. I guess my question is -- should I really be getting ready for 90 scary code-deciphering questions, even though my training materials reassure me I am doing just peachy? [I am keenly worried, by the way, about this question making it look like I don't like digging into troublesome code or that I am whining that it is "too hard."]
    P.S. I am such a newbie I guess that I don't know basic things, but I am curious as to what the term "brain dump" means -- I have read on the forum that it is a form of cheating. I infer that it is basically training for exams by using quickie cheat-sheets instead of truly absorbing and knowing the material? Is that the definition? Why in heck would somebody want to get a certification that way if they couldn't actually do the work?
    Best wishes to all.

    967292 wrote:
    May I ask those with more experience -- the sample OCA exam questions on the Oracle website (not any purchased practice test, just the 8 example questions) seem more devilish to me than any training materials or books I have read. The code is unformatted and unindented, deliberately tricky, static blocks popping up willy-nilly outside of methods and such, and for every question you just have to hack it out line by line. Whereas on practice tests I am scoring well, I got most of these samples wrong at first pass. There's not a single sample question there that's anything like the simple multiple choices I am getting in practice exams about basic concepts such as what is inheritance, what are interfaces, what is an abstract class, etc. etc. I guess my question is -- should I really be getting ready for 90 scary code-deciphering questions, even though my training materials reassure me I am doing just peachy? [I am keenly worried, by the way, about this question making it look like I don't like digging into troublesome code or that I am whining that it is "too hard."]
    P.S. I am such a newbie I guess that I don't know basic things, but I am curious as to what the term "brain dump" means -- I have read on the forum that it is a form of cheating. I infer that it is basically training for exams by using quickie cheat-sheets instead of truly absorbing and knowing the material? Is that the definition? Why in heck would somebody want to get a certification that way if they couldn't actually do the work?
    Best wishes to all.I sometimes refer, somewhat cynically as is my way, to the 8 or so samples questions as the 'beta rejects' ... questions that were tried on the beta exam but rejected for the production exam. From my memory (perhaps a little poor) some are less than perfect.
    If you want background on braindumps try the following links:
    http://www.certguard.com/information.asp
    https://blogs.oracle.com/certification/entry/0477
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=562#9
    Edited by: bigdelboy on Oct 23, 2012 8:25 PM

  • Spry Tab question

    I've got the use of the spry tab figured out, but what I'd like to know is if I can change the 'look' of the tabs.  Rather than just have them be plain ol' squares, I'd like to change the style of them (more than just the color).  Is it possible to change the shapes?  Or to specify a .jpg to use as the tab?
    Thanks!

    I appreciate all the feedback, but I have a few more questions...
    I want to do something like the example I've provided, but have two questions in that regard.
    The 1st - those tabs overlap.  Is their an easy way to accomplish that, as a newbie?  I don't know much, still learning.  Obviously it would be easier to create tabs that don't overlap and avoid this issue altogether, but I really like the look.
    My 2nd question is the drop shadow.  I can create the drop shadow in Photoshop, but I'm wondering if there's an easier way to do it in Dreamweaver.  Just apply the Spry Tab Menu and tell it to put a drop shadow behind it.  Is there something that easy, or do I need to create the drop shadow in Photoshop and use div tags to basically put it 'around' the spry tab menu?  Does that even make sense?  I know what I mean in my head, but might not be explaining it properly...

  • Spry XML question

    can spry read in XML as a string? I have an xml page
    generated by a coldfusion query (.cfm) The page parses correctly as
    an XML file, but when spry reads it in, it does not read it as XML.
    I can save the .cfm results (view source) as an XML file and it
    views perfectly through spry. Wondering if there is a way to do
    this with the original cfm file. NOTE: the example linked
    here
    does not work

    I use CF to generate XML all the time.
    You have to make sure you set the content-type to XML and
    make sure to remove whitespace:
    http://labs.adobe.com/technologies/spry/samples/utils/query2xml.html
    But to answer your questions: yes, Spry can read XML strings:
    http://labs.adobe.com/technologies/spry/samples/data_region/XMLStringSample.html
    Hope this helps.
    Don

  • DB Insert Example question

        I want to insert data into a SQL database using the Insert Example.vi, as a base for my code.  I have to add a large number of parameters to the database.  My questions:
    Is there a limit to the number of parammeters I can add?
    I noticed that the example added two parameters (Device name and number of samples)  It then uses "DB tools free object.vi" two times.  Do I have to call the "DB tools....vi" once for every parameter I send?
    thanks
    Bob

    There is no "limit" to the amount of fields that you can pass through an ODBC to SQL other than your connection timing out if it is EXTREMELYYYYY large.... I would guess that for all practical purposes you would not reach this point.
    You can use the Insert Data vi which you would just have to specify the table name that you want to insert. Keep in mid that if you use this functiuon, you need to insert a cluster with THE SAME exact amount of fields as your table in the database. You would use this function if you want to insert a value to every single field in the database. If you dont, then you would use the Execute SQL Query vi, which you would wire a string with your query which in this case would be an INSERT statement.
    I hope this helps.
    Jaime

  • XSQL SVG Example questions

    The SVG example provided with the XSQL servlet is excellent and illustrates at least 5 different (and very useful) techniques. Congrats to whoever came up with it.
    This one example shows SVG, named templates, use of xsl:variable, use of xsl_param, use of xsl:with-param, use of xsl:call-template and the apparent use of java classes from a jar file ala java server pages.
    The example also raises several questions:
    1. The example uses two namespace declarations I haven't seen before -
    xmlns:Color="http://www.oracle.com/XSL/Transform/java/java.awt.Color"
    and
    xmlns:Integer="http://www.oracle.com/XSL/Transform/java/java.lang.Integer"
    These appear to be allowing the use of Java classes in some jar file similar to the way Java server pages might do it.
    It this correct? Is this because these two classes were built-in to the XSQL servlet? What other classes can be used? All of them? From any jar file? Is more documentation available?
    2. What does the 'doctype=system="svg-19990812.dtd"' line do? There is no such DTD on my system but the demo works fine. There are references to DTDs with similar names in the FOP samples and in Adobe's samples but the name is slightly different.
    3. Why is the media-type image/svg? The SVG 1.0 spec dated 2 Nov 2000 in section 1.2 says the SVG mime type is "image/svg+xml".
    4. Why is there no namespace declaration for the svg tag or any of the svg related tags? Samples from other vendors seem to always have a declaration.
    Thanks again for a great piece of code.
    null

    Rick,
    You'll find a further-refined, and fully-explained version of the SVG example in Chapter 16 of Building Oracle XML Applications. This chapter covers the use of XSLT extension functions and illustrates how to use Java extension functions with the Oracle XSLT engine.
    [list=1]
    [*]The two namespaces you list are the way that the Oracle XSLT engine allows you to map extension functions in a namespace to methods of a Java class. This example illustrates using two different built-in classes of the JDK, java.awt.Color and java.lang.Integer. These are not specific to (or built-in in any way to the) XSQL processor or the XSLT engine, but are base classes in the JDK. You can use any Java extension functions in your XSLT stylesheets. The only requirement is that you (1) get the namespace correct to assign a namespace to the appropriate fully-qualified classname, and (2) make sure the classes you want to use are in the CLASSPATH.
    [*]The <xsl:output> attribute doctype-system provides a value to be used for the SYSTEM URI of the <!DOCTYPE in the transformed output. The particular value was required by the SVG draft at the time I built the demo. It must be handled by a special entity-resolver built into the SVG Viewer that you're using, which explains why not having on your system as a physical file doesn't stop the demo from working.
    [*]The media-type is image/svg instead of image/svg+xml because the SVG demo was built before the final draft of SVG went out. This value was apparently changed in one of the final drafts. It appears that the Adobe SVG viewer registers itself as the handler for both.
    [*]See http://www.w3.org/TR/SVG/struct.html#NewDocument. The spec appears to allow both unqualified use of <svg> as well as namespace-qualified <svg:svg> when SVG is embedded within another document.
    [list]

  • Spry examples not working when sitting on UNIX servers

    Hi All,
    I've been looking at the SPry dynamic table examples with the
    intention of using this with my own xml files. When viewing these
    samples locally it displays fine. When uploading onto our server,
    it displays nothing. There is a quick flash of the first two rows
    but then won't parse the XML into the table structure and then is
    blank.
    As I said works fine running locally on Win XP using IE6.0
    but using IE6.0 running off a UNIX server, nothing.
    Baffled. Can anyone help?
    Kind regards
    Paul Pounder

    Hello Paul,
    Maybe this is just a basic permission problem. Maybe the new
    server is configured to serve the .xml files, the read/write
    permissions are correct or the mime-types for this type of file is
    not correct.
    In this situation you should simply try into the browser to
    manually call the XML data file and see if the file is correctly
    delivered. In case this scenario works then please give us an URL
    to take a look too.
    Regards,
    Cristian

  • Spry Repeat Question

    Hello,
    In DW I can use Repeat Region and assign how many records it will display in the repeat and then have navigation to move forwards or backwards.
    Is there a way to do that with a Spry Region/Repeat ?
    Thanks in advance of any help.
    Regards
    Ray

    Hi,
    I looked over you code and I noticed that you have the image
    src added on the left side.
    You have this <img
    src="galleries/{dsGalleries::@base}{dsGallery::thumbnail/@base}{@thumbpath}"
    alt="{@thumbpath}" name="tn{ds_RowID}" width="89" height="15"
    id="tn{ds_RowID}" style="left: -77px; right: 0px;" />
    You don't need to have the image added on the left side,
    because you want there only the title (Adobe, SF Symphony...)
    So you should replace the img with a div for example:
    <div style="width:89px; height:15px;left: -77px; right:
    0px;" id="tn{ds_RowID}" >{@thumbpath}</div>
    The reason why you have an empty space after Adobe item is
    that on you xml you have an empty alt attribute.
    To display only the thumbpaths that are not empty you can add
    an spry:if condition.
    So the above div becomes:
    <div style="width:89px; height:15px;left: -77px; right:
    0px;" id="tn{ds_RowID}" spry:if="{@thumbpath}" != ""
    >{@thumbpath}</div>
    This says if thumbpath is not empty display it.
    I aslo load you page in IE and I noticed that the left menu
    is not displayed.
    Diana

  • Spry Effects Question

    Is there a way to use a spry effect to have a div (or image)
    fade away and have it show the page underneath. For example, I have
    a page where I want there to be a picture when you open the page. I
    then want the picture to fade out automatically, and have my web
    page (with navigation, etc) underneath of it show up. It seems that
    when using spry effects however, the image will fade out, but it
    doesn't fade to nothing. There is something there still blocking
    the content underneath.
    Any help at all would be greatly appreciated!

    Hi,
    I've just reproduced your case and I have a solution for you.
    After the effect finishes, you should made the image
    invisible and in the same time to release the space occupied by the
    image.
    To do this, add into the effect constructor the option:
    'finish:' that receives a function as parameter. On this function
    you set for the image to become invisible after the effect finishes
    by adding display:none.
    The constructor should look like this:
    var effect = new Spry.Effect.Fade('test', {duration: 3000,
    from: 100, to: 0, finish:function(el,
    eff){el.style.display='none';}});
    The effect will be started onload.
    Diana

  • Spry link Question

    I have a spry menu which one of the main menus looks like this
    <li><a href="*" class="MenuBarItemSubmenu">PORTFOLIO</a>
              <ul>
                <li><a href="staticdesigns.html">STATIC</a></li>
                <li><a href="flashdesigns.html">FLASH</a></li>
                <li><a href="banners.html">BANNERS - RICH MEDIA</a></li>
            </ul>
    this code presently has a * for the PORTFOLIO link
    i need to know how can I make the PORTFOLIO not have a link and just work with a mouseover so I get the hover but just the <li> items have links?
    Oi tried to remove the href= but then I lose the text in the css sheet.
    any help?
    rd

    If your question is your main menu item is PORTFOLIO and you do not want it linked to another URL then use the default notation as follows:
         <li><a class="MenuBarItemSubmenu" href="#"> PORTFOLIO</a></li>

  • Old Producer/Consumer Example question

    how would I take this code, the old producer/consumer example, and make it for 2 consumers and 1 producer?
    basically, like this:
    Producer put 1
    Consumer #1 got 1
    Consumer #2 got 1
    Producer put 2
    Consumer #1 got 2
    Consumer #2 got 2
    etc.....
    ***********Producer.java***************
    public class Producer extends Thread {
    private CubbyHole cubbyhole;
    private int number;
    public Producer(CubbyHole c, int number) {
    cubbyhole = c;
    this.number = number;
    public void run() {
    for (int i = 0; i < 10; i++) {
    cubbyhole.put(i);
    System.out.println("Producer #" + this.number
    + " put: " + i);
    try {
    sleep((int)(Math.random() * 100));
    } catch (InterruptedException e) { }
    ***********Consumer.java***********
    public class Consumer extends Thread {
    private CubbyHole cubbyhole;
    private int number;
    public Consumer(CubbyHole c, int number) {
    cubbyhole = c;
    this.number = number;
    public void run() {
    int value = 0;
    for (int i = 0; i < 10; i++) {
    value = cubbyhole.get();
    System.out.println("Consumer #" + this.number
    + " got: " + value);
    ***********CubbyHole.java***********
    public class CubbyHole {
    private int contents;
    private boolean available = false;
    public synchronized int get() {
    while (available == false) {
    try {
    wait();
    } catch (InterruptedException e) { }
    available = false;
    notifyAll();
    return contents;
    public synchronized void put(int value) {
    while (available == true) {
    try {
    wait();
    } catch (InterruptedException e) { }
    contents = value;
    available = true;
    notifyAll();
    ***********ProducerConsumerTest.java***********
    public class ProducerConsumerTest {
    public static void main(String[] args) {
    CubbyHole c = new CubbyHole();
    Producer p1 = new Producer(c, 1);
    Consumer c1 = new Consumer(c, 1);
    p1.start();
    c1.start();

    instantiate another consumer.
    public class ProducerConsumerTest {
    public static void main(String[] args) {
    CubbyHole c = new CubbyHole();
    Producer p1 = new Producer(c, 1);
    Consumer c1 = new Consumer(c, 1);
    Consumer c2 = new Consumer(c, 2);
    p1.start();
    c1.start();
    c2.start();
    but then modify CubbyHole so that it checks that it has been consumed twice (as thats what you want, you said). Instead of using boolean available, use an integer flag that counts how many times its been consumed, and then reset the flag when it gets to 2. Something like that. Is this a college question? Do your homework. ha ha.

  • Java Proxies Inside Story Example: questions

    Hi,
    I've tried to implement the example of the document "Java Proxies and SAP XI - The Inside Story, Part II". Actually it's not running and I don't know why. Maybe anybody of you already implemented the described scenario successfully and can support me here:
    InvokeProxy.jsp
    - in the first code line, why is is import="http2Db.ProxyCall"? When I have a look at the coding, I think it should be import="http2Db.InvokeProxy"?
    I've created the EAR project and deployed it to the J2EE Engine. When I try to test the scenario invoking the JSP side I just get back "The page cannot be displayed", the normal browser exception message. How can I check what goes wrong? Here I'm wondering that the Send Button of the HTML form in the JSP page invokes the function proxyfun(). That function itself has the following codeline within:
    document.frm_proxy.action="ProxySender.jsp"
    What's that for a jsp page? I cannot find it in the "Java Proxies[...].pdf"?
    BR
    Dennis

    up
    Has nobody tried this scenario before? Cannot imagine as it's always mentioned when there's a question concerning java proxy implementations as a reference
    I mean the following documents:
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    http://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9

  • Spry Menu question #2: colors

    Hi again...
    I can't seem to get any settings to change colors to a Spry
    menu to anything other than the text.
    Even though the changes show in the CSS pallette, nothing
    changes the colors of the menu itself when viewed.
    Any thoughts?
    thx
    Andrew

    Have you read the comments within the css file - if you go
    through it
    carefully, it explains (not clearly enough in my opinion),
    what each rule
    does and what effect it has on the menu.
    Nadia
    Adobe® Community Expert : Dreamweaver
    CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    ~ Customisation Service Available ~
    http://www.csstemplates.com.au
    Spry Widget Examples
    http://www.dreamweaverresources.com/spry-widgets/
    "turner111" <[email protected]> wrote in
    message
    news:f3peab$t9b$[email protected]..
    > Well, for example, background color...

  • Bluetooth simple client example question

    Dear all,
     I am not sure whether I am close to make it. I update my bluetooth driver {http://forums.ni.com/ni/board/message?board.id=170&message.id=301780#M301780}, so it seem the labview (simple bluetooth server example) can work with my bluetooth (please read the first picture). However, the error message comes up when I run the simple client program. I have a question. Do I have to make the client and the server program in two computer?
     I need your help
    Thanks
    ====================
    =Labview 7.0 & 8.0 & 8.5=
    =====================
    Attachments:
    labview5.JPG ‏203 KB
    labview6.JPG ‏214 KB

    Just want to make a couple things clear
    1. my bluetooth device is working well, after I remove dell driver and using XP bluetooth stack <-----I think
    2. I can run the server without no problem, the problem comes from the client part.
    I have attached the pic from the device manager
    Please help, failure will lose my job
    ====================
    =Labview 7.0 & 8.0 & 8.5=
    =====================
    Attachments:
    labview7.JPG ‏41 KB

  • WL6.1 GA- IIOP examples question

    Hi,
    I have a couple of questions about the WL6.1GA - IIOP example. First when attempting
    to build the example, the ant script halts with the following error:
    compile_client:
    Unable to create client.idl.
    BUILD FAILED
    E:\bea\wlserver6.1>>\samples\examples\iiop\ejb\stateless\cppclient\build.xml:41:null
    On a closer look at the build.xml, the halt occurs with the WL defined ant class:"weblogic.ant.taskdefs.iiop.CppIdlSetup"
    My first question, has anybody else been able to build the example as supplied
    ? Is there any massaging required ?
    As I understand it, the previous step in the build (ejbc) generates the required
    idl interfaces (Trader.idl, TradeResult.idl, TraderHome.idl) for accessing the
    ejb.
    So I'm very curious in seeing what the WL defined ant task is doing and defining
    for ant generated idl (client.idl). Is the src for the WL defined ant task available
    anywhere ?
    Thanks in advance.
    Wayne

    Hi Andy,
    The env. vars were set. Thanks for the
    explanation, I was curious as to the latter :)
    Wayne
    Andy Piper <[email protected]> wrote:
    "Wayne" <[email protected]> writes:
    I have a couple of questions about the WL6.1GA - IIOP example. Firstwhen attempting
    to build the example, the ant script halts with the following error:
    compile_client:
    Unable to create client.idl.
    BUILD FAILED
    E:\bea\wlserver6.1>>\samples\examples\iiop\ejb\stateless\cppclient\build.xml:41:null
    On a closer look at the build.xml, the halt occurs with the WL definedant class:"weblogic.ant.taskdefs.iiop.CppIdlSetup"
    My first question, has anybody else been able to build the exampleas supplied
    ? Is there any massaging required ? This task should be in weblogicaux.jar, this was supposed to have been
    fixed just before release. I will check. Did you set the examples
    environment before running ant?>
    As I understand it, the previous step in the build (ejbc) generatesthe required
    idl interfaces (Trader.idl, TradeResult.idl, TraderHome.idl) for accessingthe
    ejb.Correct, but bugs in Visibroker make it necessary to pre-parse the idl
    into a single file. Inprise have confirmed this as a defect and may
    fix this for the next release of Visibroker at the end of the year.
    So I'm very curious in seeing what the WL defined ant task is doingand defining
    for ant generated idl (client.idl). Is the src for the WL defined anttask available
    anywhere ?All it does is pre-process the idl, e.g. cl -E -Iidl TraderHome.idl >
    client.idl.
    andy

Maybe you are looking for