Change property server behavior

Page contains a list menu named "cities" whose label/value is
populated by rs_cities:
SELECT city_cit, provinceid_cit
FROM cities_cit
ORDER BY cityname_cit ASC
and contains a list menu named "province" whose label/value
is populated by rs_province:
SELECT provname_prov, provinceid_prov
FROM province_prov
ORDER BY provname_prov ASC
I would like to have the label of the list menu "province"
change to where cities_cit.provinceid_cit =
province_prov.provinceid_prov as a result of user selecting a city
from the list menu "cities"
Would this require the use of additional recordset that
contains a join or the need for altering existing recordsets?
How do I set the information in the "change property behavior
" dialogue box?

Rick - I know that is possible (in theory) to trap the keystroke using JavaScript and replace it (or, do a focus() call or similar to move the focus to another element), but figuring out where you are in the table can get quite hairy.
To be honest, it's one of these things we've been meaning to implement on one of our apps (our issue is moving to the next element when the user presses ENTER), but haven't got round to yet.
I'd therefore be very interested to hear if you crack it (either using JS or some other method).
Cheers,
John.

Similar Messages

  • ADDT Server Behaviors not all available in CS6

    Hello,
    I used CS3 for years with the ADDT and was very happy with it.  I was given a career change and got away from programming.  I then upgraded to CS6 Master Collection and the ADDT for DW does not install and all the server behaviors I have come to enjoy are not all in CS6.
    What can I do?  Downgrading to CS3 is not an option.  do I now have to repay for these server behaviors in another extension?

    ADDT has been dead for quite a while.   The deprecated server behaviors in DW won't work with PHP 5.5+ so relying on them for current or future projects is futile.   Adobe removed them from DW CC for a reason.
    Steer clear of CS6's Behaviors Panel and learn to manually code with MySQLi (improved) or PDO.
    http://code.tutsplus.com/tutorials/pdo-vs-mysqli-which-should-you-use--net-24059
    Alternatively, Web Assist sells a commercial extension for DW that uses MySQLi Behaviors.
    $149.99 USD to replace the deprecated Server Behaviors panels.
    MySQLi Server Behaviors | Dreamweaver extension | WebAssist
    Nancy O.

  • Changing the server name on package connection string.

    I have a connection string in a package which is a local connection string and not in project connection manager and isn't parameterize as well. Now I need to change a server name of the connection property without using editor. Can I do that and how ?
    Moyz Khan

    I agree about using configuration for connection string but unfortunately this is an inherited project/packages . And my task it to make these run as currently I don't have luxury to modified it.
    So I was able to change most of the connection string with below update
    update[SSISDB].[internal].[execution_parameter_values]
    setparameter_value=replace(cast(parameter_valueasvarchar),'OldServer',NEwServer)
    update[SSISDB].[internal].[object_parameters]
    set[design_default_value]= 
    replace( 
    cast([design_default_value]asvarchar(1000)),'OldServer','NEwServer')
    Now the only one its complaining is the Project connection string . If I know where to look and update that I might be able to run these packages .
    Moyz Khan

  • Cannot Edit Duplicate Server Behaviors (bugged?)

    Okay, here's a problem:
    I've got a user login page with two different forms on it -
    one to log in new users, and one to log in existing users. I
    applied a "log in user" server behavior to each of them. Now both
    of these server behaviors are showing up under the Server Behaviors
    menu with the exact same name: "Log In User". When I try to save
    this file I get the following error:
    The Server Behavior panel cannot determine whether "Log In
    User" or "Log In User" is applied to your page. Please select the
    Edit Server Behaviors and change one of the two behaviors to ensure
    that each is uniquely identifiable.
    Clicking on each of them points to the same block of code
    (which logs in the existing user). I cannot delete them using the
    minus sign. When I click on the plus sign and select "Edit Server
    Behaviors" it shows me two other custom behaviors that I'd already
    downloaded (and used on another page) but doesn't show me the "Log
    In User" behavior at all.
    Is there any way to edit these behaviors? Change the name of
    one of them? Right now my page is working perfectly and I wouldn't
    mind the error except for the fact that this page is based on a
    template. Any template changes I make are not updating to this
    page. . . perhaps there's a preference I could change that would
    allow template changes even if an error is encountered?
    Any help is appreciated. Thanks in advance!

    Sylvain; thank you for the reply.  No, this issue impacts entries other than automount as well.
    So far I have observed this with entries consisting of :
    1) top/posixaccount/organizationalPerson/person/inetOrgPerson,
    2) top/groupofuniquenames/posixgroup
    3) top/iphost/nsHost
    4) top/nisNetgroup
    I have double/triple checked the schema and any log files as well to no avail.
    I have opened SR 3-10281206831 related to this issue.

  • Creating Login Pages - Server Behavior Issues

    Hello,
    I been trying to find a solution to this problem for this
    past week.
    I'm having issues with creating a login page. First, I get
    the page created with a username text box, password text box, save
    username checkbox, etc. Next, I add the server behavior for 'User
    Auth' - 'Login User'. Now..here's the problem. When I complete
    that, I get this error (SEE BELOW). Somehow the server behavior
    duplicates. I can't go on until I make one of them unique from the
    other. I tried every which way to delete it, but I can't. Any
    suggestions?
    SERVER BEHAVIOR ERROR
    "The server behavior panel cannot determine whether "Log In
    User" or "Log In User" is applied to your page. Please select Edit
    Server Behaviors and change one of the 2 behaviors to ensure that
    each is uniquely identifiable."
    NOTE: By using the "-" sign above the panel, I can't remove
    the duplicate.
    Also, when I create a login page, I do need to insert a form
    first("form1") and then place the username, password, checkbox
    inside that "form1" form I just created, correct?
    Thanks for all your help!
    Craig

    GD WebDev wrote:
    > Hi,
    >
    > I have set-up up a database based upon username,
    password and security access
    > level, the access level contains 3 types of groups.
    group 1, group 2 and group
    > 3.
    >
    > I've used the dreamweaver login user server behavior.
    Looking at this it only
    > allows you to go to one succeed page.
    > Because i have got three user access levels, i'm looking
    for it to send each
    > set of users from each access level to three different
    succeed pages.
    > In other words, group 1 is sent to one succeed page,
    group 2 is sent to a
    > different and group 3 to another.
    >
    > Is there away of doing this?
    >
    You could do a redirect on the page that they do land on once
    succeeded.
    My personal preference would be to make one page, and only
    show the user
    groups parts of the page that they are allowed to see.
    Steve

  • 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.

  • Php form - server behavior form not there!

    I figured this out....form name is different than form ID.
    When I go into the server behavior in the authenticate user -
    login user the form name I have labeled in the properties windows
    in not showing up. It only says <unnamed>, however it is
    named login_form. Any ideas? I am stumped.
    I finally figured out the mysql stuff, to get stuck on this
    small detail.

    A.Translator wrote:
    > The form on this page returns a 'form is not filled in
    properly'
    > response
    http://www.spinsister.nl/zandbak/Rood/contact.htm
    This is the line that's causing the trouble:
    > $comments = $_POST['comments'] ;
    Change it to this:
    $comments = $_POST['opmerkingen'];
    Then it should work.
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • OT: Bindings panel, Databases, and Server behaviors in Dreamweaver CC

    Hi all,
    There was a query on the Dreamweaver Facebook page about using server behaviors in Dreamweaver going forward. The product team replied to the post, and I am posting it on this forum for the benefit of users not on our Facebook page.
    In Dreamweaver cc release server behaviors will be available as an extension. Once you install the extension server behaviors feature will be enabled and extensions dependent on it will work as before. In the CC release, you can find the extension at the location
    * Vista/Windows 7: C:\Program Files (x86)\Adobe\Adobe Dreamweaver CC\Configuration\DisabledFeatures
    * Mac OS X: /Applications/Adobe Dreamweaver CC/Configuration/DisabledFeatures
    Additional documentation is available at
    http://helpx.adobe.com/x-productkb/policy-pricing/dreamweaver-cc-server-extensions.html
    Also, check out this video created by Silas http://www.youtube.com/watch?v=cB2vmNfcq7A
    The Dreamweaver team has posted their view about the latest changes in Dreamweaver in their blog post  http://blogs.adobe.com/dreamweaver/2013/06/a-look-at-the-modernized-dreamweaver-cc.html
    Thanks,
    Preran

    I am sorry to say so, but your disappointing blog post just tells us two things:
    You claim that you are listening to your users, but you have just proved you don’t. Despite the high volume of disappointment expressed through the comments to previous posts of this blog, through comments in Dreamweaver Help or through the Community Forum, you show no change of direction, nor any will to cater for the disrupted workflow that Dreamweaver CC is introducing. Instead, you are just producing blog posts that desperately try to prove us that you are “streamlining” and “modernizing” Dreamweaver. An extension that brings back half of the features is not a strong-enough signal that you have taken into account our needs. Extensions written by third parties which you claim are alternatives but are not resemble more leg-pulling than anything else. Will you reduce Dreamweaver’s price for the removal of killer features that were sold with the software before?
    You do not seem to know how Dreamweaver users use the software or at least, to be fair, how a large number of users do. I thought the aim of software makers was to sell a tool that aids its clients in, and brings value to, their work.
    As an extension writer, I can tell that the vast majority of my users are either DIY guys or professionals working on their own. Not big companies with teams of developers. The majority of those never have been Dreamweaver users and will never be, having different needs and ways of working.
    As responses to your “streamlining” and “modernization” of Dreamweaver have shown, for a large number of users, the strength of Dreamweaver lies in its extensibility, of which server behaviors are the most advanced feature. I am not talking about the code they write, which we all agree has to be updated (and we have been waiting this for a number of releases, now…), I am talking about their very mechanism, which allow us to write our code and use Dreamweaver to speed up our job by helping us to write it again, faster, without errors, visually.
    No other tool offers this possibility. Without server behaviors and database support, Dreamweaver is simply not worth its price…
    Obviously, you are the ones with the real figures and only you can tell if it is a strategic decision or a big mistake. I was a bit surprised though by the number of voices that rose after the Dreamweaver CC release, so I tend to think that Mr. Adobe would not be that pleased by the loss of a good number of faithful clients. But then at least, be honest enough to tell us if you intend to drop a part of long-term users, and stop serving us your commercial soup…
    Now, what will happen?
    You still refuse to listen to the numerous voices who have called against your decision to remove useful features to us, and in this case, we will act accordingly: we are big enough, we do not need your blatant propaganda even by the product manager himself to decide whether Dreamweaver CC will still be worth its high price into our workflow, if the new features will outweigh the loss of server behaviors and database support. If not, of course, we will not upgrade just because you are marketing the supposedly wonderful new features, and we will turn to other tools, with features that will help us improve our workflow in other ways. And goodbye Adobe, we do not trust you anymore… It is as simple as that.
    You show us you really are listening to your customers and you bring back updated server behaviors and database support. In this case, we will know that we can trust Adobe again, that you do listen to us, and will applaud with both hands.
    And, more important to you, we will have a valid reason to upgrade and we will. Come on guys, our productivity is at stake, but your jobs may be in the line too…

  • Parse errors from server behaviors

    I have created an input form for a mysql/php database set up on my testing server with a set of fields in a repeat region. All the fields are properly displayed when I switch to LiveView or browser preview. I am, however, having the following problem with server behaviors:
    If I add “Display Total Records” at the bottom, it displays just fine, but if I try to add the behaviors for previous page, next page, starting record number or ending record number, I get this:
    Parse error: syntax error, unexpected ';' in C:\XAMPP\htdocs\LEAP\admin.php on line 81
    Lines 81-84  read:
    $totalPages_VolApp = ceil($totalRows_VolApp/$maxRows_VolApp = 10;
    $pageNum_VolApp = 0;
    if (isset($_GET['pageNum_VolApp'])) {
      $pageNum_VolApp = $_GET['pageNum_VolApp'];
    I also cannot switch the repeat region to “show all records.” This results in a similar syntax error.
    What is a parse error? What problem is indicated? thanks.

    What is a parse error? What problem is indicated? thanks.
    It's an error in code. The error is in the following line:
    $totalPages_VolApp = ceil($totalRows_VolApp/$maxRows_VolApp = 10;
    That line is nonsense in PHP terms. It has almost certainly been created as a result of not removing server behavior code correctly when making changes to a page. You can't edit PHP code simply by selecting dynamic text in Design view and deleting it. To remove a server behavior cleanly, you need to select its name in the Server Behaviors panel and click the minus button.
    The code you have posted here looks so badly corrupted, I suggest you start the page again.

  • Insert/Update Record - Server Behavior

    Help Please!
    I have several pages with forms that insert records, but I
    over the weekend when I went to open them from the web to
    insert/update records errors appeared. They were working fine
    before. Using PHP, MYSQL and Dreamweaver CS3
    I have tried everything I know to do. I have recreated the
    page, same problem as well as delete behaviors and reapply them.
    Once the server behavior is added it no longer says Insert
    Record in the Application window instead it says "Dynamic
    Attribute" Further, when I click it to make any changes etc,
    instead of the screen for Insert or Update record coming up it is a
    "Dynamic Text box" regarding POST or GET or URL stuff.
    Edited to add: And once posted, the page only shows an error
    and references this line
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    Error Message
    Parse error: syntax error, unexpected '<' on line 40
    What can I do?

    You don't say which server-side language you're using, but the way that I would troubleshoot this in PHP is to use echo to display the value of $_SESSION['MM_Username'] at the bottom of the admin page. This is the session variable Dreamweaver uses to control access to a page with username and password. If the value is displayed, it means sessions are working, and the variable hasn't been destroyed.
    If that works, move onto the next page, and use echo to display the value of $_SESSION['MM_Username'] as soon as the session has been started. To prevent being redirected to the fail page, temporarily comment out the following line:
    header("Location: ". $MM_restrictGoTo);
    Basically, you need to check what's happening to the session variable that controls access to the pages.

  • Changing (overriding) default behavior of  af:inputText

    Hi all,
    Is it possible to change the default behavior of the <af:inputText> or add a new one by overriding CoreInputText . e.g: like oracle forms, enter button to navigate to next item.
    Thanks in advance,
    Ahmad Esbita

    InputTexts are more than enough for me, but I was wondering if I can add some kind of functionality to them and if yes, how ?
    In my post the example was :"enter button to navigate" , some people are used to the idea of enter button navigation such as accountants ,they also relay on the mouse poorly when they are working,and what if we are asked to provide this property, and thats all.
    Regards,
    Ahmad Esbita

  • CS6 Dreamweaver using PHP & MySQL - Delete Record Server Behavior?

    When I try to insert the Delete Record server behavior. I get an error message about a DeleteRecord.js file, which seems to be missing or defective.  I cannot use the server behavior.  I have a file that I developed using CS5, and it does indeed delete the record, but does not proceed to the destination I want.  I cannot change that except in the server behavior, so I'm stuck.  I have noticed that server behaviors seem to disappear without apparent cause, as it seems to have in this case.  I will appreciate any suggestions!  Is there any way to embed a call to a target page manually?  All is working WITHOUT the server behavior appearing, but I want to go to a confirmation display page that shows the record is indeed deleted, and we just return to the (now blank) delete confirmation page.  That'll drive a user bonkers!
    Thanks!
    Delete Record in CS6 Dreamweaver using PHP & MySQL?

    Well, your error message is self-explanatory.
    DW stores ServerBehaviors in 'Configuration' folder in installation directory. If one of the behavior JS files is missing/ corrupt, you'll see the error message you just did.
    I've uploaded a functional, proper version of DeleteRecord.js onto my site for you to download. Here's the link:
    http://www.sudarshan.me/adobeforum/dw/app/behavior-js/DeleteRecord.zip
    Download this file, extract it and put DeleteRecord.js file in your installation directory as follows. If prompted, 'replace' your local copy:
    Mac: Applications > Adobe Dreamweaver CS6 > Configuration > ServerBehaviors > PHP_MySQL
    Windows: C:\Users\Your User Name\AppData\Roaming\Adobe\Dreamweaver CS6\[language]\Configuration\ServerBehaviors\PHP_MySQL
    It should work as expected.
    If that still doesn't solve the problem, reset your DW preferences and cache and try doing it. Follow the instructions here to reset cache: http://forums.adobe.com/thread/494811
    Let us know how it goes.
    -ST

  • 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.

  • Locked Regions & Server Behaviors

    Hi:
    Any help to resolve this problem
    making this change would require changing code that is locked
    by a template or a translator
    I use templates in all of my projects along with server
    behaviors, and i frequently get this error.
    I have worked around this by adding necessary recordset
    behaviors before applying template but sometimes you don't know
    always what you would be requiring at the end and even if i do know
    the Recordset pagination invokes this error which I actually use
    after applying template to my page.
    Sometimes i would apply a recordset in a temporary file and
    will copy the pertinent code from there to the page i am working
    on.
    I want an efficient approach to use server behaviors without
    any conflict with templates. I usually have simple templates with a
    single editable field for recordset display.
    Is it something wrong with the way I am creating template or
    what should be the approach to avoid this error. Further sometimes
    I do have server behaviors inside templates (not always).
    P.S. Post earlier to General Category but I believe this is
    the right one.

    The page validates without adding the SB?
    I can see nothing wrong with your markup as posted.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Saad Shams" <[email protected]> wrote in
    message
    news:[email protected]...
    > Still I am unable to track the problem. To avoid future
    problems, where
    > exactly
    > do you suggest me to place code within head section. I
    doubt that it may
    > happened due to code in head section at arbitrary
    places.
    >
    > I have checked with creating a simple template with few
    tables in it,
    > adding
    > server behaviors works fine, as a result of increase in
    design/code may be
    > due
    > to addition of code in head section, i believe it
    happens due to that.
    >
    > Here is a pattern of dreamweaver head section of a
    template, suggest me a
    > safest place within this region.
    >
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    > <!-- TemplateBeginEditable name="doctitle" -->
    > <title>Untitled Document</title>
    > <!-- TemplateEndEditable -->
    > <!-- TemplateBeginEditable name="head" --><!--
    TemplateEndEditable -->
    > </head>
    >
    > Well at this point, i added some SB and the error
    appears again on further
    > SBs, check it yourself.
    >
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    > <!-- TemplateBeginEditable name="doctitle" -->
    > <title>Untitled Document</title>
    > <!-- TemplateEndEditable -->
    > <!-- TemplateBeginEditable name="head" --><!--
    TemplateEndEditable -->
    > <?php mysql_select_db($database_connBalanaa,
    $connBalanaa);
    > $query_Recordset1 = "SELECT * FROM advertise";
    > $Recordset1 = mysql_query($query_Recordset1,
    $connBalanaa) or
    > die(mysql_error());
    > $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    > $totalRows_Recordset1 =
    mysql_num_rows($Recordset1);?>
    > </head>
    >
    > Can't add any further Recordset after that on CHILD
    Pages.
    >
    > Looking forward to your kind suggestions.
    >

Maybe you are looking for

  • 8.1.7.3.0 SQL_ATTR_METADATA_ID

    Oracle added support for SQL_ATTR_METADATA_ID in release 8.1.7.2.0. However, by default it was set to SQL_FALSE, which forced case sensitive. In 8.1.7.3.0, they added a workaround in the ODBC Administrator configuration "Set Metadata ID Default to SQ

  • ME28 New Column to be added

    I am looking for a way to add a column to the report ME28 (RM06EF00).  I have a custom field that I added to the PO header (EKKO) and I would like this field to be available to be displayed when ME28 is run.  Is there a BADI that I can do this in?  O

  • Dummy work center.

    While creating master recipe curling, edge forming, trimming and painting are assign to a single operation and a resource (work center)is assign to this operation in master recipe. Now my problem is that when I enter the scrap quantity during confirm

  • Passing "sy.workitemurl" value to Service

    Hi, I wanted to pass sy.workitemurl as a parameter to web service. i created a Callable object of type Business Object but i am not able to assign the value of sy.workitemurl to that parameter. it gives null value. NOTE: same thing in email template

  • Write-off reason code limited to Amounts

    Hi All, We are on ecc 6.0. I want to know that is it possible to Link Write-off Reason code to amount and Roles. The scenario is like this. We have Multiple reason code configured in SAP Bank Charges A write-off reason code: Cash application speciali