I've had success my and , but trying to add as a WebMarkupContainer gave me:
Last cause: Mis-placed . must be outside of
, , and . Error occurred while
rendering page: SomePage using markup stream: file:/.../SomePage.html
Motivation : https://developers.google.com/search/docs/data-types/sitena
Thanks Sebastian for the hint.
But yes, I've mapped all pages before calling setRootRequestMapper.
I also put logs in my getDesiredSchemeFor and they're being called, and
returning HTTPS for all calls.
But is it possible there are some cases it's not being called (?) Or perhaps
the ?1 stateful re
I have managed to use XForwardedRequestWrapperFactory by creating a Filter.
I also use HttpsMapper as follows :
setRootRequestMapper(new HttpsMapper(getRootRequestMapper(), new
HttpsConfig()) {
@Override
protected Scheme getDesiredSchemeFor(IRequestHandler handler)
This seems to be interesting:
* https://issues.apache.org/jira/browse/WICKET-3015
* https://issues.apache.org/jira/browse/WICKET-3009
But how to use it?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-force-page-redirects-to-HTTPS-tp4678479p4678480.html
Sent f
Hi,
My setup is:
Wicket 7.8 running in Spring Boot (HTTP:8080) <--served by-- nginx (HTTP:80)
<--CDNed by-- CloudFlare (HTTPS:443)
This works almost well, however everytime Wicket issues a redirect it always
goes to http://version first, which is intercepted by CloudFlare then
immediately redire
I tried to do this:
protected void onSizeChanged(AjaxRequestTarget target) {
target.add(productGrid);
final PageParameters newParams = new
PageParameters(getPage().getPageParameters());
newParams.set("selectedSize",
Optional.ofNullable(selectedSizeModel.getObject()).map(Ter
Hi friends,
Continuing the discussion on
https://issues.apache.org/jira/browse/WICKET-5290 /
http://apache-wicket.1842946.n4.nabble.com/Wicket7-History-API-support-for-navigable-AJAX-pages-components-td4660502.html,
I made a simple working experiment:
final DropdownSizePanel dropdownSizePanel = n
Slightly complete-er log:
19:20:27.925 WARN | zikra | |
/wicket/resource/org.apache.wicket.ajax.form.ajaxformchoicecomponentupdatingbehavior/ajaxformchoicecomponentupdatingbehavior.min-ver-d12e39a9a23f5adefcfe3bfc3d520d68.js
207.46.13.122/msnbot-207-46-13-122.search.msn.com Mozilla/5.0 (compat
Thanks Martin, that really helps :)
I have a clue though, all of those "lowercased" requests are coming from
MSNBot IPs.
I'm suspecting the bot is "testing" whether the URI is accessible via
lowercase (perhaps for duplicate content prevention) if that's true then
that would suck.
However I al
I wonder how another filter could alter the behavior for this issue..
The call fails at
org.apache.wicket.core.util.lang.WicketObjects.resolveClass(WicketObjects.java:72),
surely the class name to be resolved is solely at Wicket's control?
On Sun, Dec 14, 2014, 01:18 Ernesto Reinaldo Barreiro-4 [
Has anyone ever encountered this error?
It confuses me because:
1. It doesn't happen often, but happens a few times a day
2. Only happens on production
3. Pretty much all functionality work fine when tested manually
What's weird is the class name is lowercased, i.e.
"org.apache.wicket.ajax.form.a
igorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Wed, Dec 10, 2014 at 3:20 PM, Hendy Irawan <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4668721&i=0>> wrote:
>
> > Thanks for prompt advice Martin, however please
a code.
> To have better control you should use RedirectRequestHandler, as in your
> commented out code.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Wed, Dec 10, 2014 at 2:56 PM, Hendy Irawan <[hidden email]
> <h
I currently have a custom SEO-friendly RequestMapper with the following
snippet:
@Override
public final IRequestHandler mapRequest(Request request) {
try {
final String userAgent = ((HttpServletRequest)
request.getContainerRequest()).getHeader("User-Agent");
Here's what I came up with :
https://github.com/soluvas/soluvas-web/commit/8cfbe121bc8589502154bf72fff9bd94762dd7cb
While my usage is for e-commerce websites, with sufficient definitions it's
usable for any kind of site, primarily using schema.org vocabulary. IMHO
it's quite convenient (thanks to
Hi Dirk and Martin,
Dirk Forchel wrote
>
> Martin Grigorov-4 wrote
>> Another way is to add these attributes directly in the markup. No need to
>> add Behavior to the components for something that is always true.
> Yes, but I prefer the "dynamic" way. A Component/Page provides some kind
> of "mi
After 3 days Wicket 6.17.0 is still not available from Maven Central:
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.apache.wicket%22%20AND%20a%3A%22wicket-core%22
Please check.
Ironically (but good) Wicketstuff 6.17.0 is already available in Maven
Central.
Hendy
--
View this message i
Thank you Martin!
Filed https://issues.apache.org/jira/browse/WICKET-5621
Hendy
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-get-PageClass-from-BufferedResponseRequestHandler-And-how-to-link-related-requests-tp4666247p4666286.html
Sent from the Users forum
It seems ignoring BufferedResponseRequestHandler is harder than I thought
because IResponseFilter is only called during
BufferedResponseRequestHandler, not during the preceding
IPageRequestHandler.
What is the best way to achieve my goal? i.e. during the begin and end of
IPageRequestHandler I need
Thank you Martin.
Currently I went with this solution:
https://github.com/soluvas/soluvas-web/blob/3c3cb8a923e06522ccee156725196a8ab15fba0b/site/src/main/java/org/soluvas/web/site/metrics/ThreadMetricsRequestCycleListener.java
I'll follow your advice and just ignored it, then :)
Hendy
--
View t
I also tried requestCycle.setMetaData() but the metadata is also gone for the
next related request. :(
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-get-PageClass-from-BufferedResponseRequestHandler-And-how-to-link-related-requests-tp4666247p4666248.html
Sent
Hi,
How to get PageClass from BufferedResponseRequestHandler ?
At little background: I'm sending processing metrics to Google Analytics,
mentioning the PageClass (if available), used memory, and processing time.
I'm using RequestCycleListener to do the crux of this.
When Wicket's using IPageClas
It turns out it happens because I was using a custom AjaxChannel with name
"autodisable".
Changing the AjaxChannel name to "0" solves the problem.
BTW, Can I request AjaxChannel.DEFAULT public static constant with a value
of "0" ? I don't feel comfortable typing "0" there, I much prefer a
constan
I also get the same error:
org.apache.wicket.core.request.handler.ListenerInvocationNotAllowedException:
Behavior rejected interface invocation. Component: [NumberTextField
[Component id = qty]] Behavior:
id.co.bippo.inventory.web.VariantQtyEditor$2$2$1@530459be Listener:
[RequestListenerInterface
?) and let Tomcat's
PersistentManager handle this?
I've been reading
https://cwiki.apache.org/confluence/display/WICKET/Page+Storage but it
seems it only applies to Wicket 1.5 ?
Thank you.
Hendy
Hendy Irawan - on Twitter <http://twitter.com/hendybippo> - on
LinkedIn<http:/
ected users.
Is this possible?
Thank you.
Hendy Irawan - on Twitter <http://twitter.com/hendybippo> - on
LinkedIn<http://id.linkedin.com/in/hendyirawan>
Web Developer | Bippo Indonesia <http://www.bippo.co.id/> | Akselerator
Bisnis | Bandung
>
>
Hendy Irawan - on Twitter &
Hi,
When I checked the work/.../wicketFilter-filestore folder it seems that for
every session Wicket stores the last 3 stateful pages.
Will this cause problems when a user opens more than 3 (stateful) tabs at
once?
How do I increase this number? Is it possible to increase this number for
select
Hi,
I'm not sure if this is related, I'm suspecting the StalePageException's are
a cause to this: sometimes the page response are "misrouted" from the
request:
1. A user clicks an AjaxLink/AjaxButton, but gets redirected to a totally
unrelated page (like the search page) which seems to be for ano
We're getting a lot of StalePageException, immediately followed by "An error
occurred while checking whether a page is stateless. Assuming it is
stateful." on stateful pages and especially when crawled by Google bot.
Any idea why this is happening?
@timestamp 2013-09-24T01:42:47-04:0
THANK YOU Martin !
Awesome!
To those who want the same as me, put this on your WebApplication's init() :
// we need this even for DEPLOYMENT at least for now
getExceptionSettings().setUnexpectedExceptionDisplay(IExceptionSettings.SHOW_EXCEPTION_PAGE);
Hendy Irawan - on Twitter
Hi all,
How to use DEPLOYMENT configuration but retain the detailed exception page?
Or how to re-enable the detailed exception page feature?
Thank you.
Hendy
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-use-DEPLOYMENT-configuration-but-retain-the-detail
apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.
worse. I think you choose a threaded model loading if most other options
> failed (use a cache, change the query, ...)
>
> Mm:)
>
>
>
>
> Hendy Irawan <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=4655050&i=0>>
> schrieb:
>
> &g
Hi friends,
If I have 5 Wicket (LoadableDetachable)models on a page, will Wicket load
each model sequentially, or will the 5 models loaded concurrently ?
We're using different servers for each database connection (MongoDB, Neo4j,
etc.) so it will be a more effective use to load the models concur
34 matches
Mail list logo