Re: Tools for Managing a Wicket Project

2009-05-18 Thread Eduardo Nunes
I have just one problem with eclipse, I can't use the HTML formatter, that's very sucks. I tried tidy but it didn't work too. What do you use guys to format html code? On Mon, May 18, 2009 at 2:06 PM, Dane Laverty danelave...@gmail.com wrote: I just wanted to thank Jeremy, Scott, and Linda for

Re: Tools for Managing a Wicket Project

2009-05-18 Thread Eduardo Nunes
it's very strange, because if I hit ctrl+shift+f in some html code with WTP, the source code will be completely unwell formatted. I will try amateras plugin, thank you On Mon, May 18, 2009 at 9:15 PM, John Armstrong siber...@siberian.org wrote: I always have to do a 'Refresh' when changing the

Re: Wicket-Guice: Inject into Session

2009-04-28 Thread Eduardo Nunes
I use Guice to control my servlets, so I can just add objects to session scope. http://code.google.com/p/google-guice/wiki/Servlets On Tue, Apr 28, 2009 at 8:46 AM, Jan Torben Heuer jtn...@mail2004.dnsalias.org wrote: Hi, I'm a Wicket and Guice beginner. I successfully managed Guice to Inject

Re: Announce: new JavaScript Inheritance Implementation

2009-04-25 Thread Eduardo Nunes
to a super impl. You seem to have implemented it in js with _super exactly like we do also in our product Servoy, only there the 'classes'  are not js things but Forms (UI elements) that has a set of js functions On 25/04/2009, Eduardo Nunes esnu...@gmail.com wrote: Yes sure, you can call any method

Announce: new JavaScript Inheritance Implementation

2009-04-24 Thread Eduardo Nunes
Hello guys, I'm not used to develop in Javascript but, as a fan of programming languages and object-oriented paradigm, my friend Otavio Avila and I decided to develop a kind of inheritance in JavaScript. He is a very experienced javascript developer and html coder, with helped me a lot with my

Re: Announce: new JavaScript Inheritance Implementation

2009-04-24 Thread Eduardo Nunes
function. That seems pretty big.  Do you plan on adding that? -- Jeremy Thomerson http://www.wickettraining.com On Fri, Apr 24, 2009 at 5:47 PM, Eduardo Nunes esnu...@gmail.com wrote: Hello guys,  I'm not used to develop in Javascript but, as a fan of programming languages and object

Re: Announce: new JavaScript Inheritance Implementation

2009-04-24 Thread Eduardo Nunes
this? function someFunction() {    addMoreFunctionality();    super.someFunction(); } -- Jeremy Thomerson http://www.wickettraining.com On Fri, Apr 24, 2009 at 6:37 PM, Eduardo Nunes esnu...@gmail.com wrote: uhmm, why do you think it is pretty big? I shouldn't use super.attribute

Re: Announce: new JavaScript Inheritance Implementation

2009-04-24 Thread Eduardo Nunes
might help avoid simple misunderstandings such as this. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Apr 24, 2009 at 6:50 PM, Eduardo Nunes esnu...@gmail.com wrote: Yes sure, you can call any method with super, but the syntax is this._super().method(). If you

How to deal with session in a modular application?

2009-04-21 Thread Eduardo Nunes
Hello guys, I'm developing a framework to build modular applications with Guice+Wicket+Hibernate. My main problem now is how I must deal with objects that must be saved in session in a modular environment. I want some suggestions or tips to do it without dealing directly with the httpsession.

Re: How to deal with session in a modular application?

2009-04-21 Thread Eduardo Nunes
have to clean this object when the data inside of it isn't necessary anymore, in this case it wont be necessary because the session will be invalidated when the user logs off. Thanks anyway, Eduardo S. Nunes On Tue, Apr 21, 2009 at 8:26 PM, Eduardo Nunes esnu...@gmail.com wrote: Hello guys

wicket-guice problem with injection of a final class

2009-04-21 Thread Eduardo Nunes
Hello, I tried to @Inject a Class? extends Page in a home page and I got an exception about the lazy proxy. As I could see in the stack trace, wicket-guice is trying to create a proxy to the attribute that I @Inject and the cglib tries to extend Class? extends Page class without a success. To

