Jörn,

please look in the tomcat/work/<your webapp>/ directory. There should be a
file named sitemap_xmap.java. Please send it to me, as I need to see how the
sitemap compiles to Java.

I have also forwarded your question to C2-dev.

/LS

> -----Original Message-----
> From: Jörn Heid [mailto:[EMAIL PROTECTED]]
> Sent: den 5 september 2001 22:45
> To: [EMAIL PROTECTED]
> Subject: WG: [C2] Urgent problem with selector inside resource
>
>
> Sorry for contacing you directly but perhaps it's a quite simple question
> for you. Excuse me if you do not have the time. Just do not answer then. I
> won't send any additional email.
>
> -----Ursprüngliche Nachricht-----
> Von: Jörn Heid [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 5. September 2001 20:36
> An: Cocoon-Users
> Betreff: [C2] Urgent problem with selector inside resource
>
>
> When using the parameter-selector
> (org.apache.cocoon.selection.ParameterSelectorFactory) inside a resource
>
>       <map:resources>
>          <map:resource name="login">
>                <map:act type="login-action">
>                     <map:select type="parameter">
>                         <map:parameter name="parameter-selector-test"
> value="{myvar}"/>
>                         <map:when test="true">
>                           ...
>                         </map:when>
>                         <map:when test="false">
>                           ...
>                         </map:when>
>                     </map:select>
>                </map:act>
>         </map:resource>
>       </map:resources>
>
> I get
>
> org.apache.cocoon.ProcessingException: Language Exception:
> org.apache.cocoon.components.language.LanguageException: Error compiling
> sitemap_xmap:
> Line 1213, column 28:  Undefined variable: selector_parameter_N192_expr
> Line 1228, column 30:  Undefined variable: selector_parameter_N199_expr
>
> But the same selector inside a map:match does to work.
>
> So, is it a bug or is there a workaround?
>
> JOERN_HEID
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to