What type of extension for this?

I am writing an extension to insert javascript code after
selected textareas to modify their behavior. The extension also
copies files to the site and includes a couple of [script src=... ]
javascript files in the head tag as well as a bit of other source
code.
I am almost done with it as a behavior, but while working on
it, there have been a few times when I needed to refresh behaviors
and that inserted and onblur or onload behavior into a tag.
This extension will not actually use any of those event
handlers. Is behaviors the wrong type of extension to use, and if
so which ine would be better? If the answer is server behavior, is
that reasonably easy to migrate because the documentation for
server behavior feels a bit above me yet...
Thanx,
Steven

From the sound of it, a Command would be better for you than
a
Behavior. Its API offers far more latitude to manipulate the
DOM.
E. Michael Brandt
www.divaHTML.com
divaPOP : standards-compliant popup windows
divaGPS : you-are-here menu highlighting
divaFAQ : FAQ pages with pizazz
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia

Similar Messages

  • What type of extension would this be?

    Hi. I'm building an extension that will allow the user to insert an HTML5 video tag on the page along with a JavaScript script tag pointing to a library file. Here's what the user needs to be able to do:
    See a dialog box that allows the setting of any number of SOURCE tags. Each source tag can be of a number of types (MOV, MP4, OGG, WEBM). As a SOURCE tag is added, the dialog has option to add another blank one so the user can fill it out.
    For each SOURCE tag, the user can "Browse" and attach a video file of those formats.
    User can "Browse" for an optional POSTER image.
    User can set the width, height, LOOP property, CONTROLS property, AUTOPLAY, PRELOAD ("none", "metadata", "auto").
    Or the user can set the video tag's SRC property directly without setting any SOURCE tags.
    The user can insert any number of these video tags and then be able to select them and edit them via the dialog box later.
    Would this be of the Behavior extension type or of the Insert type? I'm trying to look for a tutorial that will help in creating this. If someone knows of an extension tutorial for something similar to what I'm trying to create here, that will be much appreciated. Thanks.

    Where do the custom extensions get installed?
    The first thing you need to know about extending Dreamweaver is the difference between the Application Configuration folder (where DW config files are installed) and the User Configuration folder (where new config files are added and standard files are overridden). See this TechNote for more info:
    http://kb2.adobe.com/cps/164/tn_16420.html
    Note that this TechNote is old (sorry, I could not find an up-to-date one), but the concepts still apply.
    To answer your question, look in the User Configuration folder in the Extensions sub-folder. There will be a .mxi file for every installed extension. This file lists all of the changes made by the extension. You'll need to create one of these when you're done developing your extension and want to package it for distribution.
    HTH,
    Randy

  • What type application suitable for this requirement...?

    Hi All,
    We want to develope application that runs on 5 shops (for sales & stock), each stand alone PC running Oracle Express. From the head quarters, the owner want to be able to access this applications, on each sites, via dial-up connection (approx. 33,6 kbps or less).
    Centralized 3-tier application is not an option , to reduce communication cost.
    So the question is, which one makes more sense to implement :
    1) JClient Application running on two-tier modes ?
    OR
    2) JSP based application, where each shop run OC4J, HTTP Server and browser on one stand alone PC ?
    or any other prossibility ?
    Thank you for your help,
    xtanto

    What's the budget?
    Don't forget that the OC4J licenses are roughly $5,000 each, so 5 x $5,000 = $25,000 just for app server licenses. Then there is the hardware and OS cost for 5 machines for them to run on. Many factors to consider. If the only remote access is a small number of users from headquarters, then you might consider just using Jetty. It's a small footprint web server with web container that's written in Java and is very easy to configure and manage. Not a powerhouse solution for sure, but it doesn't sound like you're building an enterprise level app here.
    You could run a Swing app locally at each site that talks to the database. Then run Jetty on each machine so that the owner can thinly hit the sites using JSPs depending on the amount of functionality he needs from each site.... more than likely it's just interactive reporting from the database at each site.
    What about the 5 local databases? Do they need to stay in synch with a shared item list, for instance?
    Just some things that you probably need to consider.
    Erik

  • What all is needed for this type of Flash Design Studio

    What all is needed for this type of Flash Design Studio.
    There are a couple of sites out there that use both flash and
    shockwave. I am looking ot get somethign like this started and need
    some help getting pointed in the right direction. here are some
    examples:
    http://www.uberprints.com/studio/
    http://www.customavenue.com/online-design-studio/online-design-studio.html
    https://www.youdesignit.com/youdesignit.cfm
    http://www.pixeltees.com/make

    Rclarkhaddock,
    > What all is needed for this type of Flash Design Studio.
    There
    > are a couple of sites out there that use both flash and
    shockwave.
    Of the examples you showed, I saw Flash (Adobe Flash),
    Shockwave (Adobe
    Director), and JavaScript, but never a combination on the
    same site. (It
    might make sense to combine Flash with JavaScript or
    Shockwave with
    JavaScript, but not really to combine Flash with Shockwave.)
    > I am looking ot get somethign like this started and need
    some help
    > getting pointed in the right direction.
    Any of the above technologies will do it. You could also use
    a Java
    applet or even a .NET solution of some kind, so the choice
    you take will
    depend largely on what platform you want to support and code
    for. This sort
    of project will require significant amounts of custom
    programming. My
    personal approach would be to use Flash, mainly because of
    the popularity of
    the plugin. The Shockwave example looks beautiful, and I
    started out years
    ago using Director, but fewer people nowadays have the
    Shockwave plugin
    installed. It doesn't look like any of the sites shown use 3D
    modeling,
    which is the only relevant feature that Shockwave has over
    the other
    approaches. JavaScript (probably some Ajax approach) would
    work -- as
    seen -- but then you're dealing with compatibility issues
    among various
    JavaScript implementations in the great variety of browsers
    out there.
    Flash minimizes that, in my opinion.
    All you really "need" to produce what you've seen is Flash
    and some sort
    of database back end (MySQL, say), which means you'll need a
    bit of
    middleware (PHP, ASP, Cold Fusion, etc.) to act as your
    ambassador between
    Flash and the database.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • ANY BODY TELL ME WHAT IS THE REASON FOR THIS ERROR

    hi... experts....
        Iam having one screen in my previous module pool program....and now as per my requirement i added on e new field...
    for that...
      1. i declared one variable in top include...
      2. cretaed one more new block with help of box in layout screen..
      3. added some text field and inputput out field...
      4. and in that block i also added one line with test like... following...
    " NOTE: PLEASE ENTER THE ..... VALUE..."   Like this.... just for to give direction...
    so these are  the steps i taken to add new field to my screen... but here i am geting error ... while entering the value in that field and press any push button.... including back in that screen... like....
      "INVAILD FIELD FORMAT (SCREEN ERROR)"
    .... ANY BODY TELL ME WHAT IS THE REASON FOR THIS ERROR... COMMONLY???
    THANK YOU,,,
    NAVEEN..

    hi naveen,
    there can be problem from ur layout side.
    Goto SE51. in Layout editor make sure that the type in screen and in TOP Include is same.
    and if you are using currency field than it can also give error to you.
    if still you any error .
    give me type of variable whcih you defined in TOP and also code.
    give reward if helpfull.

  • Need Help..what should i use for this

    hello friends, i have to write a program which will load an xml file reader class at run time and depending on the content of xml file i'm going to generate mapping.. e.g xml file- <MyMapping> <ATO> <security type=int> </ATO> <FIX> <symbol type=String> </FIX> </MyMapping> Now i want to change the content of xml file without restarting my running application..changes should be reflected at runtime... also my xml file will contain nearly 1000 lines..so in this case which technique should i use whether i use JAXB which will give the classes of my xml file or any other ?? Also if i use JAXB whether JAXB gives classes corrsponding to my xml nodes (e.g ATO.java as per above example).

    daitkarsachin wrote:
    hi ,
    here is my question again..my xml will have
    <Message>
    <ATO>
    <somefiled="X" type=int value=35 />
    </ATO>
    <FIX>
    <somefiled="Y" type=String value=50 />
    <FIX>
    </Message>
    Now first i have to parse this xml ..then my java program is going to accept value from user ..and depending on user specified value i've to use either ATO or FIX fields...e.g if user value is 35 then my program should use fields within ATO node.
    You will read the XML structure into some kind of memory model. When the user supplies a value you will search for a matching value (likely from a collection such as a map or list) and return the value in that object that you locate.
    what should be done for this ..
    See above.
    and what if i change values in my xml file..will i have to restart my application to load xml again ?
    If you change the file on the filesystem, you should simply be able to re-parse the XML file and update your in-memory model. If you instead update your in memory-model, you can serialize the model back to XML on the filesystem. Neither needs to necessarily have anything to do with application start-up (other than the fact that you would normally read in the XML model then, but updating is a separate concern, as would re-reading it).
    - Saish

  • What should be done for this ?

    hi ,
    here is my question ..my xml will have
    <Message>
    <ATO>
    <somefiled="X" type=int value=35 />
    </ATO>
    <FIX>
    <somefiled="Y" type=String value=50 />
    <FIX>
    </Message>
    Now first i have to parse this xml ..then my java program is going to accept value from user ..and depending on user specified value i've to use either ATO or FIX fields...e.g if user value is 35 then my program should use fields within ATO node.
    what should be done for this ..
    and what if i change values in my xml file..will i have to restart my application to load xml again ?

    I have changed your XML to make it well formed. Please refer this further in this reply.
    Well Formed XML:
    <Message>
         <ATO somefiled="X" type="int" value="35"/>
         <FIX somefiled="Y" type="String" value="50"/>
    </Message>
    daitkarsachin wrote:Now first i have to parse this xml ..then my java program is going to accept value from user ..and depending on user specified value i've to use either ATO or FIX fields...e.g if user value is 35 then my program should use fields within ATO node.
    what should be done for this ..A simple XPath Query can do trick for you, it can give you ATO or FIX element according to user specified value. XPath query can be:
    // replace ##user_specified_value## with value user enters.
    String xPathquery= "/Message/child::*[@value='##user_specified_value##']";
    daitkarsachin wrote:and what if i change values in my xml file..will i have to restart my application to load xml again ?Not necessary to restart application but you need to parse or reload updated XML file again.

  • Class type not defined for this object type

    Hi Friends,
    Could u please guide me ?..We have a requirement to extract some data from classification system.
    This is related with class type 023 - Batch
    I want to use the following parameters in CTBW.
    basis datasource :Z_BATCH_ATTR
    class type : 023
    object table :MCHA
    Datasource type : ATTR
    I am getting an error "Class type not defined for this object type" when i enter the above entries in CTBW.
    The only way I'm being able to make this work is changing object table from MCHA to MCH1.
    This solution does not fit me bacause MCH1 table dont have Plant as Key, and I need it.
    Do you know what should I do to solve this?
    Thanks in advance

    Hi,
    I believe we have to use the list of standard "Basis DataSource", as I'm also stuck with the same issue. Let me know what Basis Data source you selected in this case.
    As I'm trying to extract Batch attributes from "AUSP" Table.
    I have given class type= 023
    Obj Table= AUSP
    But not sure which "basis datasource" I need to select.
    Thanks,
    Satish

  • Post Moved What-Type-Of-Cable-Is-this

    Moved to Other BB Queries http://community.bt.com/t5/Other-BB-Queries/What-Type-Of-Cable-Is-this/td-p/853858
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

    It was the older type (pre 80s) of cable with an earlier colour coding (CW 1293)
    Here is the colour coding.
    The predominate wire is the coloured wire ( Blue, Orange, Green,  Brown, Grey) It then has it's associated white wire which, if you carefully strip of the outer insulation of the overal cable you will see that this pair (Blue/white) is twisted together.
    (If I have helped you in any way to say "Thank You" please click on the star next to the message. Thank You)
    If I have solved your Issue please click the "Mark as accepted solution" button.

  • What is the extension for debug log file name?

    Hi,
    1) Please let me know what is the extension for debug log file....
    is it .dbg or .log ?
    in one of the sr the service engineer asked to put .log as the extension is this correct?
    here is what he said...
    a) Enable the following Profiles at user level:
    OM: Debug Level = 5
    INV: Debug Trace = YES
    INV: Debug Level = 11
    INV: Debug File = [directory value from above query]/logfilename.log
    (make sure that you have write permission for this file and directory)
    WSH: Debug Enabled - Yes
    WSH: Debug Level - Statement
    2) do the end-user (for whom trace is enabled) need to have read and write permissions on the directory and the log file?
    Thanks
    Raju

    user652672 wrote:
    1) Please let me know what is the extension for debug log file....
    is it .dbg or .log ?
    INV: Debug File = [directory value from above query]/logfilename.log
    (make sure that you have write permission for this file and directory) It is what you set in the value of "INV: Debug File" profile option (according to the above value, it will be logfilename.log).
    2) do the end-user (for whom trace is enabled) need to have read and write permissions on the directory and the log file?No, just make sure the directory is writable by the oracle and applmgr users.

  • HT4437 hi even when i connect my macbook and apple tv to the same wifi network i cant put on the air play mirroring option.my airplay mirroring option does not detect any device.what can i do for this?

    hi even when i connect my macbook and apple tv to the same wifi network i cant put on the air play mirroring option.my airplay mirroring option does not detect any device.what can i do for this?

    See
    http://support.apple.com/kb/TS4215

  • Help me plz.. i,ve got a apple i phone 4 and i'm the 2 owner of it and i dont have it's apple id and passward for it and 1st owner doesnt know it too so what can i do for this plz help me....

    help me plz.. i,ve got a apple i phone 4 and i'm the 2 owner of it and i dont have it's apple id and passward for it and 1st owner doesnt know it too so what can i do for this plz help me....

    Neither can we.  Only the original owner can help you, surely he/she can reset their password.

  • TS1702 I use iphone5, I see an app update on the app store. but when App store and click on the update tab, it doesn't show me which application to update.. just give me a blank page.!!!! what is the solution for this.!!!!

    I use iphone5, I see an app update on the app store. but when App store and click on the update tab, it doesn't show me which application to update.. just gives me a blank page.!!!! I wouldn't able to know what app has to be updated, untill and unless i get check for each every app on the app store installed on my iphone... what is the solution for this.!!!! can any1 one help me out.!!!!

    Cc2528 wrote:
    The iTunes Store on my iPad is set up with all my music already. And at the very bottom it shows my apple Id username. The only place it shows the previous owners id is in the App Store...
    You can probably change the ID in the "iTunes and App stores" settings on the iPad....click on the wrong account ID , select sign out, then log in with your own ID, I have not done this but I think it works.....
    but I would be more inclined to to the factory reset and start afresh.

  • I have a fairly new mac book pro with retina display- I have not tried installing anything other OS on it. In spite of that yesterday when I turned it on, I got the error: no bootable device insert boot disk and press any key. what is the reason for this?

    I swithced it on by clicking on options when I start up and then clicked on Macintosh HD. the other option was a question mark and network drive.
    Is there a way to ensure it never happens again, what is the cause for this problem, if I need to uninstall some application, i am happy to do it as long as I know what is causing this conflict.
    many thanks!

    Something is not making sense here.
    You claim this is a brand new machine and you have not tried to install Windows or Boot Camp.
    Then why would you ever even go into System Preferences > Startup Disk and choose Macintosh HD? It should have automatically booted into Macintosh HD.
    You're probably going to have to reinstall Mac OS X.

  • Adobe X PDF files converted to jpg, edited and converted back to PDF have ragged, unclear text.  I didn't have this problem with Acrobat 9 standard.  What is the remedy for this.  If this is the best I can expect, I won't be able to use X standard.

    Adobe X PDF files converted to jpg, edited and converted back to PDF have ragged, unclear text.  I didn't have this problem with Acrobat 9 standard.  What is the remedy for this.  If this is the best I can expect, I won't be able to use X standard.

    I can't imagine any worse workflow than converting to JPEG to edit text, then back to PDF. Text in a PDF is a vector thing, smooth at all resolutions. And JPEG is made for photos. EVERY conversion to JPEG and back loses quality but how much loss there is will vary.
    If you must go to an image format, try PNG.

