Not sure why, but, in 1.5.2 (at least), the call order is such that
prependJavascript is not called on AjaxRequestTarget until after
constructResponseBody() has passed...
Iterator it =
prependJavaScripts.iterator();
while (it.hasN
Hi,
To abort the construction of the page, you throw
ResetResponseException or subclasses.
Regards,
Bernard
On Fri, 4 Nov 2011 19:12:34 -0700 (PDT), you wrote:
>Hi,
>
>Geoff Hayman raised this issue previously here:
>http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-setResponsePage-page-s
Hi,
Geoff Hayman raised this issue previously here:
http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-setResponsePage-page-still-tries-to-render-HTML-before-redirect-td3819145.html
but apparently got no response (and Nabble won't let me reply to that for
some reason... conspiracy?)
I've run
i have the same problem, any ideas?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Using-FileUpload-writeTo-in-a-background-thread-tp1845020p3991986.html
Sent from the Users forum mailing list archive at Nabble.com.
---
Thanks for the Quick and extremely helpful reply.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Mounting-and-displaying-correct-URL-s-tp3992126p3992140.html
Sent from the Users forum mailing list archive at Nabble.com.
---
use setResponsePage(ProductTypePage.class, new
PageParameters().put("Category", "Food"));
-igor
On Fri, Nov 4, 2011 at 5:11 PM, anantasthana wrote:
> I am mounting url's like
>
> mountPage("ProductType/${Category}",ProductTypePage.class)
>
> and i read the Parameter Category and pull the info fr
I am mounting url's like
mountPage("ProductType/${Category}",ProductTypePage.class)
and i read the Parameter Category and pull the info from the database
So if i am on the page for food the URL is /ProductType/Food
now inside my application im using redirects which redirect to these pages
b
Hi i was to a great presentation today on forge tools. They are lacking a
wicket plugin. So the question are if any of you have started work on a
plugin for wicket?
http://jboss.org/forge
Regards nino
martin,
would be awesome if you could through up a github project of wicket + ajax +
history as an example of how to get all this to work.
rob
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Determine-the-latest-page-in-multi-tabbed-browsing-tp3947526p3991713.html
Se
Well, the simplest solution would be:
- set Index.class as your homepage (through the corresponding method in
your application class)
- use mount(new MountedMapper("/${param}", AnotherPage.class));
that should at least get "/b" and "/c" working. Unfortunately (?) that
will also allow /xyz and
On Fri, Nov 4, 2011 at 6:37 AM, Martin Grigorov wrote:
> On Fri, Nov 4, 2011 at 3:17 PM, Bas Gooren wrote:
>> The latter problem is logical: your mapping is focused on incoming requests.
>> When wicket renders a link to AnotherPage.class, which url should be
>> generated?
>>
>> My guess is that a
may you try extending & overriding your form :?
YourForm extends Form {
...
... onComponentTag(ComponentTag tag) {
... super.onComponentTag(tag);
String action = tag.getString("action");
...
}
On Fri, Nov 4, 2011 at 3:06 PM, Brian Mulholland wrote:
> How do I get the value wicket is going
org.apache.wicket.markup.html.form.Form.getActionUrl()
it is protected
On Fri, Nov 4, 2011 at 4:06 PM, Brian Mulholland wrote:
> How do I get the value wicket is going to write out in the form action
> from the form component. The links have a getURL method, but I
> haven't seen an equivalent m
No need to extend MountedMapper.
Just implement IRequestMapper and then use
application.setRootRequestMapper(yourMapper)
See how CryptoMapper works.
On Fri, Nov 4, 2011 at 4:21 PM, heikki wrote:
> sorry, just saw your reply about pastebin after posting.
>
> Here it is: http://pastebin.com/uRNyxZ
sorry, just saw your reply about pastebin after posting.
Here it is: http://pastebin.com/uRNyxZbV.
Thanks and kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Mounting-external-pages-to-root-tp3890756p3990244.html
Sent from the Users for
hi,
thanks for your hints, but still I didn't get it to work. I have a
RootRequestMapper that extends MountedMapper, and it overrides mapRequest()
like so
@Override
public IRequestHandler mapRequest(Request request) {
List segments = request.getUrl().getSegments();
if(Coll
How do I get the value wicket is going to write out in the form action
from the form component. The links have a getURL method, but I
haven't seen an equivalent method for the form.
Brian Mulholland
-
To unsubscribe, e-mail: use
My eyes too :-)
I was working on absolute urls the other day, and then came along this
"pearl".
But since you are the one who reported/created WICKET-3347 you've
enjoyed the sight of this method before :-)
But back on-topic:
The TS should create a single root mapper which maps AnotherPage.cla
On Fri, Nov 4, 2011 at 3:17 PM, Bas Gooren wrote:
> The latter problem is logical: your mapping is focused on incoming requests.
> When wicket renders a link to AnotherPage.class, which url should be
> generated?
>
> My guess is that a request for /b comes in, wicket then checks if the url is
> va
The latter problem is logical: your mapping is focused on incoming requests.
When wicket renders a link to AnotherPage.class, which url should be
generated?
My guess is that a request for /b comes in, wicket then checks if the
url is valid for AnotherPage.class by generating a url for it, whic
Hi,
Custom root request mapper should be able to do it.
Just check the request's URL - if it has no segments then return the
home page, if it has one segment then return new
RenderPageRequestHandler(AnotherPage.class, new
PageParameters().add("param", segmentValue))
On Fri, Nov 4, 2011 at 2:53 PM
hello,
I still find URL mapping to be far from easy. I can't get the following
mapping to work; all advice very much appreciated:
intented mapping is:
/ --> map to IndexPage.class
/b--> map to AnotherPage.class with pageparameter
param="b"
/c
Hello
I want to migrate from wiquery to jqwicket but I have a problem. In wiquery
I used
add(new HeaderContributor(new CoreJavaScriptHeaderContributor())) in
BasePage to force adding jquery.js first before others js (my_application.js
or jquery plugins).
How can I do this with jqwicket?
Thanks,
You can manually add in the autocomplete's CSS file yourself, and wicket
won't re-add it in. That way you can add in your custom CSS after it.
-Clint
On Thu, Nov 3, 2011 at 9:43 AM, Илья Нарыжный wrote:
> Hello,
>
> Is there some way to specify "final" CSS file which will be used by
> browsers
Thanks for an update Martin.
Unfortunately using IAjaxCallDecorator#decorateScript() prevents handling
request (nothing happens).
If I append the stop script directly to ajax request target (before sending
event), then request proceeds, but the first lazy component is not loaded.
Also, the stop
See the comments in the ticket
On Fri, Nov 4, 2011 at 11:57 AM, Gert-Jan Schouten
wrote:
> Done!
>
> https://issues.apache.org/jira/browse/WICKET-4196
>
> *Gert-Jan Schouten
> Java Developer*
>
>
> On 03/11/11 15:16, Igor Vaynberg wrote:
>>
>> please create a jira issue.
>>
>> -igor
>>
>> On Thu,
Done!
https://issues.apache.org/jira/browse/WICKET-4196
*Gert-Jan Schouten
Java Developer*
On 03/11/11 15:16, Igor Vaynberg wrote:
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
27 matches
Mail list logo