Re: Cache Wicket Pages rather than Construct New Objects

2011-08-18 Thread Mauro Ciancio
y (IPageFactory) > > Regards > Hans > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Mauro Ciancio http://about.me/maurociancio

Re: Before deployment checklist

2011-03-10 Thread Mauro Ciancio
at things to > definitely check before deploying a wicket application into > production. > > Thanks. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: user

Re: Run a standalone wicket app

2011-03-08 Thread Mauro Ciancio
st archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Mauro Ciancio http://about.me/maurociancio --

Run a standalone wicket app

2011-03-07 Thread Mauro Ciancio
Thanks in advance. Regards. -- Mauro Ciancio http://about.me/maurociancio - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: DatePicker css

2010-11-28 Thread Mauro Ciancio
dar .calheader { background-color : white !important; } Regards. -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: need help with spring annotations

2010-11-25 Thread Mauro Ciancio
icket at all. I usually configure dependencies in XML files but AFAIR you can use @Autowired annotation. Regards. -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: need help with spring annotations

2010-11-25 Thread Mauro Ciancio
mark fields with @SpringBean, Wicket will automatically inject a serializable proxy that can be reconstructed after hydratation. HTH. Regards. -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: If-Modified-Since header

2010-11-03 Thread Mauro Ciancio
Sorry for bringing up this thread, but I'm still looking for advices. Should I implement this or Wicket can do it for me? Regards. On Sun, Oct 31, 2010 at 2:11 PM, Mauro Ciancio wrote: > Hi Martin, > > I didn't explain myself very well. I'm using wicket resources, I >

Re: If-Modified-Since header

2010-10-31 Thread Mauro Ciancio
ext to WEB-INF folder are not managed by WIcket > and they are served directly by the web container > Take a look at http://code.google.com/p/wro4j/ > > On Sun, Oct 31, 2010 at 1:11 AM, Mauro Ciancio wrote: > >> Hello everyone: >> >> I've been trying to get pr

If-Modified-Since header

2010-10-30 Thread Mauro Ciancio
t 1.4). My resources are mounted under another url ('/photos'). I was wondering why the check is restricted to that url. Also, I've tried to mount my resources under /resources/photos but I get an exception that says 'cannot be mounted under /resources'.

Re: AjaxTabbedPanel and location line

2010-10-23 Thread Mauro Ciancio
com/tab2/subtab1, etc. > > Also, it would be great if user types http://domain.com/tab2/subtab1 in > location line and appropriated tab would be opened. > > Any idea how to make this? > > Best regards, Alexander. > -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Bean injection

2010-10-08 Thread Mauro Ciancio
> For this particular use case (the current date), I would suggest you > just calculate that on-the-fly, not at bean creation time.  It's not > that expensive to calculate. Yes, I appreciate your suggestion. :) Thanks James. Regards. --

Re: Bean injection

2010-10-08 Thread Mauro Ciancio
the session > (in-memory most likely). Wel, that explains the whole issue. If only if had known it before. :) Thanks to all for the replies. Regards. -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Bean injection

2010-10-07 Thread Mauro Ciancio
request and the inyected bean is actually a proxy of the bean, so no real bean is in the serialization. I've double checked it, and the _same_ bean instance is holded in my page en each request to the same page. Shouldn't the bean

Re: Bean injection

2010-10-07 Thread Mauro Ciancio
tting the same date when I navigate through a stateful page. Is there any another workaround or the only way out is not to keep the date cached? Thanks for the replies. Regards. -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr

Bean injection

2010-10-06 Thread Mauro Ciancio
prototype scope, so it's not a spring issue. What am I missing? Regards. -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Rendering Html on Ajax Request

2010-10-03 Thread Mauro Ciancio
r any Html formatting. > > > Hope someone know how to fix this. > > Thanks > > > > -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: TextField that renders a link

2010-06-04 Thread Mauro Ciancio
a panel and it works pretty good. Regards. On Fri, Jun 4, 2010 at 1:27 PM, Josh Chappelle wrote: > Does anyone know of a TextField component or perhaps a Behavior that can be > added to a TextField that will render a link when the user types a URL into > it? > > > > Thanks, > > > > Josh > > -- Mauro Ciancio

Re: Dialog involving multiple pages and a VO: some best practices?

2010-06-03 Thread Mauro Ciancio
ssible > from all of them. I think that storing a model object in the session is not a good choice; if the user opens two browser windows, what will happen? Regards. -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr.

Re: Clear URL parameters

2010-05-24 Thread Mauro Ciancio
, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Survey -- Tool Success Theory Empirical Study - Apache Wicket

