Re: How to add tooltip to ListMultipleChoice.

2012-06-18 Thread Martin Grigorov
Hi, In latest versions of Wicket 1.5 you can override org.apache.wicket.markup.html.form.AbstractChoice#setOptionAttributes() instead of #appendOptionHtml(). On Tue, Jun 19, 2012 at 9:28 AM, praveenhomkar wrote: > Hi Sandeep, > > Notice the solution > >                buffer.append("title=\"");

Re: How to add tooltip to ListMultipleChoice.

2012-06-18 Thread praveenhomkar
Hi Sandeep, Notice the solution buffer.append("title=\""); buffer.append(displayValue + "\" "); in the following code. Let me know if you get a better solution ListMultipleChoice availRolesChoice = new ListMultipleChoice( "selectedRolesToAdd", av

Autocomplete when Converter not available/possible

2012-06-18 Thread Douglas Ferguson
Does anybody have a good example of using the AutoCompleteField when a Converter is not available? For example, I have a UserAccount object. I want to display "Joe Blow" with a photo on my auto suggest. But the string "Joe Blow" isn't enough information for a converter to convert back to a User

Re: onSelectionChanged without refreshing page

2012-06-18 Thread Igor Vaynberg
add AjaxFormComponentUpdatingBehavior instead of overriding wantOnSelectionChangeNotification() -igor On Mon, Jun 18, 2012 at 12:50 PM, Dan12321 wrote: > Hello, > is possible to execute some code when I change selected item in > DropDownChoice without refreshing page? > In onSelectionChanged met

onSelectionChanged without refreshing page

2012-06-18 Thread Dan12321
Hello, is possible to execute some code when I change selected item in DropDownChoice without refreshing page? In onSelectionChanged method I would like to save information that new item was selected and value of new selected item. But when I use code below, it refresh page. It is possible without

Re: radiobuttons in DataView column

2012-06-18 Thread Dan12321
Thanks for help. It works :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/radiobuttons-in-DataView-column-tp4650018p4650043.html Sent from the Users forum mailing list archive at Nabble.com. - To u

Re: No Warning of Missing HTML File

2012-06-18 Thread Martin Grigorov
Hi, Wicket throws an exception when the markup for a markup container is missing. I'm not sure why it didn't do this in your case. On Mon, Jun 18, 2012 at 9:02 PM, Richard W. Adams wrote: > I just spent two and a half hours wondering why my modal dialog would > open, but have no content (just an

No Warning of Missing HTML File

2012-06-18 Thread Richard W. Adams
I just spent two and a half hours wondering why my modal dialog would open, but have no content (just an empty background). I finally discovered the HTML file for the content had its name misspelled (missing a letter). Surprisingly (at least to me), Wicket generated no errors or warning, even t

Re: Wicket 1.4 Remember Login WIth Cookie

2012-06-18 Thread dpmihai
I made it by reading cookies in my AuthenticatedWebApplication in @Override public Session newSession(Request request, Response response) { Session session = super.newSession(request, response); HttpSer

Re: Wicket 1.4 Remember Login WIth Cookie

2012-06-18 Thread Martin Grigorov
See wicket-examples project. It has an example with rememberMe functionality. On Mon, Jun 18, 2012 at 5:16 PM, dpmihai wrote: > Hi. > > My problem is not how to read the cookie. I do not know WHERE to read it, > because my authentication is done from LoginPanel / LoginValidator, and I do > not wa

Re: Wicket 1.4 Remember Login WIth Cookie

2012-06-18 Thread dpmihai
Hi. My problem is not how to read the cookie. I do not know WHERE to read it, because my authentication is done from LoginPanel / LoginValidator, and I do not want my LoginPanel to be shown anymore. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-4-Remember-L

Re: Wicket 1.4 Remember Login WIth Cookie

2012-06-18 Thread Martin Grigorov
CookieUtils (1.5+) is the new name of CookieValuePersister (until 1.4.x) On Mon, Jun 18, 2012 at 5:09 PM, Thomas Götz wrote: > Have a look at org.apache.wicket.util.cookies.CookieUtils#load(final String > key). > > Cheers, >   -Tom > > > --

Re: Wicket 1.4 Remember Login WIth Cookie

2012-06-18 Thread Thomas Götz
Have a look at org.apache.wicket.util.cookies.CookieUtils#load(final String key). Cheers, -Tom - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Wicket 1.4 Remember Login WIth Cookie

2012-06-18 Thread dpmihai
Hi. I have a wicket 1.4 application with a AuthenticatedWebSession with authenticate(String username, String password) method. I use annotations to allow for seeing some components : @AuthorizeAction(action = Action.RENDER, roles = Roles.ADMIN) for example. I want when user logs in to save a cook

Re: Wicket checkbox problem

2012-06-18 Thread xe0nre
Thanks for your reply.I used AjaxCheckBox witch does the job very well. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-checkbox-problem-tp4650022p4650028.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: guestbook application with database update

2012-06-18 Thread jaffa
Graph databases are based on graph theory. Graph databases employ nodes, properties, and edges. Nodes are very similar in nature to the objects that object oriented programmers will be familiar with. Thanks. Regards, http://www.johnbeckwiki.com -- View this message in context: http://apache-wicke

Re: Wicket checkbox problem

2012-06-18 Thread Martin Grigorov
Hi, The problem is that AjaxLink doesn't send the new value to the server. You need either AjaxCheckBox or CheckBox with AjaxFormComponentUpdatingBehavior, or AjaxButton that will submit the whole form. On Sun, Jun 17, 2012 at 4:28 PM, xe0nre wrote: > Hi , > > I have problem getting the value fr