I forgot to mention that I would like to have the XForm open in a new
window, not in the lower frame of the UI-FW....My purpose is I don't
want the user to come back to the UI-FW...
On May 5, 6:52 pm, "hicham.jel...@gmail.com" <hicham.jel...@gmail.com>
wrote:
we have quite a few actions possible as submit. (start process, claim, revoke, complete, and dismiss in notification) ... Do I understand you want to redirect the user to the same page, whatever the action has been clicked on?
Niko
On 5/5/08, hicham.jel...@gmail.com <hicham.jel...@gmail.com> wrote:
> I forgot to mention that I would like to have the XForm open in a new > window, not in the lower frame of the UI-FW....My purpose is I don't > want the user to come back to the UI-FW...
> On May 5, 6:52 pm, "hicham.jel...@gmail.com" <hicham.jel...@gmail.com>
> wrote: > > Thanks. There maybe different cases. But let's say for now, I want to > > redirect to the same page, a big "Thank You".
> > On May 5, 6:01 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> > > Hi, > > > Welcome to tempo :)
> > > How would you want this rediection to work ? > > > Do you want to always redirect to the same page ? or depending on the > > > submit action ?
> > > Niko
> > > On 5/5/08, hicham.jel...@gmail.com <hicham.jel...@gmail.com> wrote:
> > > > Hello,
> > > > I would like to redirect the user to an external page once he/she > > > > submits an XForm in the UI-FW. Where should I give this parameter ?
> we have quite a few actions possible as submit. (start process, claim,
> revoke, complete, and dismiss in notification) ...
> Do I understand you want to redirect the user to the same page,
> whatever the action has been clicked on?
> Niko
> On 5/5/08, hicham.jel...@gmail.com <hicham.jel...@gmail.com> wrote:
> > I forgot to mention that I would like to have the XForm open in a new
> > window, not in the lower frame of the UI-FW....My purpose is I don't
> > want the user to come back to the UI-FW...
> > On May 5, 6:52 pm, "hicham.jel...@gmail.com" <hicham.jel...@gmail.com>
> > wrote:
> > > Thanks. There maybe different cases. But let's say for now, I want to
> > > redirect to the same page, a big "Thank You".
> > > On May 5, 6:01 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> > > > Hi,
> > > > Welcome to tempo :)
> > > > How would you want this rediection to work ?
> > > > Do you want to always redirect to the same page ? or depending on the
> > > > submit action ?
> > > > Niko
> > > > On 5/5/08, hicham.jel...@gmail.com <hicham.jel...@gmail.com> wrote:
> > > > > Hello,
> > > > > I would like to redirect the user to an external page once he/she
> > > > > submits an XForm in the UI-FW. Where should I give this parameter ?
> Let's say on Complete only. Do I have to work on the OPS pipelines ?
> On May 5, 7:44 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote: > > we have quite a few actions possible as submit. (start process, claim, > > revoke, complete, and dismiss in notification) ... > > Do I understand you want to redirect the user to the same page, > > whatever the action has been clicked on?
> > Niko
> > On 5/5/08, hicham.jel...@gmail.com <hicham.jel...@gmail.com> wrote:
> > > I forgot to mention that I would like to have the XForm open in a new > > > window, not in the lower frame of the UI-FW....My purpose is I don't > > > want the user to come back to the UI-FW...
> > > On May 5, 6:52 pm, "hicham.jel...@gmail.com" <hicham.jel...@gmail.com>
> > > wrote: > > > > Thanks. There maybe different cases. But let's say for now, I want to > > > > redirect to the same page, a big "Thank You".
> > > > On May 5, 6:01 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> > > > > Hi, > > > > > Welcome to tempo :)
> > > > > How would you want this rediection to work ? > > > > > Do you want to always redirect to the same page ? or depending on the > > > > > submit action ?
> > > > > Niko
> > > > > On 5/5/08, hicham.jel...@gmail.com <hicham.jel...@gmail.com> wrote:
> > > > > > Hello,
> > > > > > I would like to redirect the user to an external page once he/she > > > > > > submits an XForm in the UI-FW. Where should I give this parameter ?
> and the lines you would want: > <!-- Display after submit done, > waiting for reply --> > <xforms:case id="refresh-all"> > <xsl:if > test="doc('input:xpl-input')/task/reloadTaskList"> > <xhtml:html> > <xhtml:body > onLoad="window.open('../../ui-fw/tasks.htm', '_parent')"> > <xhtml:center>Wait for > refresh please...</xhtml:center> > <xhtml:center> > <xhtml:img > src="/images/loading.gif" alt="..."/> > </xhtml:center> > </xhtml:body> > </xhtml:html> > </xsl:if> > </xforms:case>
> Would that suits your needs?
> Niko
> On 5/5/08, hicham.jel...@gmail.com <hicham.jel...@gmail.com> wrote:
> > Let's say on Complete only. Do I have to work on the OPS pipelines ?
> > On May 5, 7:44 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote: > > > we have quite a few actions possible as submit. (start process, > claim, > > > revoke, complete, and dismiss in notification) ... > > > Do I understand you want to redirect the user to the same page, > > > whatever the action has been clicked on?
> > > Niko
> > > On 5/5/08, hicham.jel...@gmail.com <hicham.jel...@gmail.com> wrote:
> > > > I forgot to mention that I would like to have the XForm open in a > new > > > > window, not in the lower frame of the UI-FW....My purpose is I > don't > > > > want the user to come back to the UI-FW...
> > > > On May 5, 6:52 pm, "hicham.jel...@gmail.com" < > hicham.jel...@gmail.com>
> > > > wrote: > > > > > Thanks. There maybe different cases. But let's say for now, I > want to > > > > > redirect to the same page, a big "Thank You".
> > > > > On May 5, 6:01 pm, "Nicolas Modrzyk" <hellon...@gmail.com> > wrote:
> > > > > > Hi, > > > > > > Welcome to tempo :)
> > > > > > How would you want this rediection to work ? > > > > > > Do you want to always redirect to the same page ? or depending > on the > > > > > > submit action ?
> > > > > > > I would like to redirect the user to an external page once > he/she > > > > > > > submits an XForm in the UI-FW. Where should I give this > parameter ?
> and the lines you would want:
> <!-- Display after submit done,
> waiting for reply -->
> <xforms:case id="refresh-all">
> <xsl:if
> test="doc('input:xpl-input')/task/reloadTaskList">
> <xhtml:html>
> <xhtml:body
> onLoad="window.open('../../ui-fw/tasks.htm', '_parent')">
> <xhtml:center>Wait for
> refresh please...</xhtml:center>
> <xhtml:center>
> <xhtml:img
> src="/images/loading.gif" alt="..."/>
> </xhtml:center>
> </xhtml:body>
> </xhtml:html>
> </xsl:if>
> </xforms:case>
> Would that suits your needs?
> Niko
> On 5/5/08, hicham.jel...@gmail.com <hicham.jel...@gmail.com> wrote:
> > Let's say on Complete only. Do I have to work on the OPS pipelines ?
> > On May 5, 7:44 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> > > we have quite a few actions possible as submit. (start process, claim,
> > > revoke, complete, and dismiss in notification) ...
> > > Do I understand you want to redirect the user to the same page,
> > > whatever the action has been clicked on?
> > > Niko
> > > On 5/5/08, hicham.jel...@gmail.com <hicham.jel...@gmail.com> wrote:
> > > > I forgot to mention that I would like to have the XForm open in a new
> > > > window, not in the lower frame of the UI-FW....My purpose is I don't
> > > > want the user to come back to the UI-FW...
> > > > On May 5, 6:52 pm, "hicham.jel...@gmail.com" <hicham.jel...@gmail.com>
> > > > wrote:
> > > > > Thanks. There maybe different cases. But let's say for now, I want to
> > > > > redirect to the same page, a big "Thank You".
> > > > > On May 5, 6:01 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> > > > > > Hi,
> > > > > > Welcome to tempo :)
> > > > > > How would you want this rediection to work ?
> > > > > > Do you want to always redirect to the same page ? or depending on the
> > > > > > submit action ?
> > > > > > > I would like to redirect the user to an external page once he/she
> > > > > > > submits an XForm in the UI-FW. Where should I give this parameter ?
I take this suggestion (chained execution) as a better approach since
it will let me adapt the page redirections depending on the workflow
step I'm in.
I beleive working on the *.xpl is interesting in simple cases, but
might reduce the possibilities.
On May 5, 9:22 pm, "Oleg Zenzin" <oleg....@gmail.com> wrote:
> > On 5/5/08, hicham.jel...@gmail.com <hicham.jel...@gmail.com> wrote:
> > > Let's say on Complete only. Do I have to work on the OPS pipelines ?
> > > On May 5, 7:44 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> > > > we have quite a few actions possible as submit. (start process,
> > claim,
> > > > revoke, complete, and dismiss in notification) ...
> > > > Do I understand you want to redirect the user to the same page,
> > > > whatever the action has been clicked on?
> > > > Niko
> > > > On 5/5/08, hicham.jel...@gmail.com <hicham.jel...@gmail.com> wrote:
> > > > > I forgot to mention that I would like to have the XForm open in a
> > new
> > > > > window, not in the lower frame of the UI-FW....My purpose is I
> > don't
> > > > > want the user to come back to the UI-FW...
> > > > > On May 5, 6:52 pm, "hicham.jel...@gmail.com" <
> > hicham.jel...@gmail.com>
> > > > > wrote:
> > > > > > Thanks. There maybe different cases. But let's say for now, I
> > want to
> > > > > > redirect to the same page, a big "Thank You".
> > > > > > On May 5, 6:01 pm, "Nicolas Modrzyk" <hellon...@gmail.com>
> > wrote:
> > > > > > > Hi,
> > > > > > > Welcome to tempo :)
> > > > > > > How would you want this rediection to work ?
> > > > > > > Do you want to always redirect to the same page ? or depending
> > on the
> > > > > > > submit action ?
> > > > > > > > I would like to redirect the user to an external page once
> > he/she
> > > > > > > > submits an XForm in the UI-FW. Where should I give this
> > parameter ?
After re-reading the thread and based on your refined reqs it looks that Nico's solution should give you what you asked for, just change that onLoad script. Down the road (redirect differently, depending on the process) you might be interested to use Chained Execution as well.
Oleg
On 5/6/08, hicham.jel...@gmail.com <hicham.jel...@gmail.com> wrote:
> I take this suggestion (chained execution) as a better approach since > it will let me adapt the page redirections depending on the workflow > step I'm in. > I beleive working on the *.xpl is interesting in simple cases, but > might reduce the possibilities.
> On May 5, 9:22 pm, "Oleg Zenzin" <oleg....@gmail.com> wrote: > > It looks for me as some sort of Chained execution, I'm not sure but it > might > > be interesting to look into "nextTaskURL" use in complete-action.xpl.
> > Oleg
> > On 5/5/08, Nicolas Modrzyk <hellon...@gmail.com> wrote:
> > > in the exploded xforms-manager webapp, there ia file called act.xpl.
> > > On 5/5/08, hicham.jel...@gmail.com <hicham.jel...@gmail.com> wrote:
> > > > Let's say on Complete only. Do I have to work on the OPS pipelines > ?
> > > > On May 5, 7:44 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote: > > > > > we have quite a few actions possible as submit. (start process, > > > claim, > > > > > revoke, complete, and dismiss in notification) ... > > > > > Do I understand you want to redirect the user to the same page, > > > > > whatever the action has been clicked on?
> > > > > > I forgot to mention that I would like to have the XForm open > in a > > > new > > > > > > window, not in the lower frame of the UI-FW....My purpose is I > > > don't > > > > > > want the user to come back to the UI-FW...
> > > > > > On May 5, 6:52 pm, "hicham.jel...@gmail.com" < > > > hicham.jel...@gmail.com>
> > > > > > wrote: > > > > > > > Thanks. There maybe different cases. But let's say for now, > I > > > want to > > > > > > > redirect to the same page, a big "Thank You".
> > > > > > > On May 5, 6:01 pm, "Nicolas Modrzyk" <hellon...@gmail.com> > > > wrote:
> > > > > > > > How would you want this rediection to work ? > > > > > > > > Do you want to always redirect to the same page ? or > depending > > > on the > > > > > > > > submit action ?
> > > > > > > > > I would like to redirect the user to an external page > once > > > he/she > > > > > > > > > submits an XForm in the UI-FW. Where should I give this > > > parameter ?