You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by bu...@apache.org on 2002/08/07 19:12:53 UTC

DO NOT REPLY [Bug 11535] New: - Jetspeed and DB2 field type mismatch

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11535>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11535

Jetspeed and DB2 field type mismatch

           Summary: Jetspeed and DB2 field type mismatch
           Product: Jetspeed
           Version: 1.4b1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Database
        AssignedTo: jetspeed-dev@jakarta.apache.org
        ReportedBy: JRichardson@bjc.org


After running the db2 database scripts and populating the data.  Starting up 
jetspeed produces the following db2 exception in the log.  It appears that 
Jetspeed is confused on whether or not a field is numeric or varchar.  Is this 
someting that was done wrong in moving to db2.  Or is it a bug in jetspeed?  
What should the db field in question actually be?

--------
[11:01:34,656 INFO ] Start Initializing service (early): GroupManagement
[11:01:34,656 INFO ] Finish Initializing service (early): GroupManagement
[11:01:34,656 INFO ] Start Initializing service (early): PermissionManagement
[11:01:34,656 INFO ] Finish Initializing service (early): PermissionManagement
[11:01:34,656 INFO ] Start Initializing service (early): SecurityCache
[11:01:34,656 INFO ] Finish Initializing service (early): SecurityCache
[11:01:34,656 INFO ] Finished initializing all services!
[11:01:34,656 INFO ] Turbine: Completed HTTP initialization of services
[11:01:34,656 INFO ] Start Initializing service (late): UploadService
[11:01:34,656 INFO ] Finish Initializing service (late): UploadService
[11:01:34,671 INFO ] Start Initializing service (late): AssemblerBrokerService
[11:01:34,687 INFO ] Finish Initializing service (late): AssemblerBrokerService
[11:01:34,812 INFO ] IDBroker thread was started.
[11:01:35,125 DEBUG] SELECT TURBINE_USER.USER_ID, TURBINE_USER.LOGIN_NAME, 
TURBINE_USER.PASSWORD_VALUE, TURBINE_USER.FIRST_NAME, TURBINE_USER.LAST_NAME, 
TURBINE_USER.EMAIL, TURBINE_USER.CONFIRM_VALUE, TURBINE_USER.MODIFIED, 
TURBINE_USER.CREATED, TURBINE_USER.LAST_LOGIN, TURBINE_USER.DISABLED, 
TURBINE_USER.OBJECTDATA FROM TURBINE_USER WHERE (TURBINE_USER.LOGIN_NAME='anon')
[11:01:35,125 DEBUG] Elapsed time=0 ms
[11:01:35,171 DEBUG] JetspeedRunDataService: accessing rundata 
org.apache.jetspeed.services.rundata.DefaultJetspeedRunData@57222110 for 
thread: 10
[11:01:35,187 DEBUG] SELECT TURBINE_USER.USER_ID, TURBINE_USER.LOGIN_NAME, 
TURBINE_USER.PASSWORD_VALUE, TURBINE_USER.FIRST_NAME, TURBINE_USER.LAST_NAME, 
TURBINE_USER.EMAIL, TURBINE_USER.CONFIRM_VALUE, TURBINE_USER.MODIFIED, 
TURBINE_USER.CREATED, TURBINE_USER.LAST_LOGIN, TURBINE_USER.DISABLED, 
TURBINE_USER.OBJECTDATA FROM TURBINE_USER WHERE (TURBINE_USER.LOGIN_NAME='anon')
[11:01:35,187 DEBUG] Elapsed time=0 ms
[11:01:35,218 DEBUG] SELECT TURBINE_USER_GROUP_ROLE.USER_ID, 
TURBINE_USER_GROUP_ROLE.GROUP_ID, TURBINE_USER_GROUP_ROLE.ROLE_ID FROM 
TURBINE_USER_GROUP_ROLE WHERE (TURBINE_USER_GROUP_ROLE.USER_ID='3')
[11:01:35,265 ERROR] Turbine.handleException: Failed to get anonymous user: 
org.apache.jetspeed.services.security.RoleException: Failed to retrieve roles : 
[IBM][CLI Driver][DB2/LINUX] SQL0401N  The data types of the operands for the 
operation "=" are not compatible.  SQLSTATE=42818

[11:01:35,265 ERROR] 
org.apache.jetspeed.services.security.LoginException: Failed to get anonymous 
user: org.apache.jetspeed.services.security.RoleException: Failed to retrieve 
roles : [IBM][CLI Driver][DB2/LINUX] SQL0401N  The data types of the operands 
for the operation "=" are not compatible.  SQLSTATE=42818
	at 
org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getAnonymous
User(TurbineAuthentication.java:194)
	at org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser
(JetspeedAuthentication.java:107)
	at org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser
(JetspeedSecurity.java:157)
	at 
org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform
(TemplateSessionValidator.java:97)
	at 
org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform
(JetspeedSessionValidator.java:103)
	at org.apache.turbine.modules.Action.perform(Action.java:87)
	at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
	at org.apache.turbine.Turbine.doGet(Turbine.java:468)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at com.ibm.servlet.engine.webapp.StrictServletInstance.doService
(ServletManager.java:827)
	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service
(StrictLifecycleServlet.java:167)
	at com.ibm.servlet.engine.webapp.IdleServletState.service
(StrictLifecycleServlet.java:297)
	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service
(StrictLifecycleServlet.java:110)
	at com.ibm.servlet.engine.webapp.ServletInstance.service
(ServletManager.java:472)
	at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch
(ServletManager.java:1012)
	at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch
(ServletManager.java:913)
	at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch
(WebAppRequestDispatcher.java:523)
	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch
(WebAppRequestDispatcher.java:282)
	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward
(WebAppRequestDispatcher.java:112)
	at org.apache.jasper.runtime.PageContextImpl.forward
(PageContextImpl.java:498)
	at _index_jsp_0._jspService(index.jsp        )
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:142)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service
(JspServlet.java:300)
	at org.apache.jasper.runtime.JspServlet.serviceJspFile
(JspServlet.java:430)
	at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:565)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at com.ibm.servlet.engine.webapp.StrictServletInstance.doService
(ServletManager.java:827)
	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service
(StrictLifecycleServlet.java:167)
	at com.ibm.servlet.engine.webapp.IdleServletState.service
(StrictLifecycleServlet.java:297)
	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service
(StrictLifecycleServlet.java:110)
	at com.ibm.servlet.engine.webapp.ServletInstance.service
(ServletManager.java:472)
	at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch
(ServletManager.java:1012)
	at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch
(ServletManager.java:913)
	at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch
(WebAppRequestDispatcher.java:523)
	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch
(WebAppRequestDispatcher.java:282)
	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward
(WebAppRequestDispatcher.java:112)
	at com.ibm.servlet.engine.webapp.SimpleFileServlet.doGet
(SimpleFileServlet.java:223)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at com.ibm.servlet.engine.webapp.StrictServletInstance.doService
(ServletManager.java:827)
	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service
(StrictLifecycleServlet.java:167)
	at com.ibm.servlet.engine.webapp.IdleServletState.service
(StrictLifecycleServlet.java:297)
	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service
(StrictLifecycleServlet.java:110)
	at com.ibm.servlet.engine.webapp.ServletInstance.service
(ServletManager.java:472)
	at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch
(ServletManager.java:1012)
	at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch
(ServletManager.java:913)
	at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch
(WebAppRequestDispatcher.java:523)
	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch
(WebAppRequestDispatcher.java:282)
	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward
(WebAppRequestDispatcher.java:112)
	at com.ibm.servlet.engine.srt.WebAppInvoker.doForward
(WebAppInvoker.java:91)
	at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook
(WebAppInvoker.java:184)
	at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation
(CachedInvocation.java:67)
	at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI
(ServletRequestProcessor.java:122)
	at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service
(OSEListener.java:315)
	at com.ibm.servlet.engine.http11.HttpConnection.handleRequest
(HttpConnection.java:60)
	at com.ibm.ws.http.HttpConnection.readAndHandleRequest
(HttpConnection.java:323)
	at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
	at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
[11:01:35,640 INFO ] Start Initializing service (late): LocalizationService
[11:01:35,640 INFO ] Finish Initializing service (late): LocalizationService
[11:01:35,687 ERROR] Error rendering Velocity template: layouts/default.vm: 
Unable to find resource 'layouts/default.vm'
[11:01:35,687 ERROR] Error rendering Velocity template: layouts/default.vm: 
Unable to find resource 'layouts/default.vm'
org.apache.velocity.exception.ResourceNotFoundException: Unable to find 
resource 'layouts/default.vm'
	at org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource
(ResourceManagerImpl.java:501)
	at org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource
(ResourceManagerImpl.java:384)
	at org.apache.velocity.runtime.RuntimeInstance.getTemplate
(RuntimeInstance.java:812)
	at org.apache.velocity.runtime.RuntimeSingleton.getTemplate
(RuntimeSingleton.java:355)
	at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:482)
	at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
org.apache.turbine.util.TurbineException: Error rendering Velocity template: 
layouts/default.vm: Unable to find resource 'layouts/default.vm'
	at 
