On Tue, Jan 10, 2012 at 1:07 PM, cosmindumy <cosmind...@yahoo.com> wrote: > Hello, > I have 2 questions: > 1. I have the situation that if the user press a button an iframe is open. > The problem is that if the user has some settings in browser, the session is > lost. It creates a new session. Is it possible to set the session to iframe?
See Session.bind(). Call it before as soon as the http session should be created. > > 2. I've got an error on production server and I cannot reproduce on my > development machine. The error says : > woUploadFilesContainer:calculateButton > (path=inputForm:stepTwoUploadFilesContainer:calculateButton) is not visible > org.apache.wicket.WicketRuntimeException: Submit Button > stepTwoUploadFilesContainer:calculateButton > (path=inputForm:stepTwoUploadFilesContainer:calculateButton) is not visible > > Which can be the cause? The submit button is never hidden, but the container > that holds it. Check that any of its parents is not hidden at some point. > I suppose that this is the code where it enters from Form class from wicket > sources : > if (!component.isVisibleInHierarchy()) > { > throw new > WicketRuntimeException("Submit Button " + > > submittingComponent.getInputName() + " (path=" + > > component.getPageRelativePath() + ") is not visible"); > } > > Has anyone any idea? > Thanks! > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Is-it-possible-to-set-the-session-tp4281720p4281720.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