Re: [Wicket-user] wicket 1.3 - how to start?

2007-07-28 Thread Gwyn Evans
On Saturday, July 28, 2007, 10:28:34 AM, Dariusz [EMAIL PROTECTED] wrote:

 I downloaded the beta2 version, but cannot easily create a starter project.
 There is some artifact to build an initial project:
 archetypes/quickstart 
 but following the archetypes/README.txt file does not work.

What errors are you getting?


 I try to build wicket from trunk (just checked out from repository):
mvn install  (or 'mvn mackage')
 but I only get exceptions:

 c:\projectsWicket\wicket-trunkmvn package
 [INFO] Scanning for projects...
 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).
 Project ID: org.apache.wicket:wicket-jdk14:pom:null
 Reason: Cannot find parent: org.apache.wicket:wicket-parent for project:
 org.apache.wicket:wicket-jdk14:pom:null for project
 org.apache.wicket:wicket-jdk14:pom:null

That suggests you've only checked out the trunk\wicket sub-folder, not from the
top-level, which is where the wicket-parent pom lives.

 I tried to search for some tutorial on how to build 1st project in 1.3, but
 found none.
 Yes, there are many statements how exciting framework it is, but no real
 help.

Well, you're probably close - it's not really that different from 1.2,
which is why there's nothing standing out as a 1.3-specific startup
guide.

 I know I may look at the examples in 1.3, and build something by hand, copy
 all JAR files, etc. But since maven is used in the core of Wicket, why can't
 I simply use maven to do that for me?

That's what the archetype should do, but you've not told us what issue
you have with that.

/Gwyn
-- 
The Wicket-user@lists.sourceforge.net mailing list is shutting down.
Please subscribe to the Apache Wicket user list. Send a message to:
 users-subscribe at wicket.apache.org and follow the instructions.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket SVN has moved!

2007-07-27 Thread Gwyn Evans
On Friday, July 27, 2007, 7:13:43 PM, Martijn [EMAIL PROTECTED] wrote:

 In order to keep your sources, you should do a switch of your local copy:

 For non-committers:
 svn switch --relocate http://svn.apache.org/repos/asf/wicket/trunk

 For committers:
 svn switch --relocate
 https://svn.apache.org/repos/asf/wicket/trunk

 This will update your local copy to point to the new location.

Hmm, is it just me, or isn't the actual command needed the basic
switch, *not* the --relocate switch?

i.e.
  svn switch https://svn.apache.org/repos/asf/wicket/trunk .

(http for non-committers)

/Gwyn
-- 
The Wicket-user@lists.sourceforge.net mailing list is shutting down.
Please subscribe to the Apache Wicket user list. Send a message to:
 users-subscribe at wicket.apache.org and follow the instructions.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] About to use Wicket. ORM?

2007-07-25 Thread Gwyn Evans
On Monday, July 23, 2007, 8:29:52 PM, Matthias [EMAIL PROTECTED] wrote:

 But anyway, what I still haven't decided is which ORM (if any) framework
   that I should go with. I have previously developed an in-house ORM 
 system which has all the basic features I need (lazy-loading, easy 
 population of beans, an object-oriented query language etc.), but I'm 
 well aware of that I did it to begin with because I was afraid of 
 letting go of my precious sql statements. Not having perfect control of
 the generated sql statements would be hard, but I guess I just have to
 wake up and realize that perhaps in these days it doesn't really matter
 if an sql statement or two could be optimized if you were to perform the
 joins in this way instead or whatnot.

Wicket's not tied to any ORM, so you could still use your own if you
wanted - See the wicket-phonebook app for an example that's got a
couple of implementations in there.

Whichever you choose, the key concept you'll be wanting to investigate
is Detachable Models though!  As for specific ORMs, I've tended to
stick with IBatis, as I've also found Hibernate too black-box-like,
whereas to me, IBatis is much simpler  clearer...

(Two others that I've heard good things about are Cayenne  Mr.
Persister, but I've not used either yet.)

/Gwyn


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] localhost/wicketApp works fine, PC_NAME/wicketApp throws page expire.

2007-07-25 Thread Gwyn Evans
On Tuesday, July 24, 2007, 4:35:06 PM, Francisco [EMAIL PROTECTED] wrote:

No, not BS, simply that the issue you have is so fundamental[1] while
the info you give is so limited that there's nothing that anyone can
do to help.  Your follow-up didn't add anything significant, so you
didn't get any feedback.

You best bet would be to start with QuickStart as a base, then add a
link  a second page, then see if you still have the same problem - if
you do, upload the project (i.e. the pom.xml  the src/ tree) with a
JIRA issue, which will let others see the code, rather than having to
guess what you're doing.

/Gwyn

[1] If there were a general problem with Wicket only working with
'localhost', I rather suspect that others would have noticed?


 I see the questions didn't have anything to do with it.
 just protocol bs...

 anyways.

 f(t)

 On 7/20/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED]
 wrote:

 Tomcat, ie7, safari, and firefox. and wicket 1.3 beta 2.


 On 7/20/07, Sean Sullivan [EMAIL PROTECTED]  wrote:
 
  Which web browser?  Which version of wicket?  Which app server?
 
 
 
  On 7/20/07, Francisco Diaz Trepat - gmail 
  [EMAIL PROTECTED]
  wrote:
  
   Hi has anyone has had this problem before?
  
   I have a page and everything works fine. but when I click on a link at
  the
   home page only works (goes to the page) if I am at localhost:// etc.
  even
   on
   my own computer.
  


/Gwyn


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 1.3.0-beta2 OutOfMemoryError

2007-07-13 Thread Gwyn Evans
On Friday, July 13, 2007, 1:58:58 PM, severian [EMAIL PROTECTED] wrote:

 I've just upgraded from beta1 to beta2, and my unit test suite now cannot
 run.  I can run all test classes individually, or even a package at a time.
 But if I run all tests in my project, I eventually get an exception (Caused
 by: java.lang.OutOfMemoryError: Java heap space), at a different point each
 time.  The same behaviour is observed in both maven  eclipse.

 I've tried various config settings (changing the configuration type to
 deployment, calling Objects.setObjectStreamFactory etc), but I'm clutching
 at straws.

 I noted that each individual test package (say 200 test cases) was running
 twice as slow as before.  I improved this dramatically by calling
 getDebugSettings().setComponentUseCheck(false); in development mode (not
 ideal), and this improved the running time of each individual test package
 back to something like its previous value.  But, when running the full suite
 (several packages, in either Maven or Eclipse), the tests still get
 progressively slower until the OutOfMemory error is raised.

 I've no idea where to start looking, but would greatly appreciate any
 helpful suggestions.  I've just checked with 1.3.0-SNAPSHOT, and I still
 observe the same broken behaviour...

Would this be testing while running in DEVELOMENT mode?

If so, switch to DEPLOYMENT mode - I'm not sure of the details, but in
that mode, there are various things in there that are there to help
with development and which, I think, won't always be cleaned up at the
end of a test. (Possibly due to JDK bugs related to not always closing
filehandles?)

If not, then I guess it's down to a profiler  seeing if you can work
out what's being created  hanging around  why. If it still looks
like Wicket, then post more details.

/Gwyn


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Why wicket-phonebook 1.3 doesn't reload and run in glassfish?

2007-07-04 Thread Gwyn Evans
On Wednesday, July 4, 2007, 3:25:33 AM, Lec [EMAIL PROTECTED] wrote:

 I have been trying to figure out a reason as to why wicket-phonebook 1.3
 couldn't be executed anymore after reloading in glassfish but it can be done
 in tomcat 5.x...I could reload it in glassfish without seeing error on the
 glassfish console, but if i type the URL pointing to the wicket-phonebook
 1.3 context path, it shows 404 http error.. any idea? would be appreciated
 if somebody can shed me a light here.

 upon reloading, the glassfish produces this output on the console

What URL are you trying - it looks as if it's loading OK, but I can't
be sure where - it looks as if it's either on /wicket-phonebook-1 or
/wicket-phonebook-1.2 as a guess, though.

Does the Glassfish console show where it thinks it is mapped to?

/Gwyn


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket 1.3 and tomcat 5.5 filterStart severe error?

2007-06-29 Thread Gwyn Evans
On Friday, June 29, 2007, 8:03:08 AM, Nino [EMAIL PROTECTED] wrote:

See http://www.nabble.com/remove-test-scope-for-slf4j-in-pom.xml-t3913261.html
for background.


 thanks, now its working.. Thought that dependencies would have been 
 setup... So belived that something else was causing it..

 Igor Vaynberg wrote:
 add this into your pom:

 dependency
 groupIdorg.slf4j/groupId
 artifactIdslf4j-log4j12/artifactId
 version1.0.1/version
 /dependency
 dependency
 groupIdlog4j/groupId
 artifactIdlog4j/artifactId
 version1.2.14/version
 /dependency


 -igor


 On 6/28/07, *Nino Saturnino Martinez Vazquez Wael* 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

 Sorry for hanging on this for a couple of days...

 using the wicket 1.3 beta 2 release and

 mvn install on wicket quickstart project and the deploying on
 tomcat 6,
 with the war from target folder yields this on my laptop:


 jun 29, 2007 12:57:44 AM org.apache.catalina.core.StandardContext
 filterStart
 SEVERE: Exception starting filter quickstart
 java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
 at org.slf4j.LoggerFactory.clinit(LoggerFactory.java:57)
 at
 org.apache.wicket.protocol.http.WicketFilter
 .clinit(WicketFilter.java:73)
...

/Gwyn


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Paging data without using DataProvider.size() ?

2007-06-29 Thread Gwyn Evans
Hi,

  Anyone got any suggestions as to the best way to provide a paging
data view without requiring using size() to actually count the records
in DB?

I've got a site that has a production DB such that
select COUNT(*) from mytable
takes a non-trivial amount of time/cpu to return, whereas to get
the actual data for the page is effectively immediate!

I'm curently using a DefaultDataTable and the quick hack is to just
hard-code DataProvider.size() to just return a fixed number, but while
that's probably OK, it's sub-optimal (it is just a util for my own
use though, really).  Having said that, I'd be interested in
alternative suggestions.

It's the Production DB only that shows this behaviour (which is
probably related to them not purging the the old data for 4 years or
so, so I'm limited as to what might be possible with the DB itself).

-- 
Best regards,
 Gwyn  mailto:[EMAIL PROTECTED]


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Paging data without using DataProvider.size() ?

2007-06-29 Thread Gwyn Evans
On Friday, June 29, 2007, 12:36:34 PM, Martijn [EMAIL PROTECTED] wrote:

 The most interesting questions is of course: what database? Perhaps
 someone here knows how to get the count(*) faster? you might want to
 do a select count(primary_key) instead of *.

 As an answer to your question: you could use Integer.MAX_VALUE.

The DB's Oracle (8i, I think), but the metadata approach doesn't help,
as if I'm using size, it should be the size for the filtered results,
which may be in effect, otherwise I might as well use a fixed result.

What I was wondering was if anyone had any suggestions about a table
object that just did 'next'/'prev' paging, rather than working out
Page N of M, although I'll try  work out if select count(id) is
faster/less cost than select count(*)

/Gwyn


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Paging data without using DataProvider.size() ?

2007-06-29 Thread Gwyn Evans
On Friday, June 29, 2007, 12:32:35 PM, C. [EMAIL PROTECTED] wrote:

 Gwyn Evans wrote:
 Hi,

   Anyone got any suggestions as to the best way to provide a paging
 data view without requiring using size() to actually count the records
 in DB?

 I've got a site that has a production DB such that
 select COUNT(*) from mytable
 takes a non-trivial amount of time/cpu to return, whereas to get
 the actual data for the page is effectively immediate!

 I'm curently using a DefaultDataTable and the quick hack is to just
 hard-code DataProvider.size() to just return a fixed number, but while
 that's probably OK, it's sub-optimal (it is just a util for my own
 use though, really).  Having said that, I'd be interested in
 alternative suggestions.

 It's the Production DB only that shows this behaviour (which is
 probably related to them not purging the the old data for 4 years or
 so, so I'm limited as to what might be possible with the DB itself).
   
 I smell Postgres and just going to go out on a limb here.. :) triggers
 that update a counts table, db maintenance, or search the postgres 
 perform archive for other ways to achieve this.. I'm pretty sure I see
 this question nearly every two weeks and from what I've read and 
 remember it pretty much falls on the responsibility of the backend.  

Oracle! :-)  I've tried the db maintenance route but they don't want
to go there - the count is only needed for the Page N of M
NavigationHeader, but would be dynamic (when the table is filtered),
so a counts table wouldn't work.

I think the key this time is just to accept some loss of functionality
(jumping direct to a page) is that allows me to do away with the call
to size(), but I just wanted to check I wasn't missing a better way
than drilling my way down into DefaultDataTable.

/Gwyn


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 1.2.4 - Cross session concurrency issues

2007-06-26 Thread Gwyn Evans
On Tuesday, June 26, 2007, 10:03:15 AM, Richard [EMAIL PROTECTED] wrote:

 Are you saying that 1.3 supports Java 1.4 for all dot releases therein. As
 of Wicket 1.4 there will be a dependency upon 1.5. Again, just looking for
 explicit response on this.

The core, i.e. the 'wicket', 'wicket-extensions'  'wicket-spring'
modules, plus some others[*] will remain as Java 1.4 in Wicket 1.3.X,
while the next major version (which may or may not be called 1.4) will
use Java 1.5 features throughout.

[*] See the svn 'trunk/jdk-1.4' sub-tree for the definative list.

  Commercially, we are an example where usage of
 1.5 just is not viable. I believe the decision to go with 1.5 will currently
 preclude a significant proportion of third party service vendors.

I'm afraid that we differ with that belief - personally, it seems to
/me/ that it's now only (a subset of?) Websphere users that are
constrained to remain at 1.4. The number of which, I'm afraid, has now
shrunk to such a size where remaining at that language level is more
detrimental to the project than moving on to 1.5 for the primary
development.

 Specifically, for stake holders currently investing in Wicket as a viable
 web framework on large scale development projects where Java 1.4 is the
 officially supported version what is the position? You imply that such stake
 holders can be assured that defects raised in 1.3 will be addressed in 1.3.
 Does Apache provide such assurance? We understand that this assurance would
 not necessarily include enhancements but only bug fixes.

Well, the fundamental position is that there are no assurances beyond
that provided by the Apache software licence.

Certainly, the aim/intention is to support 1.3 for defects, but any
/assurance/ from Apache or the developers is going to be limited to
that provided by the fact that you have access to the (complete)
source code  build tools. There's no intention to cut you adrift, but
the fact of the matter is that if you need some form of legal
assurance, you'd need some form of support contract.

/Gwyn


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] A trivial problem with tables that i can't manage

2007-06-26 Thread Gwyn Evans
On Tuesday, June 26, 2007, 9:25:15 AM, landry [EMAIL PROTECTED] wrote:

 Thank you very much for your support.
 Actually, i'm using Mysql and was wondering how to set a min and
 max limit on a select. And because i love exotic solutions, i use Cayenne for 
 persistence
 I will check if Cayenne can do the thing, but Eelco's solution seems very 
 satisfying.

Incidentally, if you've got any tips/notes that might help anyone
looking to use Cayenne with Wicket, please add them to the Wiki -
Maybe a child page below 
http://cwiki.apache.org/WICKET/database-interaction.html ?

/Gwyn


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] A trivial problem with tables that i can't manage

2007-06-25 Thread Gwyn Evans
On Monday, June 25, 2007, 9:54:58 PM, Landry [EMAIL PROTECTED] wrote:

 A problem remains, however : i don't know how to implement
 IDataProvider.iterator(int first, int count).
 Must be something like this in oracle : select * from mytable where 
rownum=first and rownum count 

Actually, in Oracle, it's significantly more complex than the above,
but let's not go there (unless you're actually doing that in Oracle?).

 But how to do this in mysql ? (row_id could do the thing, but it is only
 available when your primary key is integer).

I've not used MySQL for years, but I think it's
  select * from mytable order by whatever limit first, count
where 'first' is from 0.

/Gwyn


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] [OT] Wicket Real World Performance!

2007-06-22 Thread Gwyn Evans
On Friday, June 22, 2007, 7:33:40 AM, C. [EMAIL PROTECTED] wrote:

 Igor Vaynberg wrote:
 believe me, i know that. but hopefully the way i repsonded has cured at
 least one person, no hard feelings :)
 I'm mostly just read-only on this list and not able to contribute as 
 much useful bits as others, but since this thread is gone way OT I don't
 mind hijacking it.

 It would very much help myself and I'm sure many others if everyone 
 could attempt to cut down on the top posting.  There's usually a setting
 that handles the default reply-to behavior.

That's a blast from the past - not many would believe just how far
back, though!

I don't want to get into a pro's  con's discussion, but the fact is
that while I'm using The Bat to reply, I'll use bottom-posting but
when I (and more importantly, the more knowledgable commiters) reply,
the chances are that we'd be using GMail, which doesn't have the
option to set it as a default position but does have significant
advantages for this sort of list.

