Hey all
I finally figured out how to do it ... yes it helped to use ListView but at
first I did not notice .setReuseItems(boolean) function ...
after reading this article
http://www.javaworld.com/javaworld/jw-07-2008/jw-07-wicket2.html?page=1
I figured out how to draw whatever I want into m
ok, so you mention "wicket:id" as if its some constant thing.
Conceptually a markup tahhed by wicket-id, is no less powerful than
injecting a scriptlet or any dynamic script you inject via JSP, PHP. Its
like a reference point/range.
Who says that anything between that wicket:id condemns you to th
Hey ..
10x for your reply ..
I tried what you suggested but it's not working ...and the way wicket works
of course not.. you need wicket:id in a markup and I don't want to write it
... cause I'll probably die before i cover all cases needed by customer...
but hey .. 10x again for tryin
Kind
Hi Armando,
I mean make "custom-label-panel" a repeater so that you can
dynamically add anything you need.
Best,
Ernesto
On Wed, Jul 14, 2010 at 1:56 PM, armandoxxx wrote:
>
> hi ..
>
> can you explain what you mean, cause I'm not sure what you mean ...
>
> King regards
>
> Armando
> --
> View
hi ..
can you explain what you mean, cause I'm not sure what you mean ...
King regards
Armando
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/UI-Layout-tp1891867p2288618.html
Sent from the Wicket - User mailing list archive at Nabble.com.
--
why not use repeaters for things you don't know in advance?
Ernesto
On Wed, Jul 14, 2010 at 12:09 PM, armandoxxx wrote:
>
> Hey ...
>
> 10x for fast reply ..
>
> I am considering inheritance cause many stuff will be reusable but I have a
> little tiny problem with my components and trying to fig
Hey ...
10x for fast reply ..
I am considering inheritance cause many stuff will be reusable but I have a
little tiny problem with my components and trying to figure it out ...
let me try to show an example
I have my custom component that shows news, labels etc. These news can be
cate
Hi bro,
so "I need to change page layout markup file( since markup files will have
my panels defines)"
1. Use Inheritance: What I like about inheritance is you can template and
further sub-template without a single line of Java (except for empty class
files to represent the page ..I have a solut
Hi guys ...
I have the same little issue and don't know how to resolve this ...
I work on 2 really big projects
One is a newspaper web site and other is more of a b2b application.
So for newspaper web site, showing all kinds of news and stuff I'm trying
with 1 page approach.
Reasons:
- loads
>>>>
>>>>
>>>>protected void assembleComponents() throws Exception {
>>>>
>>>>// Add some components.
>>>>
>>>>// Panels to be defined in subclasses are added
>>>>
>>>>// by cal
;
>>> // and
>>>
>>> //
>>>
>>> // add( createPanel_B("some_other_wicket_id") );
>>>
>>> }
>>>
>>>
>>>
>>> abstract protected Panel createPanel_A( String panelWicketID )
gt;
>> Concrete child pages would look something like this:
>>
>>
>>
>> public class OneConcreteChildPage extends MyApplicationBasePage {
>>
>>
>>
>> protected Panel createPanel_A( String panelWicketID ) {
>>
>> return n
owever many component-defining abstract methods you please.
> Furthermore, one can generalize this to a page hierarchy of any depth,
> since a semi-base page can define additional abstract methods to be
> called by its implementation of createPanel_A() or createPanel_B().
>
>
>
> -Frank
>
&
Right now I'm developing a single-page-multi-panel application.
Had some issues regarding history (that is browser back/forward), but
succeeded to fix them using wicketstuff-ajaxhistory.
What I failed (not yet succeded ...) is related to
'deep links', that is to bookmarkable URLs.
All in all, an Aj
cketID, ...);
>
> }
>
> }
>
>
>
> This can be generalized in that the application base page can have
> however many component-defining abstract methods you please.
> Furthermore, one can generalize this to a page hierarchy of any depth,
> since a semi-base page can
z wael [mailto:nino.martinez.w...@gmail.com]
Sent: Friday, February 26, 2010 7:50 AM
To: users@wicket.apache.org
Subject: Re: UI Layout
For me it seems it would very confusing if I only had one page. I'd
prefer
pages that are target against their specific functionality, keeping code
simple
For me it seems it would very confusing if I only had one page. I'd prefer
pages that are target against their specific functionality, keeping code
simpler. I'd still be using panels though, giving the benefit of ajax, role
base plus all the other stuff.
my 2 centavos
-Nino
2010/2/26 Josh Kamau
17 matches
Mail list logo