Maybe you are looking for

  • PLEASE HELP!!! Ipad 4 couldn't get out of recovery mode.

    Basically, I was upgrading my Ipad 4 to iOS 7 from iOS 6, but I forgot to do the back up. And after few times reboot, the screen display like this: So i connect it to itunes, then the itunes said it has detected my ipad was on recovery mode. It said

  • JSF 1.2 RI and facelets

    Hello, we have some component library that builds on JSF 1.2 RI and facelets. Usually JSF 1.2 cannot run on WLS 9.2 because it requires JSP 2.1 (thus weblogic 10). However, since we use facelets and thus no JSP, in this case JSF 1.2 can run on WLS 9.

  • What color calibration should I use in SystemPreferences?

    I read an older thread about setting one's color calibration. My iMac runs on OSX 10.7. I do a lot of photo editing using Adobe Lightroom 5.2 and sometimes switch to Adobe Photoshop elements 10. Should I select the Adobe RGB color calibration over th

  • Flash site with Back Button and Favorites enabled

    I've search everywhere I can think and can't find the answer I need. I want the user to be able to bookmark or use a back button in internet explorer or any internet browser on a 100% flash-based site. For Example: http://www.mountaindewgamefuel.com/

  • HT1329 I am trying to put my iPod tunes on my new computer

    I am trying to put my tunes from my Ipod to my new computer and every time I click the Ipod picture on my desk top it disappears and shows me only whats on my computer