org.apache.turbine.services.velocity.TurbineVelocityService.renderingError
(TurbineVelocityService.java:524)
	at 
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest
(TurbineVelocityService.java:490)
	at 
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest
(TurbineVelocityService.java:327)
	at org.apache.turbine.services.velocity.TurbineVelocity.handleRequest
(TurbineVelocity.java:146)
	at org.apache.turbine.modules.layouts.VelocityDirectLayout.doBuild
(VelocityDirectLayout.java:106)
	at org.apache.turbine.modules.Layout.build(Layout.java:91)
	at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123)
	at org.apache.turbine.modules.pages.DefaultPage.doBuild
(DefaultPage.java:169)
	at org.apache.turbine.modules.Page.build(Page.java:90)
	at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
	at org.apache.turbine.Turbine.handleException(Turbine.java:670)
	at org.apache.turbine.Turbine.doGet(Turbine.java:575)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at com.ibm.servlet.engine.webapp.StrictServletInstance.doService
(ServletManager.java:827)
	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service
(StrictLifecycleServlet.java:167)
	at com.ibm.servlet.engine.webapp.IdleServletState.service
(StrictLifecycleServlet.java:297)
	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service
(StrictLifecycleServlet.java:110)
	at com.ibm.servlet.engine.webapp.ServletInstance.service
(ServletManager.java:472)
	at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch
(ServletManager.java:1012)
	at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch
(ServletManager.java:913)
	at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch
(WebAppRequestDispatcher.java:523)
	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch
(WebAppRequestDispatcher.java:282)
	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward
(WebAppRequestDispatcher.java:112)
	at org.apache.jasper.runtime.PageContextImpl.forward
(PageContextImpl.java:498)
	at _index_jsp_0._jspService(index.jsp        )
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:142)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service
(JspServlet.java:300)
	at org.apache.jasper.runtime.JspServlet.serviceJspFile
(JspServlet.java:430)
	at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:565)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at com.ibm.servlet.engine.webapp.StrictServletInstance.doService
(ServletManager.java:827)
	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service
(StrictLifecycleServlet.java:167)
	at com.ibm.servlet.engine.webapp.IdleServletState.service
(StrictLifecycleServlet.java:297)
	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service
(StrictLifecycleServlet.java:110)
	at com.ibm.servlet.engine.webapp.ServletInstance.service
(ServletManager.java:472)
	at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch
(ServletManager.java:1012)
	at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch
(ServletManager.java:913)
	at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch
(WebAppRequestDispatcher.java:523)
	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch
(WebAppRequestDispatcher.java:282)
	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward
(WebAppRequestDispatcher.java:112)
	at com.ibm.servlet.engine.webapp.SimpleFileServlet.doGet
(SimpleFileServlet.java:223)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at com.ibm.servlet.engine.webapp.StrictServletInstance.doService
(ServletManager.java:827)
	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service
(StrictLifecycleServlet.java:167)
	at com.ibm.servlet.engine.webapp.IdleServletState.service
(StrictLifecycleServlet.java:297)
	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service
(StrictLifecycleServlet.java:110)
	at com.ibm.servlet.engine.webapp.ServletInstance.service
(ServletManager.java:472)
	at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch
(ServletManager.java:1012)
	at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch
(ServletManager.java:913)
	at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch
(WebAppRequestDispatcher.java:523)
	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch
(WebAppRequestDispatcher.java:282)
	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward
(WebAppRequestDispatcher.java:112)
	at com.ibm.servlet.engine.srt.WebAppInvoker.doForward
(WebAppInvoker.java:91)
	at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook
(WebAppInvoker.java:184)
	at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation
(CachedInvocation.java:67)
	at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI
(ServletRequestProcessor.java:122)
	at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service
(OSEListener.java:315)
	at com.ibm.servlet.engine.http11.HttpConnection.handleRequest
(HttpConnection.java:60)
	at com.ibm.ws.http.HttpConnection.readAndHandleRequest
(HttpConnection.java:323)
	at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
	at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
[11:01:35,953 DEBUG] JetspeedRunDataService: releasing rundata for thread: 10

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [PATCH] Broken PsmlBrowser

Posted by Paul Spencer <pa...@mindspring.com>.
Mark,
I have applied the patch.  

Thank you,
Paul Spencer

Mark Orciuch wrote:

>Here's a patch to fix broken PsmlBrowseAction - try clicking the PSML
>Browser in admin profile with cvs head. I'm not sure why the build didn't
>report a compile error. I won't bother submitting this to Bugzilla.
>
>Best regards,
>
>Mark C. Orciuch
>Next Generation Solutions, Ltd.
>e-Mail: mark_orciuch@ngsltd.com
>web: http://www.ngsltd.com
>  
>
>  
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


