close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DataAssist pages - Update button deletes record; insert page adds two records

Thread began 5/26/2020 9:37 am by tmcbinc99963 | Last modified 5/27/2020 10:41 am by Ray Borduin | 474 views | 7 replies |

tmcbinc99963

DataAssist pages - Update button deletes record; insert page adds two records

I've created admin pages using the DataAssist pages plugin.

On the update page, when I change one of the field entries and click 'update', it redirects to the detail page, displays 'this record has been removed, and the record is deleted from the Db.

The insert page also redirects to the detail page and adds two records - one correctly and the other a blank record.

The delete function doesn't delete any records and returns a white results page.

A couple of minor glitches:

The Detail page permanently displays 'this will permanently deleted the record from your Db' warning.

Results page shows an initial cap on all results. Not so on other pages.

Fiies attached, file access in PM

Sign in to reply to this post

Ray BorduinWebAssist

On the update page it appears you updated the form element names but didn't update the Server Behavior to reflect the new names. I fixed this and the update page is working now.

On the details page the delete message was showing because you used a template without an editable region for the <head> contents, so the wizard wasn't able to add some of the necessary CSS. I added it to the body tag and the page displays properly now.

The delete wasn't working on the results page because the connection file was placed too low on the page. I moved it to the top and the delete works now.

The insert page seems to have an updated Insert server behavior that was changed to use SESSION values instead of the posted form values. I updated the server behavior and it appears to be working correctly now.

Sign in to reply to this post
Did this help? Tips are appreciated...

tmcbinc99963

Thanks so much Ray. I was having issues with the editable regions deleting some of my 'head' information, such as includes, css and other.

Sign in to reply to this post

Ray BorduinWebAssist

Yes. Make sure your template has an editable region in the <head>. Dreamweaver adds one automatically when you create a template, so it must have been deleted manually.

Sign in to reply to this post
Did this help? Tips are appreciated...

tmcbinc99963

I downloaded all your updated files from the server, then had to make some adjustments to the template. When the detail page was uploaded, the 'this will permanently deleted the record from your Db' warning appears again. It looks like all the css is there, but I don't really know what you added, so I can't be sure.

The results page shows all records both before and after a search is performed. The search is working, because it shows updated records.

The search results show initial caps on all the entries, even though the Db records are all lower case. Where is this coming from?

Sign in to reply to this post

Ray BorduinWebAssist

It looks like you re-uploaded an old version of the results and update pages. I re-uploaded the fixed versions and they appear to be working again.

The capitalization is from the prod_admn.css file line 22:

.Sharp_Default {
color: #000000;
font-family: 'Roboto Condensed';
text-transform: capitalize;
}

Sign in to reply to this post
Did this help? Tips are appreciated...

tmcbinc99963

After a search, when I leave the results page and return, it still shows the results. I assume this doesn't go away because I'm still within the same session.

I've cleared the browser cache, deleted history and restarted the browser but they still show. What makes this go away?

Sign in to reply to this post

Ray BorduinWebAssist

Restarting the browser should clear the search. You could also reset it by doing an empty search. If you want to have a clear search link, it just has to link to the page with ?Search=1 at the end.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...