Hi Lars,
Of course this is possible, just create a flowlink from the
"EDIT_TERM" element and point it to the sub site. To be able to do
this, you will have to use a symbol that steps up one level in the
site structure: ^
So to refer to the "TERMVIEW" sub site, you point the flowlink to
this: "^TERMVIEW".
I hope this helps,
Geert
On 29 Jun 2006, at 13:10, Lars Grupe wrote:
Hi,
I have the following main site file (login.xml)
<site>
...
<globalvar name="termId"/>
...
<globalexit name="termView" destid="TERMVIEW"/>
<arrival destid="HOME"/>
<element id="HOME" file="elements/login/home.xml" url="/home"
inherits="AUTH_ADMIN">
<flowlink srcexit="dashboard" destid="DASHBOARD"/>
<flowlink srcexit="termmanagement" destid="TERMMANAGEMENT"/>
</element>
...
<subsite id="TERMMANAGEMENT" file="termmanagement.xml"
urlprefix="/termmanagement" inherits="AUTH_ADMIN"/>
<subsite id="TERMVIEW" file="termview.xml"
urlprefix="/termview"/>
</site>
The definition of the subsite 'TERMMANAGEMENT' is the following:
<site>
<arrival destid="TERMBANKS"/>
...
<group>
...
<element id="EDIT_TERM"
file="elements/termmanagement/editTerm.xml" url="/editTerm">
<flowlink srcexit="termbank"
destid="TERMBANKS"/>
<flowlink srcexit="termList" destid="TERMS"/>
<flowlink srcexit="editRule"
destid="EDIT_RULE"/>
<flowlink srcexit="deleteSuggestions"
destid="DELETE_SUGGESTIONS2"/>
<datalink srcoutput="termSelection"
destid="DELETE_SUGGESTIONS2" destinput="termSelection"/>
</element>
</group>
...
</site>
Now I want to create a link inside the element "EDIT_TERM" to the
subsite "TERMVIEW" with the parameter 'termId'
e.g.:
getExitQueryUrl("termView", new String[]{"termId", "27"}))
Is there an option *not* to use a globalVar ('termView') and a
globalExit ('termId') for that link?
Cheers,
Lars
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users