provide a french version of PageExpiredErrorPage_FR_fr.html in
wcket/markup/html/pages is one option. Providing your own Page through
registering on Apps (or Apps Setting) is another option.
Juergen
On 8/25/05, Dzenan Ridjanovic <[EMAIL PROTECTED]> wrote:
> Hi,
>
> In Wicket-1.1-b3 sign out (get
Right. It is meant only for resources on the class path.
Juergen
On 8/25/05, Phil Kulak <[EMAIL PROTECTED]> wrote:
> But that doesn't work for resources that are not on the classpath.
>
> On 8/23/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> > Another alternativ is , though the current ver
Hi,
In Wicket-1.1-b3 sign out (getSession().invalidate();) gives me:
Page Expired
The page you requested has expired.
Return to home page
Would a regular user understand that he has just signed out?
I am not sure what has to be done for i18n (e.g., french text)?
Dzenan
+1
David Heffelfinger wrote:
+1
---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams *
What to do if PageCount > 0 and currentPage == -1
I actually was also thinking about this but could not find a real
use-case. I don't even know wheter it makes sense, because as I understand
the component is responsible for bounding between 0 and pageCount-1.
Anyway ...
(then don't display
But that doesn't work for resources that are not on the classpath.
On 8/23/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> 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
I fixed it. But please be aware that we strongly suggest you use maven
to build wicket.
Juergen
On 8/24/05, Scott Sauyet <[EMAIL PROTECTED]> wrote:
> It's not a big thing, but the Javadoc task in the 1.1-b3 Ant build file
> is expecting packages named "com.voicetribe.*", and it failed since
> the
It's not a big thing, but the Javadoc task in the 1.1-b3 Ant build file
is expecting packages named "com.voicetribe.*", and it failed since
there are no such packages. That means the "dist" task also fails.
Changing it to "wicket.*" makes everything work.
-- Scott
--
Thanks - I couldn't see anything obvious, but took it as a reason to
update to 1.1b3, and that sorted it.
/Gwyn
On 24/08/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
> almost everytime you have this means that somehow it finds a much older
> wicket.jar first.
> If at compile everything goes ok.
Of you want a more stable version, you could use 1.0. Even that had an
API break, but only to solve an actual bug. For 1.1 - still in beta -
we have more API changes and additions. We are not changing or core
prinicpals though. Hard to please everyone I guess. Personally, I
prefer break when they m
That's what I at first thought was happening, and was quite impressed.
That makes quite a bit of sense. Would the same thing be available for
Javascript tags? Meta tags?
I'm very impressed with Wicket so far, but it does look like a bit of a
moving target...
-- Scott
Juergen Donnerstag
Now /that/ would be sweet indeed :) And that would also work in
components (/ header contributions)?
Eelco
On 8/24/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> hopefully this week I get sorted out. Than you simple do
>
>
>
>
>
>
>
> and that is it. No java at all. The Package
hopefully this week I get sorted out. Than you simple do
and that is it. No java at all. The PackageResource will be
automatically created for you. Thus style.css goes next to the html
file in the same directory.
Juergen
On 8/24/05, Scott Sauyet <[EMAIL PROTECTED]> wrote:
> Yeah, I'
Yeah, I'm probably behind. I pulled the build down as recently as
Monday, but that's ages ago in Internet time, escpecially when not
getting the sources from CVS.
I do think that it would be nice to replace all this with something like:
addToCSSHeader(Tree.class, "tree.css");
but I suppo
Yep, though my guess is that you are looking at older sources, as
StaticResourceReference is now PackageResourceReference. Basically, we
had the proof again (for the 10.000th time :)) that static is evil, so
we changed our package resource loading algoritm. There have been
posts about this last wee
When you add and remove a method dont you need to update the vtable? Or is
that not kept with instances in java?
-Igor
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Johan Compagner
> Sent: Wednesday, August 24, 2005 12:41 AM
> To: wicket-us
I didn't find the DatePicker yet, but if I understand Tree, correctly,
this is fairly straightforward. It looks as though this is handled
through the HTML using
and with the following Java:
private static final StaticResourceReference CSS =
new StaticResourceRe
The advantage of using the header distributions as we now support
out-of-the-box, and that you can see in components like DatePicker, is
that it works in /any/ page. It is completely self contained.
Eelco
On 8/24/05, Scott Sauyet <[EMAIL PROTECTED]> wrote:
> I'm not certain I need it. In my hom
Thanks Juergen i use absolute paths and all is working as expected
On 8/23/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> 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 (subpackag
I'm not certain I need it. In my homegrown proof-of-concept framework,
a component could implement a similar interface (with an identical name!):
public interface HeaderContributor {
public List getStyleHrefs();
public List getJSHrefs();
public List getMetas();
}
For a start, take a look at how Tree does it. For a slighly more
complex one, look at DatePicker, which is part of the extensions
project.
Eelco
On 8/24/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> Wicket provides several difference means to reference css and js
> files. Unfortunately the
Obligatory disclaimer: I'm brand new to Wicket. I'm trying to use it
on my first project.
The Wiki page on including CSS references for components
(http://tinyurl.com/8aqp5) finishes with this comment:
"A better integrated way of dealing with CSS, JavaScript, etc,
is planned for Wic
That was one thing that was done before that i believe
because i my refactor i didn't touch that.
johan
Gwyn Evans wrote:
Thanks.
Just for completeness, the other change I came across was the removal
of my ListView's .getItemCount(), which I replaced with
.getList().size().
/Gwyn
On 24/08/
Wicket provides several difference means to reference css and js
files. Unfortunately the documentation is perfect, ... What exactly is
your problem or your question. In the simplest case use plain (X)HTML
without any wicket specific code. . The examples may serve as references as
well.
Juergen
O
Thanks.
Just for completeness, the other change I came across was the removal
of my ListView's .getItemCount(), which I replaced with
.getList().size().
/Gwyn
On 24/08/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
> it is a pretty simple change
> All
>
> PageableListViewXX
> from package:
Juergen Donnerstag wrote:
I did the changes necessary to not render invisible component and it
passes all existing unit tests. Any more suggestions (votes) on this
topic?
Juergen
I'm happy!
/Anders
--
http://ojalgo.org/
Mathematics, Linear Algebra and Optimisation with Java
--
I'm +1 on changing this as well
Juergen
On 8/24/05, Anders Peterson <[EMAIL PROTECTED]> wrote:
> Eelco Hillenius wrote:
>
> > I find it perfectly natural that the 'name'
> > property of a null object gets me null when working with Ognl. In
> > fact, that's another good reason to support this; al
Eelco Hillenius wrote:
I find it perfectly natural that the 'name'
property of a null object gets me null when working with Ognl. In
fact, that's another good reason to support this; all expression
languages like Ognl, but also JSF's and for example Velocity's allows
you to have expression where
As an interested bystander (and hopefully eventual wicket user), I'd say
+1 on a separate wicket-announce list.
dwh
Gwyn Evans wrote:
+1
I'd say Users+Devs+Anns, rather than just Anns, though.
/Gwyn
---
SF.Net email is Sponsored by
I looked around on the wiki but didn't find anything on unit testing
Pages and Components. Are there docs or an example that I missed?
Thanks.
---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San F
Yep,. it should just ignore it. The property model regconizes it has
null as the actual model object, so it should just do nothing. Though
I can see this might introduce bugs that aren't immediately obvious,
it is still the case that we can't fail fast as the actual model
object can come from anywh
I'm an IDEA user :)
On 8/24/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> And I think the eclipse plugin provided by Joni is meant to help in
> that area as well.
>
> Juergen
>
> On 8/24/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > Nothing written you to my knowledge. You could sta
+1
---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process I
i think martijn means
What happens if you get the post request from the poster.
Where should the textfield set the data on?
I agree the other way around then null is just null...
johan
Eelco Hillenius wrote:
No, why? Wicket should react by checking for nulls and not failing.
Person p = (Perso
And I think the eclipse plugin provided by Joni is meant to help in
that area as well.
Juergen
On 8/24/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Nothing written you to my knowledge. You could start looking at both
> the unit tests we provide with Wicket and Wicket-examples (that use
> jWeb
you could make a setting and then in development setting it can be
default on (do render)
and in deploy default off (don't render)
And developers can override it them selfs.
But maybe this is to much trouble
johan
Juergen Donnerstag wrote:
I did the changes necessary to not render invisible
Nothing written you to my knowledge. You could start looking at both
the unit tests we provide with Wicket and Wicket-examples (that use
jWebUnit). You could then decide which method you like better. And if
you have any idea's of how to enhance our junit support, let's hear
them.
Eelco
On 8/24/0
No, why? Wicket should react by checking for nulls and not failing.
Person p = (Person)getModelObject(); won't fail if it's null. Any
PropertyModel should just return null if the 'master' property is
null.
Why is that so strange? And what does it have to do with parsing
request parameters? I find
I did the changes necessary to not render invisible component and it
passes all existing unit tests. Any more suggestions (votes) on this
topic?
Juergen
On 8/24/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
> if i had to choose then don't render at all if not visible
> A developer will also test
Thanks for the reply,
My mistake, my project had the old
wicket-extensions project as a dependant project. That was causing the
problem.
Thanks
Dipu
- Original Message -
From: "Eelco Hillenius" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, August 24
How should Wicket react to this?
public MyPage() {
add(new MyForm("form", new CompoundPropertyModel(null)));
}
public class MyForm extends Form {
public MyForm(String id, IModel model) {
super(id, model);
add(new TextField("name"));
}
}
This is what you propose... How sho
if i had to choose then don't render at all if not visible
A developer will also test the component if it is visible so it will get
that error then.
Not visible. Is just not there. If even the markup/component don't apply
that can happen
And it could be that this is even a thing i want??
I hav
it is a pretty simple change
All
PageableListViewXX
from package: wicket.markup.html.list
are now
PagingX
in the package wicket.markup.html.navigation.paging
And IPageableComponent == IPageable.
The constructors calls are the same
One thing to take care of (if you did use @override
I thought there was a note on the API breaks with the news item?
Anyway, from the top of my head, StaticResourceReference was renamed
to PackageResourceReference.
Eelco
On 8/24/05, Dipu <[EMAIL PROTECTED]> wrote:
> I am trying to update my application to use the new version of wicket 1.1
> b3.
>
I am trying to update my application to use the new
version of wicket 1.1 b3.
But when i start my jetty server im getting a NoClassDefFoundError.
Exception in thread "main"
java.lang.NoClassDefFoundError:
wicket/markup/html/StaticResourceReference
I checked in the source tree for the file
On 8/24/05, Anders Peterson <[EMAIL PROTECTED]> wrote:
> Isn't that strict checking something that should be done when compiling
> (someone has the time to code a wicket builder for eclipse) and not at
> runtime?
>
1) you suggest to compare java code and markup at compile time?
2) than you need t
Isn't that strict checking something that should be done when compiling
(someone has the time to code a wicket builder for eclipse) and not at
runtime?
At runtime I'd like the ability to disable components that are not in a
working state because they are currently not used/displayed.
As Gili
we could do, it seems not to be a large change, but ...
Currently users (designers and developers) can be sure that wicket
throws an exception if there not a 1:1 mapping between all wicket tag
(wicket:id and wrote:
> ehmm it does get renderd.. Only the output doesn't get streamed (all
> rendering
Detach /is/ called automatically for all models that are set on
components. In other words, at the end of a request, we visit all
components, and ask each component to detach their model. However,
models that dont have /attachable/ behaviour, do nothing on detaching;
it's just a no-op for them.
Th
That looks allright. H... Are you sure that constructor is called
(did you check using logging or your debugger?).
Eelco
On 8/24/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 th
Unfortunately, I don't own an Apple. Martijn does though :)
I don't agree with Martijn actually. Like I said, we have had
developer discussions about this before. I think we should allow nulls
in all our models. I can't see anything wrong with that. Just an
'empty' case. And even if we decided (li
When/where/how are models shared between sessions or application instances?
When should I call detach rather than just dumping the model?
I trust detach is never called automagically.
/Anders
--
http://ojalgo.org/
Mathematics, Linear Algebra and Optimisation with Java
Christian Essl wrote:
As
+1
I'd say Users+Devs+Anns, rather than just Anns, though.
/Gwyn
On 24/08/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> Erik van Oosten wrote:
>
> > 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?
>
> I
i would say every dev is already also on announce (and i think every
user also)
Can't we if we subscribe to user or dev look it also is on the announce
and if it isn't also subscribe them there?
Then don't do duplicate posts..
Who can post to an announcement?
johan
Martijn Dashorst wrote:
E
Eelco Hillenius wrote:
There have been quite a few API breaks between the M versions of 3.1.
The kind of breaks that doesn't give you compile errors too. Glad it's
final now.
final? No!
we already have 3.2M1 ;)
johan
---
SF.Net email
Erik van Oosten wrote:
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?
I think it is a sound idea... Are there other users +1 on this?
And how should we do announcents in the future? Only to the announcement
l
+1, but I'd like to let Martijn decide on it.
Eelco
On 8/24/05, Erik van Oosten <[EMAIL PROTECTED]> wrote:
> 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.
>
>
>
> ---
There have been quite a few API breaks between the M versions of 3.1.
The kind of breaks that doesn't give you compile errors too. Glad it's
final now.
Eelco
On 8/24/05, Joni Suominen <[EMAIL PROTECTED]> wrote:
> On Wed, 2005-08-24 at 09:15 +0200, Juergen Donnerstag wrote:
> > Doesn't help. But n
yes i know..
VAJ (which i used before eclipse and hotswap)
did it a bit better. It could handle changes of classes a bit more.
Í do get that when you add a instance var it can't handle that if there
are instances in mem
of that class..
What i don't get is why a method addition/removal is importa
On Wed, 2005-08-24 at 09:15 +0200, Juergen Donnerstag wrote:
> Doesn't help. But never mind. I wanted to move to 3.1 final anyway.
FYI, I verified the problem with Eclipse 3.1M2. There must have been
some changes in Eclipse plugin architecture since it installed fine on
3.1M6 and on 3.1 final.
--
!SESSION 2005-08-23 23:19:52.934 ---
eclipse.buildId=I200411050810
java.version=1.5.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
!ENTRY org.eclipse.osgi 2005-08-23 23:19:52.974
!MESSAGE An error occured
Martijn Dashorst wrote:
Anders,
Don't get me wrong, I don't mean to be harsh, but I think you don't
'grok' the Wicket way, given your comments below. I try to give the
'wicket mindset', and it is only my opinion, perhaps other community
members feel differently. And I'm handicapted: I'm dutc
On Wed, 2005-08-24 at 09:15 +0200, Juergen Donnerstag wrote:
> Doesn't help. But never mind. I wanted to move to 3.1 final anyway.
Can you send me the stack trace? I could take a peek at it. Sorry for
any inconvenience!
--
Joni Suominen <[EMAIL PROTECTED]>
Doesn't help. But never mind. I wanted to move to 3.1 final anyway.
Juergen
On 8/24/05, Joni Suominen <[EMAIL PROTECTED]> wrote:
> 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.
64 matches
Mail list logo