As such, I believe that I'm afraid that you're just going to have to
accept that as a lost cause, here at least! :-)

/Gwyn


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Bug in 1.3? HeaderContributor.forCss(String)

2007-06-12 Thread Gwyn Evans




I don't know, but surely that's not relevent? 

Jeremy's after accessing an 'external' style-sheet in a 'static' folder in a different context
but on the same webserver - the question is, how does he do that in 1.3 without
having to also supply his domain name?

/Gwyn

On Monday, June 4, 2007, 9:09:01 AM, Johan [EMAIL PROTECTED] wrote:







But what about this

my page is in a package org.wicket.
in that page i have this:

foo/bar.css

where does that css resides then?
in
/context/org/wicket//foo/bar.css?
or
/context/foo/bar.css?

I must admit that i don't know exactly how the src urls are interpreted at the moment
(are the all context specific or page/html specific)

becaues if they are page specific how can i then say that they must be context specific?
normally i would do that with / (the root of the webapplication so context must be prepended).

johan



On 6/4/07,Jeremy Thomerson[EMAIL PROTECTED] wrote:
It's what was done in 1.2.6, but no longer in 1.3. 1.3 converts it to a path relative to your context. 

Sorry, my last post was probably confusing. If I put "/foo/bar.css" - foo is NOT my context. My context for the app could be anything (but not foo). Foo would be the root folder off of my domain that I want the request to be sent for. ( i.e..www.mydomain.com/app/SomeWicketPageincludes the style sheet atwww.mydomain.com/foo/bar.css). I do this and pair it with an Apache alias that directs "/foo" to that folder within my webapp so that Apache (not my servlet container) will serve static resources.

As of 1.2.6, it works fine. As of 1.3, I can no longer do that without adding my domain name (add(HeaderContributor.forCss("http://www.mydomain.com/resources/styles/global.css"));), which is NOT desirable - I should not have to add my domain name to be able to add the resource relative to my domain root.

I opened JIRAhttps://issues.apache.org/jira/browse/WICKET-612for this. I will attach a patch to it as soon as I can get my environment set up to work on Wicket.


Jeremy Thomerson


On 6/3/07,Eelco Hillenius[EMAIL PROTECTED] wrote:
 Sort of - but Wicket doesn't have to handle the prepending of it. If I use
 "/foo/bar.css", Wicket should generate my link tag using exactly that
 string, without modifying it in any way.

I actually think this is what we do now. Dunno, should look at it.
However, I think it is a bad idea to hard-code your context patch in
your applications.

Eelco



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user









-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Exception Strategy in 1.3

2007-05-24 Thread Gwyn Evans
On Wednesday, May 23, 2007, 2:53:50 AM, craigdd [EMAIL PROTECTED] wrote:

 Thanks Eelco, your example was extremely helpful and I agree that the API is
 not obvious when it comes to this type of stuff.  It also doesn't help when
 the javadoc for RequestCycle.onRuntimeException refers to
 DefaultExceptionResponseStrategy which does not exist in 1.3.

All patches welcome!  It's especially useful if it's from someone like
yourself who's just had to wrestle with something that's not as it
should be, as that way it should be fresh as to what the sticking
points were  what it should be!

/Gwyn


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Unit Testing Pages with @SpringBeans

2007-05-07 Thread Gwyn Evans
On Sunday, May 6, 2007, 6:35:45 PM, Ingram [EMAIL PROTECTED] wrote:

 Do you check this ?
 http://www.wicket-wiki.org.uk/wiki/index.php/Spring

Please note that the site above is an 'old' wiki - Please see
http://cwiki.apache.org/WICKET/spring.html for the current Spring wiki
page..

(Unfortunately the mapping's not a straighforward one, but I must try
 make time to set some redirects in place...)

/Gwyn



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Good Tutorial on core wicket

2007-05-04 Thread Gwyn Evans
It's quite tricky as to know how to best do this, although there's
certainly scope for people to keep track of threads on the mailing
list and create articles or update for the Wiki from them.

Anyone should be able to edit most pages on the wiki, though a signup
is required.

/Gwyn

On Thursday, May 3, 2007, 11:29:05 PM, Francisco [EMAIL PROTECTED] wrote:

 Can we vote on this issue? can I call this an issue?

 Igor gracefully pointed me to the Model article in the wiki, but
 this article is mostly Object Structure, and How to Apply it...
 but lacks a little on how is model updated and passed throughout the
 framework. It surely taught me though.  

 Is it possible to ask understood community members to divide papers
 or small overview articles on different aspects like the ones listed below?

 And therefore we might have some good data to compile into a nice
 PDF regarding Wicket's inner workings and architecture. 

 With a good paper like that one, the goal would be to auto-answer questions 
 like this one:

 Is it possible to use setMarkupStream to assign html to a web
 page?  (posted a minute ago by Thomas R. Corbin)

 This is a question regarding inner workings, because the Answer is
 some IMarkupResourceStreamProvider, and where is this information a part from 
 articles on How-To's.

 Wicket is Awsome, this should be written on some paper showing
 architecture and core components behavior.

 regards to all,

 -f(t)

 On 5/3/07, Matthew Kwong [EMAIL PROTECTED]  wrote:

I'm not new to Wicket, I'm using it for about a year, but there still a lot
 aspects obscure to me like PageMap, page versioning, details of page request
 cycle and so on.

 me too, I also think some more core concept needs more documentation, pro
 wicket is nice and can get you going with tables, ajax, pages, tabbedpanel
 etc, but 300pages does not reach to the point of explaining tons of stuffs,
 especially with new 1.3 features.

 I was waiting Wicket in action, any news still after the constructor changes
 drop?

 Matthew


 Paolo Di Tommaso wrote:

 Anyway Francisco is right, I'm also thinking that Wicket is really missing
 a
 good tutorial about core concepts.

 I'm not new to Wicket, I'm using it for about a year, but there still a 
 lot
 aspects obscure to me like PageMap, page versioning, details of page
 request
 cycle and so on.

 Wicket is really a good framework that covers every details of the web
 application stack (and they are many and many not just web page rendering
 ..), but I'm thinking that a good tutorial about Wicket core concepts
 would
 be very useful to novice users as well as experts. 


 Thank you.

 - Paolo


 On 5/3/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:

 as far as models go 


 http://cwiki.apache.org/confluence/display/WICKET/Working+with+Wicket+models
  

 -igor 


 On 5/3/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] 
 wrote:
 
  I will be glad to help out in any way. 
 
  Here are my thoughts to the community.
 
  If we could talk about core wiket ideas and implementations, for
  instance:
 
  Models (Concept, interfaces, implementations) 
  Session
  Application
  Pages
 
  Listeners
  Versioning
  Request and Response Cycles
 
  Page Life Cycle. 
 
 
  The thing is, it is not the same (AT ALL) to build a wicket application
  than it is to build a struts application (Other than struts sucks :P)
 which 
  are the concepts and design guidelines we should have?
 
  That is what I am trying to address.
 
  Because of my current infinite ignorance, I might not be the right 
  person to build this type of document.
 
  Although I could write some docs after I get an Idea from the Book
  Pro-Wicket or Wicket-Pro (don't remember just know) and migrate to 1.3,
  and do some other demos. I think I could start writing in about a month
 or
  so.
 
  Other than that any thing else I could do would be nice to help out. 
 
  Regards,
  f(t)
 
 
  On 5/3/07, Igor Vaynberg  [EMAIL PROTECTED] wrote: 
  
   i dont think we have something that is focused on the core
   architecture. if you have specific questions we will be happy to
 answer them
   and maybe you can compile them into a document. 
  
   it is hard to find time to work specifically on high level
   documentation because this list, coding, jira, javadoc, etc take up a
 lot of
   time. by the time someone gets to a point where they have enough 
 knowledge
   to write such docs they are usually buried in fixing bugs  
  
   -igor
  
  
   On 5/3/07, Francisco Diaz Trepat - gmail 
 [EMAIL PROTECTED]
   wrote:

H igor, thanks, but could you be more specific. I do think I 
 browsed
the wiki but couldn't find what I was looking for.
   
For instance:
   
http://cwiki.apache.org/WICKET/documentation-index.html

appears to list many referential How to's but not core framework 
architecture. I know there is a little bit in many of the reference
 samples.
   
But is there a paper on module architecture and core 

Re: [Wicket-user] wicket 1.2.6 tail / of url

2007-05-02 Thread Gwyn Evans
On Wednesday, May 2, 2007, 12:18:54 PM, Ingram [EMAIL PROTECTED] wrote:

 Hi all
 I upgrade from 1.2.3 to 1.2.6, and everything is fine. but I notice that the 
 url changed:
 http://example.com/mycontext/app?wicket:interface=:6 ::
 become:
 http://example.com/mycontext/app/?wicket:interface=:6::
 the tailing slash of app cause many css, javascript path broken !!
 how do i fix this ?

Does the thread at
http://www.nabble.com/from-1.2.5-to-1.2.6-tf3647980.html#a10189203
help?

/Gwyn


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] SLF4J and wicket

2007-04-27 Thread Gwyn Evans
On Thursday, April 26, 2007, 8:46:08 PM, Igor [EMAIL PROTECTED] wrote:

 and this is a problem only for things that are deployed into a SHARED 
 classpath.

 no body (at least i hope not) is sharing wicket.jar between
 multiple web applications. so there is no problem.

Well, I did have a look at doing just that a few months back, as
multiple Wicket  Spring jars do bulk out an EAR! Unfortunately, it
wasn't a major requirement, so couldn't justify spending much time on
it  as I came across some (probably minor, but...) class-loading
issues, I just accepted the extra overhead in deployment time. (The
link between me  the server seems to run at ~IDSN speed!)

/Gwyn


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket 1.2.6 critical bug

2007-04-27 Thread Gwyn Evans
On Friday, April 27, 2007, 5:16:08 PM, Igor [EMAIL PROTECTED] wrote:

 afaik servlet spec is string,string[] not string,string, or has this 
 changed recently?

The servlet spec hasn't, but looking back, the Wicket
ServletWebRequest.getParameterMap() implementation used to store
string, string if there was only a single underlying value...

What I doubt that Jan's aware of is that if there had been multiple
values for a paramater, it would have stored an array!

/Gwyn

 -igor


 On 4/27/07, Johan Compagner  [EMAIL PROTECTED] wrote:
 we do follow the spec now... so we could change it back for 1.2 but for 1.3 i 
 would keep it.

 johan



 On 4/27/07, jan_bar  [EMAIL PROTECTED] wrote:
 Hi,

 I have posted new bug in 1.2.6:
 https://issues.apache.org/jira/browse/WICKET-511.
 For me, this is a show stopper (1.2.6 is unusable).

 Thanks, for your support, Jan

 --
 Jan Bares
 http://jan.vegetband.cz 



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Multi page inheritance

2007-04-11 Thread Gwyn Evans
Hi Thomas,

Wednesday, April 11, 2007, 5:15:05 PM, you wrote:

 Unfortunately, searching the user mailing list is broken. When clicking at
 http://wicket.sourceforge.net/mail-lists.html at the sourceforge.net-link
 of the Wicket User List, I'm getting the message No Forum Chosen.

Use Nabble - http://www.nabble.com/Wicket-f13974.html for all Wicket
lists or http://www.nabble.com/Wicket---User-f13976.html for just
Wicket-User.

/Gwyn



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Multi page inheritance

2007-04-10 Thread Gwyn Evans
Hi Thomas,

Tuesday, April 10, 2007, 6:01:37 PM, you wrote:

 The wicket website states at the end of the first paragraph ... written
 with plain Java and HTML. IIRC, the wicket:... tags do not belong to
 plain HTML.

Are you missing the fact that if you switch to Deployment mode or
explicitly call IMarkupSettings.setStripWicketTags(true)[1] then you
won't get those tags in your output?  They're there for ease of
debugging in development mode, but they're not required (in the
output).

/Gwyn
[1] 
http://wicket.sourceforge.net/apidocs/wicket/settings/IMarkupSettings.html#setStripWicketTags(boolean)


 On Tue, 10 Apr 2007 18:27:18 +0200, Igor Vaynberg  
 [EMAIL PROTECTED] wrote:

 we like our namespaced tags. they are xhtml compliant and get stripped  
 from
 final output. so that will stay the default. if you want to hack away the
 please feel free to do so, but i do not think you will get much in the  
 way
 of support.

 -igor




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] i still can NOT read pages from your old wiki

2007-04-08 Thread Gwyn Evans
Sunday, April 8, 2007, 11:25:31 PM, you wrote:

 i instead , get following page
 i try each 3 browser.
 ==
 Precondition Failed
 We're sorry, but we could not fulfill your request for
 /wiki/index.php/WicketServices on this server.

Try the new wiki at http://cwiki.apache.org/WICKET/

-- 
Best regards,
 Gwynmailto:[EMAIL PROTECTED]


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Pro Wicket bugs

2007-04-08 Thread Gwyn Evans
On 09/04/07, ali [EMAIL PROTECTED] wrote:
 i no has 105 page , please can put url of this page.

Just redownload the PDF from http://www.apress.com/member/download.html

/Gwyn
-- 
Download Wicket 1.2.5 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help Me Improve Wicket Quickstart

2007-04-07 Thread Gwyn Evans




Hi Philip,

Saturday, April 7, 2007, 1:24:33 AM, you wrote:








In summary, the intent of the QuickStart with a bundled Jetty is fabulous. However, I feel that it falls short by only offering means to run the project using NetBeans, IDEA, or Eclipse. And I think this is a little disappointing. I happen to use jEdit - so I think it's a little annoying that the QuickStart doesn't have generic instructions or, say, a "java" target immediately in the build file.





Well, isn't that just what "mvn jetty:run" gives you? :-)

We're open to patches if you feel that the Ant script could be extended though, but as far as the IDEs go, they're not one's that we're explictly decided upon, just the ones that there are Maven plugins for (that we're aware of) that generate the respective IDE-specific project files.

--
Best regards,
Gwyn  mailto:[EMAIL PROTECTED]




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Pulldown menu and small pop-up dialogs - any suggestions

2007-04-03 Thread Gwyn Evans
Some suggestions came up recently, I think -
http://www.nabble.com/forum/Search.jtp?forum=13974local=yquery=menu

/Gwyn

On 03/04/07, Peter Thomas [EMAIL PROTECTED] wrote:
 Hi,

 Do any of the wicket subprojects provide a pulldown menu component?

 I'm also interested in creating small HTML pop-up dialogs similar to stuff
 that appears at http://www.macridesweb.com/oltest/ - that
 appear lightweight and feel more like tool-tips.

 I'm interested in hearing what other wicket-users are using and what you
 recommend.

 Thanks,

 Peter.
-- 
Download Wicket 1.2.5 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Pro Wicket bugs

2007-04-03 Thread Gwyn Evans
Mine was missing some of the pages, but I've just re-downloaded it and
the new version has them (at least 102-108, anyway).

/Gwyn

On 03/04/07, Marek Přibyl [EMAIL PROTECTED] wrote:
 hmm, strange, I recieved this message from apress on november 1st:

 Sorry for the inconvenience. Can you please redownload the Pro Wicket
 ebook again? The missing page has been recovered now.
 --
 Roger Yeh
 [EMAIL PROTECTED]

 ok, anyway, I prepared for you the missing page. download it from:
 http://www.board.cz/pro_wicket_p106.pdf. I hope it will help you...

 btw, I think it's good idea to report the problem to apress again...


 Korbinian Bachl napsal(a):
  my pdf is from february 07 -
 
 
  -Ursprüngliche Nachricht-
  Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Im Auftrag
  von Marek Pribyl
  Gesendet: Dienstag, 3. April 2007 21:13
  An: wicket-user@lists.sourceforge.net
  Betreff: Re: [Wicket-user] Pro Wicket bugs
 
  I reported that to the publisher couple of months ago, and
  since november 1st 2006 the corrected pdf should be ready for
  download. Try to download the pdf again...
 
  marek
 
  galbu napsal(a):
  Hello world I'm a beginner in wicket developing and I need just a
  little
  help:
  I'm studying Wicket on Pro Wicket by Karthik Gurumurthy and
  I have a
  problem with  the BookStore example because the pdf version of the
  book is incomplete . .
  .
   I don't know where I could find the content of these pages:
  104-105-107. I can't find the correct pdf version of Pro
  Wicket so if
  anybody has used this tutorial and could show me these
  pages I'll be
  grate . . .
 
  Thank you all
 
  --
  ---
  Take Surveys. Earn Cash. Influence the Future of IT Join
  SourceForge.net's Techsay panel and you'll get the chance to
  share your opinions on IT  business topics through brief
  surveys-and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforge
  CID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys-and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

 --
 Marek Pribyl
 3v.cz s.r.o.
 Tusarova 1263/7, 170 00 Praha 7
 e-mail:  [EMAIL PROTECTED]
 telefon: +420-608-325-283
 telefax: +420-603-460-006

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Download Wicket 1.2.5 now! - http://wicketframework.org
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Storing markup in directory separarte from web app

2007-03-28 Thread Gwyn Evans
Which repoints readers to
http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html

Got a minute to do a quick comment on the two of them?

/Gwyn

On 28/03/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 http://cwiki.apache.org/WICKET/custom-resource-paths.html

 Eelco

 On 3/28/07, Chris Colman [EMAIL PROTECTED] wrote:
  Is it possible to store the HTML markup in a separate directory that is
  not part of the web app or web server directory structure?
 
  If necessary I could mimic the classpath in the separate directory so
  the HTMLs are stored in similarly named directories to their
  corresponding Java classes.
 
  I've looked around the website but can't find any hints as to how to do
  this. If it is possible how do you do it?
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys-and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Download Wicket 1.2.5 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] howto display html as is?

