I put the root folder path in the portlet config, and then my code uses the
NodeService to get the root NodeRef, and FileFolderService to do the rest.

I didn't use the IFrame model.  My portlet gets the HTML document through
the Alfresco API, and then parses the document to make all HTML links proxy
subsequent content calls (other html, images, docs) through the portlet.

On 8/9/06, Enrique Perez <[EMAIL PROTECTED]> wrote:

Hi,

That's interesting... it's similar to the aim I'm trying to achieve...
My thoughts are:
- when registration process, include a checkbox in "User Registration
Portlet" saying if you want to register in Alfresco as well. If the
answer is "yes", create an account in Alfresco with the same user and
password through Alfresco's "WebServices" API. That way, when login in
J2 it could be possible to login simultaneously in Alfresco.
- And then, showing the contents of a concrete Alfresco's folder within
an IFrame portlet that points to Alfresco webapp (so we keep all the
functionalities and the look-and-feel of Alfresco). I have doubts about
if it's possible to point to a concrete Alfresco's folder through
portlet preferences... but if it's possible it would be wonderful... =)

Did you make it this way? Do you think it's possible for me to do it? I
mean, create an IFrame portlet that accepts "NodeReference" as a
preference so you can navigate (as a registered user) through Alfresco
starting in that node (folder)?? I think Alfresco's Portlet gives that
chance... that's why I was trying to create it... =)

Sorry, I don't understand what are you trying to mean by this:
> I also parsed the document to fix resouce paths within
> the HTML document, and then cached the results.
>
But I had a look at NodeService and I think that's too useful...

Regards,
Enrique




Ethan Adams escribió:
> I'll contradict myself a little.
>
> I installed Alfresco as a webapp, but then I created standard JSR-168
> portlets that used some of the Alfresco APIs to get content and
> display it
> inside of a portlet.  I also parsed the document to fix resouce paths
> within
> the HTML document, and then cached the results.
>
> I used the NodeService and FileFolderService provided by
Alfresco.  There
> are probably better ways, but I through the solution together in a few
> days
> for a POC.
>
> On 8/8/06, Enrique Perez <[EMAIL PROTECTED]> wrote:
>>
>> Hi Ethan,
>>
>> My intention was to show Alfresco's contents through the portal... and
I
>> thought turning Alfresco into a portlet was the best solution... but
I'm
>> unable to do it...
>> Do you show Alfresco's contents in a tab in J2? Maybe with an IFrame
>> portlet pointing to Alfresco as web app??
>>
>> Regards,
>> Enrique
>>
>>
>> Ethan Adams escribió:
>> > I run Jetspeed and Alfresco together where Alfresco is installed as a
>> > standard war instead of a portlet.   I didn't really see any
>> benefit in
>> > running Alfresco as a portlet over the standard war.
>> >
>> > Just my 2 cents.
>> >
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to