2010-05-03 Thread Mauro Ciancio
> Thanks >> >> -- >> Eric Reagan >> > > > > -- > Fernando Wermus. > > www.linkedin.com/in/fernandowermus > -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Wicket + Spring 3 + Hibernate

2010-04-15 Thread Mauro Ciancio
.version} >>         >>         >>            org.springframework >>            org.springframework.beans >>            ${spring.version} >>         >>         >>            org.springframework >>            org.springframework.oxm >>            ${spring.version} >>    

Re: Customizable PageParameters class?

2010-03-29 Thread Mauro Ciancio
e page creation and parse the page parameters and validate it if needed. Take a look at: Application#getSessionSettings() ISessionSettings#setPageFactory() IPageFactory interface. HTH. Cheers. -- Mauro Ciancio - To unsubscribe

Re: change background color when ListView iterate....

2010-03-28 Thread Mauro Ciancio
eModifier("class", "line1")); > // change the color ! >             } else { >                 title.add(new SimpleAttributeModifier("class", "line2")); >             } >             alternateLine = !alternateLine; > >             item.add(title) >            } > } >

Re: AW: signout and redirect

2010-03-25 Thread Mauro Ciancio
e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> > > -- > View this message in context: > http://old.nabble.com/signout-and-redirect-tp28027857p28029507.html

Re: Invoking Component#updateModel

2010-03-23 Thread Mauro Ciancio
thanks! On Wed, Mar 24, 2010 at 1:30 AM, Igor Vaynberg wrote: > you are forcing an update without validation..up to you. > > -igor > > On Tue, Mar 23, 2010 at 8:15 PM, Mauro Ciancio wrote: >> Igor: >> >> On Tue, Mar 23, 2010 at 11:59 PM, Igor Vaynberg >>

Re: Invoking Component#updateModel

2010-03-23 Thread Mauro Ciancio
s too ugly? Thanks. -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Invoking Component#updateModel

2010-03-23 Thread Mauro Ciancio
odel? I could get the component's value using #getInput but I'd need convert the raw value. Cheers. -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Bookmarkable Links & Session

2010-03-16 Thread Mauro Ciancio
plain the difference you see. > > Calling Session.get().bind() when logging in should fix that. > > Better, call Session.get().replaceSession() when logging in, that > should both solve your problem and fix a potential security hole. > > > > Antoine > > > On Tue,

Bookmarkable Links & Session

2010-03-16 Thread Mauro Ciancio
k (and not the welcome message 'you are logged in'). However, if before login I browse a page that contains state and then i go to the login page, it works well. I guess the session is not being created, but it should be created when I try to login. Any ideas? C

Re: Where is InjectorHolder for Guice?

2010-02-28 Thread Mauro Ciancio
- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: wicket-guicier -- Another Guice integration for Wicket

2010-02-28 Thread Mauro Ciancio
et-guicier/ > > Any feedback would be appreciated. > > Best regards, > > Joachim > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Mauro Ciancio --

Re: [OT] Wicket App Hosting

2010-02-25 Thread Mauro Ciancio
t;> > When i wanted to do the same,  i bought a server space at >> > www.theserverexperts.com  and installed my staff there . ie. Jetty, >> postgres >> > and the like. I then bought a domain and liked it with my public ip >> address. >> > >> > Regards. >>

[OT] Wicket App Hosting

2010-02-24 Thread Mauro Ciancio
Hello everyone, I need to deploy a couple of wicket apps (2 or 3 apps). I'm looking for advices in order to get a good hosting service. In fact, I think i'll get a vps service. Any advices? Which vps providers are good? Thanks in advance. Cheers! -- Mau

Re: TimePicker component?

2010-02-18 Thread Mauro Ciancio
the dijit.form.** components: Thanks you, I'll try how it works. Cheers! -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

TimePicker component?

2010-02-17 Thread Mauro Ciancio
tible with 1.4.x? Thanks in advance. Cheers! -- Mauro Ciancio - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: London Wicket Event, Saturday November 21st

2009-11-17 Thread Mauro Ciancio
Nicolas: On Wed, Oct 7, 2009 at 3:25 PM, Nicolas Melendez wrote: > When a Wicket Event in Buenos Aires, Argentina ?? We also have lots of > pubs > :) > I'm expecting for that event too. =) Cheers! -- Mauro Ciancio

Re: Help me with setting up Ubuntu, NetBeans, Maven2, Wicket, Jetty and Google App Engine

