History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-6110
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: P0 P0
Assignee: Mamye Kratt
Reporter: Amy Muntz
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

Text messages for controls that don't work in DHTML

Created: 04/Jun/08 11:29 AM   Updated: 28/Aug/08 05:55 AM
Component/s: Kernel - DHTML
Affects Version/s: RingDing (4.1)
Fix Version/s: Dunkin (4.2b3)

Time Tracking:
Not Specified

Severity: Minor
Fixed in Change#: 10,823
Fixed in branch: trunk
Runtime: N/A
Fix in hand: False


 Description  « Hide
When controls don't work in DHTML by design, like the Rich Text Editor, we need a way to gracefully alert the user.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
P T Withington - 24/Jun/08 11:12 AM
Where is this "Rich Text Editor" of which you speak? How will I know i there are other controls that need this graceful alert?

Amy Muntz - 25/Jun/08 07:09 AM
Max - assigning to you per ptw; shifting lang issues to ptw

Philip Romanik - 27/Jun/08 12:43 PM
Test app:

<canvas bgcolor="0xeeeeee">
  <include href="lps/components/incubator/rich-text/richtexteditor.lzx"/>

  <simplelayout spacing="10"/>

  <richinputtext width="300">default text goes here</richinputtext>
  <richtexteditor width="600">default text goes here</richtexteditor>
</canvas>


Philip Romanik - 27/Jun/08 05:44 PM
Change 20080627-Philip-8 by Philip@Philip-DC on 2008-06-27 15:37:36 EDT
     in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Warn users about using richinputtext and richtexteditor in dhtml

New Features:

Bugs Fixed: LPP-6110

Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
if users use richtexteditor or richinputtext in dhtml, they now see a warning displayed as well as a warning in the dev console.

richtexteditor generates errors in swf and does not run very well.
This changeset does not address it.


Tests:
See the test app in jira. It runs in swf, and displays a warning message in dhtml.

Files:
M lps/components/incubator/rich-text/richtexteditor.lzx
M lps/components/extensions/views/richinputtext.lzx

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080627-Philip-8.tar

Max Carlson - 28/Jun/08 08:23 AM
This limitation needs to be documented in the release notest. Reopening because we had to back this fix out - it broke the doc build by causing two separate copies of the reference for each version in the <switch/> tag.

Philip Romanik - 28/Aug/08 05:55 AM
Change 20080827-Philip-0 by Philip@Philip-DC on 2008-08-27 15:04:25 EDT
     in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: warn users when using richinputtext/richtexteditor in dhtml/swf9

New Features:

Bugs Fixed: LPP-6110

Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
My original fix for LPP-6110 uses a <switch> statement so dhtml/swf9 users don't get runtime errors. However, this broke the doc build and was backed out. This implementation adds a construct() method to richinputtext and displays a warning message. All references to the sprite are bypassed for non-swf9 runtimes. This removes the error from a simple richtext app. Some apps will generate runtime errors but after the warning message is displayed.

Tests:
See the test app in LPP-6110. This app will still show errors in dhtml but an application with just the richinputtext element does not generate runtime errors.


Files:
M lps/components/incubator/rich-text/richtexteditarea.lzx
M lps/components/extensions/views/richinputtext.lzx

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080827-Philip-0.tar