Hi,
I know you can set initial width and height for a modalwindow,
but we now get the requirement to open it full screen.
Is this something built in already, or has somebody done this before?
Thanks ! Kind Regards, Marieke Vandamme
--
DISCLAIMER
http://www.tvh.com/glob/en/email-dis
Hi,
Here is a demo app with Wicket 6.x:
https://github.com/martin-g/component-rendering-default
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Mon, Oct 13, 2014 at 6:13 PM, Martin Grigorov
wrote:
> Here is a possible solution *now*:
>
> portletLike.add(new Abs
Hi,
With #setCssClassName() (
https://github.com/apache/wicket/blob/master/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow.java#L513)
you can set your custom CSS class that should be applied on the main modal
window element.
In your own .css file yo
Thanks! Whose PortletLike on
https://github.com/martin-g/component-rendering-default/blob/master/src/main/java/com/mycompany/HomePage.java?
PanelA?
On Tue, Oct 14, 2014 at 9:03 AM, Martin Grigorov
wrote:
> Hi,
>
> Here is a demo app with Wicket 6.x:
> https://github.com/martin-g/component-render
Hi Ernesto,
I didn't get the question.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Oct 14, 2014 at 1:10 PM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:
> Thanks! Whose PortletLike on
>
> https://github.com/martin-g/component-rendering-default
Martin,
PortletLike b = new PortletLike("b", Model.of("panel b"))... I can't
see a PortletLike...
on same package. Maybe a good way to use the behavior is: 1- Roll a
PorletLikeBehavior. and an Interface IPorletLike { CharSequence
getOnFailContents(); } to mark porlet like components. 2- Add a comp
Oops. It seems PortletLike (a copy of PanelA with an exception in the
rendering of its Label child) hasn't be added to Git ...
I've refactored it even further.
But as you can see the default rendering of a component should be
suppressed (PortletLike#onRender() {}) so it is not enough just to have
It is already good for people wanting/needing to use it :-)
Is there any other way to hook into onRender? Any way to avoid onRender
being called via a global listener? If component is intanceof Bla don't
call onRender?
On Tue, Oct 14, 2014 at 10:47 AM, Martin Grigorov
wrote:
> Oops. It seems Po
it seems no :-(
On Tue, Oct 14, 2014 at 11:16 AM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:
> It is already good for people wanting/needing to use it :-)
>
> Is there any other way to hook into onRender? Any way to avoid onRender
> being called via a global listener? If component is
Hi,
Oops. It seems PortletLike (a copy of PanelA with an exception in the
rendering of its Label child) hasn't be added to Git ...
I've refactored it even further.
But as you can see the default rendering of a component should be
suppressed (PortletLike#onRender() {}) so it is not enough just to
Sorry for the noise, I should've read your e-mail more thorougly :(
"But as you can see the default rendering of a component should be
suppressed (PortletLike#onRender() {}) so it is not enough just to have
the behavior. "
I'll fix my implementation and try again.
Cheers,
Tobias
--
Hi,
isVisible() is called at many places in Wicket.
It is not easy to try/catch it.
I've updated (locally) the demo app and with 6.x it breaks with:
java.lang.RuntimeException: Problem in #isVisible
at com.mycompany.HomePage$2.isVisible(HomePage.java:35)
at org.apache.wicket.Component.determineV
Hi,
I've just come to the same conclusion. And I don't really like the fact
that every component that needs to be rendered in a 'fail-safe' way also
has to override onRender() with an empty implementation. To me this
'fail-safe rendering' looks more like a cross-cutting concern that
wicket-co
I'll play some more with this.
At the moment I think it will be much easier if Behavior#onException() can
return a result saying "I can deal with the problem" and Wicket just
continue with the rendering of the other components pretending that nothing
bad happened so far.
But any API changes would
Hi,
On this jira issue we got some directions on how to solve our problems,
but some things aren't clear yet.
*"then use a AjaxTimerBehavior to monitor progress, and redirect to a
ResourceReference once the thread is done."*
How is it possible to redirect to ResourceReference in onTimer function
o
Hi,
On Tue, Oct 14, 2014 at 3:36 PM, Marieke Vandamme
wrote:
> Hi,
>
> On this jira issue we got some directions on how to solve our problems,
> but some things aren't clear yet.
> *"then use a AjaxTimerBehavior to monitor progress, and redirect to a
> ResourceReference once the thread is done."
16 matches
Mail list logo