Inspector Property: Dynamic tags

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default Inspector Property: Dynamic tags

    Hi,

    I am working on an extension for Dreamweaver, currently on an Inspector. So
    what I understand is, that if you use the following tag:
    <!-- tag:mytag,priority:9,selection:exact,vline,hline -->

    It will recognize any tags that look like <mytag>, and the js function will be
    called. But what if I have dynamic tags, e.g. take this: <%email_a%> <%email_b%>
    So the word before the underline "email" tells me, what kind of Property I
    have, and a or b are values, that are going to be saved in an xml file.

    What I am looking for is some sort of function that will allow me to use
    regular expression to decide which Property inspector should be called.
    (everthing with %email_ in the beginning should call the email inspector,
    everthing with %address_ the address inspector etc.)

    Thanks for any help in advance, I hope its possible to this.

    Regards
    David

    nyDavid Guest

  2. Similar Questions and Discussions

    1. Property Inspector list view?
      In Dreamweaver 8 Help, under the topic "Making HTML attributes dynamic," it says: "If the attribute you want to bind does not have a folder icon...
    2. Property Inspector Events
      I am trying to create a property inspector extension for a data translator extension and I am running into a problem. Property inspector doesn't...
    3. Missing Dynamic Button from Property Inspector
      OK, I have the Studio MX Book and am walking myself through the Tri Motors tutorial. Seems straight forward.....however, when I go back to my search...
    4. Problems with property inspector when using help
      I wonder if this is the same problem that I am having with version 8, think ill try it out. Robert Ray
    5. resizing, property inspector
      where is the property inspector in FW 4? im following a tutorial that asks me to resize a rectangle on a canvas size of 700 x 400. But when I...
  3. #2

    Default Re: Inspector Property: Dynamic tags

    "nyDavid" <webforumsuser@macromedia.com> wrote in message
    news:gd7hpa$jmi$1@forums.macromedia.com...
    > What I am looking for is some sort of function that will allow me to use
    > regular expression to decide which Property inspector should be called.
    > (everthing with %email_ in the beginning should call the email inspector,
    > everthing with %address_ the address inspector etc.)
    >
    > Thanks for any help in advance, I hope its possible to this.
    Have you checked the docs for canInspectSelection()?


    --
    ----------------------------
    Massimo Foti, web-programmer for hire
    Tools for ColdFusion, JavaScript and Dreamweaver:
    [url]http://www.massimocorner.com[/url]
    ----------------------------


    Massimo Foti Guest

  4. #3

    Default Re: Inspector Property: Dynamic tags

    Hi Massimo,

    yes I am using this function already, just returning "true" as far.
    This function only gets called, when the currently selected tag matches with
    the required tag in my inspectors/inspector.html file, right?

    So there is the problem, since I dont know what tag I should write in this
    html file on the first line.

    nyDavid Guest

  5. #4

    Default Re: Inspector Property: Dynamic tags

    Is it possible, to use custom tags created with the "tagspec" tag for the inspectors?

    I still haveent found a way for filtering dynamic tags. I would appreciate any help!
    nyDavid Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139