Puzzled. I try to create a quickstart, but the real problem is that I'm
pretty sure the quickstart will work perfectly. Even my code has worked
perfectly for the last 2 years...
Here is a quickstart-like piece of code showing the problem (I obtained it
by cutting away unneded pieces from my
Hi,
I will have a look at it, but I don't want the API to be changed. Thanks anyway
for the Feedback.
kind regards
Tobias
Am 15.09.2014 um 21:32 schrieb Ernesto Reinaldo Barreiro reier...@gmail.com:
You can make it abstract with same callback methods as panel. Users can the
choose
Hi Tobias,
On Mon, Sep 15, 2014 at 9:30 PM, Tobias Soloschenko
tobiassolosche...@googlemail.com wrote:
Ok I solved my problem with the quickstart and some investigations about
post requests:
var reader = new FileReader();
reader.onload = (function(file) {
return
Hi,
You dont need to change your API: panel will remain the same.
On Tue, Sep 16, 2014 at 8:44 AM, Tobias Soloschenko
tobiassolosche...@googlemail.com wrote:
Hi,
I will have a look at it, but I don't want the API to be changed. Thanks
anyway for the Feedback.
kind regards
Tobias
Am
As request-body - everything is ok
kind regards
Tobias
Am 16.09.2014 um 08:51 schrieb Martin Grigorov mgrigo...@apache.org:
Hi Tobias,
On Mon, Sep 15, 2014 at 9:30 PM, Tobias Soloschenko
tobiassolosche...@googlemail.com wrote:
Ok I solved my problem with the quickstart and some
Hi,
we’ve a very odd problem and are somewhat stuck, maybe someone here on the list
has seen this sort of behaviour before.
We’ve deployed a small wicket app (4 pages) to a tomcat7 server and all 4 pages
work just fine on the live system.
However, when googlebot scrapes the pages, we see
Martin,
First I appreciate very much your hard work in the mailing list and
Jira space.
Re 1. I accept this, but before developing ideas, I would want to
reach some consensus that there is a chance of having some change
implemented in wicket core.
Re 2. The use case needs page state because it
Regarding the markupException, the example I posted was flawed, must
be: return Markup.of(wicket:panelit works/wicket:panel);
But that is not relevant to my report. The example on github had this fixed.
Any other ideas / somewhat clean workaround? SHould I open a JIRA
issue on this, or two?
On
So debugging a bit, I find that I get hit by the
PanelMarkupSourcingStrategy. It seems it throws away the body markup
in favcor of the associated Markup. So I could advance one step by
extending WebMarkupContainer instead of Panel.
I notice that when extending Panel, getMarkup() is being called 3
Hi,
I didn't dig to much into the code, but keep in mind that you are
disabling markup caching in your example. This might explain why
getMarkup is called three times.
Anyway, in your specific case it might be better not to implement
IMarkupCacheKeyProvider and IMarkupResourceStreamProvider,
So, I have a working solution like this:
public class CustomMarkupFallbackMarkupContainer extends
WebMarkupContainer implements IMarkupCacheKeyProvider {
public CustomMarkupFallbackMarkupContainer(String id,
IModelString model) {super(id, model);}
@Override
public IMarkupFragment
I forgot to mention, for my solution to work, the associated markup
file must not have tags outside the wicket:panel tags:
wicket:panel
Fallback works!
/wicket:panel
as opposed to
?xml version=1.0 encoding=UTF-8?
html xmlns=http://www.w3.org/1999/xhtml;
xmlns:wicket=http://wicket.apache.org;
I realize now using the wicket:panel tag only works with panels, so
maybe the wicket way to go would be to have a raw markup file
without the xmlns declaration. I don't know. In any case, I preferred
to use a panel with a complete html file like for any other panel,
so I had to circumvent the
Hi,
is it intentional that if a class directly extends MarkupContainer,
but does not have any children, then its associated markup is not
rendered?
When using
public class FooMarkupContainer extends MarkupContainer implements
IMarkupCacheKeyProvider {
public FooMarkupContainer(String id)
Well, you have the wicket component tree path to what's not found:
titleBar:menu:2:link
The 3rd (index 2) menu link was missing at the point your page was rendered.
Start thinking about how your 'menu' component could miss that from the
mode.
Or perhaps someone used the back-page button and your
ie: How do you create the menu links?
Where does the model come from and are those links dynamic?
On Tue, Sep 16, 2014 at 11:15 AM, Paul Bors p...@bors.ws wrote:
Well, you have the wicket component tree path to what's not found:
titleBar:menu:2:link
The 3rd (index 2) menu link was missing at
Hi,
I've found a simple solution delegating markup providing to
DefaultMarkupResourceStreamProvider:
public class CustomMarkupFallback2Panel extends Panel implements
IMarkupCacheKeyProvider,
IMarkupResourceStreamProvider {
private final DefaultMarkupResourceStreamProvider
Hello,
Assuming we have 2 applications
One application providing authentication and second application configured
to be redirected to the first application for authentication.
Lets call page in the second application which does the redirection to
first application as SignInPage.
Below is
Puzzled. I try to create a quickstart, but the real problem is that I'm
pretty sure the quickstart will work perfectly. Even my code has worked
perfectly for the last 2 years...
Here is a quickstart-like piece of code showing the problem (I obtained it
by cutting away unneded pieces from my
I don't have a wicket-way for this. However, if I had to do something like
that, I'd try the following simple and extremely basic approach (which would need to be
refined to be more than just an ugly hack)
1. after the action triggering the upgrade process, trigger a javascript on the
client
20 matches
Mail list logo