[Opensource] Transition problem

Gene McCullough genemcc at swbell.net
Fri Dec 13 11:43:19 PST 2002


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




More information about the Opensource mailing list