Just tested it and found an entry on their mailing list. In maven 2,
at least the current version mvn eclipse:eclipse tries to download
sources and javadocs automatically.
Eelco
On 6/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
I'm guessing it includes the source jars if they are in your
If you look at the settings for the eclipse project in our parent
pom.xml you will see a setting that is responsible for downloading the
sources:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-eclipse-plugin/artifactId
version2.3/version
Yeah, you're right. I just found a similar entry in our pom. Gawd, why
don't they just do that automatically.
Eelco
On 6/17/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
If you look at the settings for the eclipse project in our parent
pom.xml you will see a setting that is responsible for
Yeah, you're right. I just found a similar entry in our pom. Gawd, why
don't they just do that automatically.
our == Teachscape
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of
the code i'm writing basically just resulted from my playing with the
examples giving in the Pro Wicket book i got. then i wanted to write a basic
site to play with things i can do. this is not anything that i've
designed. just seeing what wicket is capable of.
also, am i missing something? i do
when you do this:
CSSession session = (CSSession) getSession();
session.setUser(loggedInUser);
then that method:
CSSession.setUser(User)
{
this.user = user;
dirty(); You have to do this here!
}
if you alter your session data you have to call dirty
Then you
Also in 1.3? Yesterday I noticed that a Calendar which I retrieved from
the session and modified afterwards was updated in the session as well.
Thies
Johan Compagner wrote:
when you do this:
CSSession session = (CSSession) getSession();
i put in the dirty(), but it still doesnt work. i think i'm going to do more
research and look for code examples. the one i followed in Pro Wicket doesnt
seem to be working. if there are any more complete examples and
documentation, please point me to them. i have found the documentation
On 6/13/07, verbal evasion [EMAIL PROTECTED] wrote:
the code i'm writing basically just resulted from my playing with the
examples giving in the Pro Wicket book i got. then i wanted to write a basic
site to play with things i can do. this is not anything that i've
designed. just seeing what
On Wed, 13 Jun 2007, Eelco Hillenius wrote:
debugging mode ;) And while you're at it, be sure to attach the Wicket
sources to your project dependencies, so that you can step into the
Wicket code as well. This may be a bit intimidating at the start, but
it's a great way to learn about the
On 6/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Actually the dirty bit is only relevant when you use session replication
using a 'standard' clustering technology (e.g. like Tomcat provides). If
the dirty bit is set, Wicket will explicitly set an attribute on the
session, which will
are you talking about the maven2 eclispe plugin? i am using maven1 right now
so there isnt a good plugin for it. i'm working on moving to maven2, but
maven2 kinda makes me feel gross.
thanks,
verbal
On 6/14/07, Timo Rantalaiho [EMAIL PROTECTED] wrote:
On Wed, 13 Jun 2007, Eelco Hillenius
With maven 2 you can do 'mvn eclipse:eclipse' and your Eclipse project
will be generated including sources. Plugins for other IDEs probably
work similar.
Eelco
On 6/14/07, verbal evasion [EMAIL PROTECTED] wrote:
are you talking about the maven2 eclispe plugin? i am using maven1 right now
so
not quiete
mvn eclipse:eclipse -DdownloadSources=true
-igor
On 6/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
With maven 2 you can do 'mvn eclipse:eclipse' and your Eclipse project
will be generated including sources. Plugins for other IDEs probably
work similar.
Eelco
On 6/14/07,
On 6/14/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
not quiete
mvn eclipse:eclipse -DdownloadSources=true
I don't have to do that anymore. Just works for me. Maybe it remembers
previous source attachements or something.
Eelco
no, you probably edited your mvn launch script and added it there?
-igor
On 6/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 6/14/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
not quiete
mvn eclipse:eclipse -DdownloadSources=true
I don't have to do that anymore. Just works for me. Maybe
On 6/14/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
no, you probably edited your mvn launch script and added it there?
Haha, that would be funny. No, of course I didn't.
Eelco
-
This SF.net email is sponsored by DB2 Express
I'm guessing it includes the source jars if they are in your local
repository, but doesn't download them unless you provide the extra
argument. Anyway, to be sure, you can provide the argument.
Eelco
On 6/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 6/14/07, Igor Vaynberg [EMAIL
right, thats it
-igor
On 6/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
I'm guessing it includes the source jars if they are in your local
repository, but doesn't download them unless you provide the extra
argument. Anyway, to be sure, you can provide the argument.
Eelco
On 6/14/07,
On Thu, 14 Jun 2007, Eelco Hillenius wrote:
On 6/14/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
not quiete
mvn eclipse:eclipse -DdownloadSources=true
I don't have to do that anymore. Just works for me. Maybe it remembers
previous source attachements or something.
We put it in pom.xml in
It's the org.apache.wicket.examples.template package in Wicket
examples. You can best just look at the code, but a live example is at
http://wicketstuff.org/wicket13/template/.
Eelco
On 6/13/07, verbal evasion [EMAIL PROTECTED] wrote:
eelco,
are these templates on the wicket page? or the
i tried implementing what you had put and i am stuck because loggedin and
form are both in the highest scope of the websitem but in the java code,
you have the form added to the loggedin WeMarkupContainer. that doesnt
seem to fly with wicket unless i'm doing something wrong. i tried to take
out
the form is added to loggedout container, also notice that the form tag is
inside a div wicket:id=loggedout so it matches the java hierarchy.
-igor
On 6/13/07, verbal evasion [EMAIL PROTECTED] wrote:
i tried implementing what you had put and i am stuck because loggedin
and form are both in
yeah i got it to work. it wasnt the code, it was some maven weirdness that
was going on. i have a few more questions. currently, when i login, my
authentication mechanism tells me that i have successfully logged in, but it
seems like the session information is not stored?? i have a print in my
On Wed, 13 Jun 2007, verbal evasion wrote:
yeah i got it to work. it wasnt the code, it was some maven weirdness that
was going on. i have a few more questions. currently, when i login, my
authentication mechanism tells me that i have successfully logged in, but it
seems like the session
Timo,
Speaking of logging, I want to use log4j, but i cant because it doesnt
implement serializable. secondly, session.get().info(message); doesnt
seem to print anything. i have to resort to System.out's. I made the logger
transient so that solved that problem, but it doesnt print anything to
Speaking of logging, I want to use log4j, but i cant because it doesnt
implement serializable.
Either make the log instance it a static variable (statics don't get
serialized) or get it on the fly (every time you need it but don't
keep a reference).
secondly, session.get().info(message);
On Wed, 13 Jun 2007, verbal evasion wrote:
i have turned on debugging for wicket.Session in log4j, but all it prints is
information about pages being dirty or not.
any other debugging i can use or turn on?
Be sure to turn on debugging also for your own code to get
log messages from there.
I
the default behavior is for a session to be temporary? that doesnt make
sense.
this maybe another reason. i have my login code (basically everything you've
seen) in an abstract BasePage class. I then call Index which extends
BasePage. would that have anything to do with anything?
thanks,
20:06:14,806 INFO [STDOUT] loggedOut - isVisible? true
20:06:14,806 INFO [STDOUT] loggedIn - isVisible? false
20:06:14,810 INFO [STDOUT] loggedOut - isVisible? true
20:06:14,810 INFO [STDOUT] loggedOut - isVisible? true
20:06:14,811 INFO [STDOUT] loggedOut - isVisible? true
20:06:14,811
the default behavior is for a session to be temporary? that doesnt make
sense.
It is Wicket trying to be as efficient as possible. I understand the
confusion, but think of it: you would typically only want a persistent
session when you actually do something with it (like setting the
user).
An
hello everyone,
this is my first post. i have been playing with wicket for a while, trying
to see if it will let me do everything i want it to. while a lot of things
in wicket look very attractive from a programmer-forced-to-do-website-stuff
perspective, i do have one big glaring question. the
Very easy to do. There are many ways but an easy one is to have an html tag
such as div, that will correspond to either the login form or signed in text
and give it a wicket:id . During processing you would check to see if the
user is signed in. If not then you would add an appropriate object to
thanks for the responses from eelco and mchack. i appreciate it. i guess
part of the problem is i dont understand enough html either :\. it seems
that you have implied you can put anything in a span tag (e.g. a form and a
label). i will look at the template more carefully. i bought the pro wicket
html
body
div wicket:id=loggedinspan wicket:id=username/div
div wicket:id=loggedoutform wicket:id=form.../form/div
...
MyPage() {
add(new WebMarkupContainer(loggedin, new PropertyModel(this,
session.user.username)) {
public boolean isvisible() { return
html
body
div wicket:id=loggedinspan wicket:id=username/div
div wicket:id=loggedoutform
wicket:id=form.../form/div
...
MyPage() {
add(new WebMarkupContainer(loggedin, new
PropertyModel(this,session.user.username)) {
public boolean isvisible() { return
36 matches
Mail list logo