Re: Sanity check: rendering xml to be comsumed by other applications

2008-03-15 Thread Konstantin Ignatyev
If you want to avoid the lazy init error when effortlessly exposing
Hibernate enhanced objects via XFire and alike services all you need to do
is front the service URL with filter that makes sure that Hibernate session
is available for the duration of the request.

That is  less work then rendering XML in rest fashion.

On Sat, Mar 15, 2008 at 6:39 PM, xdirewolfx [EMAIL PROTECTED] wrote:


 Hi

 Basically I have been working alot of spring and hibernate stack.
 Everything
 is fine until you need to actually expose web service which comprises of
 part of your domain models. Hibernate will let you go in a loop or you
 will
 run into a famous error (lazily init :)). As such I have always used DTOs
 to
 deliver my ws data. (I hate DTOs by the way)

 When I look at wicket, you can safely render the content in XML so I
 thought
 if I say expose my url .../MyService and param1, param2 etc... in a rest
 like manner to let other applications consume (using wicket models so no
 more DTOs to write). Just to check if it is done by anyone and what may be
 the drawback of this.
 --
 View this message in context:
 http://www.nabble.com/Sanity-check%3A-rendering-xml-to-be-comsumed-by-other-applications-tp16074721p16074721.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Konstantin Ignatyev

PS: If this is a typical day on planet earth, humans will add fifteen
million tons of carbon to the atmosphere, destroy 115 square miles of
tropical rainforest, create seventy-two miles of desert, eliminate between
forty to one hundred species, erode seventy-one million tons of topsoil, add
2,700 tons of CFCs to the stratosphere, and increase their population by
263,000

Bowers, C.A. The Culture of Denial: Why the Environmental Movement Needs a
Strategy for Reforming Universities and Public Schools. New York: State
University of New York Press, 1997: (4) (5) (p.206)


Re: Reloading resource

2008-02-06 Thread Konstantin Ignatyev
I have seen the behavior but that seems to be endemic to windows.
I have not seen that on Linux or OS X.

