Selezione sul giorno "Events Planning"

28 Nov '17, 04:09 PM
30,741 Views
No Forum Badges

BuonPomeriggio a tutti,

ho scaricato il componente Events Planning ma non consente di inserire sul singolo giorno un'appuntamento.

Qualcuno di voi sa se si può fare e se la risposta è positiva come?

 

Grazie mille.

Daniela

 
x 1
Follow
Answer Answer at this question and get points!
No Forum Badges

Ho trovato un modo per aprire una popup nel componente modificando

EventsPlanningUnit.unit.template

e mettendo il seguente pezzo di codice

                dayClick: function(date, allDay, jsEvent, view) {
                    if(view.name == "month"){
                        jq('#<wr:UnitId/>_calendar').fullCalendar( 'changeView', 'agendaDay' );
                        jq('#<wr:UnitId/>_calendar').fullCalendar( 'gotoDate', date );                        
                    }
                    if(view.name=="agendaDay" || view.name=="agendaWeek"){
                            var $dialog = jq('<div id="dialog" style="text-align:center;"></div>')
                                .html('<iframe src="' + '<wr:URL context="selectEventLink" escapeXml="false"/>' + '" />')
                                .dialog({
                                    autoOpen: false,
                                    modal: true,
                                    height: 250,
                                    width: 400,
                                    title: "Modal Window",
                                    open: function () {
                                        jQuery('body').on('click', '.ui-widget-overlay', function () {
                                            jq('#dialog').dialog('close');
                                        });
                                    }
                            });
                        $dialog.dialog('open');
                    }
                },

 

 
x 0
No Forum Badges

ancora meglio facendo così

                dayClick: function(date, allDay, jsEvent, view) {
                    if(view.name == "month"){
                        jq('#<wr:UnitId/>_calendar').fullCalendar( 'changeView', 'agendaDay' );
                        jq('#<wr:UnitId/>_calendar').fullCalendar( 'gotoDate', date );                        
                    }
                    if(view.name=="agendaDay" || view.name=="agendaWeek"){
                           
                          
                           
                                   jq('<div>').dialog({
                                        modal: true,
                                        open: function ()
                                        {
                                            jq(this).load('<wr:URL context="selectEventLink"/>');
                                        },         
                                        height: 500,
                                        width: 500
                                    });
                    }
                },

 

 
x 0
Answer at this question and get points!

Related questions

Add to Bag link in ACME Ajax and FCK Editor (WebRatio 5.x) ajax and javascript AJAX events problem to external JavaScript Ajax is not working in own style project Ajax link success callback? Ajax onchange and jQuery 2.x (with migrate plugin) incompatible Ajax on change selection field and modify units Ajax web app with javascript history object using the WebRatio Any way to localize the Tab Grid Template (Webratio Store)? Autocomplete template Ayuda Simple List Component Layout personalizado Button to go on another page Can not get generate and run option for DataService Project Como abrir una ventana en ajax desde una master page Como se usa la componente paypal en web ratio? Como usar la función autocomplete en un field Componente de pagos paypal Could not open the editor: This copy of WebRatio is not registered Creación DB Apache Derby - Modelado BPMN Criptare dati sensibili nel database CSV Component with utf8 encoding Custom components Custom descriptors Custom Plug-in Custom Time Unit Custom Unit and AJAX / SOAP Custom Unit: Difficult example in Guide ... any suggestions? Data flow from a page which is not visible anymore Dependencies installation error Disabilitare campi durante evento AJAX Dynamic link labelling for Custom Unit Encoding Confirm Dialog Examples at WebRatio 7.2 (Acme, BookStore, ...) Examples of WebRatio (Acme) Facebook login and personalization Facebook Unit file analysis then update MySQL database forward/backward navigation and bookmark in ajax web app Generation errors on ajax enabled page with many components, ajax links and selective refresh Geolocalizzazione con Twitter Component Google map is not shown properly in the tab grid Google Map Unit Graph Component Problem Guardar Saltos de LINEA Hiding form components based on page conditions How can I add a credit card payment gateway or integrate paypal in my web app logic? how can i open a pdf file using download dialog How can I see the administration page of bookstore example on the cloud? How complex can Custom Unit output be? How to add an image in a modal/pop-up window? How to get a wr:AjaxURL tag working How to keep current page/block of List/Hierarchy (Index) components after ajax link clickwith selective refresh? How to localize AJAX waiting dialog? How to modify the FertileEnviroment Default page How to open a window ajax in a BPM activity? How to run the example from Custom Unit Guide? How to scale a image? How to use GoogleGeocoding Add-on How to use LandmarkMenu as AJAX navigation how to use the landmark menu as AJAX navigation Is there any custom unit store or repository? Do you create/sell custom units? java.lang.NullPointerException javascript history object More Custom Unit questions: example of Content and Operation Unit? Need help with Landmark Overlays for Google Map Unit. Personalizzazione del login component Problema Invocation Unit Problems with Custom components: Can't get values from output parameters on ok flow. Problems with the page refresh (Tab Grid) Problem with adding templates Problem with application runnung Progress bar when uploading big file(s) in a form? "Run Now" on a job scheduled to run later Scroll ajax problem selection fields on cascade Statistics Component for WebRatio > 7.2.0 Status ProcessInstance and activityInstance in spanish Stored procedure component store problme Target tabs in Tab Grid Control Twitter Unit - Get Geo location of twitt Update fields based on selection of other fields Usage of the Gantt Unit Uso de la componente chart de webRatio ¿Visor de imágenes y reproductor de video para la versión 7.2? Image viewer and video player for version 7.2? Web project without initial login form - how to create custom logins? Webratio - Add-ons Webratio Add-ons no permite login Web Ratio Add-ons shop not working Webratio don't recognize JSON library Web Ratio Mobile plateform Macos Sierra WebRation Store connection problem WebRatio Platform 7.2 Community Cloud Edition When stars web ratio between dofollow and nofollow backlink has affected? Where can i find ifml sample with webratio? Where is the ACME demo data stored?! which of these three models is closer to webratio/ifml way of creating web applications wr-ajaxDivs break layout on ajax pages.