Re: I think it's time for a new book.... Igor and Co ?

2012-07-23 Thread Martin Grigorov
Hi,

You can create tickets in our Jira with attached patches if you don't
know how to use GitHub or you don't want to use it.

If you want to try GitHub:
1) create an account at GitHub (https://github.com/)
2) go to https://github.com/apache/wicket and click the Fork button
3) clone the fork locally: git clone
https://github.com/MY_ACCOUNT/wicket.git (replace MY_ACCIUNT with your
real username.)
4) make your improvements in the code
5) git commit
6) git push
7) go to https://github.com/MY_ACCOUNT/wicket and press the Pull
Request button

That's it.

On Mon, Jul 23, 2012 at 12:27 AM, Paul Bors p...@bors.ws wrote:
 I second improving the current code documentation as I recently migrated a
 mid-size project to Wicket 1.5.7 from 1.3.7 and I've notice myself having to
 dig into the framework implementation more often than normal because of the
 weak or at times wrong JavaDocs.

 I won't mind submitting small patches if someone would point the way. Last I
 asked I was told to submit a push via git hub. Is there a wiki page on how
 to submit such code changes patches to a wicket branch?

 At the same time I do feel that a book explaining the inner works of Wicket
 will also benefit everyone to better understand the framework faster and be
 able to contribute as needed. I remember couple of years ago when I first
 started working with Wicket and how lost I was until after I read two books
 on the subject just to learn how to use it.

 That's my 2 cents :)

 ~ Thank you,
   p...@bors.ws

 -Original Message-
 From: snekse [mailto:sne...@gmail.com]
 Sent: Sunday, July 22, 2012 2:23 PM
 To: users@wicket.apache.org
 Subject: Re: I think it's time for a new book Igor and Co ?

 Putting in my 2 cents.

 I'd rather see more people put in time and effort to submit patches for
 documentation that would reduce the need to dig into the guts of Wicket.

 Now that I'm more familiar with Wicket, I'll try to start doing this.  I
 hope others will too.
 On Jul 22, 2012 10:55 AM, Michael Mosmann mich...@mosmann.de wrote:

 I would put the bell on the cat .. but maybe someone would join..

 Mm:)
 --
 Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail
 gesendet.



 Igor Vaynberg igor.vaynb...@gmail.com schrieb:

 lol. my thoughts exactly :)

 -igor

 On Sun, Jul 22, 2012 at 12:53 PM, Josh Kamau joshnet2...@gmail.com
 wrote:
  Who will bell http://en.wikipedia.org/wiki/Belling_the_cat; the cat ?
 
  On Sun, Jul 22, 2012 at 12:51 PM, Michael Mosmann
 mich...@mosmann.de
 wrote:
 
  Had the same idea...
  --
  Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail
  gesendet.
 
 
 
  mlabs mlabs@gmail.com schrieb:
 
  The title would be ... 'Wicket Internals' ...
  Dive DEEPER into the parts other programmers never reach
  The inner workings of response cycles... what really happens ...
  Oh and esp the Ajax stuff... jQuery integration ... etc...
 
  TIA
 
 
 
  --
  View this message in context:
 
 http://apache-wicket.1842946.n4.nabble.com/I-think-it-s-time-for-a-new
 -book-Igor-and-Co-tp4650687.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
 
 

 _

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




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




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Re: wicket tree + wiquery ajax draggable + droppable behavior

2012-07-23 Thread Chris Turchin
to get this to work, we ended up having to refresh the entire tree
component when the children of a node are loaded, kinda defeating the
purpose of the ajax lazy loading. otherwise, the subnodes are not droppable
targets in the DOM.

still open to better more jq/wiquery-like approach if someone has any ideas.

thanks.
-c

On Wed, Jul 18, 2012 at 7:06 PM, Chris Turchin ch...@turchin.net wrote:

 hi,

 we have a wicket 1.5.7 tree
 (org.apache.wicket.extensions.markup.html.tree) that we are loading
 subnodes into via ajax. the tree supports ajax dnd events using wiquery
 (dnd to copy/move/link page objects into the tree nodes) and it works great
 when the page loads (e.g at level one in the tree).

 when we add subnode (level two) to the tree via ajax (lazy loading nodes),
 these nodes are at first not droppable. after loading an additional
 sublevel (level three), then the nodes of  level two are droppable. the
 level three nodes are not. and this continues down the tree level by
 level... alternately, when the page is refreshed (f5) all nodes in the tree
 are droppable.

 i know that jquery brings a live() function for reacting to ajax-y DOM
 changes. i cannot figure out how this plays into the wiquery context or how
 we can get the ajax nodes to be ui-droppable right after loading.

 advice appreciated. thanks.

 best regards
 -chris

 --
 Chris Turchin ch...@turchin.net