On Wed, Feb 6, 2008 at 12:08 PM, gantini [EMAIL PROTECTED] wrote:


 Strangethis dosn't work for me...
 When wicket starts, in the tomcat console I can read:

 
 *** WARNING: Wicket is running in DEVELOPMENT mode.  ***
 ***   ^^^***
 *** Do NOT deploy to your live server(s) without changing this.  ***
 *** See Application#getConfigurationType() for more information. ***


 But when I modify any html file, no reload is performed :-((

 Other suggest for me?
 G.


 igor.vaynberg wrote:
 
  this should automatically be happening if you run wicket in development
  mode.
  that call you do is not necessary.
 
  -igor
 
 
  On Feb 5, 2008 3:01 PM, gantini [EMAIL PROTECTED] wrote:
 
  Nothing to help me?
 
 
 
  gantini wrote:
  
   I'm very new with Wicket.
   It is possible to automatically reload resource (class and HTML file)
 ?
  
   I've set:
  
 @Override
 protected void init() {
 getResourceSettings().setResourcePollFrequency(
  Duration.ONE_SECOND );
 }
  
   but this don't work for me.
   Thanks.
  
 
  --
  View this message in context:
  http://www.nabble.com/Reloading-resource-tp15268997p15300053.html
 
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Reloading-resource-tp15268997p15312660.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Konstantin Ignatyev

PS: If this is a typical day on planet earth, humans will add fifteen
million tons of carbon to the atmosphere, destroy 115 square miles of
tropical rainforest, create seventy-two miles of desert, eliminate between
forty to one hundred species, erode seventy-one million tons of topsoil, add
2,700 tons of CFCs to the stratosphere, and increase their population by
263,000

Bowers, C.A. The Culture of Denial: Why the Environmental Movement Needs a
Strategy for Reforming Universities and Public Schools. New York: State
University of New York Press, 1997: (4) (5) (p.206)


Re: Exposing a web service from a Wicket app

2008-01-30 Thread Konstantin Ignatyev
 http://xstream.codehaus.org/ takes care of it, why wicket should be used?
 
Konstantin Ignatyev 



- Original Message 
From: Martijn Dashorst [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Wednesday, January 30, 2008 1:24:44 PM
Subject: Re: Exposing a web service from a Wicket app


It 
could, 
but 
that 
would 
be 
using 
a 
ferrari 
to 
do 
grocery 
shopping 
:-)

I 
guess 
you 
could 
mount 
an 
XML 
document 
as 
a 
page 
(easy 
to 
achieve, 
wiki
should 
have 
documents 
on 
this).

I'm 
not 
100% 
sure 
that 
json 
would 
be 
a 
good 
fit, 
as 
Wicket 
likes 
to
manipulate 
(XML-like) 
markup, 
not 
text 
templates.

Martijn

On 
1/30/08, 
Zach 
Cox 
[EMAIL PROTECTED] 
wrote:

 
We're 
creating 
a 
web 
app 
using 
Wicket 
and 
would 
like 
to 
expose 
several
 
simple 
features 
via 
a 
RESTful 
web 
service.  
So 
basically, 
several 
URLs
 
would 
return 
XML 
or 
JSON 
formatted 
data 
instead 
of 
HTML.

 
Is 
there 
an 
easy 
way 
to 
do 
this 
in 
Wicket 
to 
provide 
a 
very 
simple 
web
 
service, 
or 
should 
we 
just 
look 
into 
something 
separate 
like 
Jersey
 
(https://jersey.dev.java.net/)?

 
-
 
To 
unsubscribe, 
e-mail: 
[EMAIL PROTECTED]
 
For 
additional 
commands, 
e-mail: 
[EMAIL PROTECTED]




-- 
Buy 
Wicket 
in 
Action: 
http://manning.com/dashorst
Apache 
Wicket 
1.3.0 
is 
released
Get 
it 
now: 
http://www.apache.org/dyn/closer.cgi/wicket/1.3.0






Re: wicket maven archettype, SPRING-HIBERNATE-JPA?

2008-01-24 Thread Konstantin Ignatyev
I also suggest playing with Grails a little bit before you proceed
http://grails.org/Quick+Start

No, I do not think that Grails is better than Wicket, but I like the little 
conveniences provided by commands like  create-domain-class and 
create-controller
 
Konstantin Ignatyev
- Original Message 
From: Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Wednesday, January 23, 2008 11:59:15 PM
Subject: Re: wicket maven archettype, SPRING-HIBERNATE-JPA?


Great idea...

Igor Vaynberg wrote:
 see source to our quickstart archetype, its in our svn under
 wicket-archetypes/quickstart

 -igor


 On Jan 23, 2008 11:34 PM, Nino Saturnino Martinez Vazquez Wael
 [EMAIL PROTECTED] wrote:
   
 You could'nt provide the base structure, just so I have a starting
 point
 on this..? Havent build a archetype before..


 regards..


 Gerolf Seitz wrote:
 
 you're right.
 maybe extend the default wicket-quickstart archetype with a java5
 version.

 let's create some kind of archetype vault :)

 it might also be important to provide good documentation alongside
 the
 archetypes...
 for the noobs :P

   gerolf

 On Jan 22, 2008 7:58 PM, Nino Saturnino Martinez Vazquez Wael 
 [EMAIL PROTECTED] wrote:


   
 Eeek, I guees it would be java 5 only, as JPA are annotations. But
 I
 guess we could start with java 5 and then expand ..

 Gerolf Seitz wrote:

 
 i thought about something like that a while ago (but got
 sidetracked).
 for 1.3.x it would also be nice to be able to provide a parameter
 for

   
 java5

 
 (like -Dsource=1.5).
 this will obviously be obsolete for the next wicket versions

   gerolf

 On Jan 22, 2008 7:50 PM, Nino Saturnino Martinez Vazquez Wael 
 [EMAIL PROTECTED] wrote:



   
 Would there be interest for such a template?

 It would consist of 3 projects, parent, core and web.

 If so, i'll go ahead and create a wicketstuff for it.

 --
 Nino Martinez Wael
 Java Specialist @ Jayway DK
 http://www.jayway.dk
 +45 2936 7684



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




 
 --
 Nino Martinez Wael
 Java Specialist @ Jayway DK
 http://www.jayway.dk
 +45 2936 7684



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 
   
 --

 Nino Martinez Wael
 Java Specialist @ Jayway DK
 http://www.jayway.dk
 +45 2936 7684



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


   

-- 
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







Re: wicket maven archettype, SPRING-HIBERNATE-JPA?

2008-01-24 Thread Konstantin Ignatyev
Hibernate takes care  DB schema (re) definition when its configuration says
hibernate.hbm2ddl.auto=create 
so when changes are made to the entity classes H  (re)generates database 
schema. 

- Original Message 
From: Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Thursday, January 24, 2008 12:14:20 PM
Subject: Re: wicket maven archettype, SPRING-HIBERNATE-JPA?


I think you could get very close by having a basic 
wicket-jpa-hibernate-spring thing(it'll mainly be copy pasting and 
refactorying), i'll try to see how great database migration are with 
this combination..

Konstantin Ignatyev wrote:
 I like idea of archetype and have tried creating one awhile ago but I
 did not go far because archetype's functionality seems to be VERY
 limited and certainly does not support features like rails/grails do.

 Maybe we need combination of archetype + plugin where archetype will
 just create a stub and plugin will take care of all the extended
 functionality I am dreaming of.







Re: wicket maven archettype, SPRING-HIBERNATE-JPA?

2008-01-22 Thread Konstantin Ignatyev
Add Wicket Web Beans and we have replacement for Ruby on Rails :)
 
Konstantin Ignatyev 
 




- Original Message 
From: Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Tuesday, January 22, 2008 10:50:47 AM
Subject: wicket maven archettype, SPRING-HIBERNATE-JPA?


Would there be interest for such a template?

It would consist of 3 projects, parent, core and web.

If so, i'll go ahead and create a wicketstuff for it.

-- 
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Cannot create Spring Bean via Proxy in Wicket

2008-01-13 Thread Konstantin Ignatyev
You have to use interface and cast to the interface unless Spring is forced to 
use cglib for proxy creation.

If your UserDao is interface then just cast to it, not to the JdbcUserDao and 
it should be fine.
 

 


- Original Message 
From: Sergey Podatelev [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Sunday, January 13, 2008 1:34:08 PM
Subject: Cannot create Spring Bean via Proxy in Wicket


Hello,

My WebApplication extends SpringWebApplication and I use proxy-based
approach for bean instantiation.
I'm using JDK1.4, so I'm unable to just annotate the beans, but have to
 do
it in the following way:

MyWebApplication {
  private UserDao userDao;
  ...
  public UserDao getUserDao() {
if (userDao == null) {
  userDao = (JdbcUserDao) createSpringBeanProxy(
  JdbcUserDao.class, userDao);
}
return userDao;
  }
}

However, I get the following exception:

org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean
named 'userDao' must be of type [com.myapp.user.JdbcUserDao], but was
actually of type [$Proxy9]
 at
 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:309)

...

My configurations are pretty much taken from wicket-phonebook example,
 the
only major difference is that phonebook uses Wicket 1.2 with Wicket is
configured as servlet, while I use it as filter to enable Acegi
 support.

If you're still with me, here're related entries from web.xml...:

filter
filter-nameSpring Application Factory Filter/filter-name
filter-classorg.apache.wicket.protocol.http.WicketFilter
/filter-class
init-param
param-nameapplicationFactoryClassName/param-name
param-value
org.apache.wicket.spring.SpringWebApplicationFactory/param-value
/init-param
/filter

filter-mapping
filter-nameSpring Application Factory Filter/filter-name
url-pattern/myapp/*/url-pattern
/filter-mapping

listener
listener-class
org.springframework.web.context.ContextLoaderListener/listener-class
/listener

...and from applicationContext.xml:

bean id=userDaoTarget class=com.myapp.user.JdbcUserDao
property name=dataSource ref=dataSource/
/bean

bean id=transactionManager class=
org.springframework.jdbc.datasource.DataSourceTransactionManager
property name=dataSource ref=dataSource/
/bean

!-- this is a transactional proxy for userdetails dao which
 ensures
proper transaction handling --
bean id=userDao class=
org.springframework.transaction.interceptor.TransactionProxyFactoryBean
property name=transactionManager
 ref=transactionManager /
property name=target ref=userDaoTarget/
property name=transactionAttributes
props
prop
 key=savePROPAGATION_REQUIRED/prop
prop
key=*PROPAGATION_REQUIRED,readOnly/prop
/props
/property
/bean

I'd be happy if someone could point me on where to look at since I'm a
little afraid to dig into the whole Spring's proxy instantiation thing.

I use Wicket 1.3, Wicket-Spring 1.3 and Spring 2.5.

-- 
sp





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: how to handle cookies in wicket...

2007-11-21 Thread Konstantin Ignatyev
http://cwiki.apache.org/WICKET/dealing-with-cookies.html

and the page is very good too:
http://cwiki.apache.org/WICKET/reference-library.html

 
Konstantin Ignatyev 
 

 
PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000
 
Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

- Original Message 
From: wicketshafi [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Wednesday, November 21, 2007 10:39:40 PM
Subject: how to handle cookies in wicket...



hi all,

can any one help how to handle cookies...

can give me example..



-- 
View this message in context:
 
http://www.nabble.com/how-to-handle-cookies-in-wicket...-tf4854687.html#a13891755
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: First Day Disgust!

2007-09-11 Thread Konstantin Ignatyev
You are absolutely correct: lots of issues with Maven all the time and it would 
be really beneficial if various Lets Get Started tutorials do not rely on 
that and rely on Ant only to do everything they need to do.

Ideally all the libraries will come with it too, and if download size is too 
big then ant's get command is here to resque. 

It is less sexy than transitive dependencies resolution etc. But it is near 
bulletproof and it is that doctor is ordered for tutorials. Maven is  unstable 
because of widespread practice of using version ranges for dependencies and 
plugins and it makes build unrepeatable because build depends on server side. 
There are pro and contra arguments of course but I think that for Tutorials 
there are no pro-s in Maven.
 
Konstantin Ignatyev 
 

 
PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000
 
Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

- Original Message 
From: Ayodeji Aladejebi [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Tuesday, September 11, 2007 9:27:55 AM
Subject: Re: First Day Disgust!

at least i see a lot of maven related issues on the forum, not that maven is
not perfect but some starters who dont know it well may think there is
some big stuff about any issue they may have when setting it up and setting
up sample projects. today I have a plugin build (not fully stable) that
generates a wicket sample project without any errors and runs fine,

my take again,

ppl who complain about maven start up should be directed to stuffs like dat
and not being forced to use maven for their first sample project.

i have already overcome all those cups and so am not at all bothered about
what wicket decides to use, i already see that wicket advantages far
outweight its so to say, disadvantages so wherever wicket goes, i follow :)
but am just concerned for some ppl yu know


On 9/11/07, Martijn Dashorst [EMAIL PROTECTED] wrote:

 On 9/11/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
  yu see what i mean? :) this guy now cared to ask, someone else will get
  bored there and leave :)

 No I don't see what you mean.

 Martijn

 --
 Buy Wicket in Action: http://manning.com/dashorst
 Apache Wicket 1.3.0-beta3 is released
 Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: First Day Disgust!

2007-09-11 Thread Konstantin Ignatyev
I will try to cut some time to do that.
 
Konstantin Ignatyev 
 

 
PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000
 
Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

- Original Message 
From: Eelco Hillenius [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Tuesday, September 11, 2007 10:52:16 AM
Subject: Re: First Day Disgust!

On 9/11/07, Konstantin Ignatyev [EMAIL PROTECTED] wrote:
 You are absolutely correct: lots of issues with Maven all the time and it 
 would be really beneficial if various Lets Get Started tutorials do not 
 rely on that and rely on Ant only to do everything they need to do.

 Ideally all the libraries will come with it too, and if download size is too 
 big then ant's get command is here to resque.

 It is less sexy than transitive dependencies resolution etc. But it is near 
 bulletproof and it is that doctor is ordered for tutorials. Maven is  
 unstable because of widespread practice of using version ranges for 
 dependencies and plugins and it makes build unrepeatable because build 
 depends on server side. There are pro and contra arguments of course but I 
 think that for Tutorials there are no pro-s in Maven.

I think we have enough users by now who support this view. The next
big question is, who wants to contribute? Wicket-stuff is a great
place to put it in first (we can move adopt it as a core project once
we all agree).

Eelco

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: First Day Disgust!

2007-09-11 Thread Konstantin Ignatyev
Maven guru can use Maven to create and maintain such package - it should be 
just another type of assembly, right? :)
 
Konstantin Ignatyev 
 


- Original Message 
From: jweekend [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Tuesday, September 11, 2007 12:21:53 PM
Subject: Re: First Day Disgust!


I bumped into Jimmy. It just turns out that his proxy was not set up. Having
seen this sort of problem in other corporate situations (firewalls, proxies,
locally renewed passwords etc) I guessed what it might be straight away and
when he changed the settings (in the right file) it just started to work (as
usual with Wicket). 
He is now back on track, spending time on Wicket (rather than Maven2), and
enjoying it again. This is not an atypical story - in fact the person who
started this thread because he was so disgusted in the packaging of the
examples etc is now helping other people with their Wicket questions, just 3
days later! I was intending not to get involved on this, now far too long
and too all-purposeified  thread, but the mood has changed somewhat.

Yes, a zip file with everything in it is a decent option for newcomers (but
who's going to maintain it and keep it up to date? - maybe when 1.3 final is
released this could be feasible), but it also has a lot of drawbacks, many
of which have already been touched on in this thread.

I still say that assuming you have a working Maven2 set up already or are
able to achieve this without too much pain including setting up proxies
etc..., and this, AFAICS, is where more than a few people get frustrated and
start, totally incorrectly but perhaps understandably, thinking that Wicket
is broken or hard to get started with, following the instructions now linked
to from the Wicket homepage make it _really_ so fast and ever so easy to get
up and running with Wicket, with all the advantages of the repository etc .

Regards - Cemal
http://jWeekend.co.uk jWeekend.co.uk   




Martijn Dashorst wrote:
 
 Did you type that capitalized Org yourself or is that something your
 email client did?
 
 Org.apache.wicket:wicket-archetype-quickstart:jar:1.3.0-beta3
   ^
 
 I guess you have made a typing error, since I have been able to use it
 (as have many others).
 
 Martijn
 
 
 On 9/11/07, jlawrence [EMAIL PROTECTED] wrote:
 Hi I have been trying to use the quickstart for beta3 with the Maven
 command as stated on the wicket site and it is not working.

 Build Error
 Unable to download file...
 Org.apache.wicket:wicket-archetype-quickstart:jar:1.3.0-beta3

 Etc..

 Can anyone please advise.

 Jim
 --
 Sent with Instant Email from T-Mobile

 -Original Message-
 From: [EMAIL PROTECTED]
 Date: Tue, 11 Sep 2007 07:11:20
 To:users@wicket.apache.org
 Subject: Re: First Day Disgust!

 no one is asking anyone here to become a maven guru. All we are asking
 is that they use it to generate a quickstart project, which simply
 involves following the directions.

 -igor

 On 9/11/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
  maven maven maven, that is if all developers all over the world knows
 what
  maven is. Ant was what i first knew until i started hearing maven and
 infact
  it was mainly because of wicket that i learnt maven early before a
 netbeans
  module came out.
 
  so really not all developers will have some patience to first google
 maven
  fundamentals which is why i believe in:
 
  1. Step 1, Install Your IDE (Everybody knows that)
  2. Step 2, Install This Plugin (IDEs make that simple)
  3. Step 3, Create a new Wicket Project and then BOOM it works without
 even a
  line of code yet (as much as i hated SWT, i learnt it this way)
 
  And lets remember the success of the ASP.NET family, you install Visual
  Studio and then BOOM your sample project is ready. Then you see this 2
 days
  old developer feeling like he can code every website. that feeling is
 the
  success of every developer tool and dont let us forget that
 
  The Java community has a plethora of tools but as newer developers come
 on
  board, they need a clean entrance and maven is not what you learn at
 the
  early stage of your developer career (even though its simple to use,
 infact
  simpler than i thought cuz i hated Ant)
 
 
  My take,
 
  While off course maven is still the used tool, but the community 
 should
  bring the useful IDE plugins to the forefront for starters
 
  Thanks
 
  On 9/11/07, Gerolf Seitz [EMAIL PROTECTED] wrote:
  
   On 9/10/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
   
   
I haven't used an Eclipse plugin for maven since the command line
version works really well and my previous experiences with mevenide
were less than ok (talking about 2 years ago!)
   
Martijn
  
  
  
   there seem to be a new maven-eclipse-integration plugin in town:
   http://code.google.com/p/q4e/
   it's supposed to be part of the eclipse foundation.
   i haven't tried it out yet, but as i didn't really like m2eclipse, i
 will
   definitely give

Re: First Day Disgust!

2007-09-11 Thread Konstantin Ignatyev
If you'd rather add a get for all the dependencies and
depdendencies of dependencies and dependencies of ...  well, you're probably
beyond all hope of help to start with.
Well, that is why 'get' is better :) - via transitive dependencies usually we 
get s many  unnecessary jars that is creates appearance of monstrous needs 
of an application. 

Transitive dependencies are nice and can work (see Gentoo) but Maven handles 
them IMO rather poorly. 

But the fact that you have described makes me believe that it is dead easy to 
replace maven with pure Ant.



- Original Message 
From: Evan Chooly [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Tuesday, September 11, 2007 6:15:11 PM
Subject: Re: First Day Disgust!

You could also look at how qwicket uses ant+maven tasks to build a system.
The maven tasks handle downloading dependencies and ant does everything
else.  I know there's still that dependency on maven libs but it's just for
the dependencies.  And that's still miles ahead of using get to manage
dependencies.  If you'd rather add a get for all the dependencies and
depdendencies of dependencies and dependencies of ...  well, you're probably
beyond all hope of help to start with.

There may or may not be issues with repository availability but if you put
something like artifactory between you and the maven repositories, most of
those issues go away.  In addition, you can deploy your own dependencies
locally that have no maven presence anywhere and continue to use the same
dependency definition scheme throughout your project.

I don't like maven much either but I'd personally not manage my dependencies
by hand.

On 9/11/07, Konstantin Ignatyev [EMAIL PROTECTED] wrote:

 I like Ivy but I think that you are precisely correct: people will
 complain. I think that Ant's get command would be ideal and better than
 list of dependencies in README because it will explicitly point to the
 sources and it is easy to modify repository host if necessary.


 Konstantin Ignatyev


 - Original Message 
 From: Eelco Hillenius [EMAIL PROTECTED]
 To: users@wicket.apache.org
 Sent: Tuesday, September 11, 2007 2:30:21 PM
 Subject: Re: First Day Disgust!

 On 9/11/07, Konstantin Ignatyev [EMAIL PROTECTED] wrote:
 
  + generate ant build file to compile project and start jetty. That will
 make me happy as a lark :)
 
  I like Maven's idea and promise but implementation is not that great to
 my taste 

 Then maybe Ant + Ivy would be good. Though people might start
 complaining about having to have Ivy installed.

 Eelco

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wicket/JSP Hosting

2007-09-04 Thread Konstantin Ignatyev
http://www.kgbinternet.com

I used to host with them till I have moved my host under stairs.
 
Konstantin Ignatyev 
 

 
PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000
 
Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

- Original Message 
From: Sean Sullivan [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Tuesday, September 4, 2007 6:37:32 PM
Subject: Re: Wicket/JSP Hosting

Try  http://www.contegix.com/  or  http://www.kattare.com/


On 9/4/07, Karl M. Davis [EMAIL PROTECTED] wrote:

 Hey all,

 I'm having issues with my current web host's poor customer service (
 cwihosting.com, if you're curious).  In addition, my requirements are
 going up.  Without going the dedicated server route, does anyone know of a
 web host with good customer support that offers the following:

- 128MB JVM memory allocation (preferably 256MB or up)
- 3GB disk space
- Ability to run Wicket apps mapped to /'

 Failing that, does anyone know a good company for dedicated servers or
 colo in the USA?  I'd much appreciate any suggestions you guys can offer.

 Thanks,
 Karl M. Davis








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



conditional markup change

2007-08-24 Thread Konstantin Ignatyev
I need to change presentation dynamically depending on
object status and I can do it with conditionally using
different panels like this:
if( getWSSession().getVisit().isSaved( v.getId() ) ){
add( new VehicleUncompareControl(
compareControl, new Model( v ), new Component[]{
ajaxTarget, VehicleItem.this}));
} else{
add( new VehicleCompareControl(
compareControl, new Model( v ), new Component[]{
ajaxTarget, VehicleItem.this}));
}

so far so good, BUT, when I click on the AjaxLink
inside of those panels they change status of the
component (vehicle), so I would like the item to
reflect the change - and THAT does not happens. It is
sort of understandable because component already has
been created...

But the question is: How can I do that in Wicket:
conditionally change markup and see effect of those 
changes for Ajax updates too?

Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]