I am relatively new to Wicket and currently using Wicket 1.4.2 with Tomcat
6.0.
I would like to understand the recommended way of handling static images
with Wicket in production. Suppose I have the following image:
img src=/images/logo.gif alt=Company Logo /
This image is static and do not
I am using Wicket 1.4.2 and would like to be able to render raw HTML pages
which are stored in an existing database. I saw that other people attempted
doing
thishttp://markmail.org/message/sleaiygl3buwgqcn#query:AutoComponentPanel+page:1+mid:sleaiygl3buwgqcn+state:resultsand
am wondering if there
I am using AjaxEditableMultiLineLabel to allow the user to enter a Velocity
template in the editor and then preview the bound template content in the
label.
I created a TemplateConverter class and overrode
AjaxEditableMultiLineLabel#getConverter() method to return an instance of
as AjaxEditableLabel does - see #newEditor().
You should create a RFE in JIRA.
Sven
Alec Swan wrote:
I am using to allow the user to enter a Velocity
template in the editor and then preview the bound template content in
the
label.
I created a TemplateConverter class
I have a page with a form and AjaxSubmitLink in the form.
I call WicketTester#clickLink(pathToLink, true) to test the code in
AjaxSubmitLink#onSubmit(). The call returns with no errors, but
AjaxSubmitLink#onSubmit() is never called.
Here is a code sample:
I just upgraded from Wicket 1.4.2 to Wicket 1.4.5 and started receiving the
following exceptions from my Unit test.
Is this a known issue or do I need to change my test?
Thanks.
org.apache.wicket.WicketRuntimeException: *There is no application attached
to current thread main*
at
() {
addComponentInstantiationListener(new
SpringComponentInjector(this, new AnnotApplicationContextMock(), false));
}
};
Alec
On Mon, Dec 28, 2009 at 11:01 AM, Alec Swan alecs...@gmail.com wrote:
I just upgraded from Wicket 1.4.2 to Wicket 1.4.5 and started receiving the
following exceptions from
(AjaxRequestTarget target, Form
form) method?
Thanks,
Alec
@L
On Sun, Dec 27, 2009 at 9:44 AM, Alec Swan alecs...@gmail.com wrote:
I have a page with a form and AjaxSubmitLink in the form.
I call WicketTester#clickLink(pathToLink, true) to test the code in
AjaxSubmitLink#onSubmit(). The call returns
I have a form which contains a DataView where each row has a checkbox.
The form also contains a submit link which deletes the rows with
selected checkboxes from the database.
The following code uses WicketTester to test the form behavior. The
checkboxes are selected correctly before
, 2009 at 11:30 AM, Alec Swan alecs...@gmail.com wrote:
I have a form which contains a DataView where each row has a checkbox.
The form also contains a submit link which deletes the rows with
selected checkboxes from the database.
The following code uses WicketTester to test the form behavior
I am using Wicket to implement an image component which behaves
similarly to AjaxEditableLabel.
When the component is rendered it should look like a regular image
img src=../. When the user clicks on the image, it should display
a file upload component which will allow the user to replace the
Thanks Juan, I will give this a try.
On Fri, Jan 8, 2010 at 8:39 PM, Juan Carlos Garcia M.
jcgarc...@gmail.com wrote:
There isn't such component in wicket to achieve that, but it should be fairly
easy to build i.e:
1-Having a Panel with the FileUpload that you want
2-Having a Panel with the
Juan's approach works, but I found myself reimplementing some of
AxajEditableLabel event-handling code.
So, I tried another approach where I create a panel with two fragments
pictureFragment and uploadFragment. I then add an
AxajEditableLabel to the panel which would ideally override
newLabel(..)
I use Wicket, Spring and wicket-spring extensions. Spring
configuration loads properties from config/env.properties file using
PropertyPlaceholderConfigurer. I would like to add more properties to
this file and read them from my Wicket application class. I tried to
inject a Spring Resource using
bean (because it *is* just another Spring bean)
On Sun, Feb 7, 2010 at 11:29 PM, Alec Swan alecs...@gmail.com wrote:
I use Wicket, Spring and wicket-spring extensions. Spring
configuration loads properties from config/env.properties file using
PropertyPlaceholderConfigurer. I would like to add
that represents the properties and
let spring fill those in via the property configurer. then inject the
bean and you are done.
-igor
On Mon, Feb 8, 2010 at 8:18 AM, Alec Swan alecs...@gmail.com wrote:
Igor, were you suggesting the same approach as James did?
If so, I am already using
on that page.
On Feb 8, 2010, at 5:28 PM, Alec Swan wrote:
Igor, how do you inject the configuration bean in the Wicket
application? Do you use
http://cwiki.apache.org/WICKET/spring.html#Spring-ApplicationObjectApproach
approach?
Thanks,
Alec
On Mon, Feb 8, 2010 at 10:33 AM, Igor Vaynberg
annotations:
InjectorHolder.getInjector().inject(someNonComponentObject);
On Mon, Feb 8, 2010 at 8:46 PM, Alec Swan alecs...@gmail.com wrote:
Andrew, I use @SpringBean annotations in Wicket components. How do you
use annotation-based approach to inject dependencies in the Wicket
application
of services.
Thanks!
Alec
On Mon, Feb 8, 2010 at 7:08 PM, Alec Swan alecs...@gmail.com wrote:
Thanks James, this is awesome! This is what I ended up doing in my
Wicket WebApplication object:
@SpringBean(name = myConfiguration)
private MyConfiguration myConfiguration;
protected void init
I noticed that when the user clicks on AjaxEditableLabel to edit the text
the width of the edited area is reduced to 30 or so characters.
How can I change the width of AjaxEditableLabel editor?
Thanks.
I use @SpringBean to wire service classes in my Wicket pages and it works great.
My service classes have dependencies on DAO classes. I am currently
wiring DAO classes into service classes adding setters for them and
adding them in the service classes and also specifying DAOs as
property elements
, 2010 at 11:38 AM, Alec Swan alecs...@gmail.com wrote:
I use @SpringBean to wire service classes in my Wicket pages and it works
great.
My service classes have dependencies on DAO classes. I am currently
wiring DAO classes into service classes adding setters for them and
adding them
We have WEB-INF/classes/log4j.properties file which instructs log4j to log
to ${catalina.home}/logs/${logFileName}.log file. This works great when I
deploy the web app in Tomcat.
However, I would like the logs to be written to a different file when I run
my tests that use WicketTester and start
at 3:01 PM, Alec Swan alecs...@gmail.com wrote:
We have WEB-INF/classes/log4j.properties file which instructs log4j to
log
to ${catalina.home}/logs/${logFileName}.log file. This works great when I
deploy the web app in Tomcat.
However, I would like the logs to be written to a different
environment (dev, test, prod). Perhaps that
would help.
On Fri, Mar 19, 2010 at 3:01 PM, Alec Swan alecs...@gmail.com wrote:
We have WEB-INF/classes/log4j.properties file which instructs log4j to
log
to ${catalina.home}/logs/${logFileName}.log file. This works great
when I
deploy the web
trigger binding of the new values in form fields to the model?
Thanks
On Mon, Dec 28, 2009 at 2:17 PM, Alec Swan alecs...@gmail.com wrote:
I unsuccessfully tried several different ways to invoke the AjaxSubmitLink
from my test method.
1. formTester.submit(submitButton) does not call
I found a way to submit a form with Ajax link in a file attached to Wicket
bug #2783:
tester.executeAjaxEvent(path:to:ajax:link, onclick)
I hope there is a more graceful way to do this.
On Wed, May 19, 2010 at 10:38 AM, Alec Swan alecs...@gmail.com wrote:
I'd like to resurrect this old tread
Hello,
I am working with a web designer who delivers a single HTML page which
should display a panel with arbitrary number of tabs. In the HTML the
tabbed panel consists of a ul list of links and the content of the
first tab. The content for the remaining tabs is loaded from the
database at
PM, Jeremy Thomerson
jer...@wickettraining.com wrote:
On Sun, Jun 13, 2010 at 8:54 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
I am working with a web designer who delivers a single HTML page which
should display a panel with arbitrary number of tabs. In the HTML the
tabbed panel consists
fragments when tabs are selected.
I am not sure if it's legal to create multiple Fragment objects that
use the same fragment markup. Any thoughts?
Thanks
On Sun, Jun 13, 2010 at 11:02 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
If I understood your suggestion correctly it involves to markup
=component;
public WrapperPanel (wrappedComponent){
add(wrappedComponent);
}
}
On Mon, Jun 14, 2010 at 2:14 AM, Alec Swan alecs...@gmail.com wrote:
I wonder if I can use Wicket fragments for this. My page markup will
contain a single fragment for the tab content. At runtime I
and presentation rules.
On Mon, Jun 14, 2010 at 12:16 PM, Igor Vaynberg
igor.vaynb...@gmail.comwrote:
you can simply use javascript tabs. all js frameworks provide them.
-igor
On Sun, Jun 13, 2010 at 6:54 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
I am working with a web designer
?
On Mon, Jun 14, 2010 at 1:39 PM, Alec Swan alecs...@gmail.com wrote:
Pedro, could you clarify your last message?
I also came across wicket:container. I don't think it is possible to
swap container components at runtime because they don't have HTML ids
and hence cannot be reference via AJAX
Hello,
I have a form which allows a user to upload a file. The form is
patterned after upload Wicket example.
If the file being uploaded will overwrite an existing file I need to
prompt the user if they want to replace the existing file or not.
What's the best way to implement this
Hello,
If I understand your approach correctly, then the user would have to
click Upload button again after being redirected MyPage to
ConfirmSavePage, which is not desirable.
I would like to implement the following interaction:
1. User clicks Upload button and form submission request is sent
Hello,
I am using Wicket 1.4.5 and I need to read a property from my application
resource file from a Quartz background thread which is scheduled to execute
periodically. When I use StringResourceModel from the background thread I
get an exception saying There is no application attached to
/
On Mon, Aug 9, 2010 at 4:57 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
I am using Wicket 1.4.5 and I need to read a property from my application
resource file from a Quartz background thread which is scheduled to
execute
periodically. When I use StringResourceModel from
Hello,
In my app I need to access a certain property (application.url) from Wicket
page as well as Quartz background threads. Is there a way to make
properties/resources loaded by Spring accessible through Wicket
StringResourceModel?
Thanks,
Alec
On Mon, Aug 9, 2010 at 4:46 PM, Alec Swan alecs
I ended up loading Wicket application properties files using Spring's
PropertyPlaceholderConfigurer and then autowiring it in the class which is
called by a Quartz thread.
Thank you everybody for your help.
On Tue, Aug 10, 2010 at 2:14 PM, rmattler robertmatt...@gmail.com wrote:
Wow just
Hello,
I would like to customize AjaxEditableLabel so that every time it is
rendered it has a letter X in the right-upper corner which allows the
user to remove the label from the screen. I would also like to
customize other components, such as panels, the same way. So, ideally
the solution
;
close.style.right = 0;
close.onclick = function(){target.style.display = 'none'};
target.appendChild(close);
With Wicket, you can create some behavior that calls this javascript
for the target component and then add this behaviour on those
component you want.
On Mon, Aug 30, 2010 at 11:51 PM, Alec Swan
Hello,
I would like to have an upload form
(org.apache.wicket.markup.html.form.Form) to prompt the user to
confirm their upload decision. I tried attaching a new
AjaxEventBehavior(onsubmit) to the form, but it does not get called.
How can I prompt the user when they initiate the upload?
Thanks,
Hello,
A lot of times the users visit my web site without logging in. Currently,
their session expire after a certain timeout. How can I prevent guest
session from expiring?
Also, where do I specify the page where the logged-in users get redirected
when their sessions expire?
Thanks
, Jeremy Thomerson jer...@wickettraining.com
wrote:
On Tue, Sep 14, 2010 at 5:32 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
A lot of times the users visit my web site without logging in. Currently,
their session expire after a certain timeout. How can I prevent guest
session from expiring
:32 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
A lot of times the users visit my web site without logging in. Currently,
their session expire after a certain timeout. How can I prevent guest
session from expiring?
Also, where do I specify the page where the logged-in users get
().setMaxInactiveInterval(seconds);
**
Martin
2010/9/15 Jeremy Thomerson jer...@wickettraining.com:
On Tue, Sep 14, 2010 at 10:51 PM, Alec Swan alecs...@gmail.com wrote:
Isn't there a way to instruct Wicket not to create a session if the user
is
not logged in?
a session will always
Hello,
I have a page which contains a DropDownChoice menu and a table. The
menu has AjaxFormComponentUpdatingBehavior which causes the table to
refresh. The page is actually working correctly, but I am having
problems with a test.
The test does the following:
1. Renders the page
2. Verifies that
at 6:24 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
I have a page which contains a DropDownChoice menu and a table. The
menu has AjaxFormComponentUpdatingBehavior which causes the table to
refresh. The page is actually working correctly, but I am having
problems with a test.
The test does
Well, the table gets correctly refreshed through an AJAX event, it's just
that WicketTester can't find any rows in the table after that.
Is this a known WicketTester bug?
On Wed, Sep 22, 2010 at 12:41 AM, Wilhelmsen Tor Iver toriv...@arrive.nowrote:
I remember reading somewhere that using
for this?
Thanks
On Wed, Sep 22, 2010 at 10:43 AM, Alec Swan alecs...@gmail.com wrote:
Well, the table gets correctly refreshed through an AJAX event, it's just
that WicketTester can't find any rows in the table after that.
Is this a known WicketTester bug?
On Wed, Sep 22, 2010 at 12:41 AM, Wilhelmsen
#setMaxInactiveInterval%28int%29
On Sat, Sep 18, 2010 at 5:30 PM, Alec Swan alecs...@gmail.com wrote:
Are there any methods I can override in Wicket WebSession to make it
never
expire?
On Tue, Sep 14, 2010 at 10:25 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
You can set session
PM, Alec Swan alecs...@gmail.com wrote:
Hello,
I decided to set MaxInactiveInterval to 0 in onAfterRender in order to
prevent guest sessions from expiring. So, my code looks like this:
@Override
protected void onAfterRender() {
super.onAfterRender
Hello,
Our production server stopped processing AJAX requests today. I looked
in the log files and noticed a After 1 minute the Pagemap null is
still locked.
The exception stack trace is shown below followed by a dump of the
thread that was blocking the page.
We are using Wicket 1.4.2, Tomcat
has done to get in
that state.
Martijn
On Tue, Oct 26, 2010 at 2:52 AM, Alec Swan alecs...@gmail.com wrote:
Hello,
Our production server stopped processing AJAX requests today. I looked
in the log files and noticed a After 1 minute the Pagemap null is
still locked.
The exception stack
Hello,
We upgraded our app to use Wicket 1.4.13. After that we started getting
sporadic WicketRuntimeExceptions about components not being found on a some
pages. We made changes to some, but not all pages, which exhibit this
behavior. Has anyone else noticed this with 1.4.14? Any ideas on how to
?
Thanks
On Sat, Nov 20, 2010 at 5:59 PM, Alec Swan alecs...@gmail.com wrote:
I opened JIRA issue 3181:
https://issues.apache.org/jira/browse/WICKET-3181. I attached a ZIP
file with complete source to reproduce the issue and instructions on
how to run it (I am sure you didn't need them
using the Back button.
However, in my case the Back button is not used, instead the DataView
is refreshed using Ajax.
Could anybody provide any suggestions on how to fix this problem?
Thanks
On Tue, Nov 23, 2010 at 10:58 AM, Alec Swan alecs...@gmail.com wrote:
Hello,
We upgraded our app to use
it so we can better understand
it
-igor
On Tue, Nov 23, 2010 at 9:38 PM, Alec Swan alecs...@gmail.com wrote:
I noticed that all component not found on page exceptions were
thrown for AjaxEditableLabel and AjaxLink components located inside of
a DataView.
It seems like other people had
Done. JIRA 3191.
Thanks
On Tue, Nov 23, 2010 at 10:39 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
file another issue with a new quickstart.
-igor
On Tue, Nov 23, 2010 at 8:45 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
Thank you for promptly fixing the problem with the upload
?
Thanks,
Alec
On Wed, Nov 24, 2010 at 10:29 AM, Alec Swan alecs...@gmail.com wrote:
Done. JIRA 3191.
Thanks
On Tue, Nov 23, 2010 at 10:39 PM, Igor Vaynberg igor.vaynb...@gmail.com
wrote:
file another issue with a new quickstart.
-igor
On Tue, Nov 23, 2010 at 8:45 PM, Alec Swan alecs
preventing the user from entering or
clicking nested form elements. Is this possible?
Thanks,
Alec
On Mon, Nov 29, 2010 at 9:56 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
yeah, just add it to the outer form :)
-igor
On Mon, Nov 29, 2010 at 8:52 AM, Alec Swan alecs...@gmail.com wrote
Hello,
I have a modal page which allows the user to clone a tab.
I would like to reload the modal page after this. Is there an exception I
can throw to cause the modal page to get reloaded?
Thanks,
Alec
Hello,
I have a website using Wicket 1.4.14. There is a link which pops up a
window/page generated by Wicket. The popup works great in Firefox and
Chrome, but in IE I get the following error:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
Hello,
Is there a way to build a DropDown list each option of which has a label and
a checkbox. The idea is that the user will use this component to assign
tags. Very similar to what Google labels dropdown. It would be even better
if somebody could point an existing component that does this :)
Hello,
I would like to add credit card processing form to many different pages in
my application. However, I don't know which pages it will be added to and it
is up to the web designer to decide.
I would like to allow the web designer to be able to put div
wicket:id=creditCardForm/ anywhere in
Thank you everybody for the clever ideas.
msj121, I just started building the credit card form and was planning to
just use Authorize.net APIs. This is not directly related to Wicket, so we
should take this discussion off this forum. Email me directly if you have
some thoughts or just wanted to
Hello,
I have a common.js file which has a JavaScript function
getProjectPageUrl(projectId) which should return the URL to the Wicket
ProjectPage object which displays properties of the project with the
specified projectId. I am not sure if this is relevant, but ProjectPage is
mounted in my
Hello,
I have a form which calls the following statement in its onSubmit() method:
setResponsePage(new MyPage(pageParameters, extraParam1, extraParam2))
NOTE: The MyPage construtor calls WebPage constructor as
super(pageParameters) and then adds extraParam1 and extraParam2 to
Hello,
I have a problem with my tests writing too much stuff in the session
store located in target/work directory. This problem was discussed in
this thread
http://markmail.org/thread/aaa2ub2ltcuhpqub#query:wicketmockservlet%20file%20store+page:1+mid:p3gf5wq75qi64lsp+state:results
.
I followed
Martin,
Here is an example:
target\work\WicketMockServlet-filestore\4996\3143\f107dd96_6e29_4676_a998_767fcb204a0c\pm-null
Thanks
On Sun, Mar 13, 2011 at 3:00 PM, Martin Grigorov mgrigo...@apache.org wrote:
On Sat, Mar 12, 2011 at 2:29 AM, Alec Swan alecs...@gmail.com wrote:
Hello,
I have
Hello,
We have a Quartz thread which periodically sends emails with a link to
a Wicket page. Calling RequestCycle.get().urlFor(Class,
PageParameters) doesn't work because the thread is not a part of
Wicket request cycle. Is there a way to ask Wicket to generate the URL
in this case?
Thanks
Thanks. I ended up constructing the URL manually as you suggested.
On Mon, Mar 21, 2011 at 1:29 AM, Wilhelmsen Tor Iver toriv...@arrive.no wrote:
We have a Quartz thread which periodically sends emails with a link to
a Wicket page. Calling RequestCycle.get().urlFor(Class,
PageParameters)
Hello,
I just updated my Firefox to 4.0 and noticed that all modal windows on
my website no longer work. When I click a link to open a modal window
I get redirected to an invalid page.
This is similar to issue 2207
https://issues.apache.org/jira/browse/WICKET-2207. I don't have
privileges to
://:/
I am on Firefox 4.0, Windows 7.
Alec
On Mon, Apr 11, 2011 at 12:57 AM, Martin Grigorov mgrigo...@apache.org wrote:
http://wicketstuff.org/wicket14/ajax/modal-window works for me with FF4
please create a new ticket with a quickstart
On Sun, Apr 10, 2011 at 8:30 PM, Alec Swan alecs
I just double-checked it and Show modal dialog with a PAGE link on
http://wicketstuff.org/wicket14/ajax/modal-window redirects me to
http:// but Show modal dialog with PANEL works as expected.
On Mon, Apr 11, 2011 at 12:24 PM, Gabriel Landon glan...@piti.pf wrote:
I'm using wicket =1.4.15 with
Hello,
I have a button on a page which submits a Wicket form by calling
form.submit() using straight JavaScript. If the form submitted without
errors, then the JavaScript code should set a cookie. I am looking for
some ideas on how to detect if the form was submitted successfully or
not in
));
}
}
On Thu, Apr 14, 2011 at 1:25 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
I have a button on a page which submits a Wicket form by calling
form.submit() using straight JavaScript. If the form submitted without
errors, then the JavaScript code should set a cookie. I am looking for
some
after submitting the
form.
On Thu, Apr 14, 2011 at 6:25 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
I have a button on a page which submits a Wicket form by calling
form.submit() using straight JavaScript. If the form submitted without
errors, then the JavaScript code should set
FYI, I had to disable Yahoo! Toolbar FireFox 4.0 add-on to get modal
windows to work.
On Mon, Apr 11, 2011 at 12:47 PM, Isammoc OFF isam...@gmail.com wrote:
I agree with Matthias :
FF4 for windows (under windows 7 x32)
All ModalWindows work perfectly
But a GET request for http://:/; is sent
Hello,
I have a page with multiple tabs which I implemented using AJAX-based
panel-swapping approach. The CSS files are injected in the constructor
of each panel using
add(CSSPackageResource.getHeaderContribution(resourceRef, media)).
This works for the first tab rendered. However, when another
Hello,
I have a component tree where some components contribute CSS. I have
inline CSS for the parent component that should be contributed last in
order to override CSS of child components.
Children components contribute their CSS in their constructors using
add(new StyleSheetReference(cssId,
(depending on your intentions), to allow them to cascade.
-Clint
On Sat, Apr 23, 2011 at 5:05 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
I have a component tree where some components contribute CSS. I have
inline CSS for the parent component that should be contributed last in
order
Hello,
I have a custom component which extends AjaxEditableMultiLineLabel
with a model that sometimes throws a RuntimeException in
Model#getObject() when component is being rendered. However, the
message does not get displayed on the Feedback panel which is attached
to the WebPage until the page
Even though using very specific CSS selectors works it makes it a lot
harder to write that CSS.
Is there a way to force Wicket to write parent CSS contribution after
the children's CSS contribution?
Thanks,
Alec
On Sat, Apr 23, 2011 at 8:06 PM, Alec Swan alecs...@gmail.com wrote:
Thanks
Hello,
I would like to get my Javascript files filtered and gzipped. I added
the following code in my Application#init():
resourceSettings.setJavascriptCompressor(new DefaultJavascriptCompressor());
However, when I add a resource using the following code, I can still
see comments and white
Thanks, Andrea. I was running in DEVELOPMENT mode and switching to
DEPLOYMENT mode fixed the problem. I hope this gets documented
somewhere.
Martin, are you saying that page rendering will not block waiting for
the static resource to render while it will block on a component
resource to render?
, Clint Checketts checke...@gmail.com wrote:
I've seen folks get a misconfigure like this when they make the call
in the application's constructor instead of the init() method.
On Friday, April 29, 2011, Martin Grigorov mgrigo...@apache.org wrote:
Hi,
On Thu, Apr 28, 2011 at 9:50 PM, Alec Swan
Hello,
We just put our webapp behind a load balancer with sticky sessions.
After that we started noticing that load balancer cookie gets lost
when a modal window is popped up by a link click. Here is the code we
use to display the modal window:
new AjaxLink(editLink)
{
();
for (Cookie cookie : cookies) {
((WebResponse)
getRequestCycle().getResponse()).addCookie(cookie);
}
Thanks,
Alec
On Fri, Apr 29, 2011 at 4:17 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
We just put our webapp behind a load balancer
().getRequest()).getCookies();
for (Cookie cookie : cookies) {
((WebResponse)
getRequestCycle().getResponse()).addCookie(cookie);
}
Thanks,
Alec
On Fri, Apr 29, 2011 at 4:17 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
We just put
be changed by turning off secure
cookies in tomcat or something like that.
-igor
On Sat, Apr 30, 2011 at 6:06 PM, Alec Swan alecs...@gmail.com wrote:
Even if the next request is made from inside an IFrame? If so, is this
problem definitely a problem with the load balancer setup?
Our hosting
Hello,
We have an interesting situation here. We have a Wicket page which we
deliver to our web designer. The web designer uses this page as a
template to build many pages and on each page may or may not choose to
add a non-wicket form. Our webapp should collect the names and values
submitted
...@gmail.com wrote:
or you can write a servlet to process form submissions from all these
different forms and call it a day.
-igor
On Mon, May 2, 2011 at 9:21 AM, Alec Swan alecs...@gmail.com wrote:
Hello,
We have an interesting situation here. We have a Wicket page which we
deliver to our
dynamic fields, etc.
-igor
On Mon, May 2, 2011 at 11:47 AM, Alec Swan alecs...@gmail.com wrote:
Igor, we would like have access to the Wicket page model while
processing the custom form submission, so using separate servlets is
not a good solution for us.
I started implemented the 3.1
Hello,
Our webapp has two types of users - Admins and Guests. Guests can view
the site without logging in. However, when the session times out or
load-balancer cookie expires Guests, like Admins are redirected to our
login page, which confuses the Guests.
What's a good way to redirect Guests
bet some
kind of runtime exception is thrown causing
WebRequestCycle#onRuntimeException() to return the login page.
Thanks,
Alec
On Fri, May 13, 2011 at 6:23 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
what is redirecting them back?
-igor
On Fri, May 13, 2011 at 3:45 PM, Alec Swan alecs
is redirected to tab2
Thanks,
Alec
On Sat, May 14, 2011 at 12:10 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
so for guests do not return the login page, but a homepage instead...
-igor
On Fri, May 13, 2011 at 9:03 PM, Alec Swan alecs...@gmail.com wrote:
The login page is returned from
to check the referer header and if its
bookmarkable or hybrid redirect back to it.
-igor
On Sat, May 14, 2011 at 9:15 AM, Alec Swan alecs...@gmail.com wrote:
In our case login page is the home page.
Please let me clarify the scenario we need to support:
1. Guest opens the website, clicks
AM, Alec Swan alecs...@gmail.com wrote:
Igor, if I understood correctly you recommend redirecting back to tab2
from the login page. If so, what is the recommended way to do this? Do
I get referrer ULR with ((WebRequest)
getRequest()).getHttpServletRequest().getHeader(Referer) and throw
some kind
The Referer header value is http://localhost:8080/lrm/ms/oid/389.0.
This URL displays the right page when I open it from the browser.
On Sat, May 14, 2011 at 12:41 PM, jcgarciam jcgarc...@gmail.com wrote:
How does Referer header value looks like?, is it a bookmarkable url? Try
1 - 100 of 291 matches
Mail list logo