-- 
Chris Turchin ch...@turchin.net


Re: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread sardo

lol. Yes we are indeed tinkering with the custom request mappers. I removed
some code from the code sample above thinking at the time that it wasn't
relevant. Here's the full code (not sure if it helps with the investigation
of the problem or not but since you mentioned it I'll include it anyway): 

mount(new NoVersionMount(/home, HomePage.class));

public class NoVersionMount extends MountedMapper {
public NoVersionMount(String path, Class? extends
IRequestablePage pageClass) {
super(path, pageClass, new PageParametersEncoder());
}

@Override protected void encodePageComponentInfo(Url url,
 PageComponentInfo info)
{
// do nothing so that component info does not get
// rendered in url
}

@Override public Url mapHandler(IRequestHandler
requestHandler) {
if (requestHandler instanceof
ListenerInterfaceRequestHandler) {
return null;
} else {
return super.mapHandler(requestHandler);
}
}
}




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650711.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: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread sardo


BTW. The application has been ported from Wicket 1.4 to 1.5, and it did this
in 1.4 too. So maybe the  request mapping stuff isn't an issue...



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650712.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: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread Martin Grigorov
On Mon, Jul 23, 2012 at 11:35 AM, sardo mark.willi...@power-oasis.com wrote:


 BTW. The application has been ported from Wicket 1.4 to 1.5, and it did this
 in 1.4 too. So maybe the  request mapping stuff isn't an issue...

I think it is the issue.
Remove NoVersionMapper temporarily and see.




 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650712.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




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Re: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread sardo


Good shout Martin that is the problem. I changed it to the following and now
it's working:

mountPage(/home,  HomePage.class);

You know what's coming next don't you...I've now changed the behavior of the
url so it's now:

http://localhost:8080/myApp/home?3

Am I stuck with this or is there a way to remove the version bits from the
url?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650714.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: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread Martin Grigorov
The pageId is for a reason in the url.
Without it Wicket doesn't know which page contains the component (in
your case the AjaxTabbedPanel) and recreates a new page instance, thus
recreates the component too and all your state is lost.

The best way to remove the pageId is to make your page stateless. But
that would mean that you cannot use Wicket Ajax in this page, i.e. you
need to use TabbedPanel instead.

On Mon, Jul 23, 2012 at 12:01 PM, sardo mark.willi...@power-oasis.com wrote:


 Good shout Martin that is the problem. I changed it to the following and now
 it's working:

 mountPage(/home,  HomePage.class);

 You know what's coming next don't you...I've now changed the behavior of the
 url so it's now:

 http://localhost:8080/myApp/home?3

 Am I stuck with this or is there a way to remove the version bits from the
 url?



 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650714.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




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Re: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread sardo


OK thanks Martin. I'll have to raise this as an issue with my management, as
it may have knock on affects. It's a shame the state has to be maintained by
parameters in the url.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650716.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: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread Martin Grigorov
On Mon, Jul 23, 2012 at 12:25 PM, sardo mark.willi...@power-oasis.com wrote:


 OK thanks Martin. I'll have to raise this as an issue with my management, as
 it may have knock on affects. It's a shame the state has to be maintained by
 parameters in the url.

Either suggest something or don't whine ;-)




 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650716.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




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Re: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread sardo


I think I did suggest something, It's a shame the state has to be
maintained by parameters in the url. You are the people responsible for the
Wicket code I'm a customer...oh how annoying customers can be ;-) 



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650718.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: Class that extends AjaxTabbedPanel does not remember selected panel on page refresh

2012-07-23 Thread sardo

Lucky for us there are plenty of others who would charge us the same :-)



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Class-that-extends-AjaxTabbedPanel-does-not-remember-selected-panel-on-page-refresh-tp4650642p4650720.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: Wicket jQuery Validator integration

2012-07-23 Thread kbhuvi07
Hi,

