Betr.: Re: Modalwindow with confirm box on close button

2010-10-27 Thread Marieke Vandamme
Hello, Thanks for the response! I already use jquery in my project for other stuff, so I would be a solution. I hoped there was a standard fitted solution in wicket. We override 'getEventHandler' often to override the onclick for a behavior, so why can't there be something like that to overrid

Re: Updating inmethod grid from the server

2010-10-27 Thread Jeremy Thomerson
On Wed, Oct 27, 2010 at 7:00 PM, Adz wrote: > > I tried that, it didn't make any difference. I think the problem is due to > the item reuse strategy ReuseIfModelsEqualStrategy. It has a cache of the > existing items and only compares to see if the new models are in the list > of > the old model

Re: How to combine JSF and Wicket components on the same page

2010-10-27 Thread Alexander Morozov
As far as I know, you can only "combine" wicket and JSP/JSF components by means of HTML frames - but it will be independent "pages" i.e. they can't transparently intercommunicate between each other (wicket <-> JSF). -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How

Re: How to combine JSF and Wicket components on the same page

2010-10-27 Thread Pedro Santos
I'm using frames to that, but I'm not a big fan of this solution. On Wed, Oct 27, 2010 at 9:43 PM, gouthamrv wrote: > > Is there way I can combine a JSF component and a Wicket component on the > same > web page? > > I have a menu bar component created in Wicket and a form component is > created

Re: Bug in DateTimeField related to Daylight Savings Time

2010-10-27 Thread Jim Pinkham
It also won't accept 3/13/2011 2PM. I added a brief comment to the JIRA. Any fix for this? I don't really want 24hr format. -- Jim P.

Re: Updating inmethod grid from the server

2010-10-27 Thread Adz
I tried that, it didn't make any difference. I think the problem is due to the item reuse strategy ReuseIfModelsEqualStrategy. It has a cache of the existing items and only compares to see if the new models are in the list of the old models (which for my case they are), and if they are it uses t

How to combine JSF and Wicket components on the same page

2010-10-27 Thread gouthamrv
Is there way I can combine a JSF component and a Wicket component on the same web page? I have a menu bar component created in Wicket and a form component is created in JSF. I have to combine these two components in one page, is it possible? -- View this message in context: http://apache-wic

Re: Wicket 1.5 and GAE

2010-10-27 Thread Igor Vaynberg
storing pages is part of what the new IPageManager interface does. see DefaultPageManagerProvider and Application.setPageManagerProvider() -igor On Wed, Oct 27, 2010 at 1:00 PM, Ben Tilford wrote: > Has the extension point for setting your page store changed? I believe > newSessionStore() has be

Re: Wicket 1.5 and GAE

2010-10-27 Thread Igor Vaynberg
a purely http session based store is something that will be added sometime soon. do create a jira issue so we wont forget :) -igor On Wed, Oct 27, 2010 at 1:05 PM, Alex Objelean wrote: > > I was expecting to have a PageStore already available, instead of > implementing one from scratch. > Is it

Re: Wicket 1.5 and GAE

2010-10-27 Thread Alex Objelean
I was expecting to have a PageStore already available, instead of implementing one from scratch. Is it possible to add one to the trunk? Thanks! Alex -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-GAE-tp3016185p3016212.html Sent from the Users forum m

Re: Wicket 1.5 and GAE

