This is what I did and it seems to work alreadyl.
addComponentInstantiationListener(new IComponentInstantiationListener()
{
public void onInstantiation(Component component) {
// TODO Auto-generated method stub
yeah well, that is a pretty extreme and unnecessary hack :)
not to mention it is not disabled in deployment mode...
-igor
On Sun, Mar 2, 2008 at 12:13 AM, carloc [EMAIL PROTECTED] wrote:
This is what I did and it seems to work alreadyl.
addComponentInstantiationListener(new
On 2 Mar 2008, at 15:29, Igor Vaynberg wrote:
a) components need to know their ids, they use them to generate
markup id, etc.
it could be passed to child.render(id)
b) it is a space optimization. an array of components each with their
own id is cheaper on ram/serialization space then a
a) components need to know their ids, they use them to generate markup id, etc.
b) it is a space optimization. an array of components each with their
own id is cheaper on ram/serialization space then a map.
im sure i could come up with a few more, what is really the advantage
of having
On 2 Mar 2008, at 16:13, Igor Vaynberg wrote:
On Sun, Mar 2, 2008 at 12:43 AM, John Patterson [EMAIL PROTECTED]
wrote:
On 2 Mar 2008, at 15:29, Igor Vaynberg wrote:
a) components need to know their ids, they use them to generate
markup id, etc.
it could be passed to child.render(id)
first you have to realize that this is a corner case. doing
constructor injection with actual component instances is pretty
rare.
I find myself wanting to do it quite often with side-bar panels that
contain a mix optional items
I find that also - a whole branch of the page hierarchy need
Hi,
while trying profiling and debugging our application (which seems to have
some memory leak problems) I've found a strange thing in the constructor of
org.apache.wicket.Application.
When the object is constructed a new component instantiation listener is
created with this code:
Hi.
I have a form that contains a text area. I want to fill this with
content fetch from a pojo.
I do this by form.add(new TextArea(xxx, new
PropertyModel(myPojoInstans, content));
When running the app this screws things up.
Any components added before the TextArea are displayed correctly,
Hi Jörgen,
The textarea tag requires a close tag, rather than an open-close tag. Like
this:
form wicket:id=testTextAreaForm method=post
textarea wicket:id=testTextArea rows=10 cols=30Content to be
replaced by wicket/textarea
/form
Cheers,
Jay
On Sun, Mar 2, 2008 at 6:01 AM, [EMAIL
Thank Jay.
It's always so simple :)
/Jörgen
Jay Hogan skrev:
Hi Jörgen,
The textarea tag requires a close tag, rather than an open-close tag. Like
this:
form wicket:id=testTextAreaForm method=post
textarea wicket:id=testTextArea rows=10 cols=30Content to be
replaced by
On 24 Feb 2008, at 13:35, Martin Makundi wrote:
first I'd ask, why do you hesitate to install the Libraries to your
local repository?
I am in prototyping phase and being new to wicket it is a mess ;) I
consider it more flexible and less messy not to install such jars into
maven repository -
it is that way so you can have a different auth strategy per session
by overriding sesssion.getauthstrat()
-igor
On Sun, Mar 2, 2008 at 1:57 AM, Roberto Fasciolo
[EMAIL PROTECTED] wrote:
Hi,
while trying profiling and debugging our application (which seems to have
some memory leak
Swarm for instances uses the strategy per session technique to also
store the user credentials in the strategy.
Maurice
On Sun, Mar 2, 2008 at 6:25 PM, Igor Vaynberg [EMAIL PROTECTED] wrote:
it is that way so you can have a different auth strategy per session
by overriding
Hi guys I've just found this out...
When I use the $ function of jquery directly within my page, it's causing my
page to be cosntructed twice.
I included something like
$(function() {
$('#leftFrame').css('z-index', 200);
});
It's causing my page to reload twice.
I was trying to find out
Hi:
I wonder if there is a plan to integrate YUI into wicket.
or any other JS lib. YUI seems to be a nice fit with its license
and number of widgets. Since wicket is already using its calendar,
so would it be rational approach to adopt the rest of YUI ?
Thanks
we namespace all of our javascript, so i dont think we use $ but Wicket.$
-igor
On Sun, Mar 2, 2008 at 12:48 PM, carloc [EMAIL PROTECTED] wrote:
Hi guys I've just found this out...
When I use the $ function of jquery directly within my page, it's causing my
page to be cosntructed twice.
there are a whole bunch of js lib integrations in wicket-stuff
-igor
On Sun, Mar 2, 2008 at 12:52 PM, [EMAIL PROTECTED] wrote:
Hi:
I wonder if there is a plan to integrate YUI into wicket.
or any other JS lib. YUI seems to be a nice fit with its license
and number of widgets. Since
Not quite an expert on maven...but have you taken a look at maven's module
configuration?
I have setup a parent directory that links all the necessary modules.
This parent pom needs to be of packaging type pom to nest other modules.
For example:
Directory structure of the following:
arch/
Hi ,
I seem to be getting this Exception when I run integration tests using
WicketTester...
I use lazy objects through the opensessioninviewfilter.
How can I get WicketTester to use this filter?
Is there anyway that this could be resolved?
org.hibernate.LazyInitializationException: could not
Thanks all for the input.
I didn't use resource filter but did use maven profiles which worked just
find for our needs.
Is there any issues with using profiles over resource filter?
--
View this message in context:
wicket is a java server side framework
-igor
On Sun, Mar 2, 2008 at 1:28 PM, [EMAIL PROTECTED] wrote:
I meant if the core wicket team would adopt it as part of
its core to (quickly) produce many widgets
like the datepicker. YUI project on wicket-stuff is not very active
and leaves
Have you taken a look at wicket-contrib-yui?
There are already a few YUI integrated components built.
--
View this message in context:
http://www.nabble.com/YUI-integration--tp15793009p15793412.html
Sent from the Wicket - User mailing list archive at Nabble.com.
One thing is to run each test in a single transaction. This way the
session will remain open. I tend to use Spring for this (see
http://static.springframework.org/spring/docs/2.5.x/reference/testing.html#testcontext-tx.
). If you are not using Spring you could start a transaction yourself.
Hop
still there in svn, and there is also a maven
archetype...http://wicket.apache.org/quickstart.html
-igor
On Sun, Mar 2, 2008 at 3:09 PM, Chris Colman
[EMAIL PROTECTED] wrote:
Back in 1.2.4 days there was a fully self contained wicket quickstart
zip that contained everything needed to build
I found the wicket-examples directory in the wicket 1.3.1 zip. We've got
that building an running now.
Thanks,
Chris
still there in svn, and there is also a maven
archetype...http://wicket.apache.org/quickstart.html
-igor
On Sun, Mar 2, 2008 at 3:09 PM, Chris Colman
[EMAIL
I saw it but it did not seem to very active. Besides, it would
be nice that wicket core team adopt a js lib as many frontend
functions have to use js, like datepicker. It would make sense to
me to expand it to make wicket more powerful and easy to use.
Have you taken a look at
On Mon, Mar 3, 2008 at 5:19 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
there are a whole bunch of js lib integrations in wicket-stuff
Is it possible to update the wicket-contrib-yui to version 2.5.0?
Regards,
Edward Yakop
-
To
mvn -Dmaven.test.skip=true will turn off the tests
-igor
On Sun, Mar 2, 2008 at 7:07 PM, Chris Colman
[EMAIL PROTECTED] wrote:
We store markup in a separate external directory to the source code and
it works all well compiling under ant but we're now compiling
wicket-examples using maven
We store markup in a separate external directory to the source code and
it works all well compiling under ant but we're now compiling
wicket-examples using maven and we've moved the markup into an external
directory and maven now complains that the markup files can't be found.
Is there a way to
We don't prefer one framework over the other. Some like jquery, others
like dojo or prototype/mootools/scriptaculous/rico. Favoring YUI over
the others will put us in a corner.
Martijn
On 3/3/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I saw it but it did not seem to very active. Besides, it
Or don't store the markup in an external directory. It will make
building reusable components a lot harder.
Martijn
On 3/3/08, Igor Vaynberg [EMAIL PROTECTED] wrote:
mvn -Dmaven.test.skip=true will turn off the tests
-igor
On Sun, Mar 2, 2008 at 7:07 PM, Chris Colman
[EMAIL
Or don't store the markup in an external directory. It will make
building reusable components a lot harder.
...and make it mandatory to bounce the enterprise web app whenever a
designer makes a change to the markup which is not an option for this
app unfortunately.
if you are really deploying new markup often in an enterprise app then
perhaps you shouldve used IMarkupCacheKeyProvider and
IMarkupResourceStreamProvider to make wicket load the markup from db
and obtain proper cache keys
-igor
On Sun, Mar 2, 2008 at 8:02 PM, Chris Colman
[EMAIL PROTECTED]
Is there a way to mix bread crumb and normal links. I don't want the
normal links to append a crumb to the bread crumb bar, but I want the
bread crumb bar to remain on the page. I have a home page with a
bread crumb link to my modified version of the navomatic example.
Following that link I get
Hi£¡
Can I write unicode in Respose?
just like, Response response = request.getResponse();
response.write(UNICODE here...);
Thanks a lot! :-
-Kevin Liu
-
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
So, what are the responsibilities of the class org.apache.wicket.Session and
what's the contract between Session and org.apache.wicket.Application?
I'm asking because to me both them are a bit unclear (and the javadocs can't
help me in understand them at all).
-Roberto
igor.vaynberg wrote:
session represents a user's session, while application represents the
application that users access.
-igor
On Sun, Mar 2, 2008 at 11:03 PM, Roberto Fasciolo
[EMAIL PROTECTED] wrote:
So, what are the responsibilities of the class org.apache.wicket.Session and
what's the contract between
37 matches
Mail list logo