Hmm - well, the whole point is to keep the
flow logic inside the sitemap - the point is that
I want a number of different types of actions to
have the same end result (inside the most nested
action is an XSP page doing the processing).
I would like to know/understand if what I trying
is possible or not?
>>> [EMAIL PROTECTED] 05/03/2003 03:20:23 >>>
On śro, mar 05, 2003 at 03:13:02 +0200, Derek Hohls wrote:
> I am trying to create a <map:act> that has a variable
> type name, based on the input to the match pattern.
>
> I have tried various combinations of "nesting", such as
> the shown in the sitemap fragment one below, but I get
> the same type of error each time, ie.
>
> org.apache.avalon.framework.component.ComponentException:
> UnnamedSelector:
> ComponentSelector could not find the component for hint:
> {../../1}-entry
>
> Any ideas how I handle this?
>
>
> <map:match pattern="forms/*_entry">
> <map:act type="session-validator">
> <map:parameter ...
> <map:act type="form-validator">
> <map:parameter ...
> <!-- attempt to have variable -->
> <map:act type="{../../1}-entry">
if you could consider switching to xsp actions you could do :
<map:match pattern="*">
<map:act type="serverpages" src="">
<map:generate src=""/>
<map:serialize/>
</map:act>
<map:generate src=""/>
<map:serialize/>
</map:match>
ouzo
--
__
| / \ | Leszek Gawron // \\
\_\\ //_/ [EMAIL PROTECTED] _\\()//_
.'/()\'. Phone: +48(600)341118 / // \\ \
\\ // recursive: adj; see recursive | \__/ |
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
>>> [EMAIL PROTECTED] 05/03/2003 03:20:23 >>>
On śro, mar 05, 2003 at 03:13:02 +0200, Derek Hohls wrote:
> I am trying to create a <map:act> that has a variable
> type name, based on the input to the match pattern.
>
> I have tried various combinations of "nesting", such as
> the shown in the sitemap fragment one below, but I get
> the same type of error each time, ie.
>
> org.apache.avalon.framework.component.ComponentException:
> UnnamedSelector:
> ComponentSelector could not find the component for hint:
> {../../1}-entry
>
> Any ideas how I handle this?
>
>
> <map:match pattern="forms/*_entry">
> <map:act type="session-validator">
> <map:parameter ...
> <map:act type="form-validator">
> <map:parameter ...
> <!-- attempt to have variable -->
> <map:act type="{../../1}-entry">
if you could consider switching to xsp actions you could do :
<map:match pattern="*">
<map:act type="serverpages" src="">
<map:generate src=""/>
<map:serialize/>
</map:act>
<map:generate src=""/>
<map:serialize/>
</map:match>
ouzo
--
__
| / \ | Leszek Gawron // \\
\_\\ //_/ [EMAIL PROTECTED] _\\()//_
.'/()\'. Phone: +48(600)341118 / // \\ \
\\ // recursive: adj; see recursive | \__/ |
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
"The CSIR exercises no editorial control over E-mail messages and/or
attachments thereto/links referred to therein originating in the
organisation and the views in this message/attachments thereto are
therefore not necessarily those of the CSIR and/or its employees.
The sender of this e-mail is, moreover, in terms of the CSIR's Conditions
of Service, subject to compliance with the CSIR's internal E-mail and
Internet Policy."