Re: Graphing Framework for Wicket

2015-06-01 Thread Mihir Chhaya
One correction; it is called Wicked Charts (
http://wicked-charts.appspot.com/)



On Mon, Jun 1, 2015 at 11:46 AM, Mihir Chhaya 
wrote:

> Hi Lois,
>
> Not aware of current status but, you might want to look at wicket charts.
>
> Thanks,
> -Mihir.
>
> On Mon, Jun 1, 2015 at 11:08 AM, Sebastien  wrote:
>
>> Hi Lois,
>>
>> I am not aware of this... But I'm interested to the answer :)
>> I was looking for a nice js graph, based on jQuery possibly and found that
>> best matches my requirement: vis.js, arbor.js & cytoscape.js
>>
>> arbor.js is highly deprecated,
>> cytoscape.js is good and jQuery oriented, but requires additional
>> libraries
>> depending on what type of graph we want to display,
>> so I'll probably go for vis.js (ASFv2 licensed) because it is really
>> simple
>> to use and it just works! :)
>>
>> I am already busy with some other wicket integrations so I don't know
>> (now)
>> if I will make it a public project... But if someone would like to dig
>> into
>> a wicket-vis project, and maintain it, I will be glad to help... In the
>> meantime, will I try to publish a showcase in a week or two...
>>
>> Best regards,
>> Sebastien
>>
>>
>> On Mon, Jun 1, 2015 at 4:29 PM, Lois GreeneHernandez <
>> lgreenehernan...@knoa.com> wrote:
>>
>> > Hi Martin,
>> >
>> > I looking for a framework or a set of classes that will allow me to
>> create
>> > graphs.
>> >
>> > Thanks
>> >
>> > Lois
>> >
>> > -Original Message-
>> > From: Martin Grigorov [mailto:mgrigo...@apache.org]
>> > Sent: Monday, June 01, 2015 9:40 AM
>> > To: users@wicket.apache.org
>> > Subject: Re: Graphing Framework for Wicket
>> >
>> > Hi,
>> >
>> > Please give us more details.
>> > Do you mean graphics or graphs?
>> >
>> > Martin Grigorov
>> > Wicket Training and Consulting
>> > https://twitter.com/mtgrigorov
>> >
>> > On Mon, Jun 1, 2015 at 4:27 PM, Lois GreeneHernandez <
>> > lgreenehernan...@knoa.com> wrote:
>> >
>> > > Hi All,
>> > >
>> > > I need some recommendations on a graphing framework for wicket.
>> > >
>> > > Thanks
>> > >
>> > > Lois
>> > >
>> >
>> > -
>> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> > For additional commands, e-mail: users-h...@wicket.apache.org
>> >
>> >
>>
>
>


Re: Graphing Framework for Wicket

2015-06-01 Thread Mihir Chhaya
Hi Lois,

Not aware of current status but, you might want to look at wicket charts.

Thanks,
-Mihir.

On Mon, Jun 1, 2015 at 11:08 AM, Sebastien  wrote:

> Hi Lois,
>
> I am not aware of this... But I'm interested to the answer :)
> I was looking for a nice js graph, based on jQuery possibly and found that
> best matches my requirement: vis.js, arbor.js & cytoscape.js
>
> arbor.js is highly deprecated,
> cytoscape.js is good and jQuery oriented, but requires additional libraries
> depending on what type of graph we want to display,
> so I'll probably go for vis.js (ASFv2 licensed) because it is really simple
> to use and it just works! :)
>
> I am already busy with some other wicket integrations so I don't know (now)
> if I will make it a public project... But if someone would like to dig into
> a wicket-vis project, and maintain it, I will be glad to help... In the
> meantime, will I try to publish a showcase in a week or two...
>
> Best regards,
> Sebastien
>
>
> On Mon, Jun 1, 2015 at 4:29 PM, Lois GreeneHernandez <
> lgreenehernan...@knoa.com> wrote:
>
> > Hi Martin,
> >
> > I looking for a framework or a set of classes that will allow me to
> create
> > graphs.
> >
> > Thanks
> >
> > Lois
> >
> > -Original Message-
> > From: Martin Grigorov [mailto:mgrigo...@apache.org]
> > Sent: Monday, June 01, 2015 9:40 AM
> > To: users@wicket.apache.org
> > Subject: Re: Graphing Framework for Wicket
> >
> > Hi,
> >
> > Please give us more details.
> > Do you mean graphics or graphs?
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Mon, Jun 1, 2015 at 4:27 PM, Lois GreeneHernandez <
> > lgreenehernan...@knoa.com> wrote:
> >
> > > Hi All,
> > >
> > > I need some recommendations on a graphing framework for wicket.
> > >
> > > Thanks
> > >
> > > Lois
> > >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>


Re: Graphing Framework for Wicket

2015-06-01 Thread Sebastien
Hi Lois,

