on 08-26-2013 8:01 PM
We are using WPC 7.3 on EP 7.3 SP7 and content editors are compaining that the window to edit content is too small
It is only a 1/3 of the screen and cannot be maximized. They would like to a edit the content in full screen or better yet inline with the layout itself.
Having difficult time getting them to adopt
Any advice on how you deal with this user complaint is appreciated
Lee Lewis
I fully agree.
We opened a message to SAP for this:
"
Hello,
We use WPC and we would like to increase paragraph size in
wpc_simple_item since the default size is considered as too small to
work easily at design time.
We checked the documentation:
* Creating New Web Forms http://
help.sap.com/saphelp_nw73/helpdata/en/4f/e58f9178d043c18ecf3b35538fbe62/frameset.htm
* Creating XML and XSL Files http://
help.sap.com/saphelp_nw73/helpdata/en/6e/180acda57b400cb06fe990873dd30a/frameset.htm
* Example: XSL File for a Web Form http://
help.sap.com/saphelp_nw73/helpdata/en/bc/c2d1a38ec9487e9ff28d4768e4b85b/frameset.htm
We checked SCN:
* How to Create New Web Forms -Web Page Composer for SAP NetWeaver
Portal 7.3 -http://scn.sap.com/docs/DOC-22253
* We checked standard classes and discovered that in class
com.sap.nw.pcc.km.service.editor.component.HtmlEditComponent the size is set to 200.
Component: com.sap.nw.pcc.xmleditor
Class: com.sap.nw.pcc.km.service.editor.component.HtmlEditComponent
In file:
protected static final String HEIGHT = "200";
htmlEdit.setHeight("200");
Question:
-do you have more documentation on WPC XSL file ?
-in the documentation there is a "size" property in XML definition
file. Do we have such parameter for the paragraph height ?
-and in XSL file definition there is "command" such as:
<xsl:attribute name="height"><xsl:value-of disable-outputescaping="
yes" selestyle='font-family:courier'
ct="@height"/></xsl:attribute>
that seems to change height definition.
So to change paragraph height:
-is it possible in XML definition ?
-can we change it via XSL ? How ?
-or do we have to copy sap standard, change height in class
om.sap.nw.pcc.km.service.editor.component.HtmlEditComponent and redo
all the customising ?
Best regards.
Vincent
"
SAP answered:
1. implement Tiny MCE editor that allows to change paragraph size:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0983d9b-327e-2e10-1aacb333288775...?QuickLink=index&overridelayout=true&52596169587931
--> but I answered:
"
Hello,
we already implemented Tiny MCE but we don't want to use it: not
standard and depend to external sources, too many option for end users
(support problems), difficuties to keep portal theme inside Tiny,...
So we want to use SAP Paragraph with advanced HTML but to be usable
paragraph size in editor mode should be greater than 200.
Best reagards.
Vincent
"
SAP answered
"
I was discussing your question with development team and the best
option is creating a copy of
com.sap.nw.pcc.km.service.editor.component.HtmlEditComponent
So, you can add "size" property in xml, just like in the "inputfield"
component, and get its value in getCompoundComponent() method using
editorObject.getSize()
"
I replied
"
Hello,
so I understand that there is no standard option (customizing) to
change standard paragraph size. The only option is development.
We tried to copy SAP Standard. But it involves a lot of java class and
then we have to reddo all WPC customising.
Not sure we are going to do that. Does SAP intend to improve that ?
Paragraph size is limitted to 200 px in edit mode. Not very
userfriendly to our opinion.
Best regards.
Vincent
"
And last SAP answer was
"
Unfortunately this is embedded and nowadays there is no option to change it easier.
About creating a way to change that value, this is the first time a customer require it. I will send you opinion/request to development team.
I cannot confirm if they will do this change, but we are always opened
to evaluate our customer's requests to improve our applications.
Thanks for your comprehension.
"
So apart Tiny MCE (that can be customized to reduce users options) it seems there is no solution up to now.
(We were in 7.3 SP07 when we opened the message and we are now in 7.3 SP08).
Best regards.
Vincent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
10 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.