Re: Tools for Managing a Wicket Project

2009-04-30 Thread Curtis Cooley
Dane Laverty wrote:
 My boss has asked me to manage development for a Java project. I'm going to
 be working with two other programmers and one designer.

 This is the first time that our organization has tried to formally
 coordinate several programmers on a project together, and it is also the
 first Java project we've done here (I'm the only programmer with extensive
 Java experience). I chose to use Wicket for this project because it seemed
 to be the most intuitive framework, and because I hope it will make it easy
 for the designer and programmers to work together without stepping on each
 others toes.

 At my previous job, we used CVS for managing code contribution and Ant for
 deployment. Is that still a good solution, or should I be looking at other
 tools? Also, how do you coordinate the designer's work with the programmers'
 work?

 My goal is to find a few tools that
 - work well with Wicket
 - make it easy for programmers to check code in and out
 - manage project dependencies
 - are easy to set up
 - are easy to use
 - are free

 I appreciate any and all suggestions. Thanks for your help!

   
Go to http://www.pragprog.com/titles/prj/ship-it and at least buy the
eBook. It's $20 and will save you at least 10 times that in headaches.



Confidential/Privileged information may be contained in this email. If you are 
not the intended recipient, please do not copy, distribute or use it for any 
purpose, nor disclose its contents to any other person. Please notify the 
sender immediately if you receive this in error.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Scriptaculous and ListView

2009-04-08 Thread Curtis Cooley
I'm having a hard time find an example on how to add scriptaculous
effects to a list view. Here is what I've tried:

tableContainer.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(5)) {
@Override
protected void onPostProcessTarget(AjaxRequestTarget target) {
target.appendJavascript(new
Effect.Highlight(tableContainer).toJavascript());
}
});

When I try to add to the header with:

public void renderHead(IHeaderResponse response) {
   
response.renderJavascriptReference(PrototypeResourceReference.INSTANCE);
}

Eclipse won't compile the file because it can't find
PrototypeResourceReference and I can't seem to find the download for
wicketstuff-prototype

Any examples on getting a list view to update and use scriptaculous effects?



Confidential/Privileged information may be contained in this email. If you are 
not the intended recipient, please do not copy, distribute or use it for any 
purpose, nor disclose its contents to any other person. Please notify the 
sender immediately if you receive this in error.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Re: What is your experience on the time of development ?

2009-01-05 Thread Curtis Cooley
Nino Martinez wrote:
 Hi Curtis

 You cant really compare wicket against Grails, Wicket is not a full
 stack framework (Wicket is only a webframework).. And actually Grails
 can run with wicket too[1]... Or are you saying that dynamic languages
 are better than type safety?  Not that I want to start a religious war
 though, im not that well wandered in neither Grails, Rails etc to know
 whats better or not..

I agree that it is not a fair comparison, and I do not wish to imply
that Grails is better than Wicket or that dynamic languages are better
then strongly typed languages. I don't wish to imply anything other than
report my experience on how effective I 'felt' while developing the same
application in Grails and Wicket.
 I guess what you are saying are that the Spring plus hibernate combo
 could be better..? There are a lot of alternatives to that combo.. Or
 is it that Grails has better templating support?

Grails hides the ORM and dependency injection libraries and replaces the
configuration with convention. It was the Spring and Hibernate
configuration that bogged me down and perhaps biased me a bit against
the Wicket solution.

 Anyhow what I am seeing are that Wicket are always the least of my
 troubles, it's always something else and usually it's not Spring
 either so that only leaves the ORM as trouble maker, or is it the
 programmet :) On larger projects you kind of develop your own
 framework (with Wicket+.*) for the business logic and when you get
 there speed really picks up.

I agree, at least as far as I can with my little experience with Wicket.

I did not mean to sound sour against Wicket. I like the framework, which
is why when my boss went running from Grails like an extra in a Godzilla
movie, I pushed for Wicket. I just personally feel more effective using
Grails/Rails than I do with Wicket. Your mileage will vary ;)



Confidential/Privileged information may be contained in this email. If you are 
not the intended recipient, please do not copy, distribute or use it for any 
purpose, nor disclose its contents to any other person. Please notify the 
sender immediately if you receive this in error.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Re: What is your experience on the time of development ?