I am more interested to know about 'Wicket jQuery Validator integration' .
Could you please post some more information with example. That would be
really great!

Thanks in advance! :)




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-jQuery-Validator-integration-tp4390824p4650721.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



getChoices from ListMultipleChoice

2012-07-23 Thread cosmindumy
Hi,
I'm trying to get the selected options from a ListMultipleChoice but didn't
find a method to get a collection of selected options. 
I'm using the getValue method that return a String of choices separated by ;
but I'm sure is not right. 
What method should I use? 
Thanks. 



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/getChoices-from-ListMultipleChoice-tp4650725.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: getChoices from ListMultipleChoice

2012-07-23 Thread Thomas Matthijs
On Mon, Jul 23, 2012 at 3:53 PM, cosmindumy cosmind...@yahoo.com wrote:
 Hi,
 I'm trying to get the selected options from a ListMultipleChoice but didn't
 find a method to get a collection of selected options.
 I'm using the getValue method that return a String of choices separated by ;
 but I'm sure is not right.
 What method should I use?

getModel(), getModelObject()

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



Re: getChoices from ListMultipleChoice

2012-07-23 Thread Martin Grigorov
getModel(Object)

On Mon, Jul 23, 2012 at 4:53 PM, cosmindumy cosmind...@yahoo.com wrote:
 Hi,
 I'm trying to get the selected options from a ListMultipleChoice but didn't
 find a method to get a collection of selected options.
 I'm using the getValue method that return a String of choices separated by ;
 but I'm sure is not right.
 What method should I use?
 Thanks.



 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/getChoices-from-ListMultipleChoice-tp4650725.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




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Re: getChoices from ListMultipleChoice

2012-07-23 Thread Igor Vaynberg
(Collection)getModelObject()

-igor

On Mon, Jul 23, 2012 at 4:53 PM, cosmindumy cosmind...@yahoo.com wrote:
 Hi,
 I'm trying to get the selected options from a ListMultipleChoice but didn't
 find a method to get a collection of selected options.
 I'm using the getValue method that return a String of choices separated by ;
 but I'm sure is not right.
 What method should I use?
 Thanks.



 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/getChoices-from-ListMultipleChoice-tp4650725.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


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



Re: getChoices from ListMultipleChoice

2012-07-23 Thread cosmindumy
Hi again,
Sorry. I forgot to say that I tried this and I get null. 
I thing we change something in our framework and the wicket doesn't handle
properly the multiple choice. 
Does anyone has an idea what can be? 



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/getChoices-from-ListMultipleChoice-tp4650725p4650730.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: getChoices from ListMultipleChoice

2012-07-23 Thread Igor Vaynberg
:/

-igor

On Mon, Jul 23, 2012 at 4:56 PM, Martin Grigorov mgrigo...@apache.org wrote:
 getModel(Object)

 On Mon, Jul 23, 2012 at 4:53 PM, cosmindumy cosmind...@yahoo.com wrote:
 Hi,
 I'm trying to get the selected options from a ListMultipleChoice but didn't
 find a method to get a collection of selected options.
 I'm using the getValue method that return a String of choices separated by ;
 but I'm sure is not right.
 What method should I use?
 Thanks.



 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/getChoices-from-ListMultipleChoice-tp4650725.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




 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

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


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



Re: Wicket Layout Design

2012-07-23 Thread Jesse Long

On 19/07/2012 17:01, divad91 wrote:

Hi,

I am new to Wicket. I'm working on a multi province web application.
The goal is to use the same web application for all provinces.
CSS and some business logic will differ for each province.

I want to know the best ways to instantiate my layout components in my base
page.
(Using markup inheritance for page composition)

* Each layout component could be subclassed.

public  class BasePage extends WebPage {
public BasePage() { 
// Want to know the best way to instanciate
// HeaderXXX or HeaderYYY for example base on the province.
add(new Header());  
add(new SideBar());
add(new Footer());
}
}

My BasePage is in a common maven module.
Each province subclassed pages and components are in a different maven
module.