2007-03-27 Thread Gwyn Evans
On 27/03/07, Ralf Eichinger [EMAIL PROTECTED] wrote:
 I'm developing a cms.
 I want to output a html-string inside a wicket-page.
 when I do like this:

 Label lblArticleContent = new Label(lblArticleContent,
 article.getHtmlContent());

  lblArticleContent.setEscapeModelStrings(false);

// See 
http://www.wicket-library.com/wicket-examples/compref?wicket:bookmarkablePage=wicket-0:wicket.examples.compref.LabelPage

/Gwyn
-- 
Download Wicket 1.2.5 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Spring integration using AspectJ

2007-03-23 Thread Gwyn Evans
On 23/03/07, Carlos Pita [EMAIL PROTECTED] wrote:
 
  Maybe it's a silly question, but how did you find that page about Spring?
 I see nothing from the main wiki page that would lead to that page.

 I arrived there from a link in the wicket-spring demo applications :).

Hmm - I'll have to see if I can redirect it, then, as that's a
superceded wiki - The active is
http://cwiki.apache.org/WICKET/spring.html

/Gwyn
-- 
Download Wicket 1.2.5 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Apache Con Amsterdam: wicket presence

2007-03-20 Thread Gwyn Evans
So, who'll be in town  are there any plans for a get-together other
than the conference itself?  (Just trying to price a quick trip across
 wondering when's best...)

/Gwyn

On 14/03/07, Erik van Oosten [EMAIL PROTECTED] wrote:
 If you are off into the city, I'll join you.  Perhaps I can show you one
 or two locations as well.

  Erik.


 Alexandru Popescu schreef:
  On 3/14/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
 
  That is the idea, or just go and drink ourselves a hangover!
 
 
  As always I am in for this last proposal ;-).
 
 
 

 --
 Erik van Oosten
 http://www.day-to-day-stuff.blogspot.com/

-- 
Download Wicket 1.2.5 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Design questions: Use of controllers and wicket models

2007-03-16 Thread Gwyn Evans
Hi,
  (If Igor says anything different, just ignore this! :-))

  The change that I'd consider would the standard one of if it'd be
worth passing in a custom IMyBean interface derived from IModel, to
cover the case where I might want to use something like-but-not-a
MyBean, but I can't see anything wrong with passing it directly if
that's not the case.

/Gwyn

On 16/03/07, David Leangen [EMAIL PROTECTED] wrote:

 Ok, thanks for the info.

 Sorry for not letting this thread die... but one more question (and
 hopefully last):

 Right now, the page I refactored looks like this:

 MyPage page = new MyPage( MyBean bean )
 {
SomeComponent component = new Component( id, new MyModel( bean ) );
bla bla
Hi, Mom
 }


 So, I'm injecting my bean, as is, into the constructor of the page. The
 bean is created somewhere else. In the MyModel above, I'm actually using
 a field of a field of the model, so I get:

 class MyModel implements IModel
 {
   private MyThing thing;

   public MyModel( MyBean bean )
   {
   this.thing = bean.getField().getThing();
   }

   More bla bla
 }


 So:

 Is it ok to pass in the raw bean into the page contructor, or should I
 be passing in a model instead?

 Is there an even better way to go about all this that I haven't noticed?


 In any case, what I do really like about IModel is that it gives a
 direct translation between the controls and my bean. So cool!


 Cheers,
 David



 On Thu, 2007-03-15 at 07:27 -0800, Igor Vaynberg wrote:
  it is mostly internal and will be removed in the coming model refactor
 
  -igor
 
 
  On 3/14/07, David Leangen [EMAIL PROTECTED] wrote:
 
 
  Ok, thanks for your help, guys. I finally figured out what you
  meant by
  your last comments, and implemented one way to go about this.
  Not sure
  if it's the best way, but it's certainly much cleaner than
  before.
 
  Thanks!!
 
  Just one question remaining.
 
  What's the deal with getNestedModel( )?
 
  It sounds useful, but that never gets invoked.
 
 
  What is it for, and how would I use it?
 
 
  Cheers,
  Dave
 
 
 
 
 
 
  On Tue, 2007-03-13 at 16:07 +0900, David Leangen wrote:
   :-)
  
if you disable a formcomponent then neither a set or get
  will be
called
  
  
   Yes. But it's not disabled, and get is being called. Just
  not set.
  
   I must be doing something wrong or missing something in the
  impl here...
   but I don't see what it is. :-(
  
  
   Cheers,
   Dave
  
  
  
  
  
Sorry for pulling you guys back to my mail
  issue. ;-)
   
Since setObject() is not being called, I don't see
  how to
apply my
complex model to its children. I thought I could
  pull this off
with
setModel()... but it just ain't being called.
   
   
Ok, let's stick with the person object. The
  person has
attributes, and
one of these attributes may itself have
  attributes.
   
For example:
   
  Person:
isSingle?
   
if( isSingle )
   
  [ ] does dishes?
  [ ] makes bed?
   
else
   
  [ ] has kids?
  [ ] walks dog?
   
Whatever.
   
Point is, if the isSingle attribute is true, I
  want to
enable certain
checkboxes and bind those values DIRECTLY to the
  model. Same
goes if
isSingle is false.
   
Right now, I collect a boolean for each value and
  set them
back
manually into my model, which seems really
  messy.
   
Same thing for enabling/disabling my checkboxes
  above: I do
that
manually depending on the current value in the
  model.
   
   
What I'd really like to do is somehow bind all
  those controls
directly
to my model so I'm not duplicating parts of the
  model for each
control.
   
   
Any hints that would enlighten me on how to do
  this?
   
   
Thanks so much!!
   

Re: [Wicket-user] Package rename heads-up for wicket-1.x branch

2007-03-15 Thread Gwyn Evans

On 15/03/07, Al Maw [EMAIL PROTECTED] wrote:

As part of our ongoing incubation process at Apache, we're going to be
renaming the core wicket package from wicket to org.apache.wicket
shortly (not quite sure when yet, but soon).

If you're developing against the subversion wicket-1.x branch, you'll
need to change your imports accordingly.


And possible web.xml  Javadocs (e.g. @see
wicket.model.IModel#getNestedModel())


If someone feels like telling IDEA/NetBeans/ other IDE users how best to
accomplish this, by all means tell us. :-)


With IDEA, the best way is probably Refactor/Migrate then New...
then Add a Package mapping from wicket to org.apache.wicket.
Give it a name, e.g. Wicket to Apache Wicket then run it - you'll be
able to preview/exclude the changes as normal.

(If the attatchment comes through, just drop it in your IDEA's
config\migration\ folder to have the mapping setup for you, but it's
no big deal if it doesn't.)

You'll need to exclude the wicket.contrib manually (or just run it
then migrate org.apache.wicket.contrib back to wicket.contrib)!

/Gwyn
--
Download Wicket 1.2.5 now! - http://wicketframework.org
?xml version=1.0 encoding=UTF-8?
migrationMap
  name value=Wicket -gt; Apache Wicket /
  description value= /
  entry oldName=wicket newName=org.apache.wicket type=package recursive=true /
/migrationMap

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-15 Thread Gwyn Evans
I'm away from my main computer now, so can't check code, but have you
had a look at the Wicket examples, e.g.
http://www.wicket-library.com/wicket-examples/compref?wicket:bookmarkablePage=:wicket.examples.compref.DropDownChoicePage

/Gwyn

On 15/03/07, GS-ikiini [EMAIL PROTECTED] wrote:

 ok here is another question...how do i by pass the validating and form
 processing and go straight to the onSubmit method of my form(not the
 button)?

 -B



 GS-ikiini wrote:
 
  hey all,
 
  I am attempting to do some form processing for a filter that i am
  building. I user 4 dropDownChoice in a form with a submit button. I want
  to overide the onSubmit method, which i did. however when i try to get the
  values selected from the drop down in the method for prodessing, they come
  back empty. I am using pro wicket as a reference. i wrote simple helper
  methods as illustrated in the book but they don't seem to work:
 
 
  ...
  desc = new FilterChoice(description,ldp,processTypeDropDownList,logs);
  ...
 
  protected String getDescriptionSelection(){
  return desc.getModelObjectAsString();
}
 
  ...
  @overide
  onSubmit(){
  if(MyClass.this.getDescriptionSelection() .equals(something)){
 do something...
  }
  }
 
  thing is...I insert some log.debugs in there to see what was being
  returned and nothing came back. How can i get the selection back to my
  onSubmit method i guess is my question. Thank you
 
  -B
 
 

 --
 View this message in context: 
 http://www.nabble.com/form-processing---getting-dropdown-selection-back-to-onSubmit-method.-tf3409455.html#a9501974
 Sent from the Wicket - User mailing list archive at Nabble.com.


-- 
Download Wicket 1.2.5 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Build failure

2007-03-14 Thread Gwyn Evans
Double-check the top-level pom.xml? It should have
 modulejdk-1.4/module
 modulejdk-1.5/module
but your log doesn't seem to show it doing the jdk-1.4 module tree for
soem reason...

/Gwyn

On 14/03/07, Frank Bille [EMAIL PROTECTED] wrote:
 I have upgraded to 2.0.5 and also updated to latest svn version of 1.3, and
 I now get a different error:

 http://www.nabble.com/Al%27s-repository-restructure-tf3386729.html#a9469179

 Frank



 On 3/13/07, John Patterson [EMAIL PROTECTED] wrote:
  Strange, I just deleted the entire
 .m2/repository/org/apache/wicket/
  directory and checked out a fresh copy of http://svn.apache.org/repos/
  asf/incubator/wicket/branches/wicket- 1.x into a new
 directory,
  updated mvn to 2.0.5 (using darwin ports) and ran:
 
  mvn -Dmaven.test.skip=true  install
 
  But got the exact same error as before:
 
  Loading source file
 /Users/John/Development/wicket/current/wicket- 1.x/
 
 jdk-1.4/wicket-extensions/src/main/java/wicket/extensions/wizard/
  WizardModel.java...
  Loading source file
 /Users/John/Development/wicket/current/wicket-1.x/
 
 jdk-1.4/wicket-extensions/src/main/java/wicket/extensions/wizard/
  WizardStep.java...
  1 error
  [INFO]
 
 
  [ERROR] BUILD ERROR
  [INFO]
 
 
  [INFO] An error has occurred in JavaDocs report generation.
 
  Embedded error: Exit code: 1 - error: error reading /Users/John/
 
 Development/wicket/current/wicket-1.x/jdk-1.4/wicket/target/
  wicket-1.3.0-incubating-SNAPSHOT.jar ; invalid header
 field
 
  could it be a different javadoc binary that causes the different
  behaviour?
 
  My Mac OS X java version is reported as:
 
  Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164 )
 
  On 13 Mar 2007, at 14:40, Martijn Dashorst wrote:
 
   I just did a clean checkout of our 1.x branch, removed my local
   repository, and it 'just worked'.
  
   I do use maven 2.0.5 , perhaps that is the deciding factor?
  
   Martijn
  
   On 3/13/07, John Patterson [EMAIL PROTECTED] wrote:
   On 13 Mar 2007, at 12:31, Frank Bille wrote:
  
   I get the same error and have tried to remove local jar files. I'll
   look into it tonight (can't get workspace setup using new al
   structure)
  
  
   Great, cheers.  Until then I have checked out the last revision
   before the restructuring.
  
  
 -
   
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
   share your
   opinions on IT  business topics through brief surveys-and earn cash
   http://www.techsay.com/default.php?
   page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
   --
   Learn Wicket at ApacheCon Europe: http://apachecon.com
   Join the wicket community at irc.freenode.net : ##wicket
   Wicket 1.2.5 will keep your server alive. Download Wicket now!
   http://wicketframework.org
  
  
 --
   ---
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
   share your
   opinions on IT  business topics through brief surveys-and earn cash
   http://www.techsay.com/default.php?
   page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys-and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-- 
Download Wicket 1.2.5 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future 

Re: [Wicket-user] Wicket for Bog Projects

2007-03-13 Thread Gwyn Evans
The problem is that without some idea of the context, 'big' doesn't
mean anything - Are we talking about something like Amazon, Google,
MSN or Yahoo, for instance?  I doubt Wicket would be a good match for
that sort of big, but for lesser values of big, then it's probably
as suitable as any other Java web app framework.

/Gwyn

On 13/03/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
 huh ?!


 On 3/13/07, Michael Day [EMAIL PROTECTED] wrote:
  No, only extra small, small, medium, and medium-to-big projects.  Big
  projects will be supported in wicket 3.0.
 
  On Mar 13, 2007, at 12:51 AM, Sazib wrote:
 
   Hi everybody,
   I just want to know, is wicket suitable for a big project?
  
   Thanks
   ---
   Sazib
  
  
 --
   ---
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
   share your
   opinions on IT  business topics through brief surveys-and earn cash
   http://www.techsay.com/default.php?
   page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys-and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-- 
Download Wicket 1.2.5 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-10 Thread Gwyn Evans
On 10/03/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 a) focus on stabilizing 1.3 first, meanwhile keep supporting 2.0
 (though only for bugfixes). 1.4 will be the release with backports of
 the currently missing 2.0 features, and 1.5 will be 1.4 + the Java 5
 features (including generics).

 b) as a) but rather than developing 1.3 up to a final release, freeze
 asap (only fix bugs) and start on 1.4

 c) put all backports except for the Java 5 features in 1.3 after the
 beta1 release (which we agreed upon doing this weekend). 1.4 will be
 for the Java 5 features, and the branch should be started as soon as
 1.3 is feature complete.

Hi,
  I've kept quiet, as I've not had a chance to actually get into 2.0,
so have no personal view on rollback, but I'm certainly not going to
go against the experiences of the committers who do have to deal with
the multiple branches.

 My preferences would be (c), for the same reasons you state in your
other email.  Regarding the beta release, I think we must do the
release ASAP, if for no other reason than to work through the stages
of an Apache release, although I'm not sure what the best designation
is - personally I'd consider calling it a checkpoint release, but
that's another matter!

/Gwyn

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] new initiative for a user guide

2006-12-24 Thread Gwyn Evans
You've seen http://cwiki.apache.org/WICKET/documentation-index.html ?

/Gwyn

On 24/12/06, ZedroS Schwart [EMAIL PROTECTED] wrote:
 Hi all

 Being new to wicket, I'm looking for a user guide.

 Do you know if the initiative for a user guide is going on ? If so,
 do you need someone to test it with the view from a total newbe ? I
 would love to be this guy ;)

 Whatever, I'm currently reading lot of stuff on the wicket home
 site/wiki but I would welcome something more structured, like a real
 user guide.

 Thanks in advance
 ZedroS

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Download Wicket 1.2.3 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Directly map a bean to HTML form

2006-12-20 Thread Gwyn Evans
I've just committed a copy of the project that I had locally back to
SVN, but it's not something I was working on, so may be older than the
last modified one.  Feel free to delete it if it doesn't help.

/Gwyn

On 20/12/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote:
 Can you grant the same role to me or whoever else can do that?


 Paolo


 On 12/20/06, Filippo Diotalevi  [EMAIL PROTECTED] wrote:
  On 12/20/06, Paolo Di Tommaso  [EMAIL PROTECTED] wrote:
   Ok, but it is possible to commit on wicket-stuff with an anonymous
 access?
  
   Paolo
 
  Not with an anonymous access, but I should also have commit access
  since I'm listed as 'developer' in wicket-stuff
 
  --
filippo
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-- 
Download Wicket 1.2.3 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Directly map a bean to HTML form

2006-12-20 Thread Gwyn Evans
Added

On 20/12/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote:
 Fine, my id on sourceforge is paolodt .

 Thanks.

 Paolo


 On 12/20/06, Martijn Dashorst  [EMAIL PROTECTED] wrote:
  If you provide me with your sourceforge.net ID, then I'll add
  you to the committers list of wicket-stuff

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-- 
Download Wicket 1.2.3 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] funny?[OT}

2006-12-11 Thread Gwyn Evans
I wonder if my comment will emerge from blog moderation!...

Just asked if there was anything behind his claims (of Wicket users)
and noted the lack of equanimity compared with when he claimed the
reverse regarding refactoring!