2009-01-03 Thread Curtis Cooley
Martin Sachs wrote:
 pI'm looking for a little comparison of the development-time for
 Applications in Wicket against other Technologies. /p
 p
 I think the development with Wicket is two times faster than Struts. But
 what are your experiences on JSF, Rails/Grails, SpringMVC/SpringWebFlow.
 /p
 Anyone you know the development-time from experience ?
 br

 (P.S.: The applications must use AJAX and many custom components or tags
 in JSP, not just a hello world sample)

 
I built a small database driven application in about 4 days using Grails
then my boss freaked about using a 4GL and made me rewrite it in
Wicket. That took me about 3 weeks.

Now, I started at 0 with both frameworks and used
Wicket+Spring+Hibernate which I got Spring and Hibernate wiring for free
with Grails. My Spring and Hibernate experience was 0, so grails really
pulled through in that area. I also have experience with Ruby and Rails
which helped with the Grails work, but I'd also built a few (4-5) Wicket
pages for another app, so I think that about balances starting points.

My really rough guess is that I'd be 50 to 75 percent more effective in
Grails than Wicket now that I know what I learned during the three weeks
of Wicket work.

If I had my druthers, I'd build our app using Grails. I much prefer
Groovy/Ruby to Java, and I've been writing Java since 1.1!



Confidential/Privileged information may be contained in this email. If you are 
not the intended recipient, please do not copy, distribute or use it for any 
purpose, nor disclose its contents to any other person. Please notify the 
sender immediately if you receive this in error.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Re: Spring+Hibernate+Authentication

2008-12-17 Thread Curtis Cooley
Igor Vaynberg wrote:
 only component subclasses are injected. in your sessions's constructor
 do injectorholder.getinjector().inject(this) to inject the session
 instance.

   
Thanks Igor, that's exactly what I was looking for.



Confidential/Privileged information may be contained in this email. If you are 
not the intended recipient, please do not copy, distribute or use it for any 
purpose, nor disclose its contents to any other person. Please notify the 
sender immediately if you receive this in error.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Re: [discuss] Mailing list usage...

2008-01-29 Thread Curtis Cooley
Martijn Dashorst wrote:
 On 1/29/08, James Carman [EMAIL PROTECTED] wrote:
   
   Remember, these mailing
   
 lists are used by thousands of people all over the world and they're
 here for a specific reason, to learn about Wicket (or to help others).
 



 Remember that we are all humans, and that the social interactions between
 people is what makes a community thrive, as long as it is respectful and
 open. The occasional personal wish, note or other social interaction that
 happens on the list makes us remember that we are human, and a community.

 I think in this case the sharing was not off limits, and I hate to see our
 list go down a route where we take out any and all personal interactions and
 have to limit ourselves to the java problem du jour.

 What we do need to be careful of is that it transcends into mostly personal
 chitchat. However I don't see that happening anytime soon. The number of
 w00t ftw and other messages is pretty low, as are the number of personal
 life sharing.


 Yes these messages are better suited to personal blogs or private messages,
 however I am not willing to start a police hunt or moderation effort to
 remove any and all personal sharing on these lists.

   
This is a delicate problem. I rarely ever contribute since I'm still
learning and I really appreciate the complete answers I get when I ask
questions; however it is very difficult for me to follow this list.
Perhaps to some it doesn't seem high volume, but it easily triples all
the other mail I get. To me anything that perhaps improves the signal to
noise ratio helps.

That said, I wouldn't want it turned into what advanced-servlets turned
into. That list was basically dead quiet and whenever someone did ask a
question there was a 90% chance the responses would be two page
diatribes on how that question was not an advanced-servlet question.

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

Re: Something about Design

2008-01-07 Thread Curtis Cooley
Ahmed Al-Obaidy wrote:
 On Java world we can learn from Eclipse guys... if anyone of you have written 
 an eclipse based application, he should notice how clean and powerful it is.

   
I've built Eclipse based applications and of all the feelings about that
'framework' I came away from that experience with, clean was not amongst
them. Powerful? Yes. Clean? Beg to differ.

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

Re: Real World Ajax Examples/Tutorials/Help

2007-11-09 Thread Curtis Cooley
Gwyn Evans wrote:
 CC The only difference between my java file and the WorldClock
 CC example is that it extends BasePage and I extend Panel. I'm also
 CC updating a label that is in a ListView. I'm trying to build a
 CC table of data that updates dynamically.

 That might be significant.  Could it be a case for
 ListView.setReuseItems()?

   
