Has something changed where WicketTester.getResponse().getDocument() no
longer contains the generated markup? I'm getting empty strings for any
component started through the tester. Stepping through with the debugger it
does resolve the associated markup correctly it just never gets added to
the
For LDM
class Ldm[T](provider:()= T) extends LoadableDetachable... {
def load():T {
provider()
}
}
object Ldm {
def apply(provider:()=T) = new Ldm[T](provider)
}
could be used as
...
val id = 1
val model = Ldm(()={dao.get(id)})
or
val id = 1
def provider = dao.get(id)
val model =
Without a Class argument how is it returning/casting correctly? Shouldn't it
be
public W IWrapModelW wrapOnInheritance(Component component,ClassW
type)
to make W available within the method?
On Thu, Jul 28, 2011 at 12:40 PM, Dan Retzlaff dretzl...@gmail.com wrote:
The first W let's the
, Ben Tilford b...@tilford.info wrote:
Without a Class argument how is it returning/casting correctly? Shouldn't
it
be
public W IWrapModelW wrapOnInheritance(Component component,ClassW
type)
to make W available within the method?
On Thu, Jul 28, 2011 at 12:40 PM, Dan Retzlaff
I started on something sililar about a month ago. Havnt had time to work on
it for a few weeks but maybe it would be usable by someone.
https://github.com/btilford/wicketstuff-core/branches/scala-wicket-builder
There's also a groovy builder if you browse my other repos.
sent from mobile
On Jul
1. How static resources work. For a newcomer this can be
shocking/frustrating.
2. Models are a context that holds a reference to a model.
On Wed, Jul 27, 2011 at 5:21 PM, Scott Swank scott.sw...@gmail.com wrote:
Jeremy,
I just threw together the following, which indicates that at least to
Some things will be better but some things won't. Java and Javscript don't
have a whole lot in common.
On Sat, Apr 2, 2011 at 11:31 PM, hariharansrc hariharan...@gmail.comwrote:
we use gwt we can code in java instead of js and then we can use the
generated js in wicket. This only i thought.
Some things you may look at
IComponentInitalizationListener --
http://wicket.apache.org/apidocs/1.4/org/apache/wicket/application/IComponentInitializationListener.html
IComponentInstantiationListener --
Has the extension point for setting your page store changed? I believe
newSessionStore() has been removed in 1.5
In wicket 1.4 this is what was needed in you Application
@Override
protected void init() {
super.init();
//remove thread monitoring from
What are you using to build the project? If your doing stub generation
(mixed java groovy project) see if the stubs look right. There are a
few bugs in the stub generator when dealing with inner classes but it
shouldn't have compiled in that case.
On 10/2/10, fachhoch fachh...@gmail.com wrote:
This might interest you http://kenai.com/projects/joint/pages/WicketExample
Its using the netbeans lookup api instead of spring to build a menu based on
what components are available on the classpath.
On Oct 2, 2010 12:32 AM, James Carman ja...@carmanconsulting.com wrote:
So, why would you use
Nice
Have you tried this with wicket 1.5?
On Fri, Oct 1, 2010 at 7:22 AM, Bruno Borges bruno.bor...@gmail.com wrote:
Like I've tweeted a few days ago, I've implemented a BigTableGAEPageStore
for Wicket so we can advance another step further full compatibility with
Google App Engine.
The
I think its just that the subclasses need to call super() or
super(wicketId).
On Sat, Oct 2, 2010 at 9:07 PM, fachhoch fachh...@gmail.com wrote:
here is my code
class UserMenuItems implements MenuItems {
@Resource(name=manualService)
private ManualService manualService;
If your using wicket 1.4.10 you may want to look at the new onConfigure
method that was added.
On Thu, Sep 2, 2010 at 3:38 PM, Brown, Berlin [GCG-PFS]
berlin.br...@primerica.com wrote:
Where is the best place to add logic to get invoked always when the page
is requested?
The logic may or
It depends how much time you want to take to learn the language. With Groovy
you don't have to know anything but Java to start with and can learn more
about the language as needed or interested. Scala is nothing like Java or
any other language.
The issues Groovy had with inner classes almost all
class Page extends Page {
abstract Component getPart1();
abstract Component getPart2();
}
html
div wicket:id=id4part1 /
wicket:child /
div wicket:id=id4part2 /
On Thu, Jul 8, 2010 at 5:49 AM, Chris Colman
chr...@stepaheadsoftware.comwrote:
Search the list for this and you'll find
Use a pre render listener to call your render method. The constructor
stuff is pretty bad though. If you have the listener look for the
@PostConstruct annotation it even looks like its supposed to work that way.
imo if multiple markup section inheritance were implemented you would really
limit how
If you haven't customized the resource locator your telling wicket to look
sibling directory to your classpath root WEB-INF/classes which I THINK is
where wicket will start looking for resources.
It may be easier to use the build helper plugin which handles resources much
better than maven does
Did you upgrade to spring 3?
I ran into an issue with the testng spring test not creating the application
context before wicket tester tried to use it (iirc @BeforeTest executed
before the super classes @BeforeClass) Ended up switching anything
annotated with @BeforeTest to @BeforeMethod.
I
You can use Spring security with wicket auth-roles, I works out pretty nice
compared to the alternatives. iirc You need do your normal Spring
setup, extend AuthenticatedWicketApplication, and AuthenticatedSession
which has an authenticate method you'll call your UserDetails bean from.
Outdated
Would a FormComponentPanel work?
http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/form/FormComponentPanel.html
On Fri, Apr 16, 2010 at 4:48 PM, David Hamilton
dhamil...@hermitagelighting.com wrote:
Thanks for the great response! I will look at RefreshingView, but right now
I'm
What happened to the groovy wicket builder project? I know it was on hold
until anonymous inner classes were going to be supported which were added in
groovy 1.7 irrc.
On Fri, Apr 16, 2010 at 7:58 AM, Erdinc kocam...@yahoo.com wrote:
Or use wicket as I explained on this page :)
If you find anything useful heres some stuff I have put together
https://docs.google.com/leaf?id=0ByQjVcAVDuP9MWE4NDcxODMtODZlOC00Mzk0LThhOTUtYmI2MmNlYzEwNWFihl=en
I'd upload it somewhere else but it looks like there are already like 4
different projects for this.
2010/4/10 Uwe Schäfer
Try
function setup() {
$(a.showHidePrograms).click(
function () {
var $div= $(this).parent().next(div);
if($div.attr(class) == 'hide'){
$div.attr(class,show);
}else{
$div.attr(class,hide);
}
}
);
}
$(document).ready(function(){
setup();
So far this is what I've got. Doesn't do anything with groups or the more
advanced stuff but this may be all it takes.
public class BeanComponentValidatorT extends AbstractValidatorT {
public BeanComponentValidator() {
super();
}
@Override
protected void
I ran into an issue with a Component Instantiation Listener because the
listener is notified before setModelImpl is called. Is this the intended
behavior? It limits what you can do in your listener quite a bit.
that are called in onbeforerender of
components where you can mock with the actual component instance, not
just the class.
-igor
On Mon, Mar 8, 2010 at 8:36 AM, Ben Tilford bentilf...@gmail.com wrote:
I ran into an issue with a Component Instantiation Listener because the
listener is notified
Models are the hardest part to learn...
Because they are really models.
On Sat, Feb 20, 2010 at 12:05 AM, Eelco Hillenius eelco.hillen...@gmail.com
wrote:
Thanks for the kind words people. Definitively a key part of Wicket's
success has been an enthusiastic community.
The learning curve
Assuming adopting it into Apache Wicket would mean being in the wicket jar
instead of an optional jar.
[ ] adopt Wicket security into Apache Wicket
[x] keep Wicket security at Wicket Stuff
On Fri, Jan 22, 2010 at 11:00 AM, Les Hazlewood lhazlew...@apache.orgwrote:
[ ] adopt Wicket security
You might want to check out http://kenai.com/projects/joint the wicket
example builds a menu system based of pages / links that are on the
classpath which implement a Navigatable interface and have the @Navigation
annotation.
Still very early in development but it still might do what you need.
Forgot to mention, the Netbeans Lookup would also be an option.
On Mon, Nov 2, 2009 at 10:45 AM, Ben Tilford bentilf...@gmail.com wrote:
You might want to check out http://kenai.com/projects/joint the wicket
example builds a menu system based of pages / links that are on the
classpath which
Netbeans has maven built in but it will use an external installation if you
tell it to. It sounds like you have it configured to use an external maven
installation but don't have maven installed.
In Netbeans go to ToolsOptionsMiscMaven and see if you have set it up to
use an external maven
Then
*A little info:
*The framework is using the Netbeans Lookup api to discover joint
implementations which are exported services using the standard
META-INF/services/xyz.Abc in addition there are annotations used to
configure how/where the plugin will be used. Example would be a wicket page,
You can
Are there any examples of a modular wicket application? I'm specifically
having trouble getting maven to compile a jar which contains a sub-class of
WebPage.
Using 1.4.2 and have attempted with 1.4.1/1.4.0, packaging a Panel etc...
all seems to work fine.
13, 2009 at 12:20 PM, Ben Tilford bentilf...@gmail.com
wrote:
Are there any examples of a modular wicket application? I'm specifically
having trouble getting maven to compile a jar which contains a sub-class
of
WebPage.
Using 1.4.2 and have attempted with 1.4.1/1.4.0, packaging a Panel
and have your other modules use that. Then, your web module
declares all of them as dependencies. That's what we do.
On Tue, Oct 13, 2009 at 3:36 PM, Ben Tilford bentilf...@gmail.com wrote:
Something other than?
dependency
groupIdorg.apache.wicket/groupId
artifactIdwicket/artifactId
pedros...@gmail.com wrote:
Isn't it the case for you manually run mvn install on your parent project?
Your local repository may have old .class bytecodes
On Tue, Oct 13, 2009 at 5:11 PM, Ben Tilford bentilf...@gmail.com wrote:
No base page is in a common module (probably will be used
It only gets worse the longer you work with ColdFusion. Where I work were
finally working towards abandoning it completely.
Some paint points:
* No null value, you get a bunch of methods to check various types of
objects to see if they are undefined
* You can only specify return types of the core
It's not Wicket or Firefox its the caching settings (probably on the
server). If the cached resources aren't expired the browser is supposed to
use what it has cached.
Best to set the far future expires to something really short or 0 in
development.
On Tue, Aug 4, 2009 at 10:17 PM, Jeremy
I think maven 3 is supposed to allow using OSGi bundles for versioning etc..
On Mon, Jul 20, 2009 at 8:12 AM, Sam Stainsby
s...@sustainablesoftware.com.au wrote:
Thanks Olger, that gives me some ideas. I wonder if a maven could somehow
be coerced to do the dependency/downloading part, perhaps
Take a look at Griffon
On Thu, Jun 11, 2009 at 8:18 PM, James Carman
jcar...@carmanconsulting.comwrote:
Jide is very nice, if you want to pay for something. Their licenses
are very reasonable.
On Thu, Jun 11, 2009 at 5:54 PM, Jeremy
Thomersonjer...@wickettraining.com wrote:
I would like
Something that may be worth trying is mvn jetty:run-exploded
On Fri, May 29, 2009 at 6:10 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
like i said, the best way is to right click the Start class and do run
as java application. you can, of course, do it any other way you like
- including
Have you looked at selenium? Your not really unit testing here.
On Sat, May 9, 2009 at 7:41 AM, Marko Sibakov marko.siba...@ri.fi wrote:
Like Martijn said i also strongly recommend to take a look at the
jdave-wicket's selectors (http://www.jdave.org/).
examples =
I've always seen it done as public. Anyways I checked the javadoc and the
access modifier does not matter.
On Sun, Apr 12, 2009 at 1:56 AM, Eelco Hillenius
eelco.hillen...@gmail.comwrote:
The purpose of the *public* static final long serialVersionUID is for
long
Why do you stress *public*?
The purpose of the *public* static final long serialVersionUID is for long
term storage or situations where you may potentially have made modifications
to the class that make it incompatible with previous versions (distributed
apps/clustering). I'd say that its easier to just add it in case you
Working with GWT is kind of a nightmare. You have to write custom build
scripts for any library / module you use so that the sources are included in
the jar and available to the GWT compiler. Until GWT has a build system that
is better I'll stay away from it. Really a shame because the programming
There was a grails-wicket plugin but I don't think it works with any recent
version. They are also working on making grails more modular with standalone
GORM etc...
Also heard somewhere that Groovy 1.7 or 1.8 will allow anonymous inner
classes.
On Wed, Apr 8, 2009 at 8:53 PM, Andre Prasetya
47 matches
Mail list logo