If this should come true,
we need no longer afraid of 21 December 2012 !

with regards
Sven Homburg
Founder of the Chenille Kit Project
http://chenillekit.codehaus.org





2011/4/26 AlbertoAlmagro <[email protected]>:
> Hi,
>
> I have been trying for hours to find out what is happing with
> onSelectFrom... in Firefox 4. In Google Chrome and Safari all is OK but
> Firefox4 isn't able to recognise the onSelectFrom... methods and execute the
> corresponding one. The code is the following:
>
> /* Template */
> <form t:type="Form" t:id="addCoordinatesForm">
>
>                <t:errors/>
>                Some inputs....
>
>            <div class="button">
>                        <input style="margin: 0 5px;" t:type="Submit" 
> t:id="migrate"
>                                  value="${message:button-migrate}"/>
>                        <input style="margin: 0 5px;" t:type="Submit" 
> t:id="updatemap"
>                                  value="${message:button-updatemap}"/>
>            </div>
> </form>
>
>
> /* Java Handlers */
> @SuppressWarnings("unused")
>        @Component(parameters = "image=prop:imgmigrate")
>        private Submit migrate;
>
>        @SuppressWarnings("unused")
>        @Property
>        @Inject
>        @Path("context:images/migrate.png")
>        private Asset imgmigrate;
>
>        @SuppressWarnings("unused")
>        @Component(parameters = "image=prop:imgupdatemap")
>        private Submit updatemap;
>
>        @SuppressWarnings("unused")
>        @Property
>        @Inject
>        @Path("context:images/updatemap.png")
>        private Asset imgupdatemap;
>
> void onSelectedFromMigrate() throws InstanceNotFoundException,
>                        TransformationException {
>                System.out.println();
>                actualizacion = false;
>                idChangeset = new Long(-1);
>                String appName = 
> ConfigurationParametersManager.getParameter("appname");
>                boolean isTest = new Boolean(
>                                
> ConfigurationParametersManager.getParameter("test"));
>
>                ChangesetTO changeset = new ChangesetTO(appName, 
> "MigrationFromDBToOSM");
>                double leftcoord = Double.valueOf(leftcoordAsString);
>                double bottomcoord = Double.valueOf(bottomcoordAsString);
>                double rightcoord = Double.valueOf(rightcoordAsString);
>                double topcoord = Double.valueOf(topcoordAsString);
>                idChangeset = 
> applicationService.migrateDataFromDBToOSM(idConcepto,
>                                userSession.getIdCuentaOsm(), changeset, 
> leftcoord,
>                                bottomcoord, rightcoord, topcoord, 
> contextClient, isTest);
>        }
>
>        void onSelectedFromUpdatemap() throws InstanceNotFoundException,
>                        TransformationException {
>                System.out.println();
>                actualizacion = true;
>                link = this.getBaseLink();
>                link.addParameter("left", leftcoordAsString);
>                link.addParameter("bottom", bottomcoordAsString);
>                link.addParameter("right", rightcoordAsString);
>                link.addParameter("top", topcoordAsString);
>                link.addParameter("zoom", zoomAsString);
>        }
>
>        Object onSuccess() {
>                if (!actualizacion) {
>                        migrarBdOsmDetails.setIdChangeset(idChangeset);
>                        return migrarBdOsmDetails;
>                } else {
>                        return link;
>                }
>        }
>
>
> Has this already happened to any of you? Any help/ideas?
>
> Thank you in advance,
> Kind Regards,
> Alberto
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Firefox-4-does-not-handle-onSelectFrom-tp4341773p4341773.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to