I long ago established the habit of surrounding the body of my actions with
try/catch blocks to be sure that I see the exceptions that would otherwise
be hidden.
My boilerplate action code looks something like this:
public void doXxx(RunData rundata, Portlet portlet) {
Log.debug(
"MyClassPortletAction: Executing action doXxx");
String jspeid = portlet.getID();
JetspeedLink jsLink = null;
try {
// Init handy variables for further processing
jsLink = JetspeedLinkFactory.getInstance(rundata);
//
// Function body goes here
//
}
catch (Exception e) {
Log.error("An error occurred in doXxx!", e);
}
finally {
if (jsLink != null) {
JetspeedLinkFactory.putInstance(jsLink);
}
}
}
-- Michael
On 5/4/04 8:59 AM, "Gregory Joseph" <[EMAIL PROTECTED]> wrote:
> Ha, the wonders of Jetspeed.
> In those case, all I've been able to do was plug in my debugger and step
> through until some exception is thrown (which is silently digested by
> jetspeed afterwards, which is why you don't know what's happening)
>
> But I don't remember any issue specific to displaytag regarding this. Maybe,
> first, try to remove your checkboxes and see if it has something to do with
> that?
>
> g
>
>
> -----Original Message-----
> From: Boyd, David [mailto:[EMAIL PROTECTED]
> Sent: Tue 5/4/04 17:47
> To: 'Jetspeed Users List'
> Cc:
> Subject: RE: Anyone using displaytag lib with jetspeed
> No, I am in the process of using it but am having and issue with it and was
> wondering if someone could help me out.
>
> What I have done is taken a protlet that worked, and replaced the embedded
> java code that built the html table with the displaytag taglib stuff. Now,
> I have this checkbox that I have added to the display (just like in the
> orginal stuff). The user is allow to select a row in the table, and then
> select the own button to take ownership of the item. Now, before I added
> the display tag, things worked, the doOwn action was called and life was
> good. Now with the displaytag lib in place, the action is not called.
>
> Any ideal as to why?
>
> David Boyd
> NISYS, Inc
> 317.585.0070
> www.nisys.com
> [EMAIL PROTECTED]
>
> _____
>
> This mailbox protected from junk email by Matador
> from MailFrontier, Inc. http://info.mailfrontier.com
>
>
>
> -----Original Message-----
> From: Gregory Joseph [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 04, 2004 10:46 AM
> To: Jetspeed Users List
> Subject: RE: Anyone using displaytag lib with jetspeed
>
>
> I am.
> Is this for a survey?
>
>
> g
>
> -----Original Message-----
> From: Boyd, David [mailto:[EMAIL PROTECTED]
> Sent: Tue 5/4/04 17:38
> To: Jetspeed Users List
> Cc:
> Subject: Anyone using displaytag lib with jetspeed
> Currently using Jetspeed 1.4b3 and was wondering if anyone out there is
> using displaytag (http://displaytag.sourceforge.net/
> <http://displaytag.sourceforge.net/> ) tablib in there app.
>
>
>
>
>
> David Boyd
>
> _____
>
> This mailbox protected from junk email by Matador
> from MailFrontier, Inc. http://info.mailfrontier.com
> <http://info.mailfrontier.com>
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]