2010-10-27 Thread Ben Tilford
Has the extension point for setting your page store changed? I believe newSessionStore() has been removed in 1.5 In wicket 1.4 this is what was needed in you Application @Override protected void init() { super.init(); //remove thread monitoring from r

Re: Wicket 1.5 and GAE

2010-10-27 Thread Igor Vaynberg
you will need to provide your own page store, everything else will work i think. -igor On Wed, Oct 27, 2010 at 12:52 PM, Alex Objelean wrote: > > Is there a way to make wicket-1.5 to work with Google App Engine? > > Thanks, > Alex > -- > View this message in context: > http://apache-wicket.1842

Wicket 1.5 and GAE

2010-10-27 Thread Alex Objelean
Is there a way to make wicket-1.5 to work with Google App Engine? Thanks, Alex -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-GAE-tp3016185p3016185.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: WiQuery Dialog when used with Ajax

2010-10-27 Thread Ernesto Reinaldo Barreiro
David, It is very difficult for me to tell what is happening without actually seen your code. If you build a simplified quick-start I might find some time and have a look at it. Regards, Ernesto On Wed, Oct 27, 2010 at 4:58 PM, drf wrote: > > Ernesto > > Thanks for your help - storing the fla

Re: ajaxeditablelabel and setescapemodelstrings to false

2010-10-27 Thread Kurt Sys
Hey all, anyone...? How can I make 'setEscapeModelStrings(false)' work in a AjaxEditablePanel? Thx, Kurt 2010/10/23 Kurt Sys > Hi, > > I'm new to Wicket and I'm trying to get the feel of it. So I tried a small > webapp, using a AjaxEditableMultiLineLabel, which so far worked perfectly. > Howev

Re: AjaxLazyLoad a DropDownChoice inside a Form

2010-10-27 Thread James Carman
You can always use an explicit model instead On Wed, Oct 27, 2010 at 10:40 AM, fachhoch wrote: > > I have  a form which has several form elements.One of them is a > dropdownchoice ,this is very long list and takes time to load.I wanted to > place this inside   AjaxLazyLoadPanel, the problem is  I

AjaxLazyLoad a DropDownChoice inside a Form

2010-10-27 Thread fachhoch
I have a form which has several form elements.One of them is a dropdownchoice ,this is very long list and takes time to load.I wanted to place this inside AjaxLazyLoadPanel, the problem is I have is I use CompoundPropertyModel as model for my form, if I palce the dropdownchoice inside Aja

Re: AjaxSubmitLink problem

2010-10-27 Thread Pedro Santos
use the formCoponent.getRawInput() On Wed, Oct 27, 2010 at 12:24 PM, Anna Simbirtsev wrote: > Hi, > > I am using AjaxSubmitLink and I have setDefaultFormProcessing(false) > to avoid form validation. The only problem is that none of the form > values get submitted. If I need to get the value of on

Re: Make a Palette option mandatory?

2010-10-27 Thread James Carman
You want to make the user select something in the Palette? Have you tried setRequired(true)? On Wed, Oct 27, 2010 at 10:50 AM, Emmanouil Batsis (Manos) wrote: > > I'm probably missing the obvious so any help would be appreciated. > > Manos > >

Make a Palette option mandatory?

2010-10-27 Thread Emmanouil Batsis (Manos)
I'm probably missing the obvious so any help would be appreciated. Manos - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Accessing the cells in a row of a DataTable

2010-10-27 Thread James Carman
Did you end up using a Fragment or did you go with the more heavyweight solution and use a panel? On Wed, Oct 27, 2010 at 9:22 AM, Mark Doyle wrote: > I think I may have circumnavigated this issue by discovering the wonders of > AjaxEditableLabel and AjaxEditableChoiceLabel :D > > I'll post my re

AjaxSubmitLink problem

2010-10-27 Thread Anna Simbirtsev
Hi, I am using AjaxSubmitLink and I have setDefaultFormProcessing(false) to avoid form validation. The only problem is that none of the form values get submitted. If I need to get the value of one of the fields, how do I do that? Thanks, Anna -

Re: Modalwindow with confirm box on close button

2010-10-27 Thread Andrea Del Bene
Hi Marieke, some times ago I've solved a similar problem using JQuery and a plugin called jQuery AOP, but I don't know if exists a simpler solution. I used jQuery AOP with close button which is a standard anchor with class attribute set to 'w_close'. The following script will ask user to conf

Re: SSL Links and buttons

2010-10-27 Thread sonxurxo
I'm using: add(CSSPackageResource.getHeaderContribution("styles/main/layout.css")); literally as I have just written. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/SSL-Links-and-buttons-tp3001634p3015516.html Sent from the Users forum mailing list archive at Nabbl

Re: SSL Links and buttons

2010-10-27 Thread Ernesto Reinaldo Barreiro
It works fine for me for CSS, images, JavaScript and so on: it must be something we are missing on getUrl() method:-( What's the url you are getting for layout.css? I'm including CSS using resource references add(CSSPackageResource.getHeaderContribution(Styles.ESTILOS)); and public class Styles

Re: Accessing the cells in a row of a DataTable

2010-10-27 Thread Mark Doyle
I think I may have circumnavigated this issue by discovering the wonders of AjaxEditableLabel and AjaxEditableChoiceLabel :D I'll post my results when I've tested it. Hopefully this will be helpful to somebody else in the future. On Wed, Oct 27, 2010 at 10:59 AM, Mark Doyle wrote: > Of course,

wicket for highly frequented web

2010-10-27 Thread danisevsky
hello, can inmethod grid be used for public highly frequented Web? And what about another statefull components? I have server with 6-core 2.6 GHz processor, 6GB RAM and I would like to ask you if this configuration is enough for 1-3k users per day. What is your opinion or experiences?

Re: SSL Links and buttons

2010-10-27 Thread sonxurxo
Hi, It does not work for me. For correctly replace the ports I had to modify a bit the SecureForm code, leaving it as follows: @Override protected void onComponentTag(ComponentTag tag) { super.onComponentTag(tag); String action = tag.getAttribute("action")

Re: SSL Links and buttons

2010-10-27 Thread Ernesto Reinaldo Barreiro
Hi, I also have the problem with resources if I mount the application on anything else but "/". Following changes seem to fix it either form "/" and "/xxx": 1-SecureForm public class SecureForm extends Form { private static final long serialVersionUID = 1L; /** * Constr

Problem working on Portlet modes

2010-10-27 Thread rahulparexel
Here i am trying to build a small application, I Have 3 pages View, Edit and Add for my portlet initially i am at View Mode, when i go to the Edit mode from the view mode it displays the Edit Page. On Edit page i have Link, clicking on the link should forward to Add Page and it never happens t

Re: SSL Links and buttons

2010-10-27 Thread Ernesto Reinaldo Barreiro
Hi, I just added https://issues.apache.org/jira/browse/WICKET-3133 Other answers inline: > I tried your code and it's working for me, just with one issue I mention at > the end of this post. I had to make just 3 modifications: the method > resolve() stays like this: > > public IRequestTarget re

Re: Accessing the cells in a row of a DataTable

2010-10-27 Thread Mark Doyle
Of course, here is the entire Panel constructor: private DropDownChoice dropdown; public AjaxDropDownChoicePanel(String id, IModel model, IModel> choicesModel) { super(id); System.out.println("dropdown model = " + model.getObject()); dropdown = new DropDownChoice("dropdown", model, c

Re: Accessing the cells in a row of a DataTable

2010-10-27 Thread Mark Doyle
Of course, here is the entire Panel constructor: private DropDownChoice dropdown; public AjaxDropDownChoicePanel(String id, IModel model, IModel> choicesModel) { super(id); System.out.println("dropdown model = " + model.getObject()); dropdown = new DropDownChoice("dropdown", model, c

Re: Should nested form be multipart if parent is multipart?

2010-10-27 Thread Martin Makundi
Hmm.. when submitting inner form I think all form components are actually submitted! They are available in rawInput values. ** Martin 2010/10/27 Martin Grigorov : > I think it should not. > Here is why: > - when submitting the outer form all form components are submitted, thus > multipart encodin

Updating inmethod grid from the server

2010-10-27 Thread Adz
Hi, I have a requirement whereby I need to periodically poll the db, and refresh my in method grid if anything has changed. I've started out by just trying to get the whole grid to refresh, but I can't seem to get it to work. I'm creating my DefaultDataGrid with an implementation of the IDataSo

Re: Should nested form be multipart if parent is multipart?

2010-10-27 Thread Martin Grigorov
I think it should not. Here is why: - when submitting the outer form all form components are submitted, thus multipart encoding should be used to transfer the "file" components - when submitting the inner form then just its own form components are submitted thus if at least one of the component is

Re: SSL Links and buttons

2010-10-27 Thread sonxurxo
Hi Ernesto, I tried your code and it's working for me, just with one issue I mention at the end of this post. I had to make just 3 modifications: the method resolve() stays like this: public IRequestTarget resolve(RequestCycle rc, RequestParameters rp) { // if (port

Re: problem with Dropdown List

2010-10-27 Thread vov
Hello, Add your DDC to form and use SubmitLink instead Link. HTH [click me] Form form = new Form("form"); add(form); form.add(getDocTypeDropDown("docType")); form.add(executeLink("execute")); private SubmitLink executeLink(String id) { return new SubmitLink(id)