/Gwyn

On 11/12/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 That comment on Howard's blog was a bit flamish, but otoh HLS seems to
 have very long toes. Wow, remarks like 'One of the great things about
 the Tapestry community is that they are quite a bit more enlightened
 than uses in other communities' are pretty snobbish indeed.

 There are a couple of instances that can be found where HLS seems to
 have a particular problem with Wicket (users). The idea that Wicket is
 based on Tapestry is so wrong though. Jonathan read a book on Tapestry
 before starting Wicket. Some of the ideas stuck, and terms like
 Application and RequestCycle etc can be traced back to that, but he
 thought in general Tapestry wasn't what he was looking for, and
 decided to write a framework that did suit his own needs. He told me
 that some of the underlying ideas he used for Wicket were ideas he
 advocated over at SUN years before that. Anyway, anyone with at least
 some basic understanding of *both* frameworks (and Howard himself
 doesn't seem to fit into that category if one was to judge from his
 remarks) would know that in fact they hardly have anything in common,
 both in terms of how it is implemented, and how the programming model
 works.

 I also like to state that even though we obviously think Wicket is a
 better alternative (and for my own taste so are GWT and Echo) to
 Tapestry, we don't hate Tapestry and go out harassing it's community
 where we can, but on the contrary usually praise it as one of the
 better web dev frameworks for Java.

 Eelco


 On 12/11/06, Francis Amanfo [EMAIL PROTECTED] wrote:
  Ok, I've found that comment from Howard on Wicket:
 
  Wicket is an interesting refactoring of Tapestry that has a small, very
  vocal community built around it. However, if I was to fork the Tapestry
  community and create a new code base from scratch, you can guarantee that
  what I came up with would not be as unambitous as Wicket!
 
  To read more see
  http://www.theserverside.com/news/thread.tss?thread_id=38407
 
 
  On 12/11/06, Francis Amanfo [EMAIL PROTECTED] wrote:
   However, I vaguely remember sometime back when Howard made a similar
  comment about Wicket at theserverside.com. At least, I hope he realizes how
  bad that feels.
  
  
  
   On 12/11/06, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
Hmm,
I think that was a cruel thing to say. Open source is all about open
  idea's. Many wicket users have been using tapestry before and have now
  switched to wicket, and surely many idea's in the wicket world come from
  tapestry. If tapestry 5 is implementing some idea's from wicket, I think
  everybody here welcomes that and there's no need to make a hype about it.
However, I did a google on the tapestry mailing list archives to see
  exactly who has a disturbing trend of starting a flame war. I didn't find
  anything anywhere, so I assume the people on this list is not of the type
  howard thinks they are :-).
   
Iman
   
   
   
On 12/11/06, Francis Amanfo  [EMAIL PROTECTED] wrote:

 Hi guys,

 A blog comment poster asked Howard if the upcoming Tapestry 5 is a
  refactor of Wicket.

  https://beta.blogger.com/comment.g?blogID=4110180postID=266226734789322024
 I think it wasn't a nice thing to say but hope the poster was trying
  to be funny.


 --
 Beware of bugs in the above code;
 I have only proved it correct, not tried it.
 -Donald Knuth



  -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to
  share your
 opinions on IT  business topics through brief surveys - and earn cash

  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net

  https://lists.sourceforge.net/lists/listinfo/wicket-user



   
   
   
  -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
  your
opinions on IT  business topics through brief surveys - and earn cash
   
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
  https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
   
  
  
  
   --
   Beware of bugs in the above code;
   I have only proved it correct, not 

Re: [Wicket-user] DropDownChoice . set selected choice automatically

2006-11-29 Thread Gwyn Evans
Does 
http://cwiki.apache.org/WICKET/dropdownchoice-examples.html#DropDownChoiceExamples-MoreExamples
cover what you need?

/Gwyn

On 29/11/06, Vincent Renaville [EMAIL PROTECTED] wrote:
 Dear,

 thanks for your help, it's work but now I want to insert the
 child.setname into an other Dropdownchoice

 name = new DropDownChoice (name,new
 PropertyModelobj,name),db.getAllSIPUsers())
 {
 protected boolean wantOnSelectionChangedNotifications()
 {
 return true;
 }
 public void onSelectionChanged(Object newSelection) {
 Object data[] = 
 db.LoadExtentionFromdata((String) obj.getName());
 obj.setPhone_type(Plycom);

 }
 };
 add(name);



 // The other dropdownchoice that's need to be update when a change occur
 in name dropdownchoice

 phone_type = new DropDownChoice (phone_type,new PropertyModel
 (obj,phone_type),db.getAllPhoneType())
 {
 protected boolean wantOnSelectionChangedNotifications()
 {
 return true;
 }
 public void onSelectionChanged(Object newSelection) {

 }

 };

 Do you have a solution

 Thanks for the help, it's a great mailing list

 Vincent

 On Wed, 2006-11-29 at 09:49 +0100, Martijn Dashorst wrote:
  ListString names = Arrays.asList(new String[]{John, Pete, Vincent});
  Child child = new Child();
  child.setName(John);
  add(new DropDownChoice(name, new PropertyModel(child, name), names));
 
  Martijn
 
  On 11/29/06, Vincent Renaville [EMAIL PROTECTED] wrote:
   I have try to put : MyDropDownChoice.setModelValue(Db.ValueString) but
   the Dropdownchoice still chow the default value.
  
  
  
   On Tue, 2006-11-28 at 09:22 -0800, Igor Vaynberg wrote:
this comes up very often
   
choices set and read their selection from their model object so all
you have to do is initialize the model object to the value you want
selected
   
-igor
   
   
On 11/28/06, Vincent Renaville [EMAIL PROTECTED]
distribution.com wrote:
Dear,
   
I search a solution for this problem, I have store
Dropdownchoice
selected item into my database. If the user want he can
retrieve the
data from the DB, but how to set the selected choice of a
Dropdownchoice , to the value that it stores into the DB.
   
Hi hope you understand me :)
   
Kind regards,
   
Vincent
   
   

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance
to share your
opinions on IT  business topics through brief surveys - and
earn cash
http://www.techsay.com/default.php?
page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share 
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___ Wicket-user mailing 
list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
   -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share 
   your
   opinions on IT  business topics through brief surveys - and earn cash
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 

Re: [Wicket-user] Interesting alternatives to Hibernate

2006-11-23 Thread Gwyn Evans
On 23/11/06, Carfield Yim [EMAIL PROTECTED] wrote:
  You're missing one of the strong points (for me) of iBatis!  Simply
  enable Debug level logging for the java.sql loggers,
  e.g.
  log4j.logger.java.sql=DEBUG
 
  or if you want to fine tune it...
  log4j.logger.java.sql.Connection=DEBUG
  log4j.logger.java.sql.Statement=DEBUG
  log4j.logger.java.sql.PreparedStatement=DEBUG
  log4j.logger.java.sql.ResultSet=DEBUG
 
  and all becomes very clear!
 
  For Wicket, I typically set that to Info, or if I need to check things
  at more detail, I find that setting

 I tried that before but it just not working for me. May be I need to
 turn on debug option of log4j to investigate but I just wrap jdbc call
 with p6spy proxy and log there.

Fair enough, if it works for you.  I just checked the docs again and
noticed the following - Could it be anything like that involved your
case?

The internal log factory will delegate logging information to one of
the following log implementations:
   1. Jakarta Commons Logging (JCL – NOT Job Control Language!)
   2. Log4J
   3. JDK logging (JRE 1.4 or greater required)

The logging solution chosen is based on a runtime introspection by the
internal iBATIS log factory.  The iBATIS log factory will use the
first logging implementation it finds (implementations are searched in
the above order).  If iBATIS finds none of the above implementations,
then logging will be disabled.Many environments ship JCL as a part of
the application server classpath (good examples include Tomcat and
WebSphere).  It is important to know that in such environments, iBATIS
will use JCL as the logging implementation.  In an environment like
WebSPhere this will mean that your Log4J configuration will be ignored
because WebSphere supplies its own proprietary implementation of JCL.
This can be very frustrating because it will appear that iBATIS is
ignoring your Log4J configuration (in fact, iBATIS is ignoring your
Log4J configuration because iBATIS will use JCL in such environments).

If your application is running in an environment where JCL is included
in the classpath but you would rather use one of the other logging
implementations you can select a different logging implementation by
calling one of the following methods (this is only available in iBATIS
version 2.2.0 and later):
  com.ibatis.common.logging.LogFactory.selectLog4JLogging();
  com.ibatis.common.logging.LogFactory.selectJavaLogging();

If you choose to call one of these methods, you should do so before
calling any other iBATIS method. Also, these methods will only switch
to the requested log implementation if that implementation is
available
on the runtime classpath. 

/Gwyn
-- 
Download Wicket 1.2.3 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Interesting alternatives to Hibernate

2006-11-22 Thread Gwyn Evans
On 21/11/06, Carfield Yim [EMAIL PROTECTED] wrote:
 While I am using ibatis with wicket now because my boss like it, I
 found it missing some feature those are useful for me
...

 2) This is hard for me to check the actual SQL running, I can never
 able to figure out how log4j showing SQL in my log. It just show a lot
 of garbage log from wicket.

You're missing one of the strong points (for me) of iBatis!  Simply
enable Debug level logging for the java.sql loggers,
e.g.
log4j.logger.java.sql=DEBUG

or if you want to fine tune it...
log4j.logger.java.sql.Connection=DEBUG
log4j.logger.java.sql.Statement=DEBUG
log4j.logger.java.sql.PreparedStatement=DEBUG
log4j.logger.java.sql.ResultSet=DEBUG

and all becomes very clear!

For Wicket, I typically set that to Info, or if I need to check things
at more detail, I find that setting
wicket.util.resource= Info
wicket.util.thread.Task = Info
often worth doing to reduce the noise!

/Gwyn
 In my opinions, if you really have a choice, pick a caching framework
 you like and using JDBCTemplate is actually nicer than a lot of those
 ORM framework

 On 11/20/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
  Hi Upa,
 
  We are satisfied with Wicket + Spring + Ibatis, which is basically
  what you describe,  but the SQL statements are  externalized in an
  XML file.
  --
   Jean-Baptiste Quenot
  aka  John Banana Qwerty
  http://caraldi.com/jbq/

-- 
Download Wicket 1.2.3 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Interesting alternatives to Hibernate

2006-11-22 Thread Gwyn Evans
Isn't this what the Avoiding N+1 Selects (1:M and M:N) section in
the documentation[1] is all about?

/Gwyn

[1] http://cvs.apache.org/dist/ibatis/ibatis.java/docs/iBATIS-SqlMaps-2_en.pdf

On 20/11/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 i too have become rather disillusioned with hibernate after using it in a
 very complex project. 90% of the time it works just great, but its the other
 10% that sucks-in 90% of time to figure out what is wrong.

 what i would miss about using jdbc/ibatis is to be able to traverse the
 object graph and have one-to-many and many-to-one relationships load
 automatically. this especially works great with wicket where you tend to
 work with objects.

 -igor



 On 11/20/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
  Hi Upa,
 
  We are satisfied with Wicket + Spring + Ibatis, which is basically
  what you describe,  but the SQL statements are  externalized in an
  XML file.
  --
   Jean-Baptiste Quenot
  aka  John Banana Qwerty
  http://caraldi.com/jbq/
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net 's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-- 
Download Wicket 1.2.3 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff stuff

2006-11-22 Thread Gwyn Evans
On 22/11/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
 On 11/22/06, James McLaughlin [EMAIL PROTECTED] wrote:
  This does bringing up what the default permission scheme should be. For now
  we are allowing anyone who is logged in to read/write (No more anonymous).
  Once we have the maintainers sorted out, would it be better to give write
  permission to only maintainers, admins, wicket devs?

 Sounds good, or make it a captcha aware signup page. Or make the
 registration moderated, using the sourceforge id of the registrant.

 Martijn

Yes, it'll almost certainly need something more than just signup, as
we had that with the old wiki, but we still got spammed quite
regularly before I added some additional checks.  (Specifically,
http://www.homelandstupidity.us/software/bad-behavior/, but that was
PHP, whereas maybe a captcha will be easier to add to this wiki.)

/Gwyn
-- 
Download Wicket 1.2.3 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff stuff

2006-11-21 Thread Gwyn Evans
Not saying don't, but if it's just to track this sort of discussion,
then the main wiki's as good as anywhere for the moment.

/Gwyn

On 21/11/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 i think if its easy it should be on sf.net

 so i would say go ahead

 -igor


 On 11/21/06, James McLaughlin  [EMAIL PROTECTED] wrote:
 
  I can install moinmoin on sourceforge for wicket-stuff. Should I go ahead
 and do it?
 
 
  On 11/21/06, Filippo Diotalevi  [EMAIL PROTECTED] wrote:
 
   On 11/22/06, Martijn Dashorst  [EMAIL PROTECTED] wrote:
Can't we set up a space for wicket-stuff which content we don't
attribute to the ASF, but provide as a documentation ground for the
wicket-stuff project?
I'd rather have the documentation together in one place than scattered
across the internets.
  
   That would be great, and also better from the user point of view
  
   --
 Filippo
  
  
 -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
   opinions on IT  business topics through brief surveys - and earn cash
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-- 
Download Wicket 1.2.3 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] servlet-mapping

2006-11-16 Thread Gwyn Evans
On 16/11/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 someone mind putting this on the wiki?

Done - thanks for the text/info, now at:
http://cwiki.apache.org/WICKET/best-practices-and-gotchas.html#BestPracticesandGotchas-WicketServletMapping

/Gwyn

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Enabling Component Checking?

2006-11-06 Thread Gwyn Evans
Just for info, that page on the new wiki is at
http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html

/Gwyn

On 06/11/06, Nick Heudecker [EMAIL PROTECTED] wrote:
 I was reading the Lifecycle document at
 http://www.wicket-wiki.org.uk/wiki/index.php/Lifecycle.  It
 says If the Application for the Page has component checking enabled in its
 ApplicationSettings, checks that each component rendered.  Is this still
 done?  If so, where is it enabled now?

 Thanks,

 -Nick


-- 
Download Wicket 1.2.3 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Weird Wiki problem

2006-11-03 Thread Gwyn Evans
I think we've uncovered a weakness with the auto-export system.  The
problem is that the pages are auto-exported on demand, such that any
edits you make to
http://cwiki.apache.org/confluence/display/WICKET/General+i18n+in+Wicket
are effectively immediately replicated to the static page on
http://cwiki.apache.org/WICKET/general-i18n-in-wicket.html, BUT the
problem was that the new child page didn't trigger any sort of
notification to re-export the 'index' page.  I had to go in  add an
extra space (and not at the end, either) in order for it to re-do it.

There's a way of triggering a full re-export of a space manually, but
that requires full wiki admin privs, which we've not got, so a
pseudo-edit of the index page seems the way to go...

/Gwyn

On 03/11/06, Erik van Oosten [EMAIL PROTECTED] wrote:
 Okay, understood. Makes sense.
 I hope the update happens at least once a day. Twice would be nicer :)

 Thanks,
  Erik.

 Martijn Dashorst schreef:
  The wiki's is exported every so often (don't know the frequency,
  Kenneth) to a static space (the preferred linking space) accomodate
  the scalability issues Apache faces with their infrastructure
  (something about several tera byte per month).
 
  Martijn

 --
 Erik van Oosten
 http://www.day-to-day-stuff.blogspot.com/

-- 
Download Wicket 1.2.3 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] strip wicket: tags?

2006-10-31 Thread Gwyn Evans
Just as an aside, please use the http://cwiki.apache.org/WICKET links
in preference to the confluence ones where possible!

/Gwyn

On 31/10/06, Martin Funk [EMAIL PROTECTED] wrote:
 http://cwiki.apache.org/confluence/display/WICKET/How+to+remove+wicket+markup+from+output

 mf

-- 
Download Wicket 1.2.3 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Components Entirely In Java?

2006-10-19 Thread Gwyn Evans
On 19/10/06, Dorel Vaida [EMAIL PROTECTED] wrote:
 I wanted to ask, just for curiosity, in case that somebody wants to
 develop components/pages in wicket, BUT place the HTMLs outside the
 package where their corresponding java classes are (avoid the folder
 hierarchy due to java packages, e.g. have the HTML pages in a web/pages
 folder and have wicket know where to get those pages from) ?

There's  
http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
and http://cwiki.apache.org/WICKET/custom-resource-paths.html but I
don't know  how much things have moved on since they were written, so
also follow Igor's suggestion  check the archives (e.g.
http://www.nabble.com/Wicket-f13974.html)

/Gwyn
-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Nice Url

2006-10-19 Thread Gwyn Evans
On 19/10/06, Dipu [EMAIL PROTECTED] wrote:

 If i have a page with the following constructor
 public NonBookmarkablePage(OrderInfo orfderInfo, final PartyInfo partyInfo)

 How will i make the url look nice for the page ?

