COPYRIGHT RESERVED 2009 BY MAX TSAI



Visit Max Tsai at Facebook | Twitter | atom

Showing posts with label Alfresco. Show all posts
Showing posts with label Alfresco. Show all posts

Friday, March 13, 2009

FYI: Running Alfresco ... NOW!

> Community Projects Ingres Alfresco Bundle
> Ingres and Alfresco want developers and end users to get up and running quickly and easily.
> That is why we have built an integrated bundle of Alfresco with Ingres so users can install
> both technologies in one easy install.

http://esd.ingres.com/product/icebreaker/Enterprise_Content_Management

I have no experience on this, but saw it on a blog. Let me know how you think if you have a chance to give it a try!

Here we go Alfresco and Blackboard (Version 9)

This project has been pending since our university is going through a Future LMS selection process. One of the main driven force is the Accessibility (ADA compliant). You can find some of information at: http://futureoflms.blogspot.com/ blog site. And, yes, my university has finalized the decision on moving toward to Blackboard9. So, here I am. Time to kick off the Alfresco and Blackboard integration. I have set up an Open Source project at Oscelot/alfrescoproject (http://projects.oscelot.org/gf/project/alfrescoproject/). You can find more information and future development there and, yes, you are always very welcome to join me on the development!

Wednesday, March 11, 2009

Alfresco - Share .. problem and workaround on thumbnails

Lab3Stable/ OS X

Resolved, I think:

Add errCodes to 2 in checkCommand property in transformer.ImageMagick bean settting.

webapps/alfresco/WEB-INF/classes/alfresco/content-services-context.xml

Reference: http://wiki.alfresco.com/wiki/Content_Transformations
So, I do not need the workaround anymore ....


Problem :
09:27:59,107 DEBUG [content.transform.ContentTransformerRegistry] Searched for transformer:
source mimetype: image/png
target mimetype: image/png
transformers: []
09:27:59,107 DEBUG [repo.thumbnail.ThumbnailServiceImpl] Creating thumbnail: There is no transformer to generate the thumbnail required (node=
Workaround by displaying HTML resized original image:

In: /share/components/documentlibrary/documentlist.js
At: function DL_renderCellThumbnail





related issues:
  • http://forums.alfresco.com/en/viewtopic.php?f=47&t=17182&p=56654
  • http://forums.alfresco.com/en/viewtopic.php?f=8&t=16489&p=55640&hilit=photo#p55640

Friday, March 6, 2009

Alfresco 3Stable - Firefox Error on Share upload

The problem is FF3 and Flash plugin related. Some discussion is at:
http://forums.alfresco.com/en/viewtopic.php?f=9&t=15501

In summery, it started to work with FF3 after the following modification:
  1. Disable Flash component by editing file-upload.jsr:

    change:
    this.hasRequiredFlashPlayer = Alfresco.util.hasRequiredFlashPlayer(9, 0, 45)


    to:
    this.hasRequiredFlashPlayer = false

  2. Modify html-upload.js, you have to correct line 219:

    // If it hasn't load the gui (template) from the server
    217 Alfresco.util.Ajax.request(
    218 {
    219 url: Alfresco.constants.URL_SERVICECONTEXT + "components/upload/html-upload?htmlid=" + this.id,
    220 successCallback:

    to: "components/upload/html-upload?htmlid="

  3. and,
    260 /**
    261 * Render the server reponse so the contents get inserted in the Dom.
    262 * Scripts in the template, such as setMessage(), will also get run
    263 * at this moment.
    264 */
    265 this.widgets.panel.render(document.body);
    266
    267 //Remove the class hidden to display the panel
    268
    Dom.removeClass(this.id + "-dialog", "hidden");
Again, all credits go to the contributors in the forum at:
http://forums.alfresco.com/en/viewtopic.php?f=9&t=15501

Monday, July 9, 2007

Alfresco JSR 168 portlet deployed in uPortal 2.5.3

Have not tried this. My notes. I met Lennard at JA-SIG, a nice guy!

http://forums.alfresco.com/viewtopic.php?t=3502&start=0&postdays=0&postorder=asc&highlight=uportal

Sorry for the late reply, the last two weeks have been pretty hectic. One week in Boston and the next at Heartland college to teach a portlet training class with Cris Holdorph.
However, I had a day to re-examine the alfresco portlet in uPortal and am happy to say that the portlet appears to be 100% functional. Kevin's comments regarding session attributes led me in the right direction. The problem proved to be a configuration issue in tomcat. I didn't know that sharing such data between the PortletSession and another webapp required emptySessionPath to be set to true in tomcat's server.xml connector config.

So, the changes necessary for deploying alfresco's portlet are:
1) modify the portlet.xml file to conform to the JSR 168 spec by adding the expiration-cache element. (uPortal tends to be very picky about this where as many other portal's will ignore it even though the spec requires the tag)

2) remove portlet-api-lib.jar from WEB-INF\lib uPortal often has issues if this jar is present within a portlet.

3) modifying tomcat's server.xml to include emptySessionPath="true" setting within the Connector definition.

NOTE: with these changes in place the standard method for deploying and publishing a portlet to uPortal may be used (portlet definition ID: alfresco.AlfrescoClient).

Thank you for your time and patience in this matter.
_________________
Lennard Fuller
Senior Software Engineer
Unicon Inc