I'm trying to figure out how to implement a decorator tag. Here's what I
mean:
I want:
wicket:modBox style=1
span wicket:id=modBoxText/span
/wicket:modBox
to render to:
div class=mod-style-1
spanFOO!/span
/div
with nothing more than the usual add( new Label( modBoxText, FOO! ) )
in the
Hi Ale. I had a very similar problem, and I was able to get the behavior I
expected by changing the render strategy to ONE_PASS_RENDER in
Application.init(). Have a look at this
http://apache-wicket.1842946.n4.nabble.com/refresh-and-AjaxFallbackDefaultDataTable-td4384935.html
On Wed, Apr 18,
11, 2012 at 10:54 PM, Jonathan Tougas jtou...@gmail.com
wrote:
I'm running Wicket 1.5 on JBoss 7.1.1 with some CDI thrown in to the mix.
In certain cases when Wicket deserializes a Page containing a reference
to
a CDI bean, I get this exception:
In what cases exactly ?
Because the problem
I'm not familiar with the Wicketopia source, but doing a quick scan I can't
find any EJBs in there. The problem in this case occurs if the FooStateless
class is @Stateless. Changing this to @ApplicationScoped, the problem goes
away.
On Thu, Apr 12, 2012 at 8:28 AM, Jonathan Tougas jtou
loading of the
underlying bean.
On Thu, Apr 12, 2012 at 3:40 PM, Jonathan Tougas jtou...@gmail.com
wrote:
I'm not familiar with the Wicketopia source, but doing a quick scan I
can't
find any EJBs in there. The problem in this case occurs if the
FooStateless
class is @Stateless. Changing
is loaded without problems and
it seems the proxy itself deals with the class loading of the
underlying bean.
On Thu, Apr 12, 2012 at 3:40 PM, Jonathan Tougas jtou...@gmail.com
wrote:
I'm not familiar with the Wicketopia source, but doing a quick scan I
can't
find any EJBs
to the bottom of this.
On Thu, Apr 12, 2012 at 11:56 AM, Jonathan Tougas jtou...@gmail.com wrote:
I'll check it out thanks!
On Thu, Apr 12, 2012 at 11:33 AM, Igor Vaynberg
igor.vaynb...@gmail.comwrote:
weld doesnt wrap ejbs in serializable proxies. if you want to inject
ejbs you should do
.
On Wed, Apr 11, 2012 at 3:54 PM, Jonathan Tougas jtou...@gmail.com
wrote:
I'm running Wicket 1.5 on JBoss 7.1.1 with some CDI thrown in to the mix.
In certain cases when Wicket deserializes a Page containing a reference
to
a CDI bean, I get this exception:
15:10:30,841 ERROR
() will be called on the label before it is on the
datatable so it now uses the stale item count and is out of sync with
the datatable.
-igor
On Thu, Feb 16, 2012 at 9:08 AM, Jonathan Tougas jtou...@gmail.com
wrote:
It should be discarded only before rendering.
I figured out a way
On Wed, Feb 15, 2012 at 4:25 PM, Jonathan Tougas jtou...@gmail.com
wrote:
The cachedItemCount calculated in onBeforeRender should not be discarded
at
the end of a request (so the clear in onDetach and readObject shouldn't
be
there). This way it would still be around when a request comes
!
Jonathan Tougas
size() calls with multiple requests. Right?
Dan
On Wed, Feb 15, 2012 at 9:31 AM, Jonathan Tougas jtou...@gmail.com
wrote:
I noticed two count queries go by when using the DataTable component. so
I
searched and dug up this jira issue
https://issues.apache.org/jira/browse/WICKET-1766
?
On Wed, Feb 15, 2012 at 1:37 PM, Jonathan Tougas jtou...@gmail.com
wrote:
The PagingNavigationIncrementLink's linksTo(Page), which calls isLast()
which calls pageable getPageCount() which ends up calling size()
eventually. This is called during Component.canCallListenerInterface
(*you're
Can't you fix that with a
getPage().dirty();
in the Ajax request handler?
Hmm tried your suggestion, but no luck. How would it help anyway? It's
dirty() that is causing the page to change version in the first place
right? RefreshingView.onPopulate() - MarkupContainer.removeAll() -
I'm getting some inconsistent behavior with
AjaxFallbackDefaultDataTable. Here are two scenarios that can be run on
wicket-examples:
*Scenario 1*
1 - navigate to
http://wicketstuff.org/wicket/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.AjaxDataTablePage
2 - click the link to
15 matches
Mail list logo