How difficult would it be to make it bookmarkable, i.e. give it a
PageParameters constructor and use the Application.mount call on it?

 can you please give me some tips on implementing the
 IRequestTargetURLCodingStrategy  and using it.

Take a look at the sources, read the javadocs  see how the supplied
strategies are implementing it.

/Gwyn

 - Original Message -
 From: Korbinian Bachl [EMAIL PROTECTED]
 To: wicket-user@lists.sourceforge.net
 Sent: Thursday, October 19, 2006 2:25 PM
 Subject: Re: [Wicket-user] Nice Url

  Hi,
 
  yes it is possible, look here for detailed:
  http://www.javalobby.org/java/forums/t68753.html
 
  you can then provide parameters via the PageParameter param - if this
 doesnt
  satisfy you (e.g: some special needs for URL) then you may also use a own
  implementation of IRequestTargetURLCodingStrategy  - a
 good beginnning there
  is examining the WOOGLE project and look at its URL Strategy
  (/q/queryword/page) -
 
  best Regards,
 
  Korbinian
 
 
 
  
 
  Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Im
 Auftrag von Dipu
  Gesendet: Donnerstag, 19. Oktober 2006 14:37
  An: wicket-user@lists.sourceforge.net
  Betreff: [Wicket-user] Nice Url
 
 
  HI all,
 
  Is there anyway to make the non bookmarkable page urls look nicer.
  I am using the wicket version 1.2.1
 
  I need to display the urls like
 
  /x
  /x/searching
  /x/searchresults
  /x/payment
  /x/confirmation
 
  Kind Regards
  Dipu
 
 
 
 
 -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
 easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] WIKI move

2006-10-18 Thread Gwyn Evans
As part of the move to Apache, the Wicket WIKI has moved to a new home
on the Apache Confluence site, and can now be found at:

   http://cwiki.apache.org/WICKET/

Notes on the move are at http://cwiki.apache.org/WICKET/wiki-move.html

Many of the pages have been converted, but a number do remain!

The existing wiki will remain online for the foreseeable future (I
only renewed the hosting a month or so back :-)) but will be set to
read only.

There bulk of the information's there, but both the way that Apache
hosts the pages, together with the way there's been (and continues to
be) some reorganisation such that it's not just a simple host-name
substitution.

e.g.
Old: http://www.wicket-wiki.org.uk/wiki/index.php/Documentation_Index
New: http://cwiki.apache.org/WICKET/reference-library.html

Old: http://www.wicket-wiki.org.uk/wiki/index.php/Reference_library
New: http://cwiki.apache.org/WICKET/reference-library.html

In the same manner as with the old WIKI, editing will require a user
to be signed-in, but again in the same manner as with the old wiki,
accounts can be created as required.

-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] missing commons-logging dependency in wicket-extensions 2.

2006-10-18 Thread Gwyn Evans
On 18/10/06, karthik Guru [EMAIL PROTECTED] wrote:
 While building wicket-extensions 2.0, i didn't notice the commons-logging
 dependency in pom.xml. May be you can verify if that is indeed the case in
 the trunk and update it.

 dependency
 groupIdcommons-logging/groupId
 artifactIdcommons-logging/artifactId
 version1.0.4/version
 typejar/type
 scopecompile/scope
  /dependency

 thanks.
 -- karthik --

How are you building it, as isn't wicket-extensions dependent on
wicket, which should hava a dependency on clogging, so shouldn't that
be included automagically?

Certainly the IDEA plugin seems to think so when generating the module
file, for example...

/Gwyn
-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] missing commons-logging dependency in wicket-extensions 2.

2006-10-18 Thread Gwyn Evans
On 18/10/06, karthik Guru [EMAIL PROTECTED] wrote:
 and ofcourse they go away the moment I add the commons-logging dependency.
 Any idea why it doesn't work for me?

  Nothing specific - Things to check would be the wicket pom involved,
e.g. the wicket\wicket\2.0-SNAPSHOT\wicket-2.0-SNAPSHOT.pom file in
your local repo, to see if the dependency's there?

  You should be able to get an idea of what dependencies are being
looked for where via mvn -X .  Maybe mvn -U ... would help,
but I don't know.

/Gwyn
-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: [Wicket-user] Re: [Wicket-user] Re : [Wicket-user] Re: [Wicket-user] 希望合作!

2006-10-17 Thread Gwyn Evans

Babel Fish says...

Hello! Because I take charge of the income to be more and many
enterprises and company's request: Provides each month remaining sum
bill to outside; The reciprocal benefit mutually benefits by Xie Guisi
the service operates ` to make up account ` to make the account the
urgent matter; Provides the following bill service: * The ordinary
commodity/transportation/is broad Considers/the construction and
installation/service industry and so on each kind of receipt to be
allowed to provide to outside, the tax rate is 1-2%; After and may
access the net the inquiry or the tax affairs confirms pays Funds way
and expensive department cooperation! Contact person: Miss Chen
telephone 

:-)
/Gwyn

On 17/10/06, Manuel Barzi [EMAIL PROTECTED] wrote:

hon! da isu zu mit su bi shi kawa zaki dae wo! ya ta... ;)

On 10/17/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 That's our localization test of the email list ;)

 Eelco

 On 10/17/06, Manuel Barzi [EMAIL PROTECTED] wrote:
  :?
 
  On 10/17/06, 陈小姐 [EMAIL PROTECTED] wrote:
  您好! 因我司进项较多及受多家企业与公司的委托:将每个月余额的些票据向外提供;

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user






--
Download Wicket 1.2.2 now! - http://wicketframework.org
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket starts incubation at Apache

2006-10-16 Thread Gwyn Evans
On 16/10/06, Anders Peterson [EMAIL PROTECTED] wrote:
 Why?

Discussed on the mailing list (e.g.
http://www.nabble.com/apache-wicket--tf2012023.html#a5529288) but
http://wiki.apache.org/incubator/WicketProposal covers what we felt
were the main reasons.

/Gwyn



 Martijn Dashorst wrote:
  The Wicket team is proud to announce that we are starting the process
  of joining the Apache Software Foundation.
 
  When projects first move to Apache, they are housed at the Apache
  Incubator. The Incubator helps incoming projects migrate to the
  vibrant Apache community. One of the primary goals of the incubator is
  to ensure that the joining community is open, diverse and effective
  meritocracy.
 
  During Wicket's incubation we will resolve any issues regarding
  license (in)compatibilities that might be present in our code. For
  more information on the incubation process, please read the documents
  found on the incubator website.
 
  To facilitate our transition we have moved parts of our development
  infrastructure to the Apache Incubator:
 
   o the subversion repository is now hosted at
  https://svn.apache.org/repos/asf/incubator/wicket
   o the development mailing list is now provided by wicket-dev at
  incubator.apache.org
   o the commit mailing list is now wicket-commits at incubator.apache.org
   o our bug tracking system is now hosted at
  http://issues.apache.org/jira/browse/WICKET
 
  Please join our incubating community at Apache by subscribing to the
  Wicket development list. Send a message to:
 
  wicket-dev-subscribe at incubator.apache.org
 
  and follow the instructions.
 
  If you want to recieve commit messages from Wicket to track our
  development, please send a message to
 
  wicket-commits-subscribe at incubator.apache.org
 
  and follow the instructions.
 
  When you need to file a bug report, a patch or a request for
  enhancement (RFE), then please do so at our Apache JIRA installation:
 
  http://issues.apache.org/jira/browse/WICKET
 
  We are in the process of importing the contents of the sourceforge
  trackers into our JIRA project space. This will loose some information
  in the process, however we strive to keep as much information as
  possible.
 
  As always, have fun and thanks for your support using Wicket!
 
  - the Wicket team
 
  ps. apologies for the cross posting


 --
 http://ojalgo.org/

 Mathematics, Linear Algebra and Optimisation with Java


-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] IE causes Unable to load class errors...

2006-10-15 Thread Gwyn Evans
That stumped me, too!  I checked with Lynx  that was OK too.
Unfortunately, (or not, as I need to install this next week) it hasn't
repeated itself since I had to reboot my laptop  thus restart the
(local) appserver (as WinXP wanted to update itself).

As a result, there's not much I can do to add to the initial report...

/Gwyn

On 15/10/06, Johan Compagner [EMAIL PROTECTED] wrote:
 its very strange that you get loading class things differences with the use
 of a browser?
 What could sent IE do different that FF that could result in that kind of
 behaviour?

 johan


  On 10/14/06, Gwyn Evans [EMAIL PROTECTED] wrote:
 
  Hi,
Anyone seen this sort of thing?  If I use Firefox, there's nothing
  in the logs, whereas if I try IE, I get the page (including the css
  file) but there's an error logged -
  2006-10-13 23:05:21,589 [ERROR] RequestCycle - Unable to
  load class with name: c.z.t.web.manual.page.log.css
 
  The page I'm loading is c.z.t.web.manual.page.log.Index, which has no
  CSS load but does extend ../BasePage, which contains
  head
  ...
  link rel=stylesheet type=text/css href=css/styles.css
  /head
 
  This is translated to
  link href=/manual/css/styles.css type=text/css rel=stylesheet
  and does load OK, although it does contain
  behavior:url(css/csshover.htc); which could be the
 issue?
 
  What's really a problem is that while I get this page, trying to get
  to any page needing authentication just ends up with a 404 after
  logging in, so any suggestions welcome!  As I said though, FF is fine
  with it...
 
  /Gwyn
  --
  Download Wicket 1.2.2 now! - http://wicketframework.org
 

-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] IE causes Unable to load class errors...

2006-10-13 Thread Gwyn Evans
Hi,
  Anyone seen this sort of thing?  If I use Firefox, there's nothing
in the logs, whereas if I try IE, I get the page (including the css
file) but there's an error logged -
2006-10-13 23:05:21,589 [ERROR] RequestCycle - Unable to
load class with name: c.z.t.web.manual.page.log.css

The page I'm loading is c.z.t.web.manual.page.log.Index, which has no
CSS load but does extend ../BasePage, which contains
head
 ...
 link rel=stylesheet type=text/css href=css/styles.css
/head

This is translated to
 link href=/manual/css/styles.css type=text/css rel=stylesheet
and does load OK, although it does contain
behavior:url(css/csshover.htc); which could be the issue?

What's really a problem is that while I get this page, trying to get
to any page needing authentication just ends up with a 404 after
logging in, so any suggestions welcome!  As I said though, FF is fine
with it...

/Gwyn
-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] IE causes Unable to load class errors...

2006-10-13 Thread Gwyn Evans
More info...

It's also server specific, in that if I fire it up in Jetty, it's
fine, whereas using WebLogic, it's not...

/Gwyn

On 13/10/06, Gwyn Evans [EMAIL PROTECTED] wrote:
 Hi,
   Anyone seen this sort of thing?  If I use Firefox, there's nothing
 in the logs, whereas if I try IE, I get the page (including the css
 file) but there's an error logged -
 2006-10-13 23:05:21,589 [ERROR] RequestCycle - Unable to
 load class with name: c.z.t.web.manual.page.log.css

 The page I'm loading is c.z.t.web.manual.page.log.Index, which has no
 CSS load but does extend ../BasePage, which contains
 head
  ...
  link rel=stylesheet type=text/css href=css/styles.css
 /head

 This is translated to
  link href=/manual/css/styles.css type=text/css rel=stylesheet
 and does load OK, although it does contain
 behavior:url(css/csshover.htc); which could be the issue?

 What's really a problem is that while I get this page, trying to get
 to any page needing authentication just ends up with a 404 after
 logging in, so any suggestions welcome!  As I said though, FF is fine
 with it...

 /Gwyn

-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] OT: Dandelion Warriors

2006-10-12 Thread Gwyn Evans
Specifically, http://starwars.wikia.com/wiki/Wicket_W._Warrick

On 12/10/06, Joe Toth [EMAIL PROTECTED] wrote:
 Did you know Wicket can be used to get rid of pesky dandelions?

 http://starwars.wikia.com/wiki/Wicket_and_the_Dandelion_Warriors:_An_Ewok_Adventure

 Can he be Wicket's mascot, like Duke is to Java?  =)

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RestartResponseAtInterceptPageException vs RestartResponseException

2006-10-10 Thread Gwyn Evans
Unless I'm missing something, not without some major cut  pasting (or
a  custom version or Wicket).  The actual onSubmit() is down in
SignInForm, which is in SignInPanel, which is in SignInPage. Even if
it wasn't final, (which it is,) then there doesn't seem to be a way of
getting to it to override it.

It didn't seem that unusual a requirement, so I'm slightly surprised
that I'm the first to be asking about this, so wondering if there's a
better way of handling it!

/Gwyn

On 10/10/06, Johan Compagner [EMAIL PROTECTED] wrote:
 if it is after login. Can't you handle it then in the login.onSubmit code?


 johan
 \

 On 10/9/06, Gwyn Evans  [EMAIL PROTECTED] wrote:
  After the login's how I was hoping to go...  Currently checking the
  (session) stored user details in the BasePage.
 
  /Gwyn
 
  On 09/10/06, Johan Compagner [EMAIL PROTECTED] wrote:
   So before the user is logs in?
   so in the end you have 2 login pages?
   Or after the users logs in, so 2 different directions when the login
   succeeds?
  
   johan
  
  
  
   On 10/9/06, Gwyn Evans [EMAIL PROTECTED]  wrote:
On a related note, can anyone suggest a good way of adding a way of
changing the 'destination' page as part of the logging in?
   
The scenario is that after authenticating the user, I may to redirect
them to a 'ChangePassword' page.  Is there a better answer than a
RestartResponseException in my
   AuthenticatedWebSession.authenticate()
implementation?
   
/Gwyn
   
On 09/10/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 The difference is that
   RestartResponseAtInterceptPageException records
 the current request first, which then later - after logging in -
 could
 be redirected to again.

 if (!continueToOriginalDestination()) {

   setResponsePage(getApplication().getHomePage());
 }

 Eelco


 On 10/9/06, Jan Willem Janssen  [EMAIL PROTECTED]  wrote:
  Hi,
 
  The login-example uses
   RestartResponseAtInterceptPageException to forward
  a user to the login page when he's not authorized.
  What is the difference with throwing an
   RestartResponseAtInterceptPageException
  instead of a RestartResponseException exception? The latter
 appears to
   give the
  same behaviour, as far as I can see...

-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Properties string with parameter

2006-10-10 Thread Gwyn Evans
Here's some code I've been using, which I'd have got from somewhere
such as the phonebook or similar...

String msg = MapVariableInterpolator.interpolate(getLocalizer().
   getString((count == 1) ? status.topup : status.topups, this),
  new MicroMap(count, count));

/Gwyn

On 10/10/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 the imodel returns a substition map

 wicket doesnt use index parameters, but named ones with the same format as
 in el

 so mykey=This is a string value ${myvar}

 and in your map have myvar-whatever

 wicket has great validator support that makes it easy to validate common
 usecases so you might want to look into that

 -Igor



 On 10/9/06, craigdd [EMAIL PROTECTED] wrote:
 
  I have a form object that onSubmit will catch an exception and call the
 error
  method on the form object.  The key to this error has parameters in it for
  example here is the string in the .properties for the page that has the
  form.
 
  mykey=This is a string with value {0}.
 
  My question is how do I replace the {0} part of the string with a value.
 
  I'm readin the javadoc for the Localizer method getString and I'm a little
  confused as to what type of imodel should be used in association with
  calling getString.

-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket-CMS Templates

2006-10-10 Thread Gwyn Evans
My inclination would be to do as much as you can via CSS, but if you
need to add scripting, I'd (a) go with Jython  (b) make a major
effort on examples  documentation!

/Gwyn

On 10/10/06, Ted Roeloffzen [EMAIL PROTECTED] wrote:
 hello all,

 Some of you may know that we're working on a Wicket-CMS as our grad project.
 We've been thinking about the use of templates. About how we are going to
 let people create their own templates. As we saw in Drupal and Joomla, there
 templates are full of PHP-code. If we're going to do the same with Java
 code, that means that we force the users the learn Java and perhaps even
 Wicket. This is not very user friendly. We could use only CSS-files and
 generate the HTML-page and put all the data in DIV's and SPANs. Do any of
 you have ideas on how to make the templates as user-friendly as possible?

 greets,

 Ted


-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Cannot use wicket-quickstart-1.2.2 with IntelliJ6.0

2006-10-10 Thread Gwyn Evans
At a guess, when they were first added, the Maven IDEA plugin wasn't
as good as it now is.

/Gwyn

