Bug when replacing parameters in view attribute of a page.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug when replacing parameters in view attribute of a page.

richhl
<page id="escala" path-info="/neuro/([^/]*)" matcher="oxf:perl5-matcher"  default-submission="parametros.xml" view="${1}/vista_escala:${1}.xhtml"/>

replaces only first ${1} occurrence leading to an error----

Orbeon Forms 3.6.0.200805160031

greetings,

rich

P.D: Sorry 4 my poor bug notification but i'm running a little.....


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Bug when replacing parameters in view attribute of a page.

richhl
On Fri, 3 Oct 2008 12:30:08 +0200
"Richard C. Hidalgo Lorite" <[hidden email]> wrote:

> <page id="escala" path-info="/neuro/([^/]*)" matcher="oxf:perl5-matcher"  default-submission="parametros.xml" view="${1}/vista_escala:${1}.xhtml"/>

vista_escala:${1} was a typo it has to be vista_escala_${1}


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Bug when replacing parameters in view attribute of a page.

Erik Bruchez
Administrator
In reply to this post by richhl
For now, I am entering a bug. What if you try this workaround:

   <page id="escala" path-info="/neuro/(([^/]*))" matcher="oxf:perl5-
matcher"
     default-submission="parametros.xml" view="${1}/vista_escala_
${2}.xhtml"/>

http://forge.objectweb.org/tracker/index.php?func=detail&aid=311475&group_id=168&atid=350207

-Erik

On Oct 3, 2008, at 3:30 AM, Richard C. Hidalgo Lorite wrote:

> <page id="escala" path-info="/neuro/([^/]*)" matcher="oxf:perl5-
> matcher"  default-submission="parametros.xml" view="${1}/
> vista_escala:${1}.xhtml"/>
>
> replaces only first ${1} occurrence leading to an error----
>
> Orbeon Forms 3.6.0.200805160031
>
> greetings,
>
> rich
>
> P.D: Sorry 4 my poor bug notification but i'm running a little.....
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws