On Fri, Dec 12, 2014 at 6:49 PM, Boris Goldowsky
wrote:
>
>
> On 12/12/14, 11:22 AM, "Martin Grigorov" wrote:
>
> >On Fri, Dec 12, 2014 at 2:52 AM, Boris Goldowsky
> >wrote:
> >
> >> Ah, yes that works. I can now reference my resources too.
> >>
> >> Now, sorry to be a pain about this, but I w
On 12/12/14, 11:22 AM, "Martin Grigorov" wrote:
>On Fri, Dec 12, 2014 at 2:52 AM, Boris Goldowsky
>wrote:
>
>> Ah, yes that works. I can now reference my resources too.
>>
>> Now, sorry to be a pain about this, but I would like to get it hooked
>>up to
>> something like the FilenameWithVersio
Hi,
Thanks for investigating this !
See inline.
On Thu, Dec 11, 2014 at 6:03 PM, Boris Goldowsky
wrote:
> The issue seems to be that, if the mod_pagespeed Javascript rewriting
> rules are enabled, then the Wicket ajax code tries to re-load JS libraries
> like jQuery. This is not only unnecess
On Fri, Dec 12, 2014 at 2:52 AM, Boris Goldowsky
wrote:
> Ah, yes that works. I can now reference my resources too.
>
> Now, sorry to be a pain about this, but I would like to get it hooked up to
> something like the FilenameWithVersionResourceCachingStrategy . I am not
> seeing how to do this.
On Fri, Dec 12, 2014 at 4:32 PM, Daniel Stoch
wrote:
> On Fri, Dec 12, 2014 at 11:38 AM, Martin Grigorov
> wrote:
> > I see it is a bit ugly, but oh well... this is how it works now.
> >
> > in YourComponent#renderHead():
> >
> > AtmosphereBehavior atmo =
> > getPage().getBehaviors(AtmosphereBeh
On Fri, Dec 12, 2014 at 11:38 AM, Martin Grigorov wrote:
> I see it is a bit ugly, but oh well... this is how it works now.
>
> in YourComponent#renderHead():
>
> AtmosphereBehavior atmo =
> getPage().getBehaviors(AtmosphereBehavior.class).get(0);
> CharSequence callbackUrl = atmo.getCallbackUrl()
I see it is a bit ugly, but oh well... this is how it works now.
in YourComponent#renderHead():
AtmosphereBehavior atmo =
getPage().getBehaviors(AtmosphereBehavior.class).get(0);
CharSequence callbackUrl = atmo.getCallbackUrl();
headerResponse.render(OnDomReadyHeaderItem.forScript("Wicket.Ajax.ge
Hi,
Ok, I think I didn't described a problem well.
When you add a component which subscribes some events, then
AtmosphereBehavior is added to page. But the wicketAtmosphere JS
callback is registered inside AtmosphereBehavior.renderHead() method,
so only (I think) when the whole page is rendered.
Yes.
Everytime WMC is rendered its #onComponentTag() will called
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Dec 12, 2014 at 11:15 AM, Maxim Solodovnik
wrote:
> Thanks a lot!
>
> Would it work with AJAX updates as well?
>
> On Fri, Dec 12, 2014 at 3:09
Thanks a lot!
Would it work with AJAX updates as well?
On Fri, Dec 12, 2014 at 3:09 PM, Sebastien wrote:
>
> Hi Maxim,
>
> Something like this?
>
> this.container = new WebMarkupContainer("container") {
> @Override
> protected void onComponentTag(ComponentTag tag)
Hi Maxim,
Something like this?
this.container = new WebMarkupContainer("container") {
@Override
protected void onComponentTag(ComponentTag tag)
{
super.onComponentTag(tag);
if (!WysiwygEditor.this.getForm().isEnabled())
Hi Maxim,
special = new WebMarkupContainer("someId") {
@Override public void onComponentTag(ComponentTag tag) {
super.onComponentTag(tag);
Form form = Form.findParent(Form.class);
if (form != null && form.isEnabled() == false) {
tag.put("specialAttrName", "specialAttrValue");
Hello All,
I would like special attribute be added to WebMarkupContainer which is part
of FormComponentPanel [1] in case Form was disabled
Is it possible?
Thanks in advance for your help!
[1]
https://github.com/sebfz1/wicket-jquery-ui/blob/master/wicket-jquery-ui-plugins/src/main/java/com/googl
13 matches
Mail list logo