It seems the problem is more fundamental. I must have wicket deployment
issues because my browser's error console reports these errors:

Error: invalid XML namespace wicket
Source File:
http://localhost:8090/new/resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js;jsessionid=ja7k1wng2fbw
Line: 26

Error: invalid XML namespace wicket
Source File:
http://localhost:8090/new/resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js;jsessionid=ja7k1wng2fbw
Line: 26

Error: invalid XML namespace wicket
Source File:
http://localhost:8090/new/resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js;jsessionid=ja7k1wng2fbw
Line: 26

Error: Wicket is not defined
Source File: http://localhost:8090/new/
Line: 12

Error: Wicket is not defined
Source File: http://localhost:8090/new/
Line: 16

It looks like the javascript files are not being served up correctly.

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

Re: Real World Ajax Examples/Tutorials/Help

2007-11-09 Thread Curtis Cooley
JulianS wrote:
 Curtis Cooley-2 wrote:
   
 Also, it seems that when I attempt to enable ajax, whenever I click on
 another tab, I get the page expired link. What's up with that? 

 

 I am also seeing the page expired problem frequently with 1.3.0-beta4. We
 are just in the process of upgrading to 1.3 from 1.2.6 and did not see this
 problem with 1.2.6, although our code is somewhat different so I can't
 compare apples to apples. It seems to happen more often when there are
 multiple ajax controls on a page.

 If anyone can shed light on this, I'd appreciate it. 
 Julian

   
I've fixed my other issues, so the ajax timer is now firing, but now
whenever it fires, instead of updating the label, I get the Paged
Expired page. I went back to basics and reproduced the world clock
example, but I still get the page expired problem.

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

Real World Ajax Examples/Tutorials/Help

2007-11-07 Thread Curtis Cooley
Where can I get more info on using ajax with wicket? The examples I've
found so far do not include round trips. Sure, writing a clock label is
cool and all, but I have real time data on a page that I don't want to
have to reload the whole page for all the time.

Also, I'm using a TabbedPanel with nested panels and even the simple
ajax examples won't run.

Also, it seems that when I attempt to enable ajax, whenever I click on
another tab, I get the page expired link. What's up with that? I'm
assuming wicket has detected that the page has changed, but the labels
on the page have not updated. Can this be disabled?

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

Re: Real World Ajax Examples/Tutorials/Help

2007-11-07 Thread Curtis Cooley
Gwyn Evans wrote:
 Hi Curtis,

 On 07 November 2007, 11:20:00 PM, Curtis Cooley wrote:
 CC Where can I get more info on using ajax with wicket? The examples I've
 CC found so far do not include round trips. Sure, writing a clock label is
 CC cool and all, but I have real time data on a page that I don't want to
 CC have to reload the whole page for all the time.

 http://wicket.apache.org/exampleajaxcounter.html

 http://wicketstuff.org/wicket13/ajax/

 http://cwiki.apache.org/WICKET/dropdownchoice-examples.html#DropDownChoiceExamples-UsingAjax

 http://day-to-day-stuff.blogspot.com/2007/01/backward-compatible-ajax-development.html

   
Thanks for the links. I'll absorb those.
 CC Also, I'm using a TabbedPanel with nested panels and even the simple
 CC ajax examples won't run.

 CC Also, it seems that when I attempt to enable ajax, whenever I click on
 CC another tab, I get the page expired link. What's up with that? I'm
 CC assuming wicket has detected that the page has changed, but the labels
 CC on the page have not updated. Can this be disabled?

 Did you call .setOutputMarkupId(true) on any components you want to
 update via Ajax (or setOutputMarkupPlaceholderTag(true) if they're
 starting out invisible)  add them to the 'target' in the Ajax
 callback?
   
I wasn't, but I found the WorldClock example that looks a lot more like
the click counter example. I've modeled my page as closely as possible,
but I still do not see the label updating dynamically. It updates fine
on refresh. I seem to have fixed the expired page problem, though.

The only difference between my java file and the WorldClock example is
that it extends BasePage and I extend Panel. I'm also updating a label
that is in a ListView. I'm trying to build a table of data that updates
dynamically.


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