I am not aware of this... But I'm interested to the answer :)
I was looking for a nice js graph, based on jQuery possibly and found that
best matches my requirement: vis.js, arbor.js & cytoscape.js

arbor.js is highly deprecated,
cytoscape.js is good and jQuery oriented, but requires additional libraries
depending on what type of graph we want to display,
so I'll probably go for vis.js (ASFv2 licensed) because it is really simple
to use and it just works! :)

I am already busy with some other wicket integrations so I don't know (now)
if I will make it a public project... But if someone would like to dig into
a wicket-vis project, and maintain it, I will be glad to help... In the
meantime, will I try to publish a showcase in a week or two...

Best regards,
Sebastien


On Mon, Jun 1, 2015 at 4:29 PM, Lois GreeneHernandez <
lgreenehernan...@knoa.com> wrote:

> Hi Martin,
>
> I looking for a framework or a set of classes that will allow me to create
> graphs.
>
> Thanks
>
> Lois
>
> -Original Message-
> From: Martin Grigorov [mailto:mgrigo...@apache.org]
> Sent: Monday, June 01, 2015 9:40 AM
> To: users@wicket.apache.org
> Subject: Re: Graphing Framework for Wicket
>
> Hi,
>
> Please give us more details.
> Do you mean graphics or graphs?
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Mon, Jun 1, 2015 at 4:27 PM, Lois GreeneHernandez <
> lgreenehernan...@knoa.com> wrote:
>
> > Hi All,
> >
> > I need some recommendations on a graphing framework for wicket.
> >
> > Thanks
> >
> > Lois
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


RE: Graphing Framework for Wicket

2015-06-01 Thread Lois GreeneHernandez
Hi Martin, 

I looking for a framework or a set of classes that will allow me to create 
graphs. 

Thanks

Lois

-Original Message-
From: Martin Grigorov [mailto:mgrigo...@apache.org] 
Sent: Monday, June 01, 2015 9:40 AM
To: users@wicket.apache.org
Subject: Re: Graphing Framework for Wicket

Hi,

Please give us more details.
Do you mean graphics or graphs?

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Jun 1, 2015 at 4:27 PM, Lois GreeneHernandez < 
lgreenehernan...@knoa.com> wrote:

> Hi All,
>
> I need some recommendations on a graphing framework for wicket.
>
> Thanks
>
> Lois
>

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



Re: Wicket Bootstrap 0.9.9 is released

2015-06-01 Thread Martin Grigorov
Hi,

1. How exactly do you change the theme?
2. What is the connection between MyNestedTree and AngebotTree?
3. Can you share your application with us/me? If NOT then can you create a
quickstart app that reproduces the problem?


On Mon, Jun 1, 2015 at 4:37 PM, Hans-Heinrich Braun <
hansheinrichbr...@yahoo.de> wrote:

> Martin,
> I followed your advice how to  give the Bootswatch Theme functionality toa
> Tree component.
> I made the following Implementation:
> MyNestedTree :
> public MyNestedTree(String id, ITreeProvider provider,
> IModel> state)
> { super(id, provider, state); add(new
> BootswatchThemeProvider().getTheme(Bootstrap.getSettings(getApplication()).getActiveThemeProvider().getActiveTheme().name().toLowerCase()));
>
> Where BootswatchThemeProvider is:
>
> public class BootswatchThemeProvider  {
> Map map = new HashMap();
>public BootswatchThemeProvider() {
>   map.put("windows", new WindowsTheme());  map.put("human", new
> HumanTheme());  map.put("flatly", new FlatlyTheme());
>  }
>
>  public Behavior getTheme(String name){  if(map.containsKey(name)) return
> (Behavior) map.get(name);
>  else return (Behavior) map.get("windows"); }
> }
>
> When I open the Tree it's OK
> But when I change the Theme I get the error:
>
> Last cause: Unable to find component with id 'tree' in
> [TransparentWebMarkupContainer [Component id = wicket_extend2]]
> Expected: 'html:wicket_child1:wicket_extend2:tree'.
> Found with similar names: ''
>
> Markup
> The problem is in
> "file:/home/java/wicket/appfuse/braunimmobilien-eclipse-maven/project/webapp-bootstrap/target/classes/braunimmobilien/bootstrap/webapp/pages/angebot/AngebotTree.html":
> | 
> 
> 
>
> OffersAll offers ever available.
> 
>
> 
>  [tree]
> 
> 
> 
> 
>   |
>
> | Root cause:Unable to find component with id 'tree' in
> [TransparentWebMarkupContainer [Component id = wicket_extend2]]
> Expected: 'html:wicket_child1:wicket_extend2:tree'.
> Found with similar names: ''
> MarkupStream: [markup =
> file:/home/java/wicket/appfuse/braunimmobilien-eclipse-maven/project/webapp-bootstrap/target/classes/braunimmobilien/bootstrap/webapp/pages/angebot/AngebotTree.html
> 
> 
> 
> Offers All offers ever available.
> 
> 
>  [tree]
> 
> 
> 
> 
> , index = 2, current = '' (line 0,
> column 0)]
> at
> org.apache.wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:526)
>
> I am using 0.9.9-Bootstrap.
>   Von: Martin Grigorov 
>  An: "users@wicket.apache.org" 
>  Gesendet: 22:43 Sonntag, 31.Mai 2015
>  Betreff: Re: Wicket Bootstrap 0.9.9 is released
>
> Hi,
>
> Sorry, the provided information is highly insufficient for any of us to
> help you!
> Please give some more details.
>
> P.S. the subject is not related to your question.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
>
>
> On Sun, May 31, 2015 at 11:06 AM, hansheinrichbraun <
> hansheinrichbr...@yahoo.de> wrote:
>
> > Martin,
> >
> > can you explain me why i get the error Unable to find component with id
> > 'tree' in  [ TransparentWebMarkupContainer for my NestedTree component
> when
> > I change the Theme?
> >
> >
> > Von Samsung Mobile gesendet
>
>
>
>


Re: DateTimeField + AJAX

2015-06-01 Thread Martin Grigorov
On Mon, Jun 1, 2015 at 5:08 PM, Urbani, Edmund 
wrote:

>
>
> On 06/01/2015 03:48 PM, Martin Grigorov wrote:
>
>>
>> On Mon, Jun 1, 2015 at 3:39 PM, Urbani, Edmund <
>> edmund.urb...@lilandit.com > wrote:
>>
>> Ah, of course: wicket-datetime.
>>
>> Thanks, I'll try that - though I was hoping I would not to have to
>> work
>> directly with its sub-components.
>>
>> And more out of curiosity:
>> Will there be a neater way to do this in Wicket 7 (or perhaps 8)?
>> Right
>> now AJAX behaviors that can be applied to FormComponentPanels seem
>> like a
>> good idea to me. ;)
>>
>>
>> No, there is nothing about this in Wicket 7.x.
>> I don't think there will be something in 8.x too. We are not big fans of
>> auto-magical functionalities.
>> We prefer to give you the facilities (like the factory methods, visitors,
>> etc.) and let you define your application logic.
>>
>> What I'd do for your use case is to extend OnChangeAjaxBehavior, override
>> its #updateRequestAttributes() with attributes.setChildSelector("input,
>> select, textarea") and attributes.getDynamicExtraParameters("return
>> collectChildrenFormElementsValues(attrs.c)") and then in onChange() read
>> the submitted values and update the form components.
>> But you will need Wicket 6.x for all this...
>>
>
> I see. Well, maybe not "auto-magical" in the sense that Wicket takes care
> of that, but in the sense that the component-developer has a way to apply a
> behavior to a number of sub-components. Right now, I think, that is not
> possible by overriding add(..), because the same behavior instance cannot
> be assigned to multiple components AFAIK.
>

Right. You cannot reuse the same *Ajax* behavior for several components.
Because it is not clear which server side component should be updated when
the Ajax call is made.
Non-Ajax behaviors do not have this restriction.


>
> In my case applying the behavior to the individual fields was only part of
> the solution BTW. I did end up making my own version of the DateTimeField
> component. Changes to the hour/minutes fields would not cause the model to
> get updated, so I had to modify setHours() and setMinutes() and access some
> private stuff (so much for the sub-classing approach... :/ ).
>

Well, there are always uncovered use cases.
What you should do now is to improve DateTimeField in a such a way that it
is enough to sub-class it and send us a patch or Pull Request. If the
improvement is approved then the next version of Wicket will come with it
and you will be able to get rid of your copy of this class.
Sounds fair, right?


>
> Kind regards,
>  Edmund
>


Re: DateTimeField + AJAX

2015-06-01 Thread Urbani, Edmund



On 06/01/2015 03:48 PM, Martin Grigorov wrote:


On Mon, Jun 1, 2015 at 3:39 PM, Urbani, Edmund > wrote:


Ah, of course: wicket-datetime.

Thanks, I'll try that - though I was hoping I would not to have to work
directly with its sub-components.

And more out of curiosity:
Will there be a neater way to do this in Wicket 7 (or perhaps 8)? Right
now AJAX behaviors that can be applied to FormComponentPanels seem like a
good idea to me. ;)


No, there is nothing about this in Wicket 7.x.
I don't think there will be something in 8.x too. We are not big fans of 
auto-magical functionalities.
We prefer to give you the facilities (like the factory methods, visitors, 
etc.) and let you define your application logic.


What I'd do for your use case is to extend OnChangeAjaxBehavior, override its 
#updateRequestAttributes() with attributes.setChildSelector("input, select, 
textarea") and attributes.getDynamicExtraParameters("return 
collectChildrenFormElementsValues(attrs.c)") and then in onChange() read the 
submitted values and update the form components.

But you will need Wicket 6.x for all this...