2009-11-07 Thread Mauro Ciancio
etty in debug mode. > Do you think that using Maven2 with that project makes sense? Maybe I > should make regular NetBeans project... In my opinion Maven is the correct option. Downloading the jars manually is a ugly task. Cheers. -- Mauro Ciancio

Re: How to write HTML directly

2009-10-26 Thread Mauro Ciancio
xample, > or > an image? > As Igor said, you can send html directly using that code snippet. To send an image to the browser you could use any of the following classes: http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/image/resource/package-summary.html Cheers, -- Mauro Ciancio

Re: How to write HTML directly

2009-10-26 Thread Mauro Ciancio
tten directly into my page. > Wicket does not works like that. You write a plain HTML and then add the dynamic content with a class which extends WebPage. Please take a look to the wicket quickstart project in http://wicket.apache.org/quickstart.html . Cheers, -- Mauro Ciancio

Re: Create table with columns from a list

2009-10-18 Thread Mauro Ciancio
Igor: On Sun, Oct 18, 2009 at 11:33 PM, Igor Vaynberg wrote: > use GridView. > Excellent, I didnt know it. That's what I was looking for. Thans again, -- Mauro Ciancio

Re: Create table with columns from a list

2009-10-18 Thread Mauro Ciancio
Jeremy: On Sun, Oct 18, 2009 at 9:51 PM, Jeremy Thomerson wrote: > create your own with, for example, repeating viw > Thanks you, I'll give it a try. -- Mauro Ciancio

Create table with columns from a list

2009-10-18 Thread Mauro Ciancio
list and my table is created with 3 columns, the result will be: - x | x | x - x | x | Any ideas? Should I create my own component? Thanks in advance, Cheers! -- Mauro Ciancio

How to LDM refreshed after submit?

2009-07-19 Thread Mauro Ciancio
model. Any ideas? Thanks in advance, -- Mauro Ciancio

Re: AjaxSelfUpdatingTimerBehavior and Panels

2009-07-08 Thread Mauro Ciancio
On Wed, Jul 8, 2009 at 1:29 PM, Mauro Ciancio wrote: > Thanks for the reply Igor. I could not test it yet. > I'll test it and then write I'll write what happened. > It works pretty cool. Thanks for the advice! -- Mauro Ciancio

Re: AjaxSelfUpdatingTimerBehavior and Panels

2009-07-08 Thread Mauro Ciancio
On Thu, Jul 2, 2009 at 2:43 AM, Igor Vaynberg wrote: > you can attach the behavior to a container around the panels, just a > simple webmarkupcontainer should do. Thanks for the reply Igor. I could not test it yet. I'll test it and then write I'll write what happened. Cheers! -- Mauro Ciancio

AjaxSelfUpdatingTimerBehavior and Panels

2009-07-01 Thread Mauro Ciancio
6) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) Any idea to fix this issue? How should I do to make the panel changeable without having this issue? Thanks in advance, Cheers! -- Mauro Ciancio

Re: guice-injection on page vs. components

2009-06-25 Thread Mauro Ciancio
dont hold a reference to your un-serializable object. Example: class MyPage extends Page { LoadableDetachableModel daoModel = new loadable() { object get() { return new dao(); } }; void something() { mydao = daoModel.getObject(); //stuff } void ondetach()

Re: LoadableDetachableModel onDetach() event

2009-05-03 Thread Mauro Ciancio
This issue has been solved today by Igor. Thanks Igor Greentings! On Sun, May 3, 2009 at 12:29 PM, Mauro Ciancio wrote: > Johan: > > On Sun, May 3, 2009 at 6:02 AM, Johan Compagner wrote: > >> We dont need to give the object to the method if we would call >> ondetac

Re: LoadableDetachableModel onDetach() event

2009-05-03 Thread Mauro Ciancio
> all the implications if we change this. Can you make a jira issue so > that we can track this? > Yes, of course. I found a workaround to solve this, but it would be better if the onDetach() is called before than nulling the reference. Thanks! Greetings. -- Mauro Ciancio

LoadableDetachableModel onDetach() event

2009-05-02 Thread Mauro Ciancio
which releases resources, but it has been set to null. How could I do this? I have to keep an extra reference to my object. Is not this better?: onDetach(transientModelObject); attached = false; transientModelObject = null; Just a thought. Thanks! Greetings, --

Re: Data validation and form components

2009-04-28 Thread Mauro Ciancio
, IMO isnt a great idea that your form directly modifies your business logic objects. You could use a pattern like Value Object. You modifies a Value Object and then updates your model with that Value Object. Cheers, -- Mauro Ciancio