Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
wizbang #1
"New Server Behavior ... " problems
I am trying to apply the "New Server Behavior ..." feature of Dreamweaver 8
found under the Add Server Behavior tab. If I use a variable and apply a
Display As option set to Recordset Menu or anything like that, I get an error
message, "Error with 'Recordset Menu' control: unable to locate required
'RecordsetMenu' control". Trying to set the Display As option to Connection
Table Menu gives a similar, "Error with 'Connection table menu' control: unable
to locate required 'Connection menu' control".
Here is how you reproduce the problem.
Create a site using the MySQL-PHP server model.
Create a dynamic-PHP page using New from menu or Ctrl-N and save it. Create a
MySQL database connection.
Create a recordset from the Bindings tab. Use all the fields from some table.
Under the Server Behaviors tab, Click the + sign to add "New Server Behavior
...." Choose Document Type "PHP MySQL", give the Server Behavior a name and
click OK.
Click the + button to add a Code Block and click OK to insert it into the
window.
In the "Code Block:" windows replace the code block with "<?php echo ?>" Add a
space after echo and select "Insert Parameter in Code Block". This should
leave you with "<?php echo @@Param1@@?>". Disregard the Insert Code options.
Click "Next...". The "Generate Behavior Dialog Box" comes up, select the
TextField in the dialog box window. An arrow suggesting a menu should appear.
Select "Recordset Field Menu" or any of the Recordset options. Choosing a
"Dynamic Text Field" may not generate an error. Connection Table Menu or any
of the Connection options also generates an error. Try those too. Click OK to
close the Dialog Box. Save your php page.
The name you gave your Server Behavior after "Choose Document Type ..." will
now appear in the Server Behavior menu when you click + in the Server Behaviors
tab. With your php page having focus, select your Server Behavior from the +
menu and you should get an error,
"Error with '<My Server Behavior Type>' control: unable to locate required
'<control type>' control"
Click OK, and you should see a menu come up for your behavior with a blank
menu.
wizbang Guest
-
"diameter", "has_a_cycle" problems in Graph-0.76 module
Hello all, I have some problems with these two functions in Graph : "diameter" and "has_a_cycle". "diameter" works only at the first time it's... -
"Log In User" server behavior (PHP/MySQL)
Hi, I have Dreamweaver MX and I am trying to create a log in page etc, but when I click the server behaviours the user authentication behaviour is... -
"Show If" server behavior for a single record
Does anyone know if this is possible? For example... I have a record within a recordset that includes images, but if the field is empty I would... -
Can actionscript change a "Button's" "Behavior"?
While a movie is playing in "level 0" a button is pressed to launch another movie in "level 1". Is there a way to change the button that was pressed... -
<tr id="MyRow" runat="server"> ... </tr> doesn't appear in server-side code
pschrader: Look at the top of your page, where your controls are declared. Do you see one for HTMLTableRow? You may have to manually add it, if...



Reply With Quote

