Re: Jetspeed hangs Tomcat when starting up.

2005-01-26 Thread Arthur D'Alessandro
How long do you give it? By default, Tomcat serializes objects and reloads them on restart which can cause a delay. On Wed, 26 Jan 2005 09:13:03 -0700, Jeff Rodriguez <[EMAIL PROTECTED]> wrote: > 'tail -f' catalina.log shows that I get all the way up to "Starting > Apache Jetspeed Portal/1.5" bef

RE: How to correctly Java Script with Jetspeed ?

2004-10-21 Thread Arthur D'Alessandro III
We use them in each portlet, and friendly up the javascript names (make them unique) using the Portlet ID, this way you can have common javascript names you reference in your portlets using the portletid. We had to muck the JS_PEID to remove the hyphens, as they didn't work well together. -O

RE: Handling errors in customize mode

2004-10-15 Thread Arthur D'Alessandro III
You can do this if you do not specify an action in your form This way, it posts back to itself (still under buildconfigurecontext), you can handle the request. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 15, 2004 12:32 PM To: Jetspeed U

RE: Changing Default Customize page

2004-10-07 Thread Arthur D'Alessandro III
I don't think you can mix and match, is your normal portlet a JSP or VM ? If it's a JSP, you will need to use a JSP customizer (we initially tried mixing them, but were unable to get that to work) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, Octob

RE: Changing Default Customize page

2004-10-07 Thread Arthur D'Alessandro III
What class did you extend in your action class. The velocity action class should look like: protected void buildConfigureContext( VelocityPortlet portlet, Context context, RunData rundata ) { -Origina

RE: Changing Default Customize page

2004-10-07 Thread Arthur D'Alessandro III
The action class takes care of that per my first response to your question. If you do not tell Jetspeed that you action class provides it's own customization, it uses the default. The setTemplate method tells the action class to display that customizer vm file, versus the default. -Origina

RE: Changing Default Customize page

2004-10-07 Thread Arthur D'Alessandro III
That is done in the action class... In the action class, you implement the buildConfigureContext method, and invoke the setTemplate method. Eg. setTemplate(rundata, "myCustomizationPage.vm"); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 07,

RE: Changing Default Customize page

2004-10-07 Thread Arthur D'Alessandro III
Either add a parameter in your portlet definition in the xreg: or (read this works but haven't tried it) create a providesCustomization which returns true in your action class. We have found an issue however, see http://nagoya.apache.org/jira/browse/JS1-520 for more information. -Art

Proper way to exit customization mode when provides.customization=true

2004-09-13 Thread Arthur D'Alessandro III
We have an issue, which appears to be a bug, where a portlet with an action class which provides it's own customization front end has no way of properly exiting the customization view. Eg, We properly get the custom edit page, however, when canceling, or updating, we return to a view which no lon

RE: After Maximize Protlet, buildNormalContext not Called

2004-08-06 Thread Arthur D'Alessandro III
We are seeing this problem in JS 1.5, does anyone have a bug to reference? I did not see any open or closed issues resembling this post. Does anyone have a workaround. This is the issue ASturtz posted subject 'Portlet state problem' this afternoon. -Art -

RE: Getting back to the original port page (JSP pages and actions)

2004-07-29 Thread Arthur D'Alessandro III
your code below: Portlet portlet = (Portlet) request.getAttribute("CignaListing"); String portletID = portlet.getID(); But it is not working -Original Message- From: Arthur D'Alessandro III [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 7:11 PM To: &#

RE: Getting back to the original port page (JSP pages and actions)

2004-07-29 Thread Arthur D'Alessandro III
ndata) throws Exception { JetspeedRunData data = (JetspeedRunData)rundata So will data.resetTemplate(rundata) work? -Original Message- From: Arthur D'Alessandro III [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 6:56 PM To: 'Jetspeed Users List' Subject: RE: Getting

RE: Getting back to the original port page (JSP pages and actions)

2004-07-29 Thread Arthur D'Alessandro III
: Getting back to the original port page (JSP pages and actions) Pardon...my stupidity...but what is "this" declare to the JetSpeedRunData object? -Original Message----- From: Arthur D'Alessandro III [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 2:39 PM To: 'Jetspeed Use

RE: Getting back to the original port page (JSP pages and actions)

2004-07-29 Thread Arthur D'Alessandro III
along with the menu items for that portlet. Portlet one will have the menu items for going to other Portlet areas. -Original Message- From: Arthur D'Alessandro III [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 2:16 PM To: 'Jetspeed Users List' Subject: RE: Get

RE: Getting back to the original port page (JSP pages and actions)

2004-07-29 Thread Arthur D'Alessandro III
Same concept, except, you can do this.resetTemplate(rundata); We do this, as well as clear up any portlet session state using an action like doResetstate(). -Original Message- From: Wilson, Allen [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 3:13 PM To: Jetspeed Users List

JSP Portlet - POST|GET - DynamicURI

2004-07-14 Thread Arthur D'Alessandro III
What is the proper way to post a form or a href to the current page; on the current pane; on the current psml? We had been using forms (method=post), with no action specified in the form tags, and this has been working for the most part when dealing with single portlets on a pane. Since better un

JSP Portlet - Form Submission questions

2004-07-06 Thread Arthur D'Alessandro III
Questions: 1) Is there a programmatic way built into the Jetspeed framework so that you can present multiple portlets (all of which may have forms and their own form handlers) and have a portlets form post the data only to itself? 2) Although I read mentions of portlet instance session informatio

JDBC Database init and JSP Portlet design

2004-07-02 Thread Arthur D'Alessandro III
With our first deployment of Jetspeed 1.4, we decided to use JSP primarily for new portlet development. We've found portlet development to be quite straight forward, when/if dealing with only single portlets per pane. We are now getting into having multiple portlets per pane, and most of our cust

Jetspeed startup problems on Tomcat 5.019 (Linux)

2004-06-23 Thread Arthur D'Alessandro III
Has anyone else seen Jetspeed fail to load when Tomcat is started? In order to get the virtual hosts responding again, I must shutdown tomcat again, and start. This usually resolves the issue. I do not see any errors in the either tomcat nor jetspeed logs, only that the host seems to go into lal