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 Widget

     

    Error While Overriding Presentation of Widget

     

    Posted 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.

    Image removed by sender.

    Please help us in resolving the issue.

     


    [To post a comment, use the normal reply function]

    Forum:

    Discussion Group - Web Experience Management

    Content Server:

    Knowledge Center

     

  • 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 Widget

     

    Error While Overriding Presentation of Widget

     

    Posted 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:

    Discussion Group - Web Experience Management

    Content Server:

    Knowledge Center

     

  • 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 Widget

     

    RE Error While Overriding Presentation of Widget

     

    Posted 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 Widget

     

    Error While Overriding Presentation of Widget

     

    Posted 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:

    Discussion Group - Web Experience Management

    Content Server:

    Knowledge Center

     


    [To post a comment, use the normal reply function]

    Topic:

    Error While Overriding Presentation of Widget

    Forum:

    Discussion Group - Web Experience Management

    Content Server:

    Knowledge Center