mrc logo mrc logo
  • m-Power m-Power
    What is m-Power?
    Overview Demos Build Process Case Studies Specs Pricing Trial
    m-Power Resources
    Overview How-To Videos Webinars & Podcasts White Papers Fact Sheets
  • Solutions Solutions
    What does m-Power build?
    Overview Database Front-Ends Reporting CRM Systems Business Intelligence Dashboards Inventory Management Mobile Apps ERP Enhancements Modernization Spreadsheets to the web MS Access to the web B2B/Web Portals Scheduling Embedded Analytics Web Forms Workflow Data Exploration Budgeting & Forecasting APIs and Web Services Db2 Web Query Alternative
    Solutions by Industry
    Overview Manufacturing Government Foodservice Software Vendors Logistics & Supply Chain Software Consultants Healthcare
  • Services Services
    Development Services Training Mentoring
  • About About
    Overview Partners Press Releases Careers Events Contact Blog
  • Support Support
    Support Home FAQ Documentation Customer Portal Enhancements Updates Roadmap Techblog
Try m-Power

m-Power Manual

Browse:

  • Home
  • m-Painter
  • Using the Revert Function
Back to Manual

One of the best features about m-Painter is that it works very well for both less technical users as well as the more advanced users. For instance, those who are not very familiar with web languages, can choose to stay in m-Painter’s design, or WYSIWYG mode for “What You See Is What You Get”. This mode allows for a full range of options to customize your m-Power applications the exact way you need them.

On the other hand, more advanced users can choose to view the HTML source directly in order to experiment with advanced web techniques like Javascript and Freemarker. To do so, simply hover over the View menu, and then click Source. As can be seen, m-Painter assists with the reading of this code by color-coding everything, including line numbers for easy reference, and even automatically indenting your code.

Since m-Painter expects well-formed code in order to do these things, there may be times when your code becomes changed or even corrupted when you do not properly form your html. In this case, notice how deleting the close quotes for the href property of this link and then pressing Save causes my HTML to become corrupted.

To fix, simply use m-Painter’s Revert function. Hover over File and then click Revert. Notice how the code reverts back to the pre-Saved state, and is even highlighted brightly so I can find and repair the bad code prior to re-saving. In this case, I can properly close the href attribute and then press Save. This time, m-Painter successfully saves my code. Next time you are in Source mode, remember the Revert function as it could save you a lot of time instead of trying to manually repair damaged code.

Created: December 6, 2012 | Modified: December 27, 2017

Search


Browse By Category

Build Process (13)
Starting with m-Power (8)
Retrievals (10)
Reports (15)
Summaries (4)
Maintainers (17)
Graphs (8)
m-Power Data Explorer (4)
General (24)
Calculations (5)
Utilities (9)
m-Power Administration (23)
Security (11)
Freemarker (6)
m-Painter (29)
Form Validation (5)
External Objects & UDFs (12)
Deprecated Documentation (23)
Bootstrap Templates (7)

Popular Tags

External Objects m-Painter Popular Summaries Database RPG Freemarker Graphing Production Graph Properties Build Process Graphs Admin Application Properties Tomcat Bar Graphs Report Bootstrap Templates mrc-Productivity Series Administration Getting Started Form Validation Data Dictionary Video Java DB2 Excel Retrieval Calculations Prompt Screens Advanced Performance Security SQL Dropdowns App Properties Email Parameters Reports Compiling Record Selections Dates Retrievals Maintainers Maintainer

See all tags »

michaels, ross & cole, ltd. (mrc)

Privacy Policy Cookie Policy Cookie Settings Notice at Collection Do Not Sell or Share My Personal Information

mrc (US)

2001 Midwest Road
Suite 310
Oak Brook, IL 60523
630-916-0662

mrc (UK)

Mortlake Business Centre
20 Mortlake High Street
London, SW14 8JN
+44-20-335-59566


© 2024 mrc. All rights reserved.