On 10/10/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 i dont know why those files are there...i didnt check them in :)


 -Igor


 On 10/10/06, Todd Patrick [EMAIL PROTECTED]  wrote:
 
 
  Igor:
 
  Thank you, that did work.
 
  So... what's the point of having a quickstart project specific for an IDE
 when really all is needed is ant or maven?
 
  Just a thought.
 
  --Todd
 
  
  From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Igor Vaynberg
  Sent: Tuesday, October 10, 2006 12:23 PM
  To: wicket-user@lists.sourceforge.net
  Subject: Re: [Wicket-user] Cannot use wicket-quickstart-1.2.2 with
 IntelliJ6.0
 
 
 
  i dont really know what those files are or if they are maintained
 
  can you try
 
  mvn idea:idea == shouldnt that create the idea project based on maven
 pom?
 
  -Igor
 
 
 
  On 10/10/06, Todd Patrick [EMAIL PROTECTED] wrote:
   When I remove the .xml extension from the files:
  
   project\src\main\resources\wicket-quickstart.ipr
   project\src\main\resources\wicket-quickstart.iws
  
   I open the wicket-quickstart.ipr in IntelliJ 6.0 and I have a blank
   Project structure.
  
   Would anyone be able to help me correct this?
  
   Thanks,
  
   --Todd
  
  
   -
   NOTICE: This email message is for the sole use of the intended
   recipient(s) and may contain confidential and privileged
   information. Any unauthorized use, disclosure or distribution is
   prohibited. If you are not the intended recipient, please contact
   the sender by reply email and destroy all copies of the original
   message.
  
  
  
 -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
   opinions on IT  business topics through brief surveys -- and earn cash
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys -- and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Cannot use wicket-quickstart-1.2.2 with IntelliJ6.0

2006-10-10 Thread Gwyn Evans
Thinking about it, Martijn's aim is for these to be useable without
needing Maven, so the correct thing is probably to regenerate them
during the packaging process, when the pom has the correct
dependancies set...

/Gwyn

On 10/10/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 mind yanking them out gwyn?

 -igor



 On 10/10/06, Gwyn Evans [EMAIL PROTECTED] wrote:
 
  At a guess, when they were first added, the Maven IDEA plugin wasn't
  as good as it now is.
 
  /Gwyn
 
  On 10/10/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
   i dont know why those files are there...i didnt check them in :)
  
  
   -Igor
  
  
   On 10/10/06, Todd Patrick [EMAIL PROTECTED]  wrote:
   
   
Igor:
   
Thank you, that did work.
   
So... what's the point of having a quickstart project specific for an
 IDE
   when really all is needed is ant or maven?
   
Just a thought.
   
--Todd
   

From: [EMAIL PROTECTED]
   [mailto: [EMAIL PROTECTED] On
   Behalf Of Igor Vaynberg
Sent: Tuesday, October 10, 2006 12:23 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Cannot use wicket-quickstart-1.2.2 with
   IntelliJ6.0
   
   
   
i dont really know what those files are or if they are maintained
   
can you try
   
mvn idea:idea == shouldnt that create the idea project based on maven
   pom?
   
-Igor
   
   
   
On 10/10/06, Todd Patrick [EMAIL PROTECTED] wrote:
 When I remove the .xml extension from the files:

 project\src\main\resources\wicket- quickstart.ipr
 project\src\main\resources\wicket-quickstart.iws

 I open the wicket-quickstart.ipr in IntelliJ 6.0 and I have a blank
 Project structure.

 Would anyone be able to help me correct this?

 Thanks,

 --Todd


 -
 NOTICE: This email message is for the sole use of the intended
 recipient(s) and may contain confidential and privileged
 information. Any unauthorized use, disclosure or distribution is
 prohibited. If you are not the intended recipient, please contact
 the sender by reply email and destroy all copies of the original
 message.



  
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to
 share
   your
 opinions on IT  business topics through brief surveys -- and earn
 cash

  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net

  
 https://lists.sourceforge.net/lists/listinfo/wicket-user

   
   
   
  
 -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
 share
   your
opinions on IT  business topics through brief surveys -- and earn
 cash
   
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
   
  
  
  
 -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
   opinions on IT  business topics through brief surveys -- and earn cash
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 
  --
  Download Wicket 1.2.2 now! - http://wicketframework.org
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys -- and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list

Re: [Wicket-user] RestartResponseAtInterceptPageException vs RestartResponseException

2006-10-09 Thread Gwyn Evans
On a related note, can anyone suggest a good way of adding a way of
changing the 'destination' page as part of the logging in?

The scenario is that after authenticating the user, I may to redirect
them to a 'ChangePassword' page.  Is there a better answer than a
RestartResponseException in my AuthenticatedWebSession.authenticate()
implementation?

/Gwyn

On 09/10/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 The difference is that RestartResponseAtInterceptPageException records
 the current request first, which then later - after logging in - could
 be redirected to again.

 if (!continueToOriginalDestination()) {
   setResponsePage(getApplication().getHomePage());
 }

 Eelco


 On 10/9/06, Jan Willem Janssen [EMAIL PROTECTED] wrote:
  Hi,
 
  The login-example uses RestartResponseAtInterceptPageException to forward
  a user to the login page when he's not authorized.
  What is the difference with throwing an 
  RestartResponseAtInterceptPageException
  instead of a RestartResponseException exception? The latter appears to give 
  the
  same behaviour, as far as I can see...
 
  Regards,
 
  --
 
  Jan Willem Janssen, M.Sc.
  software engineer, Development
  __
 
  Planon B.V.
  Wijchenseweg 8
  6537 TL Nijmegen
  P.O. Box 38074
  6503 AB Nijmegen
  The Netherlands
  T:  +31 (0) 24 648 7662
  F:  +31 (0) 24 642 2942
  E: [EMAIL PROTECTED]
  W: www.planon-fm.com
 
  Deze email en alle bijlagen zijn slechts voor gebruik door de beoogde 
  ontvanger. De email kan intellectueel eigendom en/of vertrouwelijke 
  informatie bevatten. Het mag niet worden gekopieerd, openbaar gemaakt, 
  bewaard of gebruikt worden door anderen dan waarvoor deze bestemd is. Bent 
  u niet de beoogde ontvanger,verwijdert u dan deze email met alle bijlagen 
  en kopieën onmiddellijk en informeer de afzender.
 
  This e-mail and any attachment is for authorised use by the intended 
  recipient(s) only. It may contain proprietary material, confidential 
  information and/or be subject to legal privilege. It should not be copied, 
  disclosed to, retained or used by, any other party. If you are not an 
  intended recipient then please promptly delete this e-mail and any 
  attachment and all copies and inform the sender.
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys -- and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RestartResponseAtInterceptPageException vs RestartResponseException

2006-10-09 Thread Gwyn Evans
On 09/10/06, Gwyn Evans [EMAIL PROTECTED] wrote:
 On a related note, can anyone suggest a good way of adding a way of
 changing the 'destination' page as part of the logging in?

 The scenario is that after authenticating the user, I may to redirect
 them to a 'ChangePassword' page.  Is there a better answer than a
 RestartResponseException in my AuthenticatedWebSession.authenticate()
 implementation?

Which isn't particulalry good, as it leaves the
AuthenticatedWebSession  in a mixed state, where things work via
getRoles(), but it didn't get to set 'signedIn' as true...

/Gwyn
-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] onSubmit not called in a form

2006-10-09 Thread Gwyn Evans
Well, it's a bit tricky without seeing code!  Maybe take a look at
http://www.wicket-library.com/wicket-examples/compref?wicket:bookmarkablePage=:wicket.examples.compref.FormPage
and compare?

/Gwyn

On 09/10/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
 Hi,

 I have a form and on a page and I believe a click on the submit button
 should cause a call to the onSubmit method. (No onSubmit in the button,
 all default settings). By default, I suppose after the call to onSubmit
 Wicket should redisplay the same page. Instead of this, onSubmit is not
 called and Wicket displays the home page. I am sure I am doing something
 wrong, but I can't find what. Any hint about where to look for?

 Pierre-Yves


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help

2006-10-09 Thread Gwyn Evans
See http://www.nabble.com/Wicket-%2B-GIS-tf2072089.html#a5704559

On 09/10/06, ketan gote [EMAIL PROTECTED] wrote:
 hello
  freinds

  we are implementingGIS and GPS project , is it possible in wicket .
  if yes ?
  then why wicket is not providing any related stuff or example related to it
  watind for rep

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RestartResponseAtInterceptPageException vs RestartResponseException

2006-10-09 Thread Gwyn Evans
After the login's how I was hoping to go...  Currently checking the
(session) stored user details in the BasePage.

/Gwyn

On 09/10/06, Johan Compagner [EMAIL PROTECTED] wrote:
 So before the user is logs in?
 so in the end you have 2 login pages?
 Or after the users logs in, so 2 different directions when the login
 succeeds?

 johan



 On 10/9/06, Gwyn Evans [EMAIL PROTECTED] wrote:
  On a related note, can anyone suggest a good way of adding a way of
  changing the 'destination' page as part of the logging in?
 
  The scenario is that after authenticating the user, I may to redirect
  them to a 'ChangePassword' page.  Is there a better answer than a
  RestartResponseException in my
 AuthenticatedWebSession.authenticate()
  implementation?
 
  /Gwyn
 
  On 09/10/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
   The difference is that
 RestartResponseAtInterceptPageException records
   the current request first, which then later - after logging in - could
   be redirected to again.
  
   if (!continueToOriginalDestination()) {
  
 setResponsePage(getApplication().getHomePage());
   }
  
   Eelco
  
  
   On 10/9/06, Jan Willem Janssen [EMAIL PROTECTED]  wrote:
Hi,
   
The login-example uses
 RestartResponseAtInterceptPageException to forward
a user to the login page when he's not authorized.
What is the difference with throwing an
 RestartResponseAtInterceptPageException
instead of a RestartResponseException exception? The latter appears to
 give the
same behaviour, as far as I can see...
   
Regards,
   
--
   
Jan Willem Janssen, M.Sc.
software engineer, Development
__
   
Planon B.V.
Wijchenseweg 8
6537 TL Nijmegen
P.O. Box 38074
6503 AB Nijmegen
The Netherlands
T:  +31 (0) 24 648 7662
F:  +31 (0) 24 642 2942
E: [EMAIL PROTECTED]
W: www.planon-fm.com
   
Deze email en alle bijlagen zijn slechts voor gebruik door de beoogde
 ontvanger. De email kan intellectueel eigendom en/of vertrouwelijke
 informatie bevatten. Het mag niet worden gekopieerd, openbaar gemaakt,
 bewaard of gebruikt worden door anderen dan waarvoor deze bestemd is. Bent u
 niet de beoogde ontvanger,verwijdert u dan deze email met alle bijlagen en
 kopieën onmiddellijk en informeer de afzender.
   
This e-mail and any attachment is for authorised use by the intended
 recipient(s) only. It may contain proprietary material, confidential
 information and/or be subject to legal privilege. It should not be copied,
 disclosed to, retained or used by, any other party. If you are not an
 intended recipient then please promptly delete this e-mail and any
 attachment and all copies and inform the sender.
   
   
 -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
 share your
opinions on IT  business topics through brief surveys -- and earn
 cash
   
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
 -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
   opinions on IT  business topics through brief surveys -- and earn cash
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
  --
  Download Wicket 1.2.2 now! - http://wicketframework.org
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net 's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys -- and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-- 
Download

Re: [Wicket-user] JBOSS Reload Classes

2006-10-07 Thread Gwyn Evans
I guess it depends on what you're doing, but while I do have other
levels of testing, i.e. local WebLogic on WinXP  remote WebLogic on
Solaris, I've yet to come across anything that differs between Jetty 
WebLogic during my development use.
  While I'd certainly advocate final testing on the target platform,
my experience is that since Java 2 or so, developing under one
platform and deploying into another is a viable and realistic
scenario. Obviously, this excludes any JNI work, but most server-side
work should be fine.

/Gwyn

On 06/10/06, cowwoc [EMAIL PROTECTED] wrote:

 uh :) I understand he mentioned he's having issues with JBOSS but
 baring that I would agree with him that developing under one platform
 and deploying into another is asking for trouble. Jetty can't possibly
 behave 100% like your target platform.

 I personally use Netbeans with Tomcat or Glassfish. It integrates 
 quite
 nice (auto reloads and all).

 Gili

 Gwyn Evans wrote:
  Dude, you'd have been better to stop at I'm not here to get into an
  argument.  The point that you missed is that Wicket can normally be
  developed very well using Jetty on my laptop as the most convienient
  way of running the web-app, then deployed onto whatever production
  appserver is required - personally, I deploy to a WebLogic system on
  Solaris.
 
  /Gwyn
 
  On 06/10/06, craigdd [EMAIL PROTECTED] wrote:
  Dude, I'm not here to get into an argument here, but you obviously haven't
  worked in many corporate settings, you don't always get to pick and choose
  which app servers you are using.  Jetty is NOT an option for us.
 
  As for the redeployment, that is a fine idea, however with the size of our
  application redeploying is extremely slow, way worse then compiling to the
  WEB-INF/classes dir and bouncing the container.
 
 
 
  igor.vaynberg wrote:
  mainstream enough to attract developers that are smart enough to figure
  out
  that the path of least resistence is to develop on jetty and deploy on
  jboss
  :)
 
  if you need app server features like ejb then the solution is not to
  restart
  the server, but to force it to redeploy your app.
 
  -Igor
 
 
  On 10/6/06, craigdd [EMAIL PROTECTED] wrote:
 
  Yes, my next step is to check the jboss forums, I sort of figured a lot
  of
  people that where using wicket might also be using jboss and had figured
  out
  this issue because it greatly affects the efficiency of development.
 
  I'm getting the impression that most people are using jetty with wicket
  which makes me wonder how main stream this framework is.
 
 
 
  igor.vaynberg wrote:
  why not ask on the jboss forums? what you want to ask is that if jboss
  can
  be launched to take advantage of jvm's hotswap.
 
  -Igor
 
 
  On 10/6/06, craigdd [EMAIL PROTECTED] wrote:
 
  So in other words the out come to my question is that NO, jboss can
  not
  be
  configured to reloaded changed classes without restarting the
  container.
 
 
  Erik van Oosten wrote:
  Martijn Dashorst wrote:
  Doesn't JBoss IDE start the jboss container in debug mode?
  Indeed, it does start jboss in debug mode.
 
  craigdd wrote:
 
  I don't think debug mode in jboss allows the reloading of classes,
  i
  believe
  it it just for remote debugging.
 
  Indeed again, JBoss is directly started from Eclipse (as all
  programs
  you start from Eclipse). Strictly there is no class reloading, but
  you
  _can_ change classes on the fly. Just remember that when you restart
  JBoss, you must recompile and redeploy your changed classes.
 
  Regards,
   Erik.
 
 
  --
  Erik van Oosten
  http://day-to-day-stuff.blogspot.com/
 
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
  share
  your
  opinions on IT  business topics through brief surveys -- and earn
  cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
  --
  View this message in context:
  http://www.nabble.com/JBOSS-Reload-Classes-tf2393072.html#a6683715
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
  share
  your
  opinions on IT  business topics through brief surveys -- and earn
  cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
  -
  Take Surveys

Re: [Wicket-user] Add addictional resource folder

2006-10-07 Thread Gwyn Evans
Hmm, I considered doing that when I started, but couldn't decide what
to call the folder, as it would have any of .html, .properties, .css
or .js files, so never felt happy with it! :-)

(Partial) alternatives might be IDEA's Sort By Type in the Project
view, or using Maven's src/main/resources tree...

/Gwyn