[PATCH] Broken PsmlBrowser

Posted by Mark Orciuch <ma...@ngsltd.com>.
Here's a patch to fix broken PsmlBrowseAction - try clicking the PSML
Browser in admin profile with cvs head. I'm not sure why the build didn't
report a compile error. I won't bother submitting this to Bugzilla.

Best regards,

Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: mark_orciuch@ngsltd.com
web: http://www.ngsltd.com

RE: [PROPOSAL] Portlet preview in the customizer

Posted by David Sean Taylor <da...@bluesunrise.com>.
Makes me wonder about (yet another) mode: Preview.
In this mode, all the resources necessary for the portlet may not be there.
The portlet can then use an alternative method of displaying itself to give
the user an idea of what the portlet would look like. For ex. in a
DatabaseBrowser, you may not have all the connection info, so the
DatabaseBrowser would show the dummy rows of data.

As for the implementation, can't you have a PreviewPortlet, with a generic
role 'user' psml file, doing something like this:

public class PreviewPortlet extends AbstractPortlet
{
    /**
     * @param rundata The RunData object for the current request
     */
    public ConcreteElement getContent( RunData rundata )
    {
        String portletName =
rundata.getParameters().getString("previewedPortletName");
        Portlet portlet;

        try
        {
            portlet = PortletFactory.getPortlet(portletName);,
       }
        catch (Exception e)
        {
            Log.error(e);
            String s =  StringUtils.stackTrace(e);
            return new ClearElement("Error Previewing portlet: " +
portletName + " -- " + s);
        }

        return portlet.getContent(rundata);
    }

I already do this kind of stuff for getting portlets dynamically.
However I think a PreviewPortlet would be a nice addition


> -----Original Message-----
> From: Mark Orciuch [mailto:mark_orciuch@ngsltd.com]
> Sent: Thursday, August 08, 2002 10:27 AM
> To: Jetspeed Developers List
> Subject: [PROPOSAL] Portlet preview in the customizer
>
>
> I would like to propose enhancing the customizer to allow for previewing
> portlets before they are selected in the profile. I have a
> working prototype
> in place but there are issues which may need to be discussed.
> Here's a list
> of my issues:
>
> 1. Since we will be creating an instance of portlet which is not
> in the user
> profile, we cannot use the peid - we have to create a new
> instance directly
> from the registry. If we assign a static id to the instance, will
> all users
> previewing the portlet be hitting the same instance? I would hope that all
> users would be "sharing" the same instance.
> 2. How to prevent customizing/closing the portlet since it's not in the
> profile yet? I guess using the ClearPortletControl would be one
> way to hide
> the action icons but one should be able to use any control for
> the preview.
> Adding a preview mode would be much more involving than my prototype
> implementation.
> 3. How to handle interactive portlets such as the database browser? In my
> prototype, this does not work very well.
>
> I have created an enhancement request in Bugzilla for tracking purposes
> (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11565). I will
> attach all
> pertinent patches and new files from my prototype there. Please
> let me know
> if this sounds like a useful feature. I can do the actual implementation
> provided that I get some guidance in resolving the above issues. Thanks!
>
> Best regards,
>
> Mark C. Orciuch
> Next Generation Solutions, Ltd.
> e-Mail: mark_orciuch@ngsltd.com
> web: http://www.ngsltd.com
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


[PROPOSAL] Portlet preview in the customizer

Posted by Mark Orciuch <ma...@ngsltd.com>.
I would like to propose enhancing the customizer to allow for previewing
portlets before they are selected in the profile. I have a working prototype
in place but there are issues which may need to be discussed. Here's a list
of my issues:

1. Since we will be creating an instance of portlet which is not in the user
profile, we cannot use the peid - we have to create a new instance directly
from the registry. If we assign a static id to the instance, will all users
previewing the portlet be hitting the same instance? I would hope that all
users would be "sharing" the same instance.
2. How to prevent customizing/closing the portlet since it's not in the
profile yet? I guess using the ClearPortletControl would be one way to hide
the action icons but one should be able to use any control for the preview.
Adding a preview mode would be much more involving than my prototype
implementation.
3. How to handle interactive portlets such as the database browser? In my
prototype, this does not work very well.

I have created an enhancement request in Bugzilla for tracking purposes
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11565). I will attach all
pertinent patches and new files from my prototype there. Please let me know
if this sounds like a useful feature. I can do the actual implementation
provided that I get some guidance in resolving the above issues. Thanks!

Best regards,

Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: mark_orciuch@ngsltd.com
web: http://www.ngsltd.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>