Hi,
This has been simplified.
You should extend Behavior and contribute via #renderHead() method.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Mon, Jul 21, 2014 at 9:12 AM, Shweta Agrawal <
shweta.agra...@lntinfotech.com> wrote:
> Hi
> I'm facing issue with
Hi François,
what I try to do is a bit different... I would like to provide a default
per component sub-class, before wicket cascades the property files up to
application.properties.
Something like this:
add(new Label("", new StringResourceModel("key.${someInfoFromBean}",
Component.this, Mo
On Mon, Jul 21, 2014 at 10:39 AM, Patrick Davids <
patrick.dav...@nubologic.com> wrote:
> Hi François,
> what I try to do is a bit different... I would like to provide a default
> per component sub-class, before wicket cascades the property files up to
> application.properties.
>
> Something like
Yes, already implemented this way. :-)
Added a todo now, waiting for wicket7 to improve it.
Thanx for the hint anyway...
regards
Patrick
>For now you can workaround it with: add(new Label("", new
>StringResourceModel("key.${someInfoFromBean}",
>Component.this, Model.of(anyBean), new
>Str
> Instead of doing:
> page.add(new MyBehavior(components))
> do
> Behavior b = AttributeModifier.append();
> for (Component c : components) {
> c.add(b)
> }
Certainly that would work, I am trying to create a re-usable Behavior for
my app that any page wishing to incorporate th
Oh, I just tried it in my common page's onBeforeRender. Evidently I can do
this from the page.onBeforeRender, just not from the behavior
onBeforeRender. Which is probably what you meant. Okay, I can work with
that.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Beh
Hi,
You are using Behavior in a strange way.
component.add(behavior) will call behavior#onBind(component) because Wicket
knows that the behavior is used by this component.
Later when Wicket starts to render the components it calls the Behavior's
methods like: beforeRender(), afterRender(), etc.
Wh
Hi list
I’m using the TabbedPanel component to show a couple of tabs each of them
containing a form. The form among other things contains a DropDownChoice. I
have also set up a AbstractAjaxTimerBehavior instance to do some updates along
the way. On of the updates i the TabbedPanel, that I add t
Hi Rune,
for me it looks like the feature of updating parts of your
UploadFormPanel by using a timer should be a behavior of your
UploadFormPanel itself.
Put it inside, and you have access the particular container to refresh.
No need to refresh the whole panel from outside, which side-affects y
Hi
as suggested by you i tried adding on configure but it did not work... could
you please look in to my code and suggest chandes
My Java Code
private static final long serialVersionUID = 1L;
public static final Logger LOGGER = Logger
.getLogger(ParentJobDetails.cl
Hi
as suggested by you i tried adding on configure but it did not work... could
you please look in to my code and suggest chandes
My Java Code
private static final long serialVersionUID = 1L;
public static final Logger LOGGER = Logger
.getLogger(ParentJobDetails.cl
Hi
as suggested by you i tried adding on configure but it did not work... could
you please look in to my code and suggest chandes
My Java Code
private static final long serialVersionUID = 1L;
public static final Logger LOGGER = Logger
.getLogger(ParentJobDetails.cl
My Mark up is
http://wicket.apache.org";>
b Job Details
parent Job Details*
Hi Patrick
Ok you are probably right and I have done this now. I was just “afraid" that
adding too many AbstractAjaxTimerBehavior to the solution would somehow be a
problem, but I guess not.
Thanks,
Rune
Den 21/07/2014 kl. 17.33 skrev Patrick Davids :
> Hi Rune,
> for me it looks like the fea
14 matches
Mail list logo