On Wed, 2005-08-24 at 08:53 +0200, Juergen Donnerstag wrote:
> I used to eclipse update link to install it on eclipse 3.1M3. Now
> eclipse doesn't start anymore. It points me to an error log full of
> exceptions. As eclipse doesn't start anymore I've no clue how to
> revert back. Which eclipse vers
I used to eclipse update link to install it on eclipse 3.1M3. Now
eclipse doesn't start anymore. It points me to an error log full of
exceptions. As eclipse doesn't start anymore I've no clue how to
revert back. Which eclipse version are you using?
Juergen
On 8/24/05, Joni Suominen <[EMAIL PROTEC
The traffic on this list is way up and above my reading capacity. Still
I'd hate to miss the announcements. So, what do you think?
Erik.
---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Fr
On Wed, 2005-08-24 at 08:36 +0200, Johan Compagner wrote:
> so if i am reading this right, You also do the:
>
> code, compile, deploy, debug/test, stop and then -> co...?
>
> Why is everybody doing that? It is so immensely waste of time !!
>
> Deploy only once or whenever the jvm really can't ha
I really like the idea of being able to look at a component on itself.
Bit like a bean edit panel.
Eelco
On 8/24/05, Joni Suominen <[EMAIL PROTECTED]> wrote:
> On Tue, 2005-08-23 at 16:44 -0500, Jonathan Carlson wrote:
> > I'm sorry for the stupid question. Feel free to ignore it. I'm trying
>
Another alternativ is , though the current version in CVS
is flawed for none-html, but has already been fixed on my laptop.
Wicket will than create the necessary Link components at runtime for
you. So the css file and images remain in the directory of your java
or html file, keeping previewability
so if i am reading this right, You also do the:
code, compile, deploy, debug/test, stop and then -> co...?
Why is everybody doing that? It is so immensely waste of time !!
Deploy only once or whenever the jvm really can't handly the hotswap of
a class
(when you add or remove a instance variab
ok 0 vor getPageCount() and then -1 for not displaying pages
What to do if PageCount > 0 and currentPage == -1 (then don't display
pages but everything, because you don't want to see a page?)
johan
Christian Essl wrote:
I think pagecount should be able to be 0 (if really no data is
there.. y
Date (UTC)
Rank
Total Pages 1
Downloads
Project Web Hits
Tracker opened (closed)
Forum Posts
24 Aug 2005 *
93
658
43
5,642
0 (0)
0
23 Aug 2005
118
3,490
320
almost everytime you have this means that somehow it finds a much older
wicket.jar first.
If at compile everything goes ok. Then it has to be that on runtime it
finds different classes.
johan
Gwyn Evans wrote:
Hi,
Just to see if anyone's got any suggestions... I've got my app
working happ
On Tue, 2005-08-23 at 16:44 -0500, Jonathan Carlson wrote:
> I'm sorry for the stupid question. Feel free to ignore it. I'm trying
> to monitor the list and do real work at the same time. (Wicket is my
> off-hours passion)
No, problem at all, Wicket is currently my off-hours passion too.
Hopef
Thank Eelco for the suggestion...I have a look at it.
/Flemming
Eelco Hillenius wrote:
Or, if you want to set it programatically, you can attach an
AttributeModifier to it, like:
WebMarkupContainer c = new WebMarkupContainer("foo");
IModel replacementModel = new Model("divId");
c.add(new A
As Igor has pointed out IModels are sometimes more like model-locators and
not what ie a Swing user would expect from a model.
To explain more explicitly what an IModel is I've added a paragraph to
http://wicket.sourceforge.net/wiki/index.php/Models.
Maybe someone is intrested and can read/ed
Nevermind. Got it. My brain is a bit foggy this evening.
Gili
Gili wrote:
I'm not familiar with log4j so please enlighten me, why do we do
Log.isDebugEnabled() before Log.debug() in the Wicket code? If you log a
debug message and debug logging isn't enabled nothing will happen
It's the other way around
If (log.isdebugenabled()) is a lot faster then creating another stack frame
for the function, passing in the arguments, etc.
Besides with branch predictors its there is virtually no performance loss.
-Igor
> -Original Message-
> From: [EMAIL PROTECTED]
> [mai
I'm not familiar with log4j so please enlighten me, why do we do
Log.isDebugEnabled() before Log.debug() in the Wicket code? If you log a
debug message and debug logging isn't enabled nothing will happen
anyway. Isn't checking a waste?
Gili
--
http://www.desktopbeautifier.com/
---
Is that label in a form?
On 8/23/05, Eric Rodriguez <[EMAIL PROTECTED]> wrote:
> First of all, I apologize for the beginner question. I am fairly new to
> Java and Wicket.
>
> I have download the Wicket Kickstart 1.0.1 today and I am having some
> trouble.
> The default Kickstart app worked fine
What I've done is have all my HTML files in one folder (there was a
topic on that recently) and then just copy stylesheets and images over
to that folder for previewing. It's not very elegant, but the
alternative is to have every single image and stylesheet handled by
Wicket, which is a bit of a pa
Check out FormComponentFeedbackBorder, or you can do what I do and
just make your own markup container like so (untested):
public class ErrorIndicator extends WebMarkupContainer {
FormComponent component;
public ErrorIndicator(String id, FormComponent component) {
super(id);
thi
I think pagecount should be able to be 0 (if really no data is there..
you are displaying the list yes,, but does it display a page??)
Yes I think so too.
if pagecount == 0 then currentPage should just be also 0 (setting it to
-1 can be done in pageablelistview but it will directly be converte
First of all, I apologize for the beginner question. I am fairly new to
Java and Wicket.
I have download the Wicket Kickstart 1.0.1 today and I am having some
trouble.
The default Kickstart app worked fine, however when I decided to add a
Label to
the page I got the following error:
Hi
Just curious, if my css files is in a web folder, but my htmls are in the
same folder as my java classes,
how do I make DreamWeaver apply the CSS style while editing the html?
As far as I know, if I use something like this in my html
Dreamweaver expects the CSS to be in the same folde
Hi,
Just to see if anyone's got any suggestions... I've got my app
working happily using the Jetty Start class, but now I create a WAR
file & am trying it in a stand-alone Servlet Engine, I'm having a
problem!
What I'm seeing is a "Can't instantiate page..." because of a
java.lang.NoSuchMeth
Pff... this is the third time I need to send this message, my providers'
smtp server has appeared on the black list of a spam blocker and no mail
gets through to the sf.net mailinglist from my home account. :-S
Anders,
Don't get me wrong, I don't mean to be harsh, but I think you don't
'grok'
this still must be looked at
I think pagecount should be able to be 0 (if really no data is there..
you are displaying the list yes,, but does it display a page??)
You are right about that rowsPerPAge == 0, but that doesn't make any
sense for PageableListView.
So it is more a illegalstate if
I don't know too much about the internals of Wicket, but I have opinions
on how things should work. ;-)
1) Fail gracefully: I had problems with a Panel/Form today. I got a
(Runtime) Exception as soon as it was rendered (which I couldn't
prevent). I actually wanted to show an empty form - it w
I'm curious. What does it do?
>>> [EMAIL PROTECTED] 2005-08-23 3:17:37 PM >>>
Hi,
I just created an experimental Wicket Eclipse plugin. Please check it
out and see if it interests you. Installation instructions and a short
description can be found from:
http://www.laughingpanda.org/mediawiki/i
I'm sorry for the stupid question. Feel free to ignore it. I'm trying
to monitor the list and do real work at the same time. (Wicket is my
off-hours passion)
---
I'm curious. What does it do?
>>> [EMAIL PROTECTED] 2005-08-23 3:17:37 PM >>>
Hi,
I just created an experimental
hopefully it does.
Juergen
On 8/23/05, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> Does beta3 fix the problems with DatePicker as well? This is
> regarding the javascript not getting inserted into the head of the
> rendered page.
>
>
> ---
>
please see the linkomatic example for the various links available.
wicket:link is limited that the html must either be in the same
directory, a subdirectory (subpackage) or you provide an absolute path
like /mydir/my.html.
Juergen
On 8/23/05, pepone pepone <[EMAIL PROTECTED]> wrote:
> Hello
>
>
I find it helps to think about wicket's Imodel hirarchy as model-locators.
These classes exist to help the components locate your actual model objects.
I always thought imodel was a bit of a misnomer. Hope this helps.
-Igor
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAI
Each component also has a unique id in its relation to the page called a
path, so if you don't want to bother with setting the id itself you can
always use component.getpath() to get a unique id. Comes in handy in these
types of situations.
-Igor
> -Original Message-
> From: [EMAIL PROT
Woohoo! Nice to see people are picking up that as well!
Unfortunately, I can't get on the net with Eclipse until this weekend.
But I'm itching to try your plugin out!
Cheers mate,
Eelco
On 8/23/05, Joni Suominen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I just created an experimental Wicket Eclips
I haven't followed the whole discussion (lousy connectivity here in my
hotel), but I'd like to give a note on one thing. While I started out
using 'pull' models all the time, and letting all dynamic parts of the
page - also heavily depending on the visible flag - I came back from
that a bit. Someti
Does beta3 fix the problems with DatePicker as well? This is
regarding the javascript not getting inserted into the head of the
rendered page.
---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Fr
Did you read http://wicket.sourceforge.net/wiki/index.php/Newuserguide
and http://wicket.sourceforge.net/wiki/index.php/Models ?
IModel is the base of all models. getObject(Component) and
setObject(Component, Object) can be implemented any way you want. The
Component argument is there to let you d
Hi,
I just created an experimental Wicket Eclipse plugin. Please check it
out and see if it interests you. Installation instructions and a short
description can be found from:
http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench
--
Joni Suominen <[EMAIL PROTECTED]>
-
Like I just answered (probably didn't come through yet): use an
AttributeModifier.
Eelco
On 8/23/05, flemming <[EMAIL PROTECTED]> wrote:
> Hi
>
> I will try with an example.
>
> Here is the example. and the javascript file which gets included on the
> pages I want to use this panel/border.
>
>
I actually agree we should allow nulls. We have had discussions about
this in the past, but I'm definitively in the camp that wants to
either fail right away if a value (null) is not allowed, or be
flexible about what we support.
Eelco
On 8/23/05, Anders Peterson <[EMAIL PROTECTED]> wrote:
> Igor
Or, if you want to set it programatically, you can attach an
AttributeModifier to it, like:
WebMarkupContainer c = new WebMarkupContainer("foo");
IModel replacementModel = new Model("divId");
c.add(new AttributeModifier("id", true, replacementModel));
add(c);
bar
And, as you probably need some j
Hi
I will try with an example.
Here is the example. and the javascript file which gets included on the
pages I want to use this panel/border.
Now the problem I have is that the Id of the DIV must match the id in
the onclick in the
Is there any way that I can set the id in the DIV from wick
Igor Vaynberg wrote:
Cant you just do new CompoundPropertyModel(new HashMap()) ?
Yes
Also check out the wicket.util.value.ValueMap helper class.
StringValue seems useful!
/Anders
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Anders Peterson
Hi,
I'm not sure I get what the issue might be, as (as I understand it)
Wicket will leave the "id" tag alone, so you'd just set it in your
component's HTML and it should get rendered intact?
/Gwyn
On 23/08/05, flemming <[EMAIL PROTECTED]> wrote:
> Hi there
>
> First I would like to say that I
Hi there
First I would like to say that I think Wicket Rocks. I am an old struts
guy, so I can really see the
advantages over struts.
However some things are of course more easy to do with Struts than wicket.
In struts I have made a custom tag that gives me a panel with a headline
=
Eelco,
I've been scanning the wiki since you posted this and I just am not
able to get a grasp from the doucmentation on Models in Wicket for what
I want to do. Can you explain a bit on how I would use the IModel
interface to achieve what I want? Thanks.
GreggOn 8/22/05, Eelco Hillenius <[EMAIL
go right ahead. it belongs to wicket-stuff now, so please feel free to
make changes where you see fit.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Phil Kulak
Sent: Tuesday, August 23, 2005 1:28 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicke
I updated your source for the latest Wicket build and moved the
stylesheet into the header. Do you mind if I commit that?
On 8/22/05, Phil Kulak <[EMAIL PROTECTED]> wrote:
> I would love it if you committed this somewhere or posted a formal jar
> that I could play with. It would be nice if Wicket
Cant you just do new CompoundPropertyModel(new HashMap()) ?
Also check out the wicket.util.value.ValueMap helper class.
-Igor
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Anders Peterson
> Sent: Tuesday, August 23, 2005 10:48 AM
> To: wicke
Hello
I using this code in a border component to create same bookmarkable links
but i can't create links in this way to pages that are in other
package because wicket only try to resove the page class in the same
package
ther are other way to link pages that are in a difrent java package?
Hi, it's me agian...
I just discovered that this works perfectly fine:
Map tmpMap = new HashMap();
Ognl.setValue("testValue", tmpMap, new Integer(1));
Then couldn't CompoundProtertyModel have a Map as a default object (if
allowing null objects is a problem)?
/Anders
Anders Peterson wrote:
In case it wasn't clear...
An NSDictionary instance will accept *any* ognl expression.
/Anders
--
http://ojalgo.org/
Mathematics, Linear Algebra and Optimisation with Java
Anders Peterson wrote:
Hi,
I have a background doing WebObjects (WO) programming.
http://developer.apple.com/webobjects
In my case rendering fails - throwing an excpetion - and does not allow
me to continue.
It seems now that the only way I can get this to work is to insert some
sort of dummy object. This is really not what I was hoping for.
Why can't wicket allow models with null objects?
/Anders
Johan Comp
If that's the case (rendered but goes nowhere) this sounds like a waste
of cpu/memory :)
Gili
Johan Compagner wrote:
ehmm it does get renderd.. Only the output doesn't get streamed (all
rendering goes to a null output)
I think we do that so that the markup advances correctly (the current
ehmm it does get renderd.. Only the output doesn't get streamed (all
rendering goes to a null output)
I think we do that so that the markup advances correctly (the current
pointer)
We should be able to skip a markup and set the markup stream correctly
after the component that was not visible
Hi,
I have a background doing WebObjects (WO) programming.
http://developer.apple.com/webobjects/
WO contains an interface NSKeyValueCoding and a class NSDictionary that
is essentially a Map that implements NSKeyValueCoding.
http://developer.apple.com/documentation/WebObjects/Reference/API/c
Yep. Also, I should do any model updates when it is part of a form,
and it should not be reachable as a listener too, though I think that
still is an open issue.
Eelco
On 8/23/05, Anders Peterson <[EMAIL PROTECTED]> wrote:
> Hi,
>
> If I set a component to not visible "setVisible(false)" then th
Hi,
If I set a component to not visible "setVisible(false)" then that
component and any/all children should not get rendered - right?
Just like confirmation before I submit a bug report.
/Anders
--
http://ojalgo.org/
Mathematics, Linear Algebra and Optimisation with Java
-
Juergen Donnerstag wrote:
What do you normally do? Having a panel that, in the same page, should
display different things depending on what the user does must be a
common design pattern.
create different panels and enable/disable them.
Say you have a list of Client objects displayed in one
On 8/23/05, Anders Peterson <[EMAIL PROTECTED]> wrote:
> Juergen Donnerstag wrote:
>
> > I'm not very fond of replacing the model object, but I guess sometimes
> > it is the only or the better choice.
>
> What do you normally do? Having a panel that, in the same page, should
> display different t
Juergen Donnerstag wrote:
I'm not very fond of replacing the model object, but I guess sometimes
it is the only or the better choice.
What do you normally do? Having a panel that, in the same page, should
display different things depending on what the user does must be a
common design patter
I'm not very fond of replacing the model object, but I guess sometimes
it is the only or the better choice. I do not know your application,
but I guess I would go for a single model which contains all form
component, whether set visible or not. And on submit propagate the
information into proper bu
I think it should be possible to create *PropertyModels with a null
model argument - it would make things a lot easier.
Getting the various properties should return null if the model is null,
and corresponding labels, textfields or whatever are left empty.
/Anders
Anders Peterson wrote:
Tha
Thanks Johan foor providing IPageable, it looks realy good.
I just tried to implement it and had a border-line question:
In case the list size is 0 should getPageCount() return 0 and
getCurrentPage() return -1. Or does getPageCount() have to always return
at least 1 and getCurrentPage() at leas
I updated the tutorial based on the recommendations here and in JavaRanch.
Thanks all for the feedback. If you guys feel it is good enough
to get a new Wicket user started, I would appreciate some links
to the article.
The URL is http://ensode.net/wicket_first_look.html
Thanks,
David
On 8/22/
Thanks for answering!
This is the route I've taken, but when/where/how do I create the models?
Should I create the model in the initModel method - I trust it is not
called as long as the component is invisible.
Is replacing a model's object a "normal" thing to do?
/Anders
Juergen Donnerstag
You could use setVisible(true/false). Create your markup and panel
class with all the different data, assign a wicket:id to all tags to
be either visible or not and control visibility by your java code.
Juergen
On 8/23/05, Anders Peterson <[EMAIL PROTECTED]> wrote:
> Here's a more specific case..
Here's a more specific case...
A page conatins a panel. That panel should display different data
depending on what the user does/selects in the main page, and initially
there is nothing to display.
How is something like this intended to be done? Is there an example of this?
/Anders
Anders P
don't know about style.
Because then you will need different html files for the 2 sites.
And i think Dan want to use the same html but slightly different text on
some places
(and some different urls to stylesheets and images)
So it is more like a resource bundle, didn't chris make something for
PackageResourceReference and PackageResource, then added an Application
parameter to each to make that explicit. Added IComponentInitializer
method
that is called in Application constructor for each class listed in
META-INF/wicket-component-initializers.txt. This will allow component
deve
69 matches
Mail list logo