I see. Well, maybe not "auto-magical" in the sense that Wicket takes care of 
that, but in the sense that the component-developer has a way to apply a 
behavior to a number of sub-components. Right now, I think, that is not possible 
by overriding add(..), because the same behavior instance cannot be assigned to 
multiple components AFAIK.


In my case applying the behavior to the individual fields was only part of the 
solution BTW. I did end up making my own version of the DateTimeField component. 
Changes to the hour/minutes fields would not cause the model to get updated, so 
I had to modify setHours() and setMinutes() and access some private stuff (so 
much for the sub-classing approach... :/ ).


Kind regards,
 Edmund


Re: DateTimeField + AJAX

2015-06-01 Thread Martin Grigorov
On Mon, Jun 1, 2015 at 3:39 PM, Urbani, Edmund 
wrote:

>  Ah, of course: wicket-datetime.
>
> Thanks, I'll try that - though I was hoping I would not to have to work
> directly with its sub-components.
>
> And more out of curiosity:
> Will there be a neater way to do this in Wicket 7 (or perhaps 8)? Right
> now AJAX behaviors that can be applied to FormComponentPanels seem like a
> good idea to me. ;)
>

No, there is nothing about this in Wicket 7.x.
I don't think there will be something in 8.x too. We are not big fans of
auto-magical functionalities.
We prefer to give you the facilities (like the factory methods, visitors,
etc.) and let you define your application logic.

What I'd do for your use case is to extend OnChangeAjaxBehavior, override
its #updateRequestAttributes() with attributes.setChildSelector("input,
select, textarea") and attributes.getDynamicExtraParameters("return
collectChildrenFormElementsValues(attrs.c)") and then in onChange() read
the submitted values and update the form components.
But you will need Wicket 6.x for all this...


>
> Kind regards,
>  Edmund
>
>
> On 06/01/2015 02:18 PM, Martin Grigorov wrote:
>
> Hi,
>
>  I guess you talk about [1]. It is in wicket-datetime, not
> wicket-extensions.
>
>  It is a Panel component, actually FormComponentPanel, so
> adding OnChangeAjaxBehavior to it won't work.
> I am not sure why the hour and time sub-components work for you. I'd
> expect that you add OnChangeAjaxBehavior to each TextField inside it.
> In Wicket 6.x there are factory methods for all sub components. In 1.5.x I
> see there is only #newDateTextField() [2].
> You can use DateTimeField.get("...") to get a reference to a child
> component and add the behavior to it.
>
>  1.
> https://github.com/apache/wicket/blob/wicket-1.5.x/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DateTimeField.java
> 2.
> https://github.com/apache/wicket/blob/wicket-1.5.x/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DateTimeField.java#L411
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Mon, Jun 1, 2015 at 3:05 PM, Urbani, Edmund  > wrote:
>
>>  Hello all, I am having trouble trying to apply an OnChangeAjaxBehaviour
>> to the DateTimeField component from wicket-extensions. The AJAX updates
>> always cause the model to be set to null. Even when the model is
>> initialized with a non-null value, and that date is property displayed, any
>> attempt to edit it will again set the model value back to null. Editing the
>> date part does not seem to cause an AJAX update at all, only the time
>> fields do. The project I am working on is currently using Wicket 1.5.13.
>> Any ideas? Kind reagards,  Edmund
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> Edmund Urbani
>>  Liland IT Team Email: edmund.urb...@lilandit.com
>> 
>>
>>  Liland IT GmbH ...does IT better
>>  Tel: +43 463 220111 <%2B43%20463%20220111>
>>  Fax: +43 463 220111-33
>>  Tel(GER): +49 221 65028588 <%2B49%20221%2065028588>
>>
>>  Find us at Facebook http://facebook.com/Lilandit
>> http://green-badges.com
>> http://iventcloud.com
>> http://Lilandit.com
>>
>>    
>>
>> Copyright © 2015 Liland IT GmbH This mail may contain confidential and /
>> or privileged information. If you are not the intended recipient or have
>> received this email in error, please notify the sender immediately and
>> destroy this email. The unauthorized copying and unauthorized
>> distribution of this mail is strictly forbidden. This email may contain
>> confidential and / or privileged information. If you are not the
>> Intended Recipient (or have received this email in error) please notify the
>> sender immediately and destroy this email. Any Unauthorised copying,
>> disclosure or distribution of the material in this email is strictly
>> forbidden.
>>
>>
>>
>>
>>
>>
>
>
> --
>
> Mit freundlichen Grüßen
> Edmund Urbani
> Liland IT Team
>
> Email: edmund.urb...@lilandit.com 
>
> Liland IT GmbH ...does IT better
> Tel: +43 463 220111
> Fax: +43 463 220111-33
> Tel(GER): +49 221 65028588
>
> Find us at Facebook http://facebook.com/Lilandit
> http://green-badges.com
> http://iventcloud.com
> http://Lilandit.com
>
>    
>
> Copyright © 2015, Liland IT GmbH
>
> Diese Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
> Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese Email irrtuemlich
> erhalten haben, informieren Sie bitte sofort den Absender und vernichten
> Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe
> dieser Mail ist nicht gestattet.
>
> This email may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this email in
> error) please notify the sender immediately and destroy this email. Any
> unauthorised copying, disclosure or distribution of the material in this
> email i

