Martin,
Would you be kind enough to give an example?
I tried the following:
ajaxSimpleUploadForm.add(new AjaxButton("uploadVideoSubmit") {
@Override
protected void onSubmit(AjaxRequestTarget target, Form form)
{
AbstractResourceStreamWriter writer = new
A
> Yes, I think you are doing it "the Wicket way", but your snippet and
> mine should work. Do you modify components' model somewhere else?
No, I don't think so. The page to which the component is added is constructed
as follows:
CompoundPropertyModel model = new
CompoundPropertyModel(this);
For
I am attempting to integrate with Shibboleth using Tomcat 6 and Wicket
1.4.18. I don't want to get into too much detail on Shibboleth in this
list, but I was wonder in anybody had already done this and is able to
get the eppn attribute back after successfully logging in. I need to
know the us
> wrote:
>> Forget that last bit about wicketstuff not using the 'wicket' namespace
>> for its resources. I was confused by some old files in the browser cache
>> from Dec 2011.
>
>/resources/ in 1.4 is the same as /wicket/resource/ in 1.5
>Which project exactly in wicketstuff do you mean ?
We wer
On Mon, Jan 16, 2012 at 11:08 PM, Chris Colman
wrote:
> Forget that last bit about wicketstuff not using the 'wicket' namespace
> for its resources. I was confused by some old files in the browser cache
> from Dec 2011.
/resources/ in 1.4 is the same as /wicket/resource/ in 1.5
Which project exac
Forget that last bit about wicketstuff not using the 'wicket' namespace
for its resources. I was confused by some old files in the browser cache
from Dec 2011.
From: Chris Colman [mailto:chr...@stepaheadsoftware.com]
Sent: Tuesday, 17 January 2012 8:49 AM
To: us
Thanks Martin!
https://issues.apache.org/jira/browse/WICKET-4338
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-get-https-port-number-in-Wicket-1-5-tp4295139p4301617.html
Sent from the Users forum mailing list archive at Nabble.com.
-
I'm trying to make static resources have a distinguishable part of their
URL near the beginning of the URL to enable easy configuration of third
party filters that need to ignore requests for static resources and just
proceed along the filter chain.
I've looked up the operation of
org.apache.wick
>> I'm trying to think of any resources we have mounted that *do* need a
>> session. I'm pretty sure they're all static package resources.
>>
>> Does Wicket itself mount non static references that would be mounted
at
>> /wicket/resource ?
>
>Wicket doesn't mount anything by itself. Your code initia
On Mon, Jan 16, 2012 at 9:38 PM, humcasma wrote:
>
> Igor Vaynberg-2 wrote
>>
>> start a timer behavior that polls and waits for the thread to finish,
>> and only when its finished it updates the select.
>>
>
> Thanks Igor. Yes, that is a solution that I have also considered and forgot
> to talk a
Igor Vaynberg-2 wrote
>
> start a timer behavior that polls and waits for the thread to finish,
> and only when its finished it updates the select.
>
Thanks Igor. Yes, that is a solution that I have also considered and forgot
to talk about. Indeed, I already have a timer behavior that I use to
On Mon, Jan 16, 2012 at 9:25 PM, Chris Colman
wrote:
> I'm trying to think of any resources we have mounted that *do* need a
> session. I'm pretty sure they're all static package resources.
>
> Does Wicket itself mount non static references that would be mounted at
> /wicket/resource ?
Wicket doe
I'm trying to think of any resources we have mounted that *do* need a
session. I'm pretty sure they're all static package resources.
Does Wicket itself mount non static references that would be mounted at
/wicket/resource ?
>-Original Message-
>From: Martin Grigorov [mailto:mgrigo...@apac
Another approach is to mount explicitly all your resources which you
think need the session.
This way you can exclude /wicket/resource/... in your filter.
On Mon, Jan 16, 2012 at 9:18 PM, Martin Grigorov wrote:
> See org.apache.wicket.request.mapper.BasicResourceReferenceMapper#mapHandler
>
> All
See org.apache.wicket.request.mapper.BasicResourceReferenceMapper#mapHandler
All IStaticCacheableResource are passed to
org.apache.wicket.request.resource.caching.IResourceCachingStrategy#decorateUrl.
There you can tag them as you wish.
On Mon, Jan 16, 2012 at 9:09 PM, Chris Colman
wrote:
> JIRI
JIRI issue 4334 has fixed this now which is great.
The next issue is that while Wicket is able to avoid establishing a
session for requests for package resources it would be good if their URL
made it easy for other filters (eg., Open Persistence Provider in View)
to also ignore them to allow them
Looking at the impls of
org.apache.wicket.request.mapper.parameter.IPageParametersEncoder#decodePageParameters
we can see that only QueryParameters are read.
I personally don't know what is the reason for that.
File a ticket and if no one says that this is the intended behavior
then we will fix it
start a timer behavior that polls and waits for the thread to finish,
and only when its finished it updates the select.
-igor
On Mon, Jan 16, 2012 at 8:47 AM, humcasma wrote:
> Hi,
>
> I have a simple form. When I submit it I launch a thread that runs on the
> background. When the thread is fini
Hmm, I spoke too soon.
It seems that the reason I was running into the *method* mismatch (not
*protocol* mismatch) with the StatelessForm is due to having installed an
HttpsMapper in my WicketApplication. If you try to post a form over https
from an http page, the HttpsMapper apparently discards
Yes, I think you are doing it "the Wicket way", but your snippet and
mine should work. Do you modify components' model somewhere else? Which
model do you get if you call getDefaultModel() inside oninitialize?
Thanks for your reply. I've tried it but it still gave the same error.
However I also
Hi, im using on a page that contains ;
@Override
public void renderHead(IHeaderResponse response) {
super.renderHead(response);
response.renderCSSReference("css/ui-lightness/jquery-ui-1.8.17.custom.css");
response.renderJavaScriptReference("js/jquery-1.7.1.min.js");
resp
Thanks for your reply. I've tried it but it still gave the same error.
However I also tried the following modified version of your idea:
In AddressPanel.java:
@Override
protected void onInitialize() {
super.onInitialize();
Object o = getDefaultModelObject();
setDe
Hi,
I have a simple form. When I submit it I launch a thread that runs on the
background. When the thread is finished, I would like to update a
DropdownChoice with the result generated by the thread. I manage to update
the choice, but the changes are only visible when I refresh the page. To
avoid
Hi,
I think you need to build a CompoundPropertyModel inside the component
itself. Override onInitialize method of AddressPanel and try with
something like this:
@Override
protected void onInitialize() {
super.onInitialize();
setDefaultModel(new CompoundPropertyModel(getDe
Hi all,
*The problem: *
tabs not disabled on first render.
*The source:*
I'm adding the "Tabs" class from WiQuery 1.2.4 like so:
tabs = new Tabs("tabs");
tabs.setOutputMarkupId(true);
CompoundPropertyModel waferModel = new
CompoundPropertyModel(getDefaultModel());
tabs.add(new GeneralInfoPanel(
Hi list,
I've created a reusable form component for editing an address, called
AddressPanel. It inherits from FormComponent and consists of multiple text
fields for inputting data, instances of the component get added to a Form
instance.
How do I use this component together with a CompoundProp
Hi,
I think the Ajax calls are serialized.
The page instance can be used by a single request at any time.
So you submit the form and this request acquires the lock on the page.
AjaxSelfTimerUpdatingBehavior cannot use the page until the first
request unlock it.
Additionally the Ajax calls are seri
27 matches
Mail list logo