[Opensource] Transition problem

Mike Traum mtraum at cirnetwork.org
Fri Dec 13 14:58:46 PST 2002


Looks to me like your doing everything right - my question is where the bug
lies. Is it in ExLinkTag.java - should line 147 call getTheUrl(true), or
should we default Transition.getUrl() to use getTheUrl(true). The latter
would make sense to me, but maybe there was a reason for that...

mike

-----Original Message-----
From: Gene McCullough [mailto:genemcc at swbell.net]
Sent: Friday, December 13, 2002 1:43 PM
To: opensource at jcorporate.com
Subject: [Opensource] Transition problem


Hi.  I've come across a behavior I don't understand, or don't understand 
how to fix easily.  I'm adding a Transition as a nested item in an Output 
object.  The Transition has a controller different than the controller 
creating the output, which I set with the constructor, new Transition( 
"edit", mycontrollerstring).  The url property I'm getting in the jsp, 
using the following snip:

<bean:define id="url" name="oneRow" property="/id/edit.url" 
type="java.lang.String"/>
       <html:link page="<%= url %>"><bean:write  name="oneRow" 
property="/id" /></html:link>


it uses the action for the current request object.  I've tracked it down to 
the Transition.getURL call from ContollerUtils, which in turn calls 
Transition.getTheURL(false).  I am understanding that a true passed in 
would resolve the controller reference, but I can't do that without 
recompiling.  Am I missing a setting somewhere, or completely missing the 
point?

TIA

-- 
gene

_______________________________________________
Opensource mailing list
Opensource at jcorporate.com
http://mail.jcorporate.com/mailman/listinfo/opensource
Archives: http://mail.jcorporate.com/pipermail/opensource/



More information about the Opensource mailing list