ASP: BEHAVIORS/SERVER-BEHAVIORS MM-DMWR MX 2004

ASP: BEHAVIORS/SERVER-BEHAVIORS MM-DMWR MX 2004
I use dmwr mx 2004, well What statement I use to include a
webpage in an email body ?
Like for writting html email the statement:
myMail.HTMLBody = "<h1>This is a message.</h1>"
also how setup except from the message, the confirmation page
(page like email page) that shows on browser after submit/send form
data ?
asp vars how setup to show on this webpage ? I just assign to
vars the data in the email processor file ?
var1 = request.form("field1") and so on
and also how the email come , to a fixed email (mine) and to
user email (who submitted form) from the "email" html field ?
HOW TO DO THESE WITH BEHAVIORS ASP ?

siegler wrote:
> From a trusted source I heard that Adobe rather pushes
PHP and CF development
> than ASP or ASP.NET server behaviors since their close
relations over the years
> with Apple.
Believe what or whom you like. Since Adobe's acquisition of
Macromedia,
it owns CF, so it would be strange for a company not to
promote its own
product. However, I see no evidence of PHP development being
"pushed" in
favour of any other server-side technology.
> I mean I hardly seen any extensions being made available
on the development of
> ASP.NET or .NET2.0
Adobe doesn't produce extensions. Third party developers do.
> I also see no books appear from any of the former MM
developers about ASP.NET
> and application with Dreamweaver.
Publishers decide what they think the market is interested
in. FWIW, my
publisher released three Dreamweaver 8 books - mine on PHP,
another on
ASP, and a third on static website development. A deliberate
decision
was taken not to do one on CF because sales of the MX 2004/CF
book were
poor, in spite of being written by some highly respected
names. I don't
know the background to the decision not to do one on ASP.NET,
but I
suspect it's because my publisher was releasing a truckload
of ASP.NET
2.0 books at the same time.
> Is Adobe trying to deliberately alienate themselves
since they are owners of
> MM and distance themselves from ASP and or ASP.NET
development under pressure
> of Apple? I mean the ties are very close.....
>
> Care to comment?
Unless it comes from an Adobe source, anything written here
is pure
speculation.
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • PHP, ASP, CFM Server Behavior Code Output in DW 8- CS3- CS4

    Is there any major differences in the SB code output in CS4 vs CS3 or 8?  I am debating buying CS4, but have heard code is essentially the same output when using the PHP, CFM and ASP server behaviors.  I essentially only use DW for the pre-built SB dynamic functions as I write my own HTML and CSS. I can hand code if needed in DW8, but wanted to check with the experts on the code output of both versions.  Is there any major difference?

    Thanks David.  I may wait for CS5 then to see if any new features in Server Behaviors set of actions.  I should hand code more, but the DW server behaviors are great for a quick basic website.  I just worry they wont work completely with new versions of CFM and PHP to come.

  • Asp server behavior in dreamweaver 5

    HI
    Is there any way to get extentions  for recordset server behavior and insert record behavior for asp for dreamweaver 5

    Yes it is the current version. Any help would be greatly appreciated.
    Thank you

  • Command Server Behavior in CS4 Troubled

    Does anyone know what happened to the Command server behavior in CS4.
    When I use MX 2004 to create an Update Command, I get the following code on the page:
    set Command1 = Server.CreateObject("ADODB.Command")
    Command1.ActiveConnection = MM_sportstest_STRING
    Command1.CommandText = "UPDATE board  SET name = 'test' WHERE name IS NULL"
    Command1.CommandType = 1
    Command1.CommandTimeout = 0
    Command1.Prepared = true
    Command1.Execute()
    When I use CS4 to create the same Update Command, I get the following code on the page:
    Dim Command1__@@varName@@
    Command1__@@varName@@ = "@@defaultValue@@"
    If (@@runtimeValue@@ <> "") Then
      Command1__@@varName@@ = @@runtimeValue@@
    End If
    Set Command1 = Server.CreateObject ("ADODB.Command")
    Command1.ActiveConnection = MM_sportstest_STRING
    Command1.CommandText = "UPDATE board  SET name = "test' WHERE name IS NULL"
    Command1.CommandType = 1
    Command1.CommandTimeout = 0
    Command1.Prepared = true
    Command1.Execute()
    CS4 does not even recognize the resulting code as a Command in the Server Behaviors window.  If I open both pages in MX 2004, the MX 2004 page is interpreted, but not the CS4 page.
    It looks like CS4 is not able to create Update Commands nor any other type of Command server behavior.  I am using ASP/VBScript.
    Does anyone have any insight to this.......or is it just a bug in CS4??
    Mike

    I'm having the same problem.  I cannot create any new commands, In addition, CS4 will not recognize any of the commands that were created from DW8 and prior versions.

  • Update Record Server Behavior

    Using Dreamweaver MX 2004. I have a recordset created, and
    need to update a table. When I select the Update Record server
    behavior I get the following message "before using this behavior,
    please create a recordset". However the recordset has already been
    created, and it tests fine, I can see the data in the tables, and I
    am able to insert a record, delete a record, but not update...
    Using ASP JavaScript Server model with Access databse. Any help is
    much appreciated.
    Thanks! :

    Hi
    Have you already made the binding? - it's not obvious from
    your posting - but you should have a form with the initial data you
    want to update bound to it before you can update.
    I won't bang on about this because maybe you did it already.
    bfn

  • Server Behaviors option is disabled

    In Dreamweaver MX 2004, I created (via Site Manager) a site
    using "None" as the server technology with FTP as the connection.
    During setup, I have no problems testing the connections for the
    remote server. I have also had no problems FTPing the files to my
    remote site via Site Manger.
    Here's the problem: When I am in the process of creating a
    new PHP or HTML file (without saving), checkmarks are next to steps
    1-3 for using dynamic data in the Server Behaviors panel--with the
    (+) button enabled...so far, so good. However, once I save the
    file--making sure it is saved in the local root folder for that
    site--the (+) button becomes disabled and the checkmarks disappear.
    I'm not doing anything fancy...just a form with a File field and a
    Submit button.
    Am I doing something fundamentally wrong? I appreciate any
    insight on this!
    Phil

    Dir2Flash wrote:
    > Am I doing something fundamentally wrong?
    Yes. You must select a Server Model for the site to use any
    server
    behaviors. Dreamweaver supports ASP, ASP.NET, ColdFusion,
    JSP, and PHP.
    Without a server model, it has no way of knowing which type
    of server
    behavior to use.
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • Dreamwever CS5 ERROR server behavior panel cannot determine wheter "command" or "recordset (Query)"

    i get this error whenever i open pages created in CS4. ive tried deleting the cache file... deleting the entire configuration folder and letting DW re build it.. nothing... error still there. how can i turn it off? i also cant seem to find the "edit server behaviors" button.. double click? well DW freaks out with that aswell... yes i know i have some insanely hand edited code.. basically use DW as notepad replacement.. with extra features like having the option of "add recordset" then going and editing it to my liking.
    the error
    [quote]
    The server behavior panel cannot determine whether "command" or "recordset (Query)" is applied to your page. Please select edit Server Behaviors and change one of the two behaviors to ensure that each is uniquely identifiable.
    [/quote]
    this is a total show stopper for me.. im going to have to go back to a previous version cant click "ok" every time i open a page.. and every time i follow a include file.
    development ASP
    Dreamweaver CS5
    Question.. how to disable the error message from popping up? i'll take my chances with hand editing the recordset / command by hand if i need it changed.

    this is bleh... having to resort back to CS4..
    is there any way to legaly go back to cs4 dreamweaver but still use the other cs5 applications?

  • The Server Behavior panel cannot determine whether "Command" or "Recordset (Query)" ...

    Suddenly getting this goofball message in DW5.5 on Win7:
    "The Server Behavior panel cannot determine whether "Command" or "Recordset (Query)" is applied to your page. Please select Edit Server Behaviors and change one of the two behaviors to ensure that each is uniquely identifiable."
    Crazy thing is, it only happens on my workstation.
    DW5.5 on my laptop opens the same .asp pages without this crazy message popping up.
    Anybody know what the issue is?

    I'd suggest that no answer means no answer yet. The person who can help may not have been on the forum the day the post was made.
    That said, I'm starting to suspect that the cause must be an extension. Both boxes have the same version of DW and the same OS but both don't have the exact same extensions installed. Will play around and see what happens.

  • Find Server Behavior/JavaScript Errors

    I am getting an error whenever I created Update or Insert
    record server behaviors in my pages. When I go through the process
    of adding the behavior, it inserts the VBScript for my ASP page,
    but then I get an error message when findServerBehaviors runs. In
    DW8, it was referring the InsertRecord.htm, in DW CS3, it referres
    to InsertRecord2.htm whenever I run and Insert Server Behavior. As
    I said, it inserts the code, but it will not show an Insert Record
    in the Server Behaviors panel.
    If I close and open DW, the next time I open the page, the
    behaviors will be listed in the panel, but the moment I make any
    changes to the page, and the findServerBehaviors javascript is
    triggered, I get the error message and lose the listing of the
    insert or update in the behavior panel even those the VBScript code
    is still in the page. This is super annoying.
    Anyone have this problem?

    It's probably some extension you have installed that's
    causing the issue. I found a tech support article that helped -
    can't remember where, but basically you recreate your configuration
    by renaming your existing config folder to something like
    "configuration-old" and then restart DW. It will create a new
    config folder and you will have to re-enable all your extensions.
    This solved the problem for me initially and I enabled a few
    extensions every few days until one day the error started happening
    again. For me the problem was caused by the extension "Justso
    Picture Window". Once I disabled that extension, my problems went
    away. It would be nice if DW had some way of telling you which
    extension is causing an issue.

  • Update Record Does Not Show in Server Behaviors Pane

    I am using Dreamweaver CS4 on a Windows 7 machine. I am coding in ASP VBScript. When I apply an Update Record behavior to a form and upload the file to the server, it works fine. However, the Update Record does not show in the Server Behaviors pane. Therefore, I cannot click on it to make further edits to it. When I open this same file in Dreamweaver CS3 on a Windows XP machine, I do see the Update Record behavior in the Server Behaviors pane and I can click on it to make it edits. What do I need to do to get the Update Record behavior to show?

    Probably not the answer you are looking for, but support for traditional ASP has not been a focus of DW development, nor has it been for Windows 7 for
    that matter. ASP is a "depreciated" language and support for it is dwindling. The I don't know exact reason for what is happening to you here, but I'd imagine it's an issue with CS4s translators and the combination of the feature sets in both Win 7 and CS4 not "worrying" about ASP as much as they used to.
    Lawrence Cramer  *Adobe Community Professional*
    www.Cartweaver.com
    Complete Shopping   Cart Application for
    Dreamweaver, available in PHP and CF
    Stay updated - http://blog.cartweaver.com

  • CS3 Bug with Server Behavior Command?

    Hi there,
    by updating a "Command" with the Server Behavior window
    (windows XP) the upcoming window does not read all the Defaulkt
    Values and Run Time Values anymore (do not know if ever did).
    Here is an
    Example .
    anybody saw the same problem? Or anybody knows a solution?
    thx
    Sebastian

    But if you have any pull, you should pass the note along to the Dreamweaver team and have them fix the bugs.
    It's not a question of "pull". Adobe (or any other software company) decides what to fix, improve, or drop on a cost/benefit basis. Fixing an ASP feature might be relatively simple, but doing so means that something else gets ignored. The ASP feature might be very crucial to you, but if Adobe considers it a low priority in terms of affecting overall sales, it's unlikely to get fixed. Whether that's the right business decision is not for me to say.
    I have submitted a large number of bug reports and feature requests over the years. Some are acted upon, others aren't. So far, I have accepted that the new features are, on balance, worth more than the features that haven't been fixed or implemented. Each user has to make the same decision. If people stop buying Dreamweaver because they think Adobe has made the wrong choices, either Dreamweaver will decline or Adobe will change its policies.
    I have seen new tools, such as Zend Studio, offered by other companies that do PHP things far better than Dreamweaver. I use Zend Studio, and like it a lot; but as an overall web development tool, Dreamweaver still beats it hands down. But neither Dreamweaver nor Adobe can rest on their laurels. That's why I encourage people to make use of the feature request/bug report form at http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform to tell Adobe what's important to them. There's no guarantee that your ideas will be adopted, but it's the only sure way to get ideas directly to the people who have the power to implement them.

  • Server Behaviors

    I'm trying to create a dynamic drop down menu. I've been
    going through a tutorial but my trouble began when I was instructed
    to create a show-hide layers in the behaviors. The "+" sign wasn't
    available because I had to set up the 1)site 2) document type
    3)testing server so I did. I used doc type ASP. The "+" now shows,
    but no option to choose show-hide layers. Where are all my
    roll-over, pop-up message, play a sound, etc. options??
    Then, since I'm working on Cold Fusion documents, I changed
    the doc type to CF and I have to answer addition settings questions
    such as RDS login & data source. I'm working via ftp but it's
    only me and my little computer in the meantime.
    So now can I not only get to the behaviors I need, I have no
    idea how to set the settings. I've searched and searched for the
    answers. P P P Pleeeeaaase help!!!!
    Thanks in advance for anyones response :)

    I'm not sure exactly what you're trying to build. Show-Hide
    layers is a Behavior (not Server Behavior) and only requires that
    you be working in an HTML document. You would have to apply a
    Behavior to a particular HTML element, like a link, because it
    needs an event, like onClick, to trigger the behavior. Behaviors
    are Javascript scripts, which can be in plain old HTMl web pages.
    A Dynamic Drop-Down menu, on the other hand, requires that
    you be working with dynamic web pages, like Coldfusion or ASP, and
    that you have created a Recordset from a database to populate the
    drop-down box.

  • Login runtime value from login server behavior?

    How do I set up a recordset that will point to the login users' record in PHP once they login from the login server behavior?
    In ASP I used the value for the variable actname:       MM_Username.
    I just want to link to the username's record.  I thought the "mm_Username" value was something that was created in the login server behavior that came with Dreamweaver and it would work for php as well as asp.
    In PHP I am using the following runtime value language :
    $_GET['MM_Username']
    Is it different in PHP?  It won't point to the record of the login user in the user's account.
    How do I set up a recordset so that it will point to the record of the login user if none of this makes sense in php.
    Thanks in advance,
    Bob Jean

    Found the Answer.  The runtime value in the recordset is as follows:
    $_SESSION['MM_Username']

  • Is there any way to add dynamic parameter in sql without breaking Server Behavior

    Hello, i'm building multiple language site.. i would like to know if there is possible way to add dynamic parameter in my query, without break the server behavior.
    For example:
    mysql_select_db($database_dxc_conn, $dxc_conn);
    $query_Recordset1 = "SELECT article.articleName, article.articleDesc FROM article";
    $Recordset1 = mysql_query($query_Recordset1, $dxc_conn) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    will become something like this:
    $additionalSQL=", article.articleName_en";
    mysql_select_db($database_dxc_conn, $dxc_conn);
    $query_Recordset1 = "SELECT article.articleName, article.articleDesc $additionalSQL FROM article";
    $Recordset1 = mysql_query($query_Recordset1, $dxc_conn) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    this is just an example, my real scenarion is far more complicated than this... however this kind of approach break the server behavior and force to do hand-coding...
    i would like to know if there's better way to do such thing like this...

    viktor.iwan wrote:
    Hello, i'm building multiple language site.. i would like to know if there is possible way to add dynamic parameter in my query, without break the server behavior.
    Server behaviors are simply bits of boilerplate code automatically generated by Dreamweaver. Editing the code doesn't "break" it (unless your edits are badly written). However, once you edit the code, Dreamweaver no longer recognizes it, so you lose the ability to drag recordset results from the Bindings panel.
    If you want to edit server behavior code, the best way to handle it is to lay out your page as you want, using the Bindings panel. Once everything has been done, only then edit the server behavior code.

  • It's official: server behaviors to be removed from DW

    Adobe has finally confirmed what I suspected would happen: server behaviors will be removed from the next version of Dreamweaver. They will still be available to install as an extension, but will no longer be part of the core program.
    http://blogs.adobe.com/dreamweaver/2013/04/nextgendreamweaver.html
    There is no information regarding plans to develop a replacement for the server behaviors in a future version. I genuinely have no idea whether a replacement for the server behaviors is on the cards.

    Actually, after looking into this computer I think maybe I would be best to take it to an Apple repair center.  I don't want to break something.  I thought maybe if it was just an easy small battery install, I could do it.  I don't see where another battery can go.

Maybe you are looking for