I read that using factories to instanciate components was not a good idea
(http://blog.comsysto.com/2011/05/09/apache-wicket-best-practices-2/)
Do you have a better approach to accomplish this?


Hi David,

Generally, you would use (potentially abstract) factory methods to 
create you overridable components.


So:

public abstract class BasePage
{
public BasePage(){}

// these are the factory methods to create the components.
// I like to use the prefix createNew, you can change.

protected abstract Component createNewHeader(String componentId);

protected abstract Component createNewSideBar(String componentId);

protected abstract Component createNewFooter(String componentId);

// Then add the components in onInitialize().
// onInitialize() is much under used. It allows us to call overridden method
// outside of the constructor.

@Override
public void onInitialize()
{
super.onInitialize();

add(createNewHeader(header));
add(createNewSideBar(sideBar));
add(createNewFooter(footer));
}
}

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



Re: Wicket Layout Design

2012-07-23 Thread divad91
Thanks Jesse for your reply.

The only drawback of this method is that I will need to override theses 3
methods (createNewHeader, createNewFooter...) in all pages that extends
BasePage.java.Ideally I would like to avoid copying code but I think it's
the cleaner way to override layout components.

Thanks again !
David



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-Layout-Design-tp4650630p4650734.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: Wicket Layout Design

2012-07-23 Thread Paul Bors
You can try using a TransparentWebMarkupContainer so that you won't always
have to add them to the page hierarchy and only override your factory
methods when you need to.

For a code-snippet example see this thread:
http://apache-wicket.1842946.n4.nabble.com/1-5-6-0-dynamically-named-CSS-JS-
amp-images-resources-tc4650635.html#a4650638

~ Thank you,
  Paul Bors

-Original Message-
From: divad91 [mailto:diva...@hotmail.com] 
Sent: Monday, July 23, 2012 12:40 PM
To: users@wicket.apache.org
Subject: Re: Wicket Layout Design

Thanks Jesse for your reply.

The only drawback of this method is that I will need to override theses 3
methods (createNewHeader, createNewFooter...) in all pages that extends
BasePage.java.Ideally I would like to avoid copying code but I think it's
the cleaner way to override layout components.

Thanks again !
David



--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-Layout-Design-tp4650630p46
50734.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



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



RE: I think it's time for a new book.... Igor and Co ?

2012-07-23 Thread Paul Bors
Thanks Martin,

That's quite helpful, I'll sign up today :)

~ Thank you,
  Paul Bors

-Original Message-
From: Martin Grigorov [mailto:mgrigo...@apache.org] 
Sent: Monday, July 23, 2012 3:15 AM
To: users@wicket.apache.org
Subject: Re: I think it's time for a new book Igor and Co ?

Hi,

You can create tickets in our Jira with attached patches if you don't know how 
to use GitHub or you don't want to use it.

If you want to try GitHub:
1) create an account at GitHub (https://github.com/)
2) go to https://github.com/apache/wicket and click the Fork button
3) clone the fork locally: git clone
https://github.com/MY_ACCOUNT/wicket.git (replace MY_ACCIUNT with your real 
username.)
4) make your improvements in the code
5) git commit
6) git push
7) go to https://github.com/MY_ACCOUNT/wicket and press the Pull Request 
button

That's it.

On Mon, Jul 23, 2012 at 12:27 AM, Paul Bors p...@bors.ws wrote:
 I second improving the current code documentation as I recently 
 migrated a mid-size project to Wicket 1.5.7 from 1.3.7 and I've notice 
 myself having to dig into the framework implementation more often than 
 normal because of the weak or at times wrong JavaDocs.

 I won't mind submitting small patches if someone would point the way. 
 Last I asked I was told to submit a push via git hub. Is there a wiki 
 page on how to submit such code changes patches to a wicket branch?

 At the same time I do feel that a book explaining the inner works of 
 Wicket will also benefit everyone to better understand the framework 
 faster and be able to contribute as needed. I remember couple of years 
 ago when I first started working with Wicket and how lost I was until 
 after I read two books on the subject just to learn how to use it.

 That's my 2 cents :)

 ~ Thank you,
   p...@bors.ws

 -Original Message-
 From: snekse [mailto:sne...@gmail.com]
 Sent: Sunday, July 22, 2012 2:23 PM
 To: users@wicket.apache.org
 Subject: Re: I think it's time for a new book Igor and Co ?

 Putting in my 2 cents.

 I'd rather see more people put in time and effort to submit patches 
 for documentation that would reduce the need to dig into the guts of Wicket.

 Now that I'm more familiar with Wicket, I'll try to start doing this.  
 I hope others will too.
 On Jul 22, 2012 10:55 AM, Michael Mosmann mich...@mosmann.de wrote:

 I would put the bell on the cat .. but maybe someone would join..

 Mm:)
 --
 Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail 
 gesendet.



 Igor Vaynberg igor.vaynb...@gmail.com schrieb:

 lol. my thoughts exactly :)

 -igor

 On Sun, Jul 22, 2012 at 12:53 PM, Josh Kamau joshnet2...@gmail.com
 wrote:
  Who will bell http://en.wikipedia.org/wiki/Belling_the_cat; the cat ?
 
  On Sun, Jul 22, 2012 at 12:51 PM, Michael Mosmann 
 mich...@mosmann.de
 wrote:
 
  Had the same idea...
  --
  Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail 
  gesendet.
 
 
 
  mlabs mlabs@gmail.com schrieb:
 
  The title would be ... 'Wicket Internals' ...
  Dive DEEPER into the parts other programmers never reach
  The inner workings of response cycles... what really happens ...
  Oh and esp the Ajax stuff... jQuery integration ... etc...
 
  TIA
 
 
 
  --
  View this message in context:
 
 http://apache-wicket.1842946.n4.nabble.com/I-think-it-s-time-for-a-ne
 w
 -book-Igor-and-Co-tp4650687.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
 
 

 _

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




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




