You can pass variables to wicket using
wcall
like:
var wcall =
wicketAjaxGet('${url}'+'?&lat='+p.coords.latitude.toFixed(2)+'&lon='+p.coords.longitude.toFixed(2));
now in my wicket web page i have a AbstractDefaultAjaxBehavior which
receives this value
i am embedding this url for the AbstractDe
I've got simple wizard implemented as a JS slider. In some steps there is a
skip button and in the last step you can save the data. So this is actually
just a form with controls in every slide, and the data in the steps that
were skipped must not be saved when submitting the form.
What I wanna do i
Using wicket 1.4.13 (yea, I know I need to upgrade)
I am getting a classcastexception error on wicket session classes with
session sharing between webapps. This feature is supported by our web
application server, IBM WebSphere
Most of the time this works fine but for some reason, we get the er
its not in 1.5
-igor
On Thu, Nov 3, 2011 at 3:01 PM, Allen Gilbert wrote:
> Override MarkupContainer.add()? It's final, so I can't...
>
> On Thu, Nov 3, 2011 at 4:46 PM, Igor Vaynberg wrote:
>> override add() and funnel everything into a non-transparent
>> webmarkupcontainer.
>>
>> -igor
>>
>>
Override MarkupContainer.add()? It's final, so I can't...
On Thu, Nov 3, 2011 at 4:46 PM, Igor Vaynberg wrote:
> override add() and funnel everything into a non-transparent
> webmarkupcontainer.
>
> -igor
>
> On Thu, Nov 3, 2011 at 2:40 PM, Allen Gilbert wrote:
>> Hello,
>>
>> I've defined an a
override add() and funnel everything into a non-transparent webmarkupcontainer.
-igor
On Thu, Nov 3, 2011 at 2:40 PM, Allen Gilbert wrote:
> Hello,
>
> I've defined an abstract subclass of WebPage (BasePage) that knows
> whether or not a user can access the content of any concrete page. If
> a
Hello,
I've defined an abstract subclass of WebPage (BasePage) that knows
whether or not a user can access the content of any concrete page. If
a user does not have access, I don't want to block them from landing
on the page; instead, I'd like to show some page-specific content
instructing them h
1.5.2 works as expected (no backslash in the url).
Ryan
On Thu, Nov 03, 2011 at 01:07:33PM -0700, Igor Vaynberg exclaimed:
>Does it happen with 1.5.x?
>
>-igor
>On Nov 3, 2011 12:20 PM, "Ryan" wrote:
>
>> Using Wicket 1.4.19 and doing something simple such as this:
>>
>> public HomePage(final P
Does it happen with 1.5.x?
-igor
On Nov 3, 2011 12:20 PM, "Ryan" wrote:
> Using Wicket 1.4.19 and doing something simple such as this:
>
> public HomePage(final PageParameters parameters) {
>parameters.add("meh", "someone's link");
>add(new BookmarkablePageLink("link",HomePage.cl
Using Wicket 1.4.19 and doing something simple such as this:
public HomePage(final PageParameters parameters) {
parameters.add("meh", "someone's link");
add(new BookmarkablePageLink("link",HomePage.class, parameters));
}
The url that is generated for the link is:
127.0.0.1:8080/my
Here is something that I didn't know so far:
http://stackoverflow.com/questions/930237/javascript-cancel-stop-image-requests/1468452#1468452
It seems there is a way to simulate browser's stop button with JavaScript.
Try to use that code from IAjaxCallDecorator#decorateScript() for your
AjaxLink.
Hi Martijn,
Thanks for the pointer! I'll give it a go.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
please create a jira issue.
-igor
On Thu, Nov 3, 2011 at 7:02 AM, Gert-Jan Schouten
wrote:
> Hello!
>
> The problem is that a hacker can now post URL's that look like they're going
> to your site on some forum or in an email. But when the user actually clicks
> on the link, a custom header could
Just a question ...
what happens with other instances ? are they "forgotten" (null-ed) ?
My problem is that I'm trying to put a PDFObject (displays PDF file in a div
in a browser ) panel and JWPlayer (flash video player) into tab panel. So I
have to know if "older" versions of these panels are
Hello,
Is there some way to specify "final" CSS file which will be used by
browsers at the end - and that's why can rewrite some CSS rules?
We have following case: we use "wicketstuff tagit autocomplite" component.
This component contribute some CSS to the header. But we need to overwrite
some cs
Hello!
The problem is that a hacker can now post URL's that look like they're
going to your site on some forum or in an email. But when the user
actually clicks on the link, a custom header could redirect the user to
a malicious site. In the example, I used "EvilHeader", but it could be
any h
I've just debugged and indeed problem is that there is no component with id
"29".
So clearly Wicket looks for an lazy "children" component from outdated DataView
component.
Michal
> -Original Message-
> From: Michal Wegrzyn [mailto:michal.wegr...@onior.com]
> Sent: Wednesday, November 0
Hi,
Can you describe what exactly is the problem with these custom headers ?
On Thu, Nov 3, 2011 at 2:04 PM, Gert-Jan Schouten
wrote:
> Hello all,
>
> When having a Wicket application installed on Tomcat and you call that
> application through HTTP, Wicket is protected against HTTP Response
> Sp
Hello all,
When having a Wicket application installed on Tomcat and you call that
application through HTTP, Wicket is protected against HTTP Response
Splitting. However, when you call Tomcat through AJP (for example
through an apache httpd proxy), HTTP Response Splitting becomes possible.
To
Yes, but not on my local machine. Strange enough, only the Panel example
updates the name attribute correctly ...
Oh dear, I found the problem. My local IDE made the String "name" final. So
the PropertyModel could not update the value correctly. Now it works.
Cheers.
--
View this message in conte
Upgrade to latest in 1.4.x. AFAIK there were some issues with session
sharing due to lingering thread locals.
Martijn
On Thu, Nov 3, 2011 at 10:47 AM, Kent Tong wrote:
> Hi,
>
> My users are frequently getting "internal errors" after a few minutes
> of inactivity. From the log I can see that mos
On Thu, Nov 3, 2011 at 12:04 PM, Martin Grigorov wrote:
> On Thu, Nov 3, 2011 at 12:01 PM, Dirk Forchel wrote:
>> Hi Martin,
>> do you mean the "asemail" package with the MailTemplate page? Unfortunately
>> this example is not visible live (see
>> http://www.wicket-library.com/wicket-examples/ind
On Thu, Nov 3, 2011 at 12:01 PM, Dirk Forchel wrote:
> Hi Martin,
> do you mean the "asemail" package with the MailTemplate page? Unfortunately
> this example is not visible live (see
> http://www.wicket-library.com/wicket-examples/index.html). But I'm able to
I'll update that site soon.
> run t
Hi Martin,
do you mean the "asemail" package with the MailTemplate page? Unfortunately
this example is not visible live (see
http://www.wicket-library.com/wicket-examples/index.html). But I'm able to
run these examples locally with the latest checkout. But if you type in your
name into the input fi
Hi,
My users are frequently getting "internal errors" after a few minutes
of inactivity. From the log I can see that mostly this is caused by:
org.apache.wicket.WicketRuntimeException: component foo not found
on page XYZ[id = 3], listener interface...
The weird thing is that there is no "foo" c
Hi,
In my application we also had similar needs and here is how we solved it.
When an Ajax event is handled we also update the URL's hash with all
necessary information to redo the same event
(target.appendJavaScript('updateHash("someValue")')).
When back button is clicked
http://tkyk.github.com/j
Disabling request logger didn't help, however if this only a trace issue then
it does not matter through.
Even if not, then still this is caused by the main issue, which is that
probably Wicket tries to get lazy component that should be dropped.
Best regards,
Michal Wegrzyn
> -Original Mes
there are two reasons:
1) our wicket 1.5 application makes heavy use of AJAX e.g. switching
panels. As far as I know the wicket back button support has problems with
AJAX - the DOM modifications are not reflected correctly (see
https://issues.apache.org/jira/browse/WICKET-271)
2) our application
Hi,
On Thu, Nov 3, 2011 at 10:35 AM, Dirk Forchel wrote:
> Based on the staticpages examples in Wicket 1.4 we used a
> CapturingBookmarkablePageRequestTargetUrlCodingStrategy to capture requests
> to a bookmarkable page with page parameters and respond with a 'static' page
> afterwards. During th
Based on the staticpages examples in Wicket 1.4 we used a
CapturingBookmarkablePageRequestTargetUrlCodingStrategy to capture requests
to a bookmarkable page with page parameters and respond with a 'static' page
afterwards. During the capture phase
(CapturingBookmarkablePageRequestTarget#onCapture()
AjaxLink#onClick(AjaxRequestTarget target) {
rightPanel = rightPanel.replaceWith(new SomePanel(rightPanel.getId()));
target.add(rightPanel);
}
On Thu, Nov 3, 2011 at 3:32 AM, pen wrote:
> This is the wicket page example
> http://www.wicket-library.com/wicket-examples/template/wicket/bookma
Hi Matthias,
On Thu, Nov 3, 2011 at 9:30 AM, Matthias Keller
wrote:
> Hi Martin
>
> I see this is getting in the same direction as it was with Wicket 1.4 - it
> just doesn't work as expected.
> The method you propose results in the next page shown as expected and going
> back is not possible anym
Hi Martin
I see this is getting in the same direction as it was with Wicket 1.4 -
it just doesn't work as expected.
The method you propose results in the next page shown as expected and
going back is not possible anymore. But so is clicking on anything on
the next page then - those links seem
33 matches
Mail list logo