Re: Graphing Framework for Wicket

2015-06-01 Thread Martin Grigorov
Hi,

Please give us more details.
Do you mean graphics or graphs?

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Jun 1, 2015 at 4:27 PM, Lois GreeneHernandez <
lgreenehernan...@knoa.com> wrote:

> Hi All,
>
> I need some recommendations on a graphing framework for wicket.
>
> Thanks
>
> Lois
>


Re: Wicket Bootstrap 0.9.9 is released

2015-06-01 Thread Hans-Heinrich Braun
Martin,
I followed your advice how to  give the Bootswatch Theme functionality toa Tree 
component.
I made the following Implementation:
MyNestedTree :
public MyNestedTree(String id, ITreeProvider provider, 
IModel> state) 
{ super(id, provider, state); add(new 
BootswatchThemeProvider().getTheme(Bootstrap.getSettings(getApplication()).getActiveThemeProvider().getActiveTheme().name().toLowerCase()));

Where BootswatchThemeProvider is:

public class BootswatchThemeProvider  { 
Map map = new HashMap();
   public BootswatchThemeProvider() {
  map.put("windows", new WindowsTheme());  map.put("human", new HumanTheme());  
map.put("flatly", new FlatlyTheme());
 }

 public Behavior getTheme(String name){  if(map.containsKey(name)) return 
(Behavior) map.get(name);
 else return (Behavior) map.get("windows"); }
}

When I open the Tree it's OK
But when I change the Theme I get the error:

Last cause: Unable to find component with id 'tree' in 
[TransparentWebMarkupContainer [Component id = wicket_extend2]]
Expected: 'html:wicket_child1:wicket_extend2:tree'.
Found with similar names: ''

Markup
The problem is in 
"file:/home/java/wicket/appfuse/braunimmobilien-eclipse-maven/project/webapp-bootstrap/target/classes/braunimmobilien/bootstrap/webapp/pages/angebot/AngebotTree.html":
| 


OffersAll offers ever available.

 
 [tree]




  |

| Root cause:Unable to find component with id 'tree' in 
[TransparentWebMarkupContainer [Component id = wicket_extend2]]
Expected: 'html:wicket_child1:wicket_extend2:tree'.
Found with similar names: ''
MarkupStream: [markup = 
file:/home/java/wicket/appfuse/braunimmobilien-eclipse-maven/project/webapp-bootstrap/target/classes/braunimmobilien/bootstrap/webapp/pages/angebot/AngebotTree.html



Offers All offers ever available.

  
 [tree]




, index = 2, current = '' (line 0, column 
0)]
at 
org.apache.wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:526)

I am using 0.9.9-Bootstrap.
  Von: Martin Grigorov 
 An: "users@wicket.apache.org"  
 Gesendet: 22:43 Sonntag, 31.Mai 2015
 Betreff: Re: Wicket Bootstrap 0.9.9 is released
   
Hi,

Sorry, the provided information is highly insufficient for any of us to
help you!
Please give some more details.

P.S. the subject is not related to your question.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov



On Sun, May 31, 2015 at 11:06 AM, hansheinrichbraun <
hansheinrichbr...@yahoo.de> wrote:

> Martin,
>
> can you explain me why i get the error Unable to find component with id
> 'tree' in  [ TransparentWebMarkupContainer for my NestedTree component when
> I change the Theme?
>
>
> Von Samsung Mobile gesendet


  

Graphing Framework for Wicket

2015-06-01 Thread Lois GreeneHernandez
Hi All,

I need some recommendations on a graphing framework for wicket.

Thanks

Lois


Re: DateTimeField + AJAX

2015-06-01 Thread Urbani, Edmund

Ah, of course: wicket-datetime.

Thanks, I'll try that - though I was hoping I would not to have to work directly 
with its sub-components.


And more out of curiosity:
Will there be a neater way to do this in Wicket 7 (or perhaps 8)? Right now AJAX 
behaviors that can be applied to FormComponentPanels seem like a good idea to me. ;)


Kind regards,
 Edmund

On 06/01/2015 02:18 PM, Martin Grigorov wrote:

Hi,

I guess you talk about [1]. It is in wicket-datetime, not wicket-extensions.

It is a Panel component, actually FormComponentPanel, so 
adding OnChangeAjaxBehavior to it won't work.
I am not sure why the hour and time sub-components work for you. I'd expect 
that you add OnChangeAjaxBehavior to each TextField inside it.
In Wicket 6.x there are factory methods for all sub components. In 1.5.x I see 
there is only #newDateTextField() [2].
You can use DateTimeField.get("...") to get a reference to a child component 
and add the behavior to it.