On 07/10/06, Aaron Hiniker [EMAIL PROTECTED] wrote:

  I created a custom resource stream locator that locates .html files located
 in an html/ folder below the component.  At least that way I can keep the
 .html separate from the .java class files.  I generally get about 10-30
 class files per package and it's nice having them separated into another
 directory, but at the same time easily accessible because they are all
 within the html/ subdirectory below the component.   Just my 2c, it's all
 about preference that there are no limitations with the wicket framework
 because the IResourceStreamLocator can be as simple or complex as you make
 it.

  Aaron



  On Fri, 2006-10-06 at 14:01 -0700, Igor Vaynberg wrote:

  Does Panel and Border have a backing html file like a Page does?

  yes, they do




  I agree that I don't want to overengineer something, so far this change was
  pretty simple to implement, I just don't like the fact that the .html files
  live with the java files, I just think it start to get messy.  Mind you I
  don't think it is absolutely horrible thing but if there is an easy way
  around it I'd rather go that way.

  yeah. we get this a lot: i am evaluating wicket and want to keep my html
 files somewhere else. and usually once these people gain deeper understand
 of wicket they realize that the default way is the best, after all it is
 default for a reason.

  in most other frameworks the markup is what drives the framework. you have
 logic constructs, variable interpolations, etc, etc. in wicket this is
 different, the markup is just the layout for your components, it is
 something extra you need for your java class. so in wicket markup doesnt
 play such a primary role.

  once you start renaming/moving components you must also keep their markup
 counter parts in sync, much easier to do if they are right there next to
 .java files you are editing.

  where are you going to keep .properties files? .js files? unless you
 implement IResourceStreamLocator you wont be able to use any of the wicket's
 builtin facilities for resolving resources.

  once your project grows you will want to start factoring out component
 libs, etc. a nice feature of wicket is that you can have  components in a
 jar along with their markup, and just drop them in to any app, not doable if
 you are looking for resources in your webapps WEB-INF folder.

  there are many other reasons. my feeling is that this feeling its neater
 comes from the fact that old webframeworks did it that way, but they are not
 component oriented and dont work in the same way.

  good luck

  -Igor



  igor.vaynberg wrote:
  
   you have to do the same mod to Panel and Border, a Page is not the main
   artefact in wicket - components are, which are often panels or borders.
   page
   is merely a top-level container.
  
   all in all i think this is overengineering, and i think you will soon
 find
   that going the default way makes it easier to maintain your code as you
   know
   where to look for things immediately and it avoids any collisions between
   components with the same name but in different packages.
  
   just my two cents
  
   -Igor
  
  
   On 10/6/06, craigdd [EMAIL PROTECTED] wrote:
  
  
   Ok, here is my solution to this problem instead of implementing my own
   IResourceStreamLocator.
  
   The overview is create a abstract class that extends WebPage that
   overrides
   the newMarkupResourceStream method. All other pages will extend this
   object.
   This object also forces it's children to implement a method that returns
   it's resource path.  Using this resource path it will use the locator to
   find the IResourceStream, if not found then it will delegate to it's
   parent
   newMarkupResourceStream method.
  
   public abstract class BasePage extends WebPage {
  
   /**
* Subclasses of this path must implement this method to return
   the path
* to it's resource file i.e. html file.  This could be the
 fully
   qualified
* name of the page class or an alternative path.
*/
   public abstract String getResourcePath();
  
   public IResourceStream newMarkupResourceStream(Class
   containerClass) {
  
   IResourceStream stream =
   findClassMapping(containerClass);
  
   return stream != null
   ? stream
   : super.newMarkupResourceStream
 (containerClass);
  
   }
  
   private IResourceStream findClassMapping(Class containerClass) {
  
   return this.getApplication().getResourceSettings().
  
 

Re: [Wicket-user] [ANN] Intellij Idea wicket plugin

2006-10-06 Thread Gwyn Evans
On 05/10/06, Anders Holmbech Brandt [EMAIL PROTECTED] wrote:
 Hello Justin,

 Thursday, October 5, 2006, 10:35:35 PM, you wrote:

  -BEGIN PGP SIGNED MESSAGE-
  Hash: RIPEMD160

  Two bits (but no shave or a haircut):

  1.  Assistant is misspelled in the plug-in name
 fixed. :-)
  2.  Are you going to make the svn repo public?  I'd love to look at the
  code and perhaps contribute.

 Yep. After the 31. of October (end of plugin competition). I'm not yet sure 
 whether I'll create a
 sourceforge (or some other place) project for it or just host it myself.

 After that I would welcome all help, but until then I'll add as much
 as I have time for.

Looking forward to it - I've got a number of places where it
incorrectly flags issues, but it's still looking as if it could be be
useful.  With luck, when you do open it, I'll be able to investigate 
hopefully supply some tweaks!

/Gwyn
-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] OK then, let me backup

2006-10-06 Thread Gwyn Evans
On 06/10/06, Geoff hendrey [EMAIL PROTECTED] wrote:
 Wicket 2 has not been migrated properly to the wicket-parent
 structure... I intend to do so in the coming weeks.

 So let me backup then, because I'm not able to understand how that affects my 
 situation (not trying to be oblique, just really lost)

 What should I checkout from the SVN repo, in order to add support for shades 
 to the phonebook? Should I expect to be able to run 'mvn install' or 'mvn 
 compile' on what I checkout and have it work? (I think so).

Checkout from /branches/WICKET_1_2/wicket-phonebook and it should.
The problem is that the trunk is in a state of flux, moving towards
Wicket 2.0, but that's a moving target at the moment, whereas that
branch should be using released Wicket Core jars.

  It's also been unfortunate that SourceForge lists had issues at the
time, so our earlier replies to you didn't get through!

 My approach has been:
 1) checkout the phonebook
 2) I try to 'mvn compile' but 3 SNAPSHOT dependencies fail to come down from 
 maven repo
 3) I manually checkout the head wicket, wicket-extensions, and wicket-spring
  I) I try to 'mvn compile' each of these. I get a variety of Java 
 compilation errors (already posted these to the list)
  II) I do whatever I have to do (including deleting the test package) 
 to get compilation to succeed
  III) eventually I have created the 3 SNAPSHOT jar files that are 
 dependencies for the phonebook
  IV) I run mvn install:install-file to install the 3 SNAPSHOTS into 
 my local repo
  V) I verify that the 3 SNAPSHOT jar files are in my local repo
 C) I try to 'mvn compile' the phonebook, but for some reason, it can't 
 find the classes that ARE in the wicket SNAPSHOT jar in my local repo

Well, one thing could be if the install:install-file didn't use the
right names, but I'd suggest using the 1.2 branch and the released
jars to start with.

/Gwyn


 If there is a better approach than what I have been doing, please let me 
 know. This has got to be some stupid newbie problem, where as soon as I 
 find it I'll say duu, but right now I am really stuck.

 -geoff

-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] JBOSS Reload Classes

2006-10-06 Thread Gwyn Evans
Dude, you'd have been better to stop at I'm not here to get into an
argument.  The point that you missed is that Wicket can normally be
developed very well using Jetty on my laptop as the most convienient
way of running the web-app, then deployed onto whatever production
appserver is required - personally, I deploy to a WebLogic system on
Solaris.

/Gwyn

On 06/10/06, craigdd [EMAIL PROTECTED] wrote:

 Dude, I'm not here to get into an argument here, but you obviously haven't
 worked in many corporate settings, you don't always get to pick and choose
 which app servers you are using.  Jetty is NOT an option for us.

 As for the redeployment, that is a fine idea, however with the size of our
 application redeploying is extremely slow, way worse then compiling to the
 WEB-INF/classes dir and bouncing the container.



 igor.vaynberg wrote:
 
  mainstream enough to attract developers that are smart enough to figure
  out
  that the path of least resistence is to develop on jetty and deploy on
  jboss
  :)
 
  if you need app server features like ejb then the solution is not to
  restart
  the server, but to force it to redeploy your app.
 
  -Igor
 
 
  On 10/6/06, craigdd [EMAIL PROTECTED] wrote:
 
 
  Yes, my next step is to check the jboss forums, I sort of figured a lot
  of
  people that where using wicket might also be using jboss and had figured
  out
  this issue because it greatly affects the efficiency of development.
 
  I'm getting the impression that most people are using jetty with wicket
  which makes me wonder how main stream this framework is.
 
 
 
  igor.vaynberg wrote:
  
   why not ask on the jboss forums? what you want to ask is that if jboss
  can
   be launched to take advantage of jvm's hotswap.
  
   -Igor
  
  
   On 10/6/06, craigdd [EMAIL PROTECTED] wrote:
  
  
   So in other words the out come to my question is that NO, jboss can
  not
   be
   configured to reloaded changed classes without restarting the
  container.
  
  
  
   Erik van Oosten wrote:
   
Martijn Dashorst wrote:
Doesn't JBoss IDE start the jboss container in debug mode?
Indeed, it does start jboss in debug mode.
   
craigdd wrote:
   
I don't think debug mode in jboss allows the reloading of classes,
  i
believe
it it just for remote debugging.
   
Indeed again, JBoss is directly started from Eclipse (as all
  programs
you start from Eclipse). Strictly there is no class reloading, but
  you
_can_ change classes on the fly. Just remember that when you restart
JBoss, you must recompile and redeploy your changed classes.
   
Regards,
 Erik.
   
   
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
   
   
   
  
  -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
  share
your
opinions on IT  business topics through brief surveys -- and earn
  cash
   
  
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
  
   --
   View this message in context:
   http://www.nabble.com/JBOSS-Reload-Classes-tf2393072.html#a6683715
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
  
  -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
  share
   your
   opinions on IT  business topics through brief surveys -- and earn
  cash
  
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
  -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share
   your
   opinions on IT  business topics through brief surveys -- and earn cash
  
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
  --
  View this message in context:
  http://www.nabble.com/JBOSS-Reload-Classes-tf2393072.html#a6684139
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
  your
  opinions on IT  business 

Re: [Wicket-user] DataTable header manipulation

2006-10-06 Thread Gwyn Evans
I'm not sure about Stefan's requirements, but doesn't the
table.class  thead  tr.headers  th hierarchy let you target the
header sufficiently?

/Gwyn

On 06/10/06, Leszek Gawron [EMAIL PROTECTED] wrote:
 Stefan Lindner wrote:
  I can manipulate the data grip part of a DataTable by overriding 
  newCellItem. But if I e.g. need a speical layout for the table header, I 
  must add a class or id attribute to the th elements of the headline 
  (different layout on the left and right side e.g.).
  I can see no way to manipulate the generation of the headline. O.K. I can 
  design my own Toolbar according to HeadersToolbar but in most cases that's 
  much too compülicated. Is there an easy way to control the generation of 
  the table head?
 
  Stefan Lindner
 I keep having exactly the same problems. DataTable components do not
 carry any css classes so any visual customization/layout is hardly possible.

 --
 Leszek Gawron

-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-phonebook maven question

2006-10-05 Thread Gwyn Evans
Yes, it's a Maven (Maven2) app, so you should really use that, or at
least make sure that it works even if you want to add an Ant
build.xml.

It should build via mvn package and run stand-alone via mvn
jetty:run or mvn jetty:run-war but yes, you need Maven2 (which is
a lot better than Maven1, IMHO).

/Gwyn

On 01/10/06, Geoff hendrey [EMAIL PROTECTED] wrote:
 Hi,

 Couple questions around adding Shades to the phonebook example.  Are 
 downloaders supposed to build the phonebook using Maven? I just threw 
 together an Ant build script after I downloaded the phonebook example, but I 
 just noticed under META-INF there is a maven directory. Maybe I need to 
 upgrade to maven 2, but Maven doesn't seem to do anything if I go into the 
 same directory as pom.xml and do maven. Anyway, just let me know what the 
 right approach is, so that I can integrate Shades in a consistent way.

 Thanks a bunch,
 geoff



 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] mailing list problems

2006-10-05 Thread Gwyn Evans
Yes - Anyone sending from a GMail account has been seeing bounces for
a while now, and it's also been extra quiet for a little bit now, but
there's just been what looks like a flood of backlogged messages
through, so let's see if I can now send to it (from GMail)...

/Gwyn

On 04/10/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
 Eelco,

 does the mailinglist again have problems ???

 i havent received a single mail for over 24 hours now or is the list
 dead???

 Regards,

 Korbinian


  -Ursprüngliche Nachricht-
  Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Im Auftrag
  von Eelco Hillenius
  Gesendet: Sonntag, 1. Oktober 2006 22:10
  An: wicket-user@lists.sourceforge.net;
  wicket-develop@lists.sourceforge.net
  Betreff: [Wicket-user] mailing list problems
 
  I'm afraid we're having lots of troubles again with the
  sourceforge lists. None of my messages seems to have come
  through the last few days, and neither did Igor's, and
  probably many more didn't make it.
  Seems to be the gmail addresses having the most troubles,
  hence I'm trying this from my mac address.
 
  Sorry for the inconvenience.
 
  Eelco
 
  --
  ---
  Take Surveys. Earn Cash. Influence the Future of IT Join
  SourceForge.net's Techsay panel and you'll get the chance to
  share your opinions on IT  business topics through brief
  surveys -- and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforge
 CID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Floating header on datatable

2006-10-05 Thread Gwyn Evans
I'd have thought that while you could probably do that via framesets
or IFrames, I'd hope that doing it via CSS would be the way to go.  I
don't know enough CSS to be sure it's possible, though!

/Gwyn

On 05/10/06, Renaut, Jonathan E CTR DISA GIG-CS
[EMAIL PROTECTED] wrote:



 This email seems to have been eaten while the mailing list was down
 yesterday.  If you receive this twice, I apologize.

  I would like to add a floating header to a datatable.  That is, if there
 are too many rows in the table to be seen on the screen at a time, and the
 user scrolls down, the header should scroll, too, so the header is always
 visible and still retains its functionality.

  I know I can set the page size to something smaller, but this is a specific
 customer requirement, so I don't get a say.

  Does such a thing exist?  If not, any suggestions on how to implement?

  Thanks very much

  Jon

-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-phonebook

2006-09-25 Thread Gwyn Evans
Try 
http://svn.sourceforge.net/viewvc/wicket-stuff/branches/WICKET_1_2/wicket-phonebook/

/Gwyn

On 25/09/06, Patrick Angeles [EMAIL PROTECTED] wrote:
 I must have checked out trunk... it appears that there are wicket 2.0
 artifacts here...


 On 9/25/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
  are you checking out from wicket_1_2 branch or trunk? i checked out from
 wicket_1_2 just now and it has no references to SpringComponentInjector.
 
  -Igor
 
 
 
 
  On 9/25/06, Patrick Angeles [EMAIL PROTECTED] wrote:
  
   Is the source out of date? I'm having a heck of a time trying to get
 this to compile and run in Eclipse.
  
   First of all, looks like the pom.xml still references
 wicketframework.org as a repository, and that is extremely slow... (or
 dead?)
  
   I removed that repository and finally got Eclipse (with the codehaus
 Maven2 plugin) to build the project, but then I get a few errors. I noticed
 that it still uses version 1.2 of wicket core, extensions and wicket-spring.
 I replaced those with 1.2.2 and I'm still getting errors.
  
   For example, it can't find:
  
   import wicket.spring.injection.SpringComponentInjector;
  
   Another example, it can't find
  
   FeedbackPanel  (WebPage, String)
  
   Need help!
  
   Thanks in advance...
  
  
 -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
   opinions on IT  business topics through brief surveys -- and earn cash
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys -- and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 



 --
 Patrick Angeles | VP of Technology | Direct:646.643.2607 | Fax:800.366.2303
 | Support:800.819.0325 | Inertia - Powering the Wine REvolution |
 www.inertiabev.com
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Database Integration With Wicket

2006-09-22 Thread Gwyn Evans
On 22/09/06, Korbinian Bachl [EMAIL PROTECTED] wrote:


 Hi,

 i just took a closer look at the wicket-phonebook. can anyone point me to
 the sourceode for it? - i can get the war from
 http://wicket-stuff.sourceforge.net/wicket-phonebook/ but
 dont find a source for it... (maybe im just too blind?).

The source files used in the example are actually in the WAR, albeit
next to the class files under WEB-INF/classes, rather than where one
might expect to see them.  The true source is in the SVN repository,
e.g. 
http://svn.sourceforge.net/viewvc/wicket-stuff/branches/WICKET_1_2/wicket-phonebook/


 Oh, and another thing: on the
 http://wicket-stuff.sourceforge.net/wicket-phonebook/ page
 the first three links under Related Projects  are broken!

Thanks, I'll try  make time to update the sub-site.
/Gwyn

-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-22 Thread Gwyn Evans
There's also wicket.util.string.Strings#isEmpty
(http://wicket.sourceforge.net/apidocs/wicket/util/string/Strings.html#isEmpty(java.lang.CharSequence)
to consider...

/Gwyn

On 22/09/06, Erik van Oosten [EMAIL PROTECTED] wrote:
 Indeed 8)
 I should probably be denied write-access to this list for at least a
 week. None of my e-mails seem to hit the mark at the moment.

 Erik.

 Manuel Barzi schreef:
  He is just saying he doesn't want to rewrite the cases that do not have
  a null check.
 
 
  Very weill, but the question is: whoever promoted that idea? Seems to
  be auto-promoted and auto-rejected... ;)
 
  Anyway, have a nice day!
 
 --
 Erik van Oosten
 http://www.day-to-day-stuff.blogspot.com/


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] DownDownChoice problem

2006-09-22 Thread Gwyn Evans
How about...

add(new DropDownChoice(
options2,
new Model(getDefaultSelection(getMyOptionValue())),
OPTIONS) {
protected String getDefaultChoice( final Object selected ) {
return ; // remove Choose One prompt
}
});
};

private Integer getMyOptionValue() {
return new Integer(2);
}
private String getDefaultSelection(Integer i) {
return String.valueOf(OPTIONS.get(i.intValue()));
}

/Gwyn

On 22/09/06, Dumitru Postoronca [EMAIL PROTECTED] wrote:
 Gwyn Evans wrote:
  What does c.getMyOptionValue() return?
 
  This...
  public HomePage() {
  add(new DropDownChoice(
  options,
  new Model(getMyOptionValue()),
  OPTIONS)
  {
  protected String getDefaultChoice(final Object selected) {
  return ; // remove Choose One prompt
  }
  });
  }
 
  private String getMyOptionValue() { return Opt2; }
  }
  works as you'd expect. (The ChoiceRenderer() wasn't doing anything).
 
  /Gwyn

 getMyOptionValue() actually returns an Integer.

 What I'm trying to acomplish is this:
 in my Client object I have stored an Integer myOptionValue, and there
 are 3 possible options, so I want to show an edit form with a
 dropdownchoice with those 3 options and have the selected option to be
 the one that corresponds to the Integer I have stored in myOptionValue.
 For Integer(1) - Opt1, Integer(2) - Opt2, etc.

 - posto


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] DownDownChoice problem