--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



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



wicket:treetable with checkbox column

2012-07-23 Thread lxw_first
Hello,

I have a treetable with two column.one column is PropertyTreeColumn,other
column is CheckColumn,similar with the PropertyTreeColumn.After I selected
or not selected checkbox in the treetable,i clicked button,then save all the
checkbox value.But now i don't know how to get checkbox value.

Can anyone tell me how to achieve this.
thanks.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-treetable-with-checkbox-column-tp4650737.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: wicket:treetable with checkbox column

2012-07-23 Thread Sven Meier

Are you using CheckGroup/Check or Checkbox?

Sven

On 07/23/2012 07:28 PM, lxw_first wrote:

Hello,

I have a treetable with two column.one column is PropertyTreeColumn,other
column is CheckColumn,similar with the PropertyTreeColumn.After I selected
or not selected checkbox in the treetable,i clicked button,then save all the
checkbox value.But now i don't know how to get checkbox value.

Can anyone tell me how to achieve this.
thanks.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-treetable-with-checkbox-column-tp4650737.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




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



JCrop integration for wicket

2012-07-23 Thread procrastinative.developer
Hello, 

If anyone want to use Jcrop (http://deepliquid.com/content/Jcrop.html -
Image cropping tool written in Js) with wicket application please try my
first standalone component:
https://github.com/procrastinativedeveloper/jcrop-wicket-integration

This project is based on wicket6-beta3. 
Examples showing api usage etc. (jetty:run)

This is my *first* open source contribiution so I will be really glad if
some specialist take a look on the code and give me advices which part 
could be done better. 

I use JCrop version 0.9.9  because, I found some issues on ie9 with 0.9.10. 
*My integration allow to:*
-pick up part of given image,
-configure opacity and mask color,
-scale widht or height, 
-generate preview,
-select some area on start,
-setting aspect ratio of selection

*TODO:*
-give possibility to call j_api from serverside
-fluent interfaces on settings,
-move hardcoded js to template files, 
-documentation on GitHub





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/JCrop-integration-for-wicket-tp4650740.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: JCrop integration for wicket

2012-07-23 Thread procrastinative.developer
I forgot mention that I based my work on
https://code.google.com/p/londonwicket/source/browse/trunk/Apps/Gallery/src/main/java/org/londonwicket/cropper/CroppableImage.java
(very good code)

Funniest thing is that I wrote  this component in 2 days and next 2 days I
fought with IE issues :). 

Code was tested on Google Chrome, Firefox 15, IE 9.  



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/JCrop-integration-for-wicket-tp4650740p4650742.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: wicket:treetable with checkbox column

2012-07-23 Thread lxw_first
checkbox.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-treetable-with-checkbox-column-tp4650737p4650743.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: wicket:treetable with checkbox column

2012-07-23 Thread Sven Meier
Each checkbox writes a boolean into your tree's node.
You'll have to loop through all nodes and check which one has its property
set.

If that's to tedious for you, you should use CheckGroup/Check. See FormInput
in wicket-examples.

Sven



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-treetable-with-checkbox-column-tp4650737p4650744.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