Checking for empty content in Presentation Templates
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > Checking for empty content in Presentation Templates




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Checking for empty content in Presentation Templates  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-09-07 06:57 AM

Hi everyone,

I'm creating an intranet site using WebSphere Portal need to do some WCM val
idation within my presentation template to check to see whether a content it
em (in this case Rich Text) has been filled in before printing it out.

E.g. I want to wrap my validation around:

Check that Page Header is not empty
<div id="header">
<Element context="current" type="content" key="Page Header"/>
</div>
End check.

I've searched all morning trying to find a way to do this, and I know there'
s an "is" function, but no examples on how to use it.

If anyone could point me in the right direction, I'd really appreciate it.

Thanks!





[ Post a follow-up to this message ]



    Re: Checking for empty content in Presentation Templates  
breal@us.ibm.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-09-07 06:57 AM

What version of Portal/WCM are you using? In V6.0 you can make the RTE
field required which should do what I think you are looking to do.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:14 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register