1. 
https://github.com/apache/wicket/blob/wicket-1.5.x/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DateTimeField.java
2. 
https://github.com/apache/wicket/blob/wicket-1.5.x/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DateTimeField.java#L411


Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Jun 1, 2015 at 3:05 PM, Urbani, Edmund >wrote:


Hello all,I am having trouble trying to apply an OnChangeAjaxBehaviour to
the DateTimeField component from wicket-extensions. The AJAX updates
always cause the model to be set to null. Even when the model is
initialized with a non-null value, and that date is property displayed,
any attempt to edit it will again set the model value back to null.
Editing the date part does not seem to cause an AJAX update at all, only
the time fields do.The project I am working on is currently using Wicket
1.5.13.Any ideas?Kind reagards, Edmund










-- 


Edmund Urbani
Liland IT TeamEmail: edmund.urb...@lilandit.com


Liland IT GmbH ...does IT better
Tel: +43 463 220111 
Fax: +43 463 220111-33
Tel(GER): +49 221 65028588 

Find us at Facebook http://facebook.com/Lilandit
http://green-badges.com
http://iventcloud.com
http://Lilandit.com

 

Copyright © 2015 Liland IT GmbH This mail may contain confidential and /
or privileged information. If you are not the intended recipient or have
received this email in error, please notify the sender immediately and
destroy this email. The unauthorized copying and unauthorized distribution
of this mail is strictly forbidden. This email may contain confidential
and / or privileged information. If you are not the Intended Recipient (or
have received this email in error) please notify the sender immediately
and destroy this email. Any Unauthorised copying, disclosure or
distribution of the material in this email is strictly forbidden.









--

Mit freundlichen Grüßen
Edmund Urbani
Liland IT Team

Email: edmund.urb...@lilandit.com 

Liland IT GmbH ...does IT better
Tel: +43 463 220111
Fax: +43 463 220111-33
Tel(GER): +49 221 65028588

Find us at Facebook http://facebook.com/Lilandit
http://green-badges.com
http://iventcloud.com
http://Lilandit.com

 

Copyright © 2015, Liland IT GmbH

Diese Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese Email irrtuemlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht 
gestattet.


This email may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this email in error) 
please notify the sender immediately and destroy this email. Any unauthorised 
copying, disclosure or distribution of the material in this email is strictly 
forbidden.




Re: DateTimeField + AJAX

2015-06-01 Thread Martin Grigorov
Hi,

I guess you talk about [1]. It is in wicket-datetime, not wicket-extensions.

It is a Panel component, actually FormComponentPanel, so
adding OnChangeAjaxBehavior to it won't work.
I am not sure why the hour and time sub-components work for you. I'd expect
that you add OnChangeAjaxBehavior to each TextField inside it.
In Wicket 6.x there are factory methods for all sub components. In 1.5.x I
see there is only #newDateTextField() [2].
You can use DateTimeField.get("...") to get a reference to a child
component and add the behavior to it.

1.
https://github.com/apache/wicket/blob/wicket-1.5.x/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DateTimeField.java
2.
https://github.com/apache/wicket/blob/wicket-1.5.x/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DateTimeField.java#L411

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Jun 1, 2015 at 3:05 PM, Urbani, Edmund 
wrote:

>  Hello all, I am having trouble trying to apply an OnChangeAjaxBehaviour
> to the DateTimeField component from wicket-extensions. The AJAX updates
> always cause the model to be set to null. Even when the model is
> initialized with a non-null value, and that date is property displayed, any
> attempt to edit it will again set the model value back to null. Editing the
> date part does not seem to cause an AJAX update at all, only the time
> fields do. The project I am working on is currently using Wicket 1.5.13.
> Any ideas? Kind reagards,  Edmund
>
>
>
>
>
>
>
>
>
>
> --
>
> Edmund Urbani
> Liland IT Team Email: edmund.urb...@lilandit.com
> 
>
> 
>
> Liland IT GmbH ...does IT better
> Tel: +43 463 220111
> Fax: +43 463 220111-33
> Tel(GER): +49 221 65028588
>
> Find us at Facebook http://facebook.com/Lilandit
> http://green-badges.com
> http://iventcloud.com
> http://Lilandit.com
>
>    
>
> Copyright © 2015 Liland IT GmbH This mail may contain confidential and /
> or privileged information. If you are not the intended recipient or have
> received this email in error, please notify the sender immediately and
> destroy this email. The unauthorized copying and unauthorized
> distribution of this mail is strictly forbidden. This email may contain
> confidential and / or privileged information. If you are not the Intended
> Recipient (or have received this email in error) please notify the sender
> immediately and destroy this email. Any Unauthorised copying, disclosure
> or distribution of the material in this email is strictly forbidden.
>
>
>
>
>
>


DateTimeField + AJAX

2015-06-01 Thread Urbani, Edmund

Hello all,

I am having trouble trying to apply an OnChangeAjaxBehaviour to the 
DateTimeField component from wicket-extensions. The AJAX updates always cause 
the model to be set to null. Even when the model is initialized with a non-null 
value, and that date is property displayed, any attempt to edit it will again 
set the model value back to null. Editing the date part does not seem to cause 
an AJAX update at all, only the time fields do.


The project I am working on is currently using Wicket 1.5.13.

Any ideas?

Kind reagards,
 Edmund

--

Edmund Urbani
Liland IT Team

Email: edmund.urb...@lilandit.com 

Liland IT GmbH ...does IT better
Tel: +43 463 220111
Fax: +43 463 220111-33
Tel(GER): +49 221 65028588

Find us at Facebook http://facebook.com/Lilandit
http://green-badges.com
http://iventcloud.com
http://Lilandit.com

 

Copyright © 2015, Liland IT GmbH

Diese Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese Email irrtuemlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht 
gestattet.


This email may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this email in error) 
please notify the sender immediately and destroy this email. Any unauthorised 
copying, disclosure or distribution of the material in this email is strictly 
forbidden.




Re: Anyone know a Wiki component?

2015-06-01 Thread Martin Grigorov
The closest I've seen is https://github.com/brix-cms/brix-cms - a CMS
system based on Wicket.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Jun 1, 2015 at 1:11 PM, Wayne W  wrote:

> I suppose what I am asking is, does anyone know of a wiki markup engine
> that plays well with wicket. I need to create wiki pages from within a
> wicket application. I'm not looking for a WYSIWG editor. Basically I'd like
> to create a (wicket) page that once you land there, enables the user to
> create wiki pages. So really I'm looking for a some form of wiki
> engine/markup thats going to be able to handle links jumping from user
> generate content page to other user generated content. At the moment wicket
> would not be able to handle the URLs I don't think. I'd like to wrap these
> user generated pages within a wicket page (that has other wicket
> components/panels such as header and main menu, search etc).
>
> On Mon, Jun 1, 2015 at 11:02 AM, Martin Grigorov 
> wrote:
>
> > Hi,
> >
> > What functionality exactly do you need ?
> > A Wiki is more a product than a component.
> > Maybe you need a WYSIWYG editor ?
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Mon, Jun 1, 2015 at 12:55 PM, Wayne W 
> > wrote:
> >
> > > Hi,
> > >
> > > I'm looking for a wiki like component(s) as we need to add some wiki
> type
> > > functionality to a product. Anyone know of any projects or open source
> > > projects? I'd rather not start from scratch if there is something
> already
> > > out there. I see alots of full java based wiki apps but they are all
> > based
> > > on JPS or struts,etc. Trying to find something that is wicket based, or
> > > just something reasonably simple that I can embed more easy.
> > >
> > > thanks
> > >
> >
>


Re: Anyone know a Wiki component?

2015-06-01 Thread Wayne W
I suppose what I am asking is, does anyone know of a wiki markup engine
that plays well with wicket. I need to create wiki pages from within a
wicket application. I'm not looking for a WYSIWG editor. Basically I'd like
to create a (wicket) page that once you land there, enables the user to
create wiki pages. So really I'm looking for a some form of wiki
engine/markup thats going to be able to handle links jumping from user
generate content page to other user generated content. At the moment wicket
would not be able to handle the URLs I don't think. I'd like to wrap these
user generated pages within a wicket page (that has other wicket
components/panels such as header and main menu, search etc).

On Mon, Jun 1, 2015 at 11:02 AM, Martin Grigorov 
wrote:

> Hi,
>
> What functionality exactly do you need ?
> A Wiki is more a product than a component.
> Maybe you need a WYSIWYG editor ?
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Mon, Jun 1, 2015 at 12:55 PM, Wayne W 
> wrote:
>
> > Hi,
> >
> > I'm looking for a wiki like component(s) as we need to add some wiki type
> > functionality to a product. Anyone know of any projects or open source
> > projects? I'd rather not start from scratch if there is something already
> > out there. I see alots of full java based wiki apps but they are all
> based
> > on JPS or struts,etc. Trying to find something that is wicket based, or
> > just something reasonably simple that I can embed more easy.
> >
> > thanks
> >
>


Re: Anyone know a Wiki component?

2015-06-01 Thread Martin Grigorov
Hi,

What functionality exactly do you need ?
A Wiki is more a product than a component.
Maybe you need a WYSIWYG editor ?

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Jun 1, 2015 at 12:55 PM, Wayne W 
wrote:

> Hi,
>
> I'm looking for a wiki like component(s) as we need to add some wiki type
> functionality to a product. Anyone know of any projects or open source
> projects? I'd rather not start from scratch if there is something already
> out there. I see alots of full java based wiki apps but they are all based
> on JPS or struts,etc. Trying to find something that is wicket based, or
> just something reasonably simple that I can embed more easy.
>
> thanks
>