Re: serialVersionUID

2009-04-13 Thread Eduardo Nunes
serialVersionUID is very important, especially if you deal with serialized data saved to disk, db, javaspace or somewhere else. For example, if you use JavaSpaces, you put objects there and you can disconnect, update your application version, run it again, and your objects will be there. If you

Re: iLearn Wicket - Please reply with your feedback

2009-04-13 Thread Eduardo Nunes
it worked for me On Mon, Apr 13, 2009 at 1:25 PM, Jeremy Thomerson jer...@wickettraining.com wrote: I'm not so sure that a 404 page will be very informative :) -- Jeremy Thomerson http://www.wickettraining.com On Sat, Apr 11, 2009 at 10:58 AM, Null kühl null.k...@gmail.com wrote: Dear

Re: iLearn Wicket - Please reply with your feedback

2009-04-13 Thread Eduardo Nunes
On Mon, Apr 13, 2009 at 3:13 PM, Eduardo Nunes esnu...@gmail.com wrote: it worked for me On Mon, Apr 13, 2009 at 1:25 PM, Jeremy Thomerson jer...@wickettraining.com wrote: I'm not so sure that a 404 page will be very informative :) -- Jeremy Thomerson http://www.wickettraining.com

Re: BUG: Wrong behavior when calling super(parameters)

2009-04-10 Thread Eduardo Nunes
No, not yet On Fri, Apr 10, 2009 at 4:45 AM, Johan Compagner jcompag...@gmail.com wrote: Did you create a jira issue for this? On Fri, Apr 10, 2009 at 00:18, Eduardo Nunes esnu...@gmail.com wrote: Hi guys,  Yesterday I sent a mail to this list about a possible bug with webpage + panel

Package all CSS and JS

2009-04-09 Thread Eduardo Nunes
Hi, Is there a way to tell wicket to package all referenced javascripts together, the same for the css? If there isn't this solution yet, can anyone tell me where should I look for to implement it? Thanks, Eduardo S. Nunes -

Re: Package all CSS and JS

2009-04-09 Thread Eduardo Nunes
, Eduardo Nunes esnu...@gmail.com wrote: Hi,  Is there a way to tell wicket to package all referenced javascripts together, the same for the css? If there isn't this solution yet, can anyone tell me where should I look for to implement it? You can put your resources, like css and javascript

Re: Package all CSS and JS

2009-04-09 Thread Eduardo Nunes
link href=... / for the css and script language=javascript src=... / for the javascripts On Thu, Apr 9, 2009 at 11:57 AM, Eduardo Nunes esnu...@gmail.com wrote: I think that I didn't explain it right. What I want is that wicket concatenate all included javascripts into one file. Something like

Re: Can client cache pages effectively?

2009-04-09 Thread Eduardo Nunes
Usually IFrame isn't a good idea, I think it's because of the accessibility and search engines. At least that is what the major part of the HTML coders talk about it. But I can't think in another way to do it. just my 5c On Thu, Apr 9, 2009 at 1:29 PM, Jim Pinkham pinkh...@gmail.com wrote: A

super(params) WebPage

2009-04-08 Thread Eduardo Nunes
Hi, I want to know if I have or not to call super(params) in my constructor Xxx(PageParameters params). I made some tests and I got strange results. I have a form inside a page, on the constructor of this page I call super(params) and setVersioned(false). The form extends StatelessForm. If I

Integrating Wicket + Google Guice + Warp-persistence

2009-04-07 Thread Eduardo Nunes
Hi there, After a long period of reading, now I'm starting to code my application using these frameworks: Wicket, Google Guice and Warp-persistence. I facet a conceptual problem (IMHO) about how initialize google guice. I read a lot of source codes on the internet and most of them, if not all,

Re: Integrating Wicket + Google Guice + Warp-persistence

2009-04-07 Thread Eduardo Nunes
No comments? On Tue, Apr 7, 2009 at 10:05 AM, Eduardo Nunes esnu...@gmail.com wrote: Hi there,  After a long period of reading, now I'm starting to code my application using these frameworks: Wicket, Google Guice and Warp-persistence. I facet a conceptual problem (IMHO) about how initialize

Re: Security in a Spring Wicket layered application