2006-09-21 Thread Gwyn Evans
What does c.getMyOptionValue() return?

This...
public HomePage() {
add(new DropDownChoice(
options,
new Model(getMyOptionValue()),
OPTIONS)
{
protected String getDefaultChoice(final Object selected) {
return ; // remove Choose One prompt
}
});
}

private String getMyOptionValue() { return Opt2; }
}
works as you'd expect. (The ChoiceRenderer() wasn't doing anything).

/Gwyn

On 21/09/06, Dumitru Postoronca [EMAIL PROTECTED] wrote:
 Hello everyone,

I want to create an edit form and I'm trying to set the selected item
 of a DropDownChoice to match what I have in the database.

 The form constructor looks like this:
 -
 public ClientEditPage(Client c) {...}
 -

 The code that sets the form looks like this:

 -
 final static List OPTIONS = Arrays.asList(new String[] {Opt1, Opt2,
 Opt3});

 //...

 DropDownChoice ddc = new DropDownChoice(
 options,
 new Model(c.getMyOptionValue()),
 OPTIONS,
 new ChoiceRenderer() {
 @Override
 public String getIdValue(Object arg0, int arg1) {
 // I also tried to return ((Integer)arg1).toString()
 // and it didn't work
 return ((Integer)OPTIONS.indexOf(arg0)).toString();
 }
 }
 ){  protected String getDefaultChoice(final Object selected)
 {
 return ; // remove Choose One prompt
 }};

 add(ddc);
 -

 No matter what client I select, it always shows me the first option.
 Also, the rendered HTML looks like this:
 option value=0Opt1/option
 option value=1Opt2/option
 option value=2Opt3/option

 No selected=selected attribute.

 Can somebody tell me what am I doing wrong?

 Thank you in advance,
 - posto


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Database Integration With Wicket

2006-09-21 Thread Gwyn Evans
I'd suggest another look at the wicket-phonebook, as there's an iBATIS
varient that lets you control the SQL you use.  I find it useful,
whereas Hibernate's too big a step for me as I don't need the areas
where Hibernate's that much stronger.

/Gwyn

On 21/09/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:

 Okay I know of all the contrib projects, databinder, hibernate stuffs etc, I
 have used databinder and its lovely but I think for some reason, database in
 wicket needs to be sort of easier to put up to encourage faster adaptation.
 Come to think about it, presently most of the present solutions around
 database in Wicket wraps around Hibernate and a beginner who is not familair
 with hibernate may get stuck. Some developers still tend to love thier SQL
 thing compared to ORM and in some cases, you want to do direct SQL cuz
 hibernate3.jar is some size you may not need to include in your portable web
 application. And believe me, i believe more ppl learn SQL more than they
 learn ORM in Schools

 Yesterday, I was tryin to use Dababinder or wicket-contrib-dababase but at
 the same time i was using the wicket-auth framework and all these contibs
 enforce that you extend XXXApplication in your Application Class which means
 you cannot directly use Contrib projects e.g wicket-contrib-database and
 also Wicket-auth. There should be a more elegant way to use multiple contrib
 projects without this Inheritance lock jam.

 Now most web applications need authentication and also need database which
 is why i believe wicket shoud somehow integrate some DAO scheme into wicket
 where all we do is set connection properties and from Components, you can
 fly CRUD.

 Well i know there must be some good reasons to exclude this from wicket but
 what will be the most elegant way to do CRUD in wicket?  where should I
 store my Connection? Session or Application Class. Should I create a parent
 WebPage with all the SQL stuffs and then make other CRUD pages extend it. a
 hundred ways to do this but which way is more elegant?

 Thanks Wicket dads




 --
 It takes insanity to drive in sanity - Me

 Aladejebi Ayodeji A.,
 DabarObjects Solutions
 Email: [EMAIL PROTECTED]
 Mobile: +234 803 589 1780
 Web: www.dabarobjects.com

 Community:
 www.cowblock.net
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Anyone received complete Pro Wicket ebook?

2006-09-20 Thread Gwyn Evans
Those 9 chapters /are/ the complete book, I think.  Certainly they
match the Table of Contents that's on the site.
(http://www.apress.com/ApressCorporate/supplement/1/10189/1590597222-3762.pdf).

As far as I can see, the only difference between the earlier beta
eBook and the current one is the movement of the title page  ToC
pages to the front. There's no additional content, which would explain
why there's been no update emailing.

/Gwyn

On 20/09/06, De Soca [EMAIL PROTECTED] wrote:

 Sorry, my celebrations were premature, its the same 9 chapters as the beta
 book.

 What rotten service.

 Called and let a message with Apress support still no reply.


 De Soca wrote:
 
  Hi Martin,
 
  thanks, that did it. Strange that they never changed the link.
 
  Cheers.
 
  Martin Funk wrote:
 
  download the book even if it still says (beta) in the download area.
  worked for me.
 
  mf
 
  middledot schrieb:
  I too bought a beta version of the book, hoping that I would be informed
  of
  the final release but no such luck.
  The e-book is still in beta version on their website.
  I tried to download the code for the book but it's not there either.
  Strange.
  Les
 
  De Soca wrote:
 
  Hello,
 
  just curious, has anyone has received the complete eBook of Pro
  Wicket from Apress?
 
  I have not received mine as yet even though the hard copy has been
  release. I had taken part in the beta ebook program in August.
 
  I have also tried sending an email to Apress support - no response in
  over a week!
 
  Not good.
 
  Cheers,
  DeSoca


-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How do I prevent a wicket:link to change style

2006-09-19 Thread Gwyn Evans
Well, being practical, why don't you just style them via CSS,
e.g.
div#listmenu em {  /*disabled links*/
display:block;
padding:0 6px; /*creates space each side of menu item's text */
font-style: normal;
font-weight:normal; 
color:gray;
}

/Gwyn

On 19/09/06, Stefan Arentz [EMAIL PROTECTED] wrote:
 On 9/19/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
  This is totally against 'the Wicket' way. The whole idea is to
  minimize scripting in the markup. What you propose is just going in
  the oposite direction.

 Sometimes being practical is better than the wicket way ;)

  S.


-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] urlFor on root

2006-09-19 Thread Gwyn Evans
See the wicket-quickstart/-template/etc for examples, but we typically
run with /app/* and as a default, have a index.html in / that does a
HTTP redirect to /app/.

/Gwyn

On 19/09/06, jan_bar [EMAIL PROTECTED] wrote:
 Thanks Johan

 I searched bugzilla, but did not found any similar bug report. What is wrong
 with this setup? Should I have Wicket servlet mapped as /something/* to
 avoid troubles?

 I am not versed in servlet context path, I cannot help you. I would append
 '/' if not already present in path.

 Jan


 Johan Compagner [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
 yes this is a know problem. I think there is already a bug report for this.
 Funny that it only comes up now twice. And this behaviour is there already a
 long time
 Maybe because it is not the recommended way of configuring the wicket
 servlet..
 This kind of configuring is really only working right in wicket 2.0 where we
 use a filter.

 So the context path must always append and / no matter what the context
 path is and what the servlet path?

 johan



 On 9/19/06, jan_bar [EMAIL PROTECTED] wrote:
 Hi,

 I observe strange behaviour. My web application is deployed as EAR with gc
 as context root. The servlet mapping is /*. The Url generated by urlFor()
 is:
 http://localhost:8091/gc?wicket:interface=:16:mainFrameBorder:processBar:wishEditor:editWish:-1:IFlashListener

 I think that urlFor should add '/' after the gc:
 http://localhost:8091/gc/?wicket:interface

 In fact, when browser requestes the URL it is redirected to (note the
 appended '/'):
 http://localhost:8091/gc/?wicket:interface=:16:mainFrameBorder:processBar:wishEditor:editWish:-1:IFlashListener

 It worked well when the servlet mapping was not root (/*) but something
 like /myservlet/*.

 Jan




 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user






 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV




 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] SUSPECT: RE: Pro Wicket: Great first book onwicket

2006-09-17 Thread Gwyn Evans
On 17/09/06, Erik Brakkee [EMAIL PROTECTED] wrote:

 a component reference: Also the wicket site does not contain a full
 reference. This is extremely importantant I think because if you want people
 to find and use the components then they should be documented. The wicket
 site itself is also not that good at it (especially wicket extensions is
 really low on documentation).

You /have/ found the wicket-examples site/sub-project, haven't you?

Maybe take a look here
(http://www.wicket-wiki.org.uk/wiki/index.php/Documentation_Index)
too?

/Gwyn

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] can'nt read wiki

2006-09-15 Thread Gwyn Evans
I'm out of the country today, so can't do anything right now, but did
you read my point (b), as your comment suggests you didn't?

/Gwyn

On 15/09/06, ali [EMAIL PROTECTED] wrote:
 On Thu, 15 Jun 2006 13:24:38 +0430, Gwyn Evans [EMAIL PROTECTED]
 wrote:

  OK, I've reset the spam-traps again - If you want to stay out of them
  then:
a) Don't use Offline Explorer. [1]
b) Don't use Opera. [2]
  More...
[1] When I have some spare time, I'll try  have a go with some apps
  such as that to see if they can use used without triggering the traps
  and equally, without going down the wrong links, but I don't think
  I'll have time for a while.
[2] I don't know what your setup is exactly, but it looks as if
  there's something specific to your setup (i.e. the Opera version or
  the proxy config or something) that's meaning that your use of Opera
  trigger the traps.  I've had a go with both the current downloadable
  ones (V8.5.4 and V9 Beta 2) and they don't trigger things for me, so
  can't suggest what it is...
   Give the wiki a go with IE or Firefox, then if/when that works and
  you want to get back to Opera
(a) Get the latest Opera
(b) Install, trying to make sure it uses default settings rather
  than any saved settings
(c) Try, making note of ANY changes to the Network/Proxy values
(d) Report back on the results.

 i can ONLY get my first page by Opera/FreFox/IE then on others page
 requested , all browsers show 412 Precondition Failed page

 --
 Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Link behaviour inconsistent

2006-09-10 Thread Gwyn Evans
The point is, non-bookmarkable links aren't intended to persist over
server restarts - in fact, they're only 'good' for the life of the
session in which they were created.  Can you explain a bit more about
the scenario you've intending them to cover.

/Gwyn

On 10/09/06, Imran M Yousuf [EMAIL PROTECTED] wrote:
 Sorry to disappoint you. But I already know what you have mentioned in your
 reply. The URL I sent in the mail was an example which URLs' cause such
 behavior. They were not used for bookmark purpose. I hoped I cleared myself.
 Please feel free to ask any question in regard to this.

 Thank you

 Imran

 -Original Message-
 From: Martijn Dashorst [mailto:[EMAIL PROTECTED]
 Sent: Sunday, September 10, 2006 6:37 PM
 To: [EMAIL PROTECTED]; wicket-user@lists.sourceforge.net
 Subject: Re: [Wicket-user] Link behaviour inconsistent

 These links are not supposed to be bookmarkable. You should use
 BookmarkablePageLInks when you want to provide bookmarks to your
 pages.

 You can read more on the subject here:
 http://www.javalobby.org/java/forums/t61556.html

 Martijn

 On 9/10/06, Imran M Yousuf [EMAIL PROTECTED] wrote:
  Dear Users,
 
  I am using Link implementation in my application to navigate. When the
  server restarts all the links that are of Link implementation starts
  behaving strangely and goes to a page that is not even navigateable from
  that page. Can someone let me know what the reason could be?
  The links that cause problem looks like as follows:
  http://192.168.1.14:8080/sakura/home?wicket:interface=:5::
  Need help on this in urgent basis.
  Thank you in advance.
 
  Imran
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


 --
 Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and
 ModalWindow
 -- http://wicketframework.org


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-ajax and firefox 1.06

2006-09-06 Thread Gwyn Evans
Really 1.0.6?  Current version is 1.5.0.6, isn't it?
/Gwyn

On 06/09/06, Tomer Mevorach [EMAIL PROTECTED] wrote:
 Hi all,
 wicket-ajax.js generates the following error on firefox 1.06:
 Error: [Exception... Component returned failure code: 0x80040111
 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.getResponseHeader]
 nsresult: 0x80040111 (NS_ERROR_NOT_AVAILABLE)  location: JS frame ::
 http://localhost/provision/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js
 :: anonymous :: line 569  data: no]
 Source File:
 http://localhost/provision/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js

 Line: 569

 Is wicket ajax supported for firefox 1.06?

 Regards,
 Tomer

-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] DateTable with alternating row color

2006-09-06 Thread Gwyn Evans
Well, with the DefaultDataTable, it overrides DataTable's newRowItem()
method in order to return an new OddEvenItem rather than a new Item.
The OddEvenItem overrides on ComponentTag in order to add the odd or
even class.  Could you, however, have overridden one of these
yourself?

/Gwyn

On 06/09/06, Stefan Lindner [EMAIL PROTECTED] wrote:
 I just wonder about the place where in the DataTableExample (in wicket 
 examples) the alternating style for the table rows (tr class=even... and 
 tr class=odd.. has to be set? Or does this the DefaultDataTable class for 
 me. Or does it the SortableDataProvider? Or do I have to it on my own (as in 
 the displaytag examples)?
 If it should happen automatically, it does not work in Wicket 2.0.

 Stefan


-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] MouseOver Effect on DataTable

2006-09-06 Thread Gwyn Evans
It looks to be a combination of adding the CSS classes to your .css file

.litupRow {
}

.litupRowOver  {
background-color: #66;
cursor: pointer;
}

 and the JavaScript to set the class in the markup.
e.g. in SearchPage.html

tr wicket:id=results class=litupRow
onmouseover=this.className='litupRowOver';
onmouseout=this.className='litupRow';

I'm not sure enought of CSS and tables to be able to say if there's
going to be any issues with trying to have both this and the Odd/Even
classes working in the table row, though!

/Gwyn

On 06/09/06, Thomas Küchenthal [EMAIL PROTECTED] wrote:
 Dear all,

 I have implemented a Page where I use the DefaultDataTable to display a
 list of data. It is inspired by the Phonebook example and works perfect.
 Now I have seen the cdapp example from wicket-contrib and I like the
 mouse-over effect when I move the mouse over the table. How can I
 implement such an effect in my Page?

 Thanks in advance

 /thomas

-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] MouseOver Effect on DataTable

2006-09-06 Thread Gwyn Evans
The problem you've not addressed is how you set the different
'onmouseout' functions in the repeater... I expect it can be done by
extending the way that the OddEvenItem itself extends things, though.

What I was thinking about was if there'd be a way of putting in a
span or similar, such that the mouseovers could just do their set 
clear, leaving the odd/even being set on the tr?  While I don't
know, I've got the impression that I'd run into issues as to what tags
would actually be allowed where I'd need them in order to do that...

/Gwyn

On 06/09/06, Erik van Oosten [EMAIL PROTECTED] wrote:
 The combination won't work.

 Try this for the even rows:

 tr wicket:id=results class=even
 onmouseover=this.className='litupRowOver';
 onmouseout=this.className='even';

 and for the odd rows:

 tr wicket:id=results class=odd
 onmouseover=this.className='litupRowOver';
 onmouseout=this.className='odd';

 I removed the class litupRow as it contains no style in your example. If
 you want to maintain it do this:

 tr wicket:id=results class=litupRow even
 onmouseover=this.className='litupRowOver';
 onmouseout=this.className='litupRow even';

 and for the odd rows:

 tr wicket:id=results class=litupRow odd
 onmouseover=this.className='litupRowOver';
 onmouseout=this.className='litupRow odd';

 There are also javascript functions available on the net that allow you
 to add and remove classes from an element.

 Regards,
 Erik.

 --
 Erik van Oosten
 http://www.day-to-day-stuff.blogspot.com/



 Gwyn Evans schreef:
  I'm not sure enought of CSS and tables to be able to say if there's
  going to be any issues with trying to have both this and the Odd/Even
  classes working in the table row, though!
 
  /Gwyn
 


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] DropDownChoice's onSelectionChanged called too late

2006-08-30 Thread Gwyn Evans
Hmm, not /quite/ yet, I think - Check the thread on wicket-dev before
commiting anything new (as opposed to bug-fixes) to 1.x.

/Gwyn

On 30/08/06, Johan Compagner [EMAIL PROTECTED] wrote:
 1.3 is wicket-1.x he? ;)

-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxTabbedPanel is broken (wicket-1.2.2)

2006-08-30 Thread Gwyn Evans
On 30/08/06, Ingram Chen [EMAIL PROTECTED] wrote:
 I found that this also happend to AjaxFallBackDefaultDataTable... seems not
 a problem for particular component.

 Is this bug already fixed in SVN or any work around I can do ?
 My project is stopped due to this problem

  Well, try a fall-back to 1.2.1  see if that was OK?  Was there
anything in 1.2.2 that you required as part of your project?

/Gwyn

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


  1   2   3   4   >