Anyone know a Wiki component?

2015-06-01 Thread Wayne W
Hi,

I'm looking for a wiki like component(s) as we need to add some wiki type
functionality to a product. Anyone know of any projects or open source
projects? I'd rather not start from scratch if there is something already
out there. I see alots of full java based wiki apps but they are all based
on JPS or struts,etc. Trying to find something that is wicket based, or
just something reasonably simple that I can embed more easy.

thanks


Re: Wicket Bootstrap 0.9.9 is released

2015-06-01 Thread Martin Grigorov
On Mon, Jun 1, 2015 at 1:16 AM, Tobias Soloschenko <
tobiassolosche...@googlemail.com> wrote:

> Hi,
>
> thank you very very much for the fast investigations and the release.
>
> Offtopic: I also created some additional pull requests to fix the unit
> tests for JDK>7, but wicket-jquery-selector in 0.1.5 / 0.2.1 has to be
> released first.
>

Done!
Thank you!


>
> kind regards
>
> Tobias
>
> Am 31.05.15 um 22:41 schrieb Martin Grigorov:
>
>> Hi,
>>
>> Tobias Soloschenko caught that an important commit related to the
>> DropZone.js integration was missing in 0.9.x and was applied only to
>> 0.10.x
>> (for Wicket 7.x).
>> So I just released 0.9.10 with this extra commit.
>>
>> Thank you, Tobias!
>>
>> On Sun, May 31, 2015 at 1:10 AM, Martin Grigorov <
>> martin.grigo...@gmail.com>
>> wrote:
>>
>>  Hi,
>>>
>>> Wicket Bootstrap 0.9.9 (built against Wicket 6.19.0) have been released
>>> and soon will be available at Maven Central.
>>>
>>> New features:
>>> - a component for *http://www.dropzonejs.com/
>>> *
>>>
>>> - a behavior for https://daneden.github.io/animate.css/
>>>
>>> The list of commits since 0.9.8 are:
>>>
>>> Martin Tzvetanov Grigorov (30):
>>>[maven-release-plugin] prepare for next development iteration
>>>Update Less4j to 1.9.0
>>>Update the versions in README
>>>[animate] Use spaces instead of tabs
>>>[animate.css] Add an entry for Animate.css to the affix
>>>Upgrade Bootstrap to 3.3.4
>>>[themes] Upgrade Bootswatch to 3.3.4
>>>[themes] Update Google theme to 3.3.4
>>>[themes] Upgrade Material Design by FezVrasta to 0.3.0
>>>[bootlint] Upgrade Bootlint to 0.12.0. Fixes #498
>>>Fixes #502 - Add component for password strength check
>>>[themes] Update Bootswatch themes to 3.3.4+1
>>>[themes] Update Google theme
>>>Upgrade Less4j to 1.10.0
>>>Add IssueStats to the README
>>>Upgrade Less4J to 1.11.0
>>>setOutputMarkupPlaceholderTag(true) implies
>>> setOutputMarkupId(true).
>>> No need to call it explicitly.
>>>Fixes #507 - [datetime picker] Add 'showClose' option
>>>Issue #508 [dropzone] Replace tabs with spaces
>>>Issue #508 - Introduce config for DropZone widget
>>>Issue #509 - Fix code style. Use spaces instead of tab
>>>Issue #509 - fix formating
>>>Issue #509 - Clean up the code for dropzone integration
>>>[typeahead] Fix broken test
>>>Fixes #511 #507 - Upgrade datetimepicker to 4.7.14
>>>Update Material Design theme
>>>Update Bootswatch themes
>>>Update Google theme
>>>Update dependencies and Maven plugins
>>>[maven-release-plugin] prepare release bootstrap-parent-0.9.9
>>>
>>> danjee (6):
>>>Added animated.css behavior Using CDN resources if bootstrap
>>> settings permits, otherwise a webjar resource
>>>Fix test
>>>Merge branch 'master' of
>>> https://github.com/danjee/wicket-bootstrap.git
>>>update animate.css version to 3.2.5 (same as default CDN version)
>>>move behavior from core to extensions including test class
>>>  added
>>> sample with notification panel animation
>>>Change test
>>>
>>> Robert Gruendler (3):
>>>template values need to be functions, change from String to
>>> RawValue
>>>it's perfectly valid to have both a local and a remote source
>>>fixed StalePageException, refs #493
>>>
>>> Tobias Soloschenko (3):
>>>Modern File Upload based on dropzone.js
>>>FileParts are parsed internally / Restored formatting
>>>Fixed Dropzone with new Config
>>>
>>> Daniel Jipa (1):
>>>Update pom.xml
>>>
>>> Guillaume Smet (1):
>>>Add a setter for the Modernizr resource reference
>>>
>>> schrader (1):
>>>allow *.woff2 files
>>>
>>>
>>> Thank You to all contributors!
>>>
>>> Wicket Bootstrap team
>>>
>>>
>>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>