xforms:load with url-norewrite

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

xforms:load with url-norewrite

Steve Lenhart
Hi,

I'm trying to use the following to hit the URL
/Corporate/jsp/usedByOtherWebapps/selectLDAPUid.jsp which is another JSP
application hosted on the same server.

  <xforms:trigger appearance="xxforms:link">
                                        <xforms:label>Select an
persons</xforms:label>
                                        <xforms:action
ev:event="DOMActivate">
                                           <xforms:load
resource="/Corporate/jsp/usedByOtherWebapps/selectLDAPUid.jsp"
f:url-norewrite="true" show="new"/>
                                       </xforms:action>
                                      </xforms:trigger>

it is ignoring the url-norewrite and going here ...
http://localhost:8080/contracts/Corporate/jsp/usedByOtherWebapps/selectLDAPUid.jsp.
contracts is the context for the current application .... is this a bug??

Thanks,
<SL/>


--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

slenhart.vcf (320 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: xforms:load with url-norewrite

Erik Bruchez
Administrator
Steve,

f:norewrite was not supported on xforms:load. I quickly added some
support for it (it's easier NOT to rewrite than to rewrite ;-), but I
have not done any testing. It would be great if you could grab the
latest code and give this a try.

-Erik

Steve Lenhart wrote:

> Hi,
>
> I'm trying to use the following to hit the URL
> /Corporate/jsp/usedByOtherWebapps/selectLDAPUid.jsp which is another JSP
> application hosted on the same server.
>
>  <xforms:trigger appearance="xxforms:link">
>                                        <xforms:label>Select an
> persons</xforms:label>
>                                        <xforms:action
> ev:event="DOMActivate">
>                                           <xforms:load
> resource="/Corporate/jsp/usedByOtherWebapps/selectLDAPUid.jsp"
> f:url-norewrite="true" show="new"/>
>                                       </xforms:action>
>                                      </xforms:trigger>
>
> it is ignoring the url-norewrite and going here ...
> http://localhost:8080/contracts/Corporate/jsp/usedByOtherWebapps/selectLDAPUid.jsp.
> contracts is the context for the current application .... is this a bug??
>
> Thanks,
> <SL/>
--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: xforms:load with url-norewrite

Steve Lenhart
Erik,

I got the latest OPS code and tested this ....... it seems to be working for me now.

Thanks,
Steve


Erik Bruchez wrote:
Steve,

f:norewrite was not supported on xforms:load. I quickly added some support for it (it's easier NOT to rewrite than to rewrite ;-), but I have not done any testing. It would be great if you could grab the latest code and give this a try.

-Erik

Steve Lenhart wrote:
Hi,

I'm trying to use the following to hit the URL /Corporate/jsp/usedByOtherWebapps/selectLDAPUid.jsp which is another JSP application hosted on the same server.

 <xforms:trigger appearance="xxforms:link">
                                       <xforms:label>Select an persons</xforms:label>
                                       <xforms:action ev:event="DOMActivate">
                                          <xforms:load resource="/Corporate/jsp/usedByOtherWebapps/selectLDAPUid.jsp" f:url-norewrite="true" show="new"/>
                                      </xforms:action>
                                     </xforms:trigger>

it is ignoring the url-norewrite and going here ... http://localhost:8080/contracts/Corporate/jsp/usedByOtherWebapps/selectLDAPUid.jsp. contracts is the context for the current application .... is this a bug??

Thanks,
<SL/>


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


--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

slenhart.vcf (320 bytes) Download Attachment