If you look into the extended browser info detection, you'll see the
results of some JavaScript tests being submitted as a form, and saved in a
session-scoped object for server-side use. Instead of using these results,
you can use your own session-scoped information, and your own Wicket
behavior to
So I added a call to:
getRequestCycleSettings().setGatherExtendedBrowserInfo(true);
in my app.init()
and sure enough I can now see the client's browser resolution...
but I also see it briefly redirect to a page with some 'if you see this..'
text on it...
Q: Is there any way to stop that showi
What does this warning from our wicket 1.4.20 app signify?
WARN org.apache.wicket.protocol.http.SecondLevelCacheSessionStore
PageMap deserialization - got nulll lastPage
It seems to occur in a couple of situations:
a) when the application is reloaded due to a web.xml change
b) when restarting th
You're welcome.
You can not rely on the model object in that case because the form is not
proceed (it is sent but not proceed, because of defaultFormProcessing set
to false). For the model object of form components to be updated, the form
should be proceed and validators (if any) should not have f
No, this looks very promising. Thank you very much for elaborating. I still
do not understand what is different about AutoCompleteTextField that it will
not give me back the textual value (getModelObject()) reliably, but I will
definitely try this out. Thank you for staying with me until we reached
Hi again,
The discussion you point to is related to a case where it is not desired to
send the form. I may be wrong but if you need get the field value, you need
to have send the form (it is possible to post a single component without
sending the whole form but that's another discussion).
As you
Hi,
I just verified with blocked cookies on a quickstart and it works fine here.
ServletWebRequest#getContextRelativeUrl() strips the session id from the
uri, so running without cookies should be no problem.
Perhaps something else is going wrong, you should build a quickstart and
attach it t
Hmm,
The reason I used AjaxLink was because of this post I saw regarding stopping
button from submitting to the form. Could you elaborate on why I cannot use
AjaxLink, like Igor seems to recommend? Should I do
setDefaultFormProcessingBehavior(false) to have the button not submit the
form and cause
Oops, I did not saw you was using an AjaxLink... You have to use an
AjaxButton instead.
Sebastien.
On Tue, May 1, 2012 at 5:51 PM, cmagnollay wrote:
> Well, that is not the case unfortunately. Here is my code as stripped down
> as
> I could get it, to still supply information about what I am do
Apologies if this has been covered before, but i havn't found anything with
this specific issue.
I have a Dropdown added to my code, but when a user first accesses the
site, the URL gets appended with JsessionID. This seems to break the link,
and the #onSelectionChanged never gets called. Is there
Well, that is not the case unfortunately. Here is my code as stripped down as
I could get it, to still supply information about what I am doing. If you
have any questions I would be happy to answer.
public class MyPage extends WebPage
{
private TextField quantityField;
p
sorry sent accidentally.
On 1 May 2012 16:16, Fergal Keating wrote:
>
> I have the following Dropdown added to my code.
>
> DropDownChoice listSites = new
> DropDownChoice("localeSelect", new PropertyModel(this,
> "selected"), currentProductLocales)
> {
> /**
> *
> */
> private static final l
I have the following Dropdown added to my code.
DropDownChoice listSites = new
DropDownChoice("localeSelect", new PropertyModel(this,
"selected"), currentProductLocales)
{
/**
*
*/
private static final long serialVersionUID = 1L;
protected boolean wantOnSelectionChangedNotifications()
{
return
Hi,
> The feedbackpanel always shows that the value it is getting back from
itemField is empty.
itemField.getValue or getModelObject will returns empty if it is not in
your form... (this is the only reason I see regarding to the code you
supplied)
Sebastien.
On Tue, May 1, 2012 at 3:54 PM, cmag
I am having an issue with DefaultCssAutoCompleteTextField where calling
getModelObject returns null. The autocomplete behavior itself is functioning
as intended, as I see the options come up, and am able to select one.
Definition:
itemField = new DefaultCssAutoCompleteTextField("itemField", new
M
Have you tried AjaxRequestTarget.get()? If you are in a middle of an AJAX
request cycle it should give you the request target.
Regards,
Melinda.
On Tue, May 1, 2012 at 2:51 PM, Brian Mulholland wrote:
> I am popping up a modal window when an ajax event fires. The event
> has a parameter of wh
I am popping up a modal window when an ajax event fires. The event
has a parameter of which key the user selected. I know I can get the
parameters from the AjaxRequestTarget in the onClick event, but in
ModalWindow.PageCreator.createPage(), how can I get the parameters so
that I can load the righ
This seems to be working. I'm will just using for a couple of days. Until I
have been able to check all the other changes. Then in one chunk I will
replace all the xml files when I have confirmed that the application is
behaving well.
In init of application
and
--
View this message in context:
18 matches
Mail list logo