You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Peter Courcoux <pe...@courcoux.biz> on 2003/06/07 19:52:40 UTC
Converting app to turbine2.3
Hi all,
I am converting my application from turbine 2.2 to turbine 2.3.
In t 2.2 the following line worked as expected : ie. the doDownloadattachment event
was processed and the AdviceMessage.vm screen was opened in a new browser window.
However, in t2.3, while the AdviceMessage.vm window opens but the doDownloadattachment
event is never called.
<input type="image" name="eventSubmit_doDownloadattachment" src="$ui.image($ui.downloadButton)" onClick='window.open("$link.setPage("AdviceMessage.vm")","advice", "height=50,width=500");'/>
The following does work in t 2.3.
<input type="image" name="eventSubmit_doDownloadattachment" src="$ui.image($ui.downloadButton)" />
I've been chasing this around for a day or so now, so any thoughts or pointers as to
what may have changed in 2.3 would be much appreciated.
Regards,
Peter
--
Peter Courcoux <pe...@courcoux.biz>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
Re: Converting app to turbine2.3
Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
Peter Courcoux <pe...@courcoux.biz> writes:
>Henning, is this the bit you need?
>> .
>2.3 :
><input type="image" name="eventSubmit_doUpload" src="http://www.courcoux.biz/tolreg/resources/ui/skins/default/images/uploadButton.png" onClick='window.open("http://www.courcoux.biz/tolreg/servlet/tolreg/template/UploadStatus.vm/key/UploadServiceProgressReporter-hpdyobajk1/nocacheid/1055012800832","status", "height=50,width=600");'/>
>2.2 :
><input type="image" name="eventSubmit_doUpload" src="https://www.ittdirect.com:443/tolreg/resources/ui/skins/default/images/uploadButton.png" onClick='window.open("https://www.ittdirect.com/tolreg/servlet/tolreg/template/UploadStatus.vm/key/UploadService-zo225aain1/nocacheid/1055012735309","status", "height=50,width=600");'/>
Yes, however, the <form> tag surrounding this input would help, too. From this tag I'd say that there is no difference in 2.2 and 2.3-dev. Getting your TR.props would help, too.
Please send them to me offline, no need to bother the list with this.
Regards
Henning
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
hps@intermeta.de +49 9131 50 654 0 http://www.intermeta.de/
Java, perl, Solaris, Linux, xSP Consulting, Web Services
freelance consultant -- Jakarta Turbine Development -- hero for hire
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
Re: Converting app to turbine2.3
Posted by Peter Courcoux <pe...@courcoux.biz>.
On Sat, 2003-06-07 at 19:53, Henning P. Schmiedehausen wrote:
> Peter Courcoux <pe...@courcoux.biz> writes:
>
> can you show us the actual HTML output from the browser in 2.2 and
> 2.3? Thanks
Henning, is this the bit you need?
> .
2.3 :
<input type="image" name="eventSubmit_doUpload" src="http://www.courcoux.biz/tolreg/resources/ui/skins/default/images/uploadButton.png" onClick='window.open("http://www.courcoux.biz/tolreg/servlet/tolreg/template/UploadStatus.vm/key/UploadServiceProgressReporter-hpdyobajk1/nocacheid/1055012800832","status", "height=50,width=600");'/>
2.2 :
<input type="image" name="eventSubmit_doUpload" src="https://www.ittdirect.com:443/tolreg/resources/ui/skins/default/images/uploadButton.png" onClick='window.open("https://www.ittdirect.com/tolreg/servlet/tolreg/template/UploadStatus.vm/key/UploadService-zo225aain1/nocacheid/1055012735309","status", "height=50,width=600");'/>
I appreciate your help on this. I'm on IRC, some of the time, if it
helps.
This issue came up while trying to sort out upload progress stuff. I've
patched t2.3 to use commons-fileupload-1.0-rc1 and my progress stuff.
I'll let you have some patches when we get this issue sorted out.
Regards,
Peter
>
> Regards
> Henning
>
>
> >Hi all,
>
> >I am converting my application from turbine 2.2 to turbine 2.3.
>
> >In t 2.2 the following line worked as expected : ie. the doDownloadattachment event
> >was processed and the AdviceMessage.vm screen was opened in a new browser window.
>
> >However, in t2.3, while the AdviceMessage.vm window opens but the doDownloadattachment
> >event is never called.
> >
> ><input type="image" name="eventSubmit_doDownloadattachment" src="$ui.image($ui.downloadButton)" onClick='window.open("$link.setPage("AdviceMessage.vm")","advice", "height=50,width=500");'/>
>
> >The following does work in t 2.3.
>
> ><input type="image" name="eventSubmit_doDownloadattachment" src="$ui.image($ui.downloadButton)" />
>
> >I've been chasing this around for a day or so now, so any thoughts or pointers as to
> >what may have changed in 2.3 would be much appreciated.
>
> >Regards,
>
> >Peter
> >--
> >Peter Courcoux <pe...@courcoux.biz>
>
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
--
Peter Courcoux <pe...@courcoux.biz>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
Re: Converting app to turbine2.3
Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
Peter Courcoux <pe...@courcoux.biz> writes:
can you show us the actual HTML output from the browser in 2.2 and
2.3? Thanks.
Regards
Henning
>Hi all,
>I am converting my application from turbine 2.2 to turbine 2.3.
>In t 2.2 the following line worked as expected : ie. the doDownloadattachment event
>was processed and the AdviceMessage.vm screen was opened in a new browser window.
>However, in t2.3, while the AdviceMessage.vm window opens but the doDownloadattachment
>event is never called.
>
><input type="image" name="eventSubmit_doDownloadattachment" src="$ui.image($ui.downloadButton)" onClick='window.open("$link.setPage("AdviceMessage.vm")","advice", "height=50,width=500");'/>
>The following does work in t 2.3.
><input type="image" name="eventSubmit_doDownloadattachment" src="$ui.image($ui.downloadButton)" />
>I've been chasing this around for a day or so now, so any thoughts or pointers as to
>what may have changed in 2.3 would be much appreciated.
>Regards,
>Peter
>--
>Peter Courcoux <pe...@courcoux.biz>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
hps@intermeta.de +49 9131 50 654 0 http://www.intermeta.de/
Java, perl, Solaris, Linux, xSP Consulting, Web Services
freelance consultant -- Jakarta Turbine Development -- hero for hire
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org