[MAGNOLIA-516] Follow-Up: Make it easier to extend Save.java Created: 05/Aug/05 Updated: 17/Mar/09 Resolved: 10/Aug/05 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | admininterface |
| Affects Version/s: | 2.1 Final |
| Fix Version/s: | 2.1 Final |
| Type: | Improvement | Priority: | Major |
| Reporter: | Michael Aemisegger | Assignee: | Philipp Bärfuss |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
all |
||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Date of First Response: |
| Description |
|
Since the method getRichEditValueStr(String value, int isRichEditValue) is static, it is not possible to change the saving policy for editor html without redundantly copying several methods to the extending class. I made getRichEditValueStr(String value, int isRichEditValue) non-static. Patch for revision 1139 (created with 'diff -uBbPr' on linux) ( note: the patch already got applied partly ):
/**
/**
// encode the internal links to avoid dependences from the contextpath, position of the page |
| Comments |
| Comment by Philipp Bracher [ 05/Aug/05 ] |
|
changed. please note that i made getters and setters instead of protected attributes |