2009-04-06 Thread Eduardo Nunes
Are you using something else together with wicket-jsecurity? I saw the example in the svn and there is no annotation based authorization or something like this. How did you implement the authorization in your (big) application? Thanks, Eduardo S. Nunes On Tue, Mar 10, 2009 at 2:53 PM, Les

Re: Looking for a book on the jetty server

2009-03-25 Thread Eduardo Nunes
I think that it isn't a problem to use Jetty in production. In brazil there is a huge forum about java www.guj.com.br and they were using Tomcat, the forum was slow, they changed to Jetty and added some other techniques and now everything goes fine. Sure that if you want to use JEE, IMHO I

Security Framework that best fits to Wicket

2009-03-24 Thread Eduardo Nunes
Hi guys, This is another of my posts best fits to Wicket. Now my doubt is about security frameworks. I came from the JEE world (jboss and glassfish) and I'm used to work with JAAS and Spring acegi (tomcat). Now I'm taking a easy/fast to development set of frameworks, I'm using Jetty,

Re: OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread Eduardo Nunes
Yes, I suggest to you the same approach. Put everything in the same webapp, just take care to separate the tiers. For example: don't modify inside a service method the method parameters because it won't work in a EJB for example. I used to build a huge environment n-tier with different jar files

Re: OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread Eduardo Nunes
Yes, I understand you too. What do you do when you have to send a set of entities and a calculation for each entity? you encapsulate it inside another class? On Tue, Mar 24, 2009 at 1:02 PM, James Carman jcar...@carmanconsulting.com wrote: On Tue, Mar 24, 2009 at 11:56 AM, Eduardo Nunes esnu

Re: OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread Eduardo Nunes
PM, Eduardo Nunes esnu...@gmail.com wrote: Yes, I understand you too. What do you do when you have to send a set of entities and a calculation for each entity? you encapsulate it inside another class? A domain-driven design advocate would say that the entity knows how to calculate what you

Re: OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread Eduardo Nunes
Me too, it's not easy to find these books in Brazil, I will try to buy a electronic copy of it. On Tue, Mar 24, 2009 at 2:40 PM, James Carman jcar...@carmanconsulting.com wrote: On Tue, Mar 24, 2009 at 12:53 PM, Dave Schoorl mailli...@cyber-d.com wrote: Maybe Eric Evans Book 'Domain-Driven

Re: Is this a bug in Wicket?

2009-03-05 Thread Eduardo Nunes
I understand what Mr. Mattler said but is it correct from the HTML point of view? Anybody knows what the HTML specification says about it? On Thu, Mar 5, 2009 at 2:49 PM, rjilani jil...@lifebiosystems.com wrote: Mattler thanks for the tip, It did work like a charm, but I am bit confuse about

Re: What IDE best fits with Wicket?

2009-02-24 Thread Eduardo Nunes
I deal directly with HTML coders and I want to bring to them an easy of use project build / run. I don't want to be called every time a new HTML join to the project team because he doesn't have the setup of the project. I think that maven help me a lot with it but I'm a little bit afraid of the

What IDE best fits with Wicket?

2009-02-23 Thread Eduardo Nunes
Hello guys, I don't want to generate a flame war but I want to know your opinion about what IDE best fits with Wicket? The basic requirements are: free and the set of plug-ins free too. Thanks, Eduardo S. Nunes - To

Re: What IDE best fits with Wicket?

2009-02-23 Thread Eduardo Nunes
Do you use some plug-in? I like netbeans too. On Mon, Feb 23, 2009 at 4:55 PM, Jeremy Levy jel...@gmail.com wrote: Eclipse or NetBeans. I like netbeans. Use what your most productive in.. On Mon, Feb 23, 2009 at 2:19 PM, Eduardo Nunes esnu...@gmail.com wrote: Hello guys, I don't want

Re: Validation From A Custom Component

2009-02-17 Thread Eduardo Nunes
I'm a little bit out of what you are doing, but validate information directly in setter methods usually isn't a good option... my 50c On Tue, Feb 17, 2009 at 2:19 PM, walnutmon justin.m.boy...@gmail.com wrote: That's a fantastic idea, I'll definitely do that. There is one problem, because