<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-7709752574678117540</atom:id><lastBuildDate>Sun, 07 Mar 2010 19:01:00 +0000</lastBuildDate><title>Little Pink WebSphere World</title><description></description><link>http://www.fernandasilveira.com/blogger.html</link><managingEditor>noreply@blogger.com (Fernanda Silveira)</managingEditor><generator>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7709752574678117540.post-6314155475468901501</guid><pubDate>Wed, 10 Jun 2009 16:27:00 +0000</pubDate><atom:updated>2009-06-10T09:30:04.594-07:00</atom:updated><title>How to get WCM/WP User Info in WCM</title><description>Create a JSP component with the following code:&lt;br /&gt;&lt;br /&gt;&lt;%@page import="java.util.*, java.security.*, &lt;br /&gt;                java.io.*, java.net.*, &lt;br /&gt;                java.text.*, javax.servlet.http.*"%&gt;&lt;br /&gt;&lt;br /&gt;&lt;%&lt;br /&gt;Principal userPrincipal = (Principal) request.getSession().getAttribute("wcm_session_user");&lt;br /&gt;com.ibm.portal.puma.User pumauser = (com.ibm.portal.puma.User) userPrincipal;&lt;br /&gt;String givenName = (String) pumauser.getGivenName();&lt;br /&gt;String familyName = (String) pumauser.getFamilyName();&lt;br /&gt;if (givenName == null) givenName = "";&lt;br /&gt;if (familyName == null) familyName = "";&lt;br /&gt;out.print(givenName + " " + familyName);&lt;br /&gt;%&gt;&lt;br /&gt;&lt;br /&gt;Source: http://www.ibmportal.com/viewtopic.php?id=420&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7709752574678117540-6314155475468901501?l=www.fernandasilveira.com%2Fblogger.html' alt='' /&gt;&lt;/div&gt;</description><link>http://www.fernandasilveira.com/2009/06/how-to-get-wcmwp-user-info-in-wcm.html</link><author>noreply@blogger.com (Fernanda Silveira)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7709752574678117540.post-3758884861029585777</guid><pubDate>Tue, 15 Jul 2008 22:32:00 +0000</pubDate><atom:updated>2008-07-15T15:39:17.305-07:00</atom:updated><title>How to enable and disable versioning on WCM 6</title><description>Search WCMConfigService.properties for "versioningStrategy". You can set the properties to always (enable) or never (disable)&lt;br /&gt;&lt;br /&gt;# enable version control for the following types.&lt;br /&gt;# options are always | never&lt;br /&gt;versioningStrategy.AuthoringTemplate = always&lt;br /&gt;versioningStrategy.Component = always&lt;br /&gt;versioningStrategy.Content = always&lt;br /&gt;versioningStrategy.PresentationTemplate = always&lt;br /&gt;versioningStrategy.Site = always&lt;br /&gt;versioningStrategy.Taxonomy = always&lt;br /&gt;versioningStrategy.Workflow = always&lt;br /&gt;&lt;br /&gt;Thanks Max Bareither for the tip!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7709752574678117540-3758884861029585777?l=www.fernandasilveira.com%2Fblogger.html' alt='' /&gt;&lt;/div&gt;</description><link>http://www.fernandasilveira.com/2008/07/how-to-enable-and-disable-versioning-on.html</link><author>noreply@blogger.com (Fernanda Silveira)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7709752574678117540.post-1021377050116481648</guid><pubDate>Tue, 12 Feb 2008 23:29:00 +0000</pubDate><atom:updated>2008-12-03T11:59:21.636-08:00</atom:updated><title>Enabling e-mail for Web Content Management 6.0 - SMTP Authentication</title><description>In addition to the InfoCenter steps (http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/index.jsp?topic=/com.ibm.wp.ent.doc/wcm/wcm_config_smtp.html) you may need to add a username and password if your SMTP server requires authentication.&lt;br /&gt;&lt;br /&gt;1- Check WCMConfigService.properties file under &lt;portal_server_root&gt;/wcm/shared/app/config/wcmservices &lt;br /&gt;&lt;br /&gt;2- Add defaultusername and defaultpassword. See example:&lt;br /&gt;&lt;br /&gt;#SMTP Mail Setup&lt;br /&gt;connect.connector.mailconnector=defaultsmtpserver, defaultfromaddress, defaultreplytoaddress, defaultusername, defaultpassword&lt;br /&gt;&lt;br /&gt;connect.connector.mailconnector.defaultsmtpserver= mail.myserver.com&lt;br /&gt;connect.connector.mailconnector.defaultfromaddress= fernanda@myserver.com&lt;br /&gt;connect.connector.mailconnector.defaultreplytoaddress= fernanda@myserver.com&lt;br /&gt;&lt;br /&gt;#Add these lines:&lt;br /&gt;connect.connector.mailconnector.defaultusername= fernanda@myserver.com &lt;br /&gt;connect.connector.mailconnector.defaultpassword= mypassword&lt;br /&gt;&lt;br /&gt;3- Restart WebSphere Portal for the new settings to take effect.&lt;br /&gt;&lt;br /&gt;Note: For the 6.1 server the config file should be under: was_profile_root/PortalServer/wcm/shared/app/config/wcmservices/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7709752574678117540-1021377050116481648?l=www.fernandasilveira.com%2Fblogger.html' alt='' /&gt;&lt;/div&gt;</description><link>http://www.fernandasilveira.com/2008/02/enabling-e-mail-for-web-content.html</link><author>noreply@blogger.com (Fernanda Silveira)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7709752574678117540.post-1137649422002023631</guid><pubDate>Wed, 06 Feb 2008 22:12:00 +0000</pubDate><atom:updated>2008-02-06T14:29:12.160-08:00</atom:updated><title>Lotusphere 2008</title><description>January, 20-24th - Orlando, FL&lt;br /&gt;&lt;br /&gt;WebSphere Portal and Portlet Factory 6.1 are coming soon!&lt;br /&gt;Some of the new features: semantic tags, JSR 286 Portlet API, improved AJAX support&lt;br /&gt;WebSphere Portal 6.1 Beta Version is available for download.&lt;br /&gt;&lt;br /&gt;For more details see:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://www14.software.ibm.com/iwm/web/cc/earlyprograms/lotus/wps61beta/" target="_blank"&gt;WebSphere Portal 6.1 Open Beta&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.ibm.com/developerworks/forums/forum.jspa?forumID=1127" target="_blank"&gt;WebSphere Portal 6.1 Beta Forum&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7709752574678117540-1137649422002023631?l=www.fernandasilveira.com%2Fblogger.html' alt='' /&gt;&lt;/div&gt;</description><link>http://www.fernandasilveira.com/2008/02/lotusphere-2008.html</link><author>noreply@blogger.com (Fernanda Silveira)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7709752574678117540.post-7364906184327538856</guid><pubDate>Fri, 25 Jan 2008 22:59:00 +0000</pubDate><atom:updated>2009-06-10T08:55:53.014-07:00</atom:updated><title>Working with JSP elements on WCM 6</title><description>The JSP file must be stored under &lt;br /&gt;&amp;lt;was_profile&gt;/&amp;lt;cellName&gt;/installedApps/wcm.ear/ilwwcm.war/&lt;br /&gt;&lt;br /&gt;If your JSP contains references to other files like Javascripts, images, style sheets, etc, do the following:&lt;br /&gt;&lt;br /&gt;1- Store those files under the same folder as the JSP.&lt;br /&gt;2- Refer them as /wps/wcm/&amp;lt;file_name&gt;&lt;br /&gt;&lt;br /&gt;For example, if you have an image called dot.gif, your code within the jsp should look like:&lt;br /&gt;&amp;lt;img src="/wps/wcm/dot.gif"/&gt;&lt;br /&gt;&lt;br /&gt;In order to check if the files are in the correct place, you should be able to access the follow URL:&lt;br /&gt;&lt;br /&gt;http://&amp;lt;yourPortalserver&gt;:&amp;lt;portNumber&gt;/wps/wcm/dot.gif&lt;br /&gt;&lt;br /&gt;PS: You must copy your jsp to PortalServer/installedApps/WCM_Local_xxx.ear/xxx.war/jsp if your JSP component will be rendered in a Local Web Content Viewer portlet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7709752574678117540-7364906184327538856?l=www.fernandasilveira.com%2Fblogger.html' alt='' /&gt;&lt;/div&gt;</description><link>http://www.fernandasilveira.com/2008/01/working-with-jsp-elements-on-wcm-6.html</link><author>noreply@blogger.com (Fernanda Silveira)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7709752574678117540.post-3538626345673300619</guid><pubDate>Fri, 25 Jan 2008 22:55:00 +0000</pubDate><atom:updated>2008-01-25T14:58:05.550-08:00</atom:updated><title>IWKPL1515X: Value must be between 2/7/08 11:43 AM and 2/8/08 11:43 AM. (Expiry Date)</title><description>This is a WCM 6 exception. It happens when the author tries to save new content after the "Expiry date and Time field properties" were changed in the "Default Content Settings" in the Authoring Template.&lt;br /&gt;&lt;br /&gt;Solution:IBM suggested the installation of 6.0.1.1-WCM-PK57002.zip&lt;br /&gt;&lt;br /&gt;For more details, see: http://www-1.ibm.com/support/docview.wss?uid=swg1PK57002 &lt;br /&gt;&lt;br /&gt;IBM recommends 17 additional fixes that need to be applied before the expiry date issues is corrected:  &lt;br /&gt;&lt;br /&gt;PK54658, PK53869, PK53463, PK53575, PK53183, PK52815, PK52906, PK52802, PK53868, PK55366, PK55082, PK52688, PK51512, PK53899, PK52903, PK51892, PK55773, WCM 6.0.1.2, PK57002&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7709752574678117540-3538626345673300619?l=www.fernandasilveira.com%2Fblogger.html' alt='' /&gt;&lt;/div&gt;</description><link>http://www.fernandasilveira.com/2008/01/iwkpl1515x-value-must-be-between-2708.html</link><author>noreply@blogger.com (Fernanda Silveira)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7709752574678117540.post-1388320660185468121</guid><pubDate>Fri, 25 Jan 2008 22:54:00 +0000</pubDate><atom:updated>2008-01-25T14:54:51.891-08:00</atom:updated><title>How to setup automatic content expiration on WCM 6</title><description>In order to setup automatic content expiration you need to do the following:&lt;br /&gt;&lt;br /&gt;1- Set the content expiry date.&lt;br /&gt;2- Create "Scheduled Move" workflow action based on the "Expiry Date" to move content from Published to Expired stage. Add this action to your Published stage.&lt;br /&gt;3- To guarantee the author will set the exp date, make it a required field in the Authoring Template. Also, set a default Workflow and a range of dates to be selected from. Click the icon besides "Expiry Date" under the AT "Default Content Settings" for options.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7709752574678117540-1388320660185468121?l=www.fernandasilveira.com%2Fblogger.html' alt='' /&gt;&lt;/div&gt;</description><link>http://www.fernandasilveira.com/2008/01/how-to-setup-automatic-content.html</link><author>noreply@blogger.com (Fernanda Silveira)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7709752574678117540.post-822506157149134315</guid><pubDate>Fri, 25 Jan 2008 22:28:00 +0000</pubDate><atom:updated>2008-01-25T14:53:34.920-08:00</atom:updated><title>How to load a Javascript on a page without using the body or img tag.</title><description>If you need to execute some Javascript function before loading the page but you can't use or don't want to use the tags &amp;lt;body&gt; nor &amp;lt;img&gt; for that do the following:&lt;br /&gt;&lt;br /&gt;&amp;lt;script type="text/javascript"&gt;&lt;br /&gt;function ShowFirst(){ //do something }&lt;br /&gt;&amp;lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script language="javascript" type="text/javascript" for="window" event="onload"&gt;&lt;br /&gt;if (document.all) {&lt;br /&gt;//For IE&lt;br /&gt;ShowFirst();&lt;br /&gt;}else{&lt;br /&gt;//For Firefox&lt;br /&gt;window.document.addEventListener("DOMContentLoaded", ShowFirst, true);&lt;br /&gt;}&lt;br /&gt;&amp;lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7709752574678117540-822506157149134315?l=www.fernandasilveira.com%2Fblogger.html' alt='' /&gt;&lt;/div&gt;</description><link>http://www.fernandasilveira.com/2008/01/teste.html</link><author>noreply@blogger.com (Fernanda Silveira)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item></channel></rss>