Error While Overriding Presentation of Widget
Hi,
VCM version of 8.1 SP1+Cumulative and use only appconsole.
We have requirement to overide the presentation of text area cce widget and tried to get widget object in override jsp using code WCMTextAreaWidget wcmTextAreaWidget = (WCMTextAreaWidget) WidgetUtils.getWidgetFromRequest(request).
(Ref:/vgn-wcm-up/secure/widgets/wcmtextarea/wcmtextareawidget.jsp)
This wcmTextAreaWidget is coming as null and throwing the below error when we open a content item of CTD having override jsp.
Please help us in resolving the issue.
Comments
-
It is typically easier to customize the look and feel of a widget by providing a custom xsl.
-m
From: eLink Entry: Discussion Group - Web Experience Management [mailto:v7webcontentmanagement@elinkkc.opentext.com]
Sent: martedì 14 giugno 2016 15:13
To: eLink Recipient
Subject: Error While Overriding Presentation of WidgetPosted by Basana, Soujanya On 06/14/2016 09:07 AM
Hi,
VCM version of 8.1 SP1+Cumulative and use only appconsole.
We have requirement to overide the presentation of text area cce widget and tried to get widget object in override jsp using code WCMTextAreaWidget wcmTextAreaWidget = (WCMTextAreaWidget) WidgetUtils.getWidgetFromRequest(request).
(Ref:/vgn-wcm-up/secure/widgets/wcmtextarea/wcmtextareawidget.jsp)
This wcmTextAreaWidget is coming as null and throwing the below error when we open a content item of CTD having override jsp.
Please help us in resolving the issue.
[To post a comment, use the normal reply function]
Forum:
Content Server:
0 -
Hi,
Thanks for your reply.
Can the xsl be a ctd specific because we want the customization to be applied only for few CTD 's and not all.
Quoted Mario D'Anna on 06/14/2016 07:11 PM:It is typically easier to customize the look and feel of a widget by providing a custom xsl.
-m
From: eLink Entry: Discussion Group - Web Experience Management [mailto:v7webcontentmanagement@elinkkc.opentext.com]
Sent: martedì 14 giugno 2016 15:13
To: eLink Recipient
Subject: Error While Overriding Presentation of WidgetPosted by Basana, Soujanya On 06/14/2016 09:07 AM
Hi,
VCM version of 8.1 SP1+Cumulative and use only appconsole.
We have requirement to overide the presentation of text area cce widget and tried to get widget object in override jsp using code WCMTextAreaWidget wcmTextAreaWidget = (WCMTextAreaWidget) WidgetUtils.getWidgetFromRequest(request).
(Ref:/vgn-wcm-up/secure/widgets/wcmtextarea/wcmtextareawidget.jsp)
This wcmTextAreaWidget is coming as null and throwing the below error when we open a content item of CTD having override jsp.
Please help us in resolving the issue.
[To post a comment, use the normal reply function]
Forum:
Content Server:
0 -
You can specify a custom XSLT in the widget config in the ctd, so you can define it only for the ctd/widgets you want.
m
From: eLink Entry: Discussion Group - Web Experience Management [mailto:v7webcontentmanagement@elinkkc.opentext.com]
Sent: martedì 14 giugno 2016 15:47
To: eLink Recipient
Subject: RE Error While Overriding Presentation of WidgetPosted by Basana, Soujanya On 06/14/2016 09:41 AM
Hi,
Thanks for your reply.
Can the xsl be a ctd specific because we want the customization to be applied only for few CTD 's and not all.
Quoted Mario D'Anna on 06/14/2016 07:11 PM:
It is typically easier to customize the look and feel of a widget by providing a custom xsl.
-m
From: eLink Entry: Discussion Group - Web Experience Management [mailto:v7webcontentmanagement@elinkkc.opentext.com]
Sent: martedì 14 giugno 2016 15:13
To: eLink Recipient
Subject: Error While Overriding Presentation of WidgetPosted by Basana, Soujanya On 06/14/2016 09:07 AM
Hi,
VCM version of 8.1 SP1+Cumulative and use only appconsole.
We have requirement to overide the presentation of text area cce widget and tried to get widget object in override jsp using code WCMTextAreaWidget wcmTextAreaWidget = (WCMTextAreaWidget) WidgetUtils.getWidgetFromRequest(request).
(Ref:/vgn-wcm-up/secure/widgets/wcmtextarea/wcmtextareawidget.jsp)
This wcmTextAreaWidget is coming as null and throwing the below error when we open a content item of CTD having override jsp.
Please help us in resolving the issue.
[To post a comment, use the normal reply function]
Forum:
Content Server:
[To post a comment, use the normal reply function]
Topic:
Forum:
Content Server:
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 150 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories