How to refresh inside of an extension?

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

  1. #1

    Default How to refresh inside of an extension?

    Hey everyone!

    I have an extension with a UI running as a command, and inside the UI i\I am
    getting the site name. Now if you run the exteension inside DW then close it
    then switch your current site and then you start the extension again, it still
    displays the old site. Can I somehow refresh the cache, or memory, or wherever
    the info is stored? Thanks!!!

    J.J.

    Jammer Guest

  2. Similar Questions and Discussions

    1. Passing JS varibles to my html forms inside my extension
      Hey everyone! I would like to display getCurrentSite(); info in the middle of my html form inside my extension. In other words I have a table,...
    2. Refresh Extension
      Hi, how can I refresh extension without restart Dreamweaver. I had some Shortcut before, but I forget it :( Thanx a lot PEPP
    3. Dynamic temp. datagrid col.gen. -Session access inside a class inside a UserCtrl
      Hello Dear Professionals: Based on this document:...
    4. using refresh button on the menu bar to refresh two frames.
      All, I have an ASP site that uses frames two frames. (yes I should be using include files, but we started ou using frames so we have been stuck...
    5. Problem with refresh button breaking automatic refresh
      As a public service, I'm posting the solution to a problem I had. The bizarre thing is that I think this should have created an error. Instead, it...
  3. #2

    Default Re: How to refresh inside of an extension?

    You need to build a routine, or may be able to use the one you used for
    getting the current site, to run onload of the interface to get the current
    site onload instead of an event in the UI.


    --
    Regards,
    ...Trent Pastrana
    [url]www.fourlevel.com[/url]

    Dreamweaver Designer Tools
    iFrameSuite | MiniMenus | Scroller Packages | More...
    -----------------------------






    "Jammer" <webforumsuser@macromedia.com> wrote in message
    news:di3m45$bm6$1@forums.macromedia.com...
    > Hey everyone!
    >
    > I have an extension with a UI running as a command, and inside the UI i\I
    > am
    > getting the site name. Now if you run the exteension inside DW then close
    > it
    > then switch your current site and then you start the extension again, it
    > still
    > displays the old site. Can I somehow refresh the cache, or memory, or
    > wherever
    > the info is stored? Thanks!!!
    >
    > J.J.
    >

    T.Pastrana - 4Level Guest

  4. #3

    Default Re: How to refresh inside of an extension?

    Well, I am actually having more problems thatn with just the site name. I also
    need to refresh becuase I copy files in the extension to the active site, then
    the next step I make sure that has happened, but I have to restart DW before
    the changes are reflected...

    Is there any undocumented refresh function or something? I can't put it all in
    the window.onLoad function.

    THanks!

    Jammer Guest

  5. #4

    Default Re: How to refresh inside of an extension?

    You should never have to refresh the entire UI, but parts of it yes.

    If you copy files to a site, you can then look to that site where you just
    copied them to. Then depending on what you need to do with that info
    ...populate a list etc.. you write another function to do just that only.


    --
    Regards,
    ...Trent Pastrana
    [url]www.fourlevel.com[/url]

    Dreamweaver Designer Tools
    iFrameSuite | MiniMenus | Scroller Packages | More...
    -----------------------------




    "Jammer" <webforumsuser@macromedia.com> wrote in message
    news:di3s1o$kje$1@forums.macromedia.com...
    > Well, I am actually having more problems thatn with just the site name. I
    > also
    > need to refresh becuase I copy files in the extension to the active site,
    > then
    > the next step I make sure that has happened, but I have to restart DW
    > before
    > the changes are reflected...
    >
    > Is there any undocumented refresh function or something? I can't put it
    > all in
    > the window.onLoad function.
    >
    > THanks!
    >

    T.Pastrana - 4Level Guest

  6. #5

    Default Re: How to refresh inside of an extension?

    > You should never have to refresh the entire UI, but parts of it yes.


    Let me rephrase that. Don't think of it as refreshing anything. You don't do
    that. You need to think more in terms of updating something. You can append
    items to something that's already there, or rewrite all of the items
    alltogether.


    --
    Regards,
    ...Trent Pastrana
    [url]www.fourlevel.com[/url]

    Dreamweaver Designer Tools
    iFrameSuite | MiniMenus | Scroller Packages | More...
    -----------------------------


    T.Pastrana - 4Level Guest

  7. #6

    Default Re: How to refresh inside of an extension?

    Oh... ok that makes more sense. Let me play around with the code and my logic, and I'll keep you updated.

    Thanks again!
    Jammer Guest

  8. #7

    Default Re: How to refresh inside of an extension?

    I recall there is an issue with getting the current Site however.
    Believe it was Murray who held the secret sauce for this one. Murray?

    emichael brandt


    Jammer wrote:
    > Oh... ok that makes more sense. Let me play around with the code and my logic, and I'll keep you updated.
    >
    > Thanks again!
    E Michael Brandt 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