Re: how to add field to event in a wicket.jquery.ui calendar

2014-01-14 Thread Pierre
 Hello  Sebastien,
 Sorry, it was  my fault. I didn't explain correctly my problem.
 Thank you for your clarification.
 I don't want to  modify the fullcalendar's  behavior .

 I bypassed the problem.
 I directly concatenated  the *title *with  the *name * of the identifiant (
in a nice phrase ) .
 The easiest for me.

  Best regards.



-
Pierre
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/how-to-add-field-to-event-in-a-wicket-jquery-ui-calendar-tp4663617p4663696.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: how to add field to event in a wicket.jquery.ui calendar

2014-01-13 Thread Selom
Hi sebastien,

Thanks for the reply.
Yes I called  calendar.refresh(target) and I use a CompoundPropertyModel.

May be i did not use these  the right way?

I called also calendar.modelChanged() after the form submit but still the
same behavoir.

Please see my  attached quick start zip. 

Best regards.

s-quickstart.zip
http://apache-wicket.1842946.n4.nabble.com/file/n4663644/s-quickstart.zip  

-
Selom
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/how-to-add-field-to-event-in-a-wicket-jquery-ui-calendar-tp4663617p4663644.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: how to add field to event in a wicket.jquery.ui calendar

2014-01-13 Thread Sebastien
Hi Pierre,

Thanks for the attached zip. I do not see weird things that can prevent the
autocomplete to reflect the changed model object.
Unfortunately, I am not able to debug the quickstart because it missing to
much dependencies (Joda, Spring...) and custom classes (AgendaModele,
AmemetTemplate, etc)...

What I will suggest you is to ensure your bean is correctly persisted when
submitting the dialog. I do not see any reason why the event updates are
not reflected, calling calendar.refresh(target) suffice to refetch events
from server (no need to call calendar.modelChanged() actually)

If you wish to resend me a complete (and compiling) quickstart, you can use
this:
http://wicket.apache.org/start/quickstart.html

Good luck and best regards,
Sebastien.



On Mon, Jan 13, 2014 at 1:06 PM, Selom pierre.kou...@uhb.fr wrote:

 Hi sebastien,

 Thanks for the reply.
 Yes I called  calendar.refresh(target) and I use a CompoundPropertyModel.

 May be i did not use these  the right way?

 I called also calendar.modelChanged() after the form submit but still the
 same behavoir.

 Please see my  attached quick start zip.

 Best regards.

 s-quickstart.zip
 http://apache-wicket.1842946.n4.nabble.com/file/n4663644/s-quickstart.zip
 

 -
 Selom
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/how-to-add-field-to-event-in-a-wicket-jquery-ui-calendar-tp4663617p4663644.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: how to add field to event in a wicket.jquery.ui calendar

2014-01-13 Thread Pierre
Sebastien,

Thank for your suggestion.

My bean (PersonnelEvent ) is correctely persisted after submiting the
dialog.

Also I did the  debugging.

And it seems like  the problem is due to the fact that my field sesame is
not a *Event Data*   field   from   fullCalendar
http://arshaw.com/fullcalendar/docs/event_data/Event_Object/  .

Like for example title and start.

Therefore it is not displayed in the /calendar /when the form dialog  is
submitted.

May be you're not agreeing with me ?


Best regards.





-
Pierre
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/how-to-add-field-to-event-in-a-wicket-jquery-ui-calendar-tp4663617p4663658.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: how to add field to event in a wicket.jquery.ui calendar

2014-01-13 Thread Sebastien
Hi Pierre,

I have misunderstood the issue, sorry. I thought you had something
displayed before (state #1), which was not reflected after the update
(state #2)...

Actually, the visual representation of the event in the calendar relies on
the calendar itself (fullcalendar.js). If you wish to modify how the events
are rendered in the calendar, well, you have to fork fullcalendar [1],
modify the event object and modify the rendering.

If you success here, you can override CalendarEvent#createOptions to add
your property(ies) to the JSON object (Options object) that will be send to
the calendar...

Good luck :)
Sebastien.

[1] https://github.com/arshaw/fullcalendar


how to add field to event in a wicket.jquery.ui calendar

2014-01-10 Thread Selom
Hi all,

I am currently based on the 
com.googlecode.wicket.jquery.ui.samples.pages.calendar.ExtendedCalendarPage

I have added in my dialog panel (AbstractFormDialog) another  field ( an
identifiant in a
wicket.jquery.ui..AutoCompleteTextFieldString(identifiant) ).

The event  model  looks like this: 


 
 
 Part of the event popup. 
 


But after clicking on the save button from the dialog, my field is not
showned in the calendar (like  the title)

Any help would be appreciate.

Thanks to you in advance.



-
Selom
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/how-to-add-field-to-event-in-a-wicket-jquery-ui-calendar-tp4663617.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: how to add field to event in a wicket.jquery.ui calendar

2014-01-10 Thread Sebastien
Hi Pierre,

Did you called calendar.refresh(target)?
Do you use a CompoundPropertyModel? Maybe you have to call
calendar#modelChanged?

Can you post a quickstart so I can investigate?

Thanks in advance,
Sebastien.



On Fri, Jan 10, 2014 at 4:45 PM, Selom pierre.kou...@uhb.fr wrote:

 Hi all,

 I am currently based on the
 com.googlecode.wicket.jquery.ui.samples.pages.calendar.ExtendedCalendarPage

 I have added in my dialog panel (AbstractFormDialog) another  field ( an
 identifiant in a
 wicket.jquery.ui..AutoCompleteTextFieldString(identifiant) ).

 The event  model  looks like this:




  Part of the event popup.



 But after clicking on the save button from the dialog, my field is not
 showned in the calendar (like  the title)

 Any help would be appreciate.

 Thanks to you in advance.



 -
 Selom
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/how-to-add-field-to-event-in-a-wicket-jquery-ui-calendar-tp4663617.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org