WCM Plugins Unexpected Behaviour

5 views
Skip to first unread message

Syed Imtiaz

unread,
Jun 21, 2017, 4:08:08 AM6/21/17
to Portal/WCMTechs
Hi,

Been long time, how are you all? Especially my Mentor Praveen Kumar Kusuma :-)

Issue: NotEquals plugin is working fine when any of the text parameter is string constant where as failing to render upon setting dynamic values using tags as shown below.

Working Example: [Plugin:NotEquals text1="value" text2="[Property Name of content]"] HTML Code [/Plugin:NotEquals]
Rendered Output: Html Code

Failing Scenario: [Plugin:NotEquals text1="[custom plugin]" text2="[Property Name of content]"] HTML Code [/Plugin:NotEquals]
Rendered Output: [Plugin:NotEquals text1="value" text2="value"][/Plugin:NotEquals]

Please let know if "NotEquals" plugin works only with one constant and one dynamic params ?

Server Environment: 
Name                 WAS ND
Version               8.0.0.13

Name           IBM WebSphere Portal MultiPlatform
Version        8.0.0.1

Name           IBM Web Content Manager
Version        8.0.0.1

Thanks alot for your guidance.... looking forward for your quick response. Thank you.

Regards,
Imtiaz Basha Syed.


Ravi Kota

unread,
Jun 21, 2017, 8:49:55 AM6/21/17
to portalw...@googlegroups.com
Hi Syed,

OOB plugins works for text comparisons I guess, and when you're writing custom plugin, why don't you write complete code instead of using custom plugin in OOB plugin? 

Ravi

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "Portal/WCMTechs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to portalwcmtech...@googlegroups.com.
To post to this group, send email to portalw...@googlegroups.com.
Visit this group at https://groups.google.com/group/portalwcmtechs.
For more options, visit https://groups.google.com/d/optout.

Syed Imtiaz

unread,
Jun 22, 2017, 2:57:46 AM6/22/17
to Portal/WCMTechs
Hi Ravi,

Thanks for quick turn around. I better write complete code then with in custom plugin :-)

Thanks man. take care and God bless you.

Regards,
Imtiaz Basha Syed.
Reply all
Reply to author
Forward
0 new messages