Re: reverse proxy / http / https

2010-12-06 Thread Markus
Hi Martin Sysadmins were trying to change location header to https in ProxyPassReverse, but was not working. Thanks a lot for helping. Markus On 06.12.2010 12:21, Martin Makundi wrote: > http://apache-wicket.1842946.n4.nabble.com/Wicket-Link-with-proxy-server-wrong-hostname-td1878181.html > htt

Re: Component wiring mess in 'HomePage'

2010-12-06 Thread James Carman
Create components out of some of the groups of components that logically belong together? On Mon, Dec 6, 2010 at 4:37 PM, Hans Lesmeister wrote: > Hi, > >> I have some components and I'm wiring them together directly within a >> 300 lines init method in the HomePage class ** >> Now this method is

multipart form with base domain altered

2010-12-06 Thread Paul Wong
Hi, We've just started to use Wicket in the team, and it's been great! Currently we're having an issue with base domain (altered) on multipart forms which has Ajax submits. Our application runs on "abc.subdomain.domain.com" We need to update the domain to "domain.com" to interact with an externa

Re: Best Pattern for Admin Pages and User Pages

2010-12-06 Thread Altuğ Bilgin Altıntaş
You can add css object programatically. https://cwiki.apache.org/WICKET/including-css-resources.html altug 2010/12/6 Taner Diler > Hi all, > > I'm writing a blog application. as all blog applications it has an admin > module. I wrote two abstract page : AdminPage and BlogPage. the > differen

Re: Component wiring mess in 'HomePage'

2010-12-06 Thread Hans Lesmeister
Hi, > I have some components and I'm wiring them together directly within a > 300 lines init method in the HomePage class ** > Now this method is 'a bit' lengthy and unreadable. How would you make it > more maintainable? I always try to identify logical groups and delegate creation of those to se

Best Pattern for Admin Pages and User Pages

2010-12-06 Thread Taner Diler
Hi all, I'm writing a blog application. as all blog applications it has an admin module. I wrote two abstract page : AdminPage and BlogPage. the differencies between them are menu, left/right panels and also screen styles. This make me develope duplicate pages for admin and blog. So how can I red

Component wiring mess in 'HomePage'

2010-12-06 Thread Peter Karich
Hi, I have some components and I'm wiring them together directly within a 300 lines init method in the HomePage class ** Now this method is 'a bit' lengthy and unreadable. How would you make it more maintainable? Regards, Peter. ** https://github.com/karussell/Jetwick/blob/master/src/main/j

Re: FormComponentPanel + unknown collection type

2010-12-06 Thread alex shubert
Oh, I fouled myself There nothing to do with setType at all and WiA uses explicit call only instead of generics. So, if there are code such as mine, all one have to do is properly assembly object on it's way to model. private Collection modelField; @Override protected void onInitialize()

Re: FormComponentPanel + unknown collection type

2010-12-06 Thread alex shubert
Anyone? ( On 6 December 2010 15:59, alex shubert wrote: > Hello! > > I got a problem with type mysmatch then implementing custom component. > > First of all, the code^ > public class EnumCheckGroup extends > FormComponentPanel> { > >  public EnumCheckGroup(final String id, final IModel Colle

IndexedSharedResourceCodingStrategy.encode not being called

2010-12-06 Thread Doug Leeper
I have mounted an IndexedSharedResourceCodingStrategy in my WebApplication as such: getSharedResources().add("photo", new BusinessPhotoSharedResource()); mount(new IndexedSharedResourceCodingStrategy("photo", "photo") ); and I have created an Image with the appropriate resource r

Re: Initiating File Download through Ajax is not working

2010-12-06 Thread Ernesto Reinaldo Barreiro
Not sure there is a way to overcome that limitation without modifying browser options. Maybe then it is safer to use another approach like use AJAX to present a "floating dialog" with a "normal" download link. Users will need one more click but hat will certainly work for all browsers and/or setti

RE: Initiating File Download through Ajax is not working

2010-12-06 Thread Jonathan Proulx
Hello In the AJAXDownload class, the appended javascript "window.location.href..." will make the browser display a warning on top to prevent file download. If I select the warning then try to download the file, it doesn't work, the file download dialog never popup. The second time I trigger the

Re: Displaying decimal places using a TextField

2010-12-06 Thread Ian Marshall
Thanks Igor and Pedro. I'll do that. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Displaying-decimal-places-using-a-TextField-Float-tp3074547p3074627.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: Extending Wicket's Button class to do some extra styling

2010-12-06 Thread Pedro Santos
sure On Fri, Dec 3, 2010 at 12:21 PM, Stefan Droog wrote: > Thanks for your reply but I prefer to add the image and label via > > add(new Image(..,...)); > add(new Label(..,..)); > > Instead of replacing the body. > > Is that possible as well? > > Stefan > > > 2010/12/3 Alexander Morozov > > >

Re: Display component feedback message once: "safety net" renders them always before

2010-12-06 Thread Pedro Santos
Hi Joseph, I use an ComponentFeedbackPanel next to the component when I want its feedback message presented in an special place. On Thu, Dec 2, 2010 at 9:52 AM, Joseph Pachod wrote: > Hi > > I'm trying to apply the behaviors presented by Alastair Maw in his > presentation Wicket Forms > with Fla

Re: Displaying decimal places using a TextField

2010-12-06 Thread Pedro Santos
Hi Ian, you can provide an BigDecimalConverter that works with an NumberFormat with its minimumFractionDigits setted to 2 On Mon, Dec 6, 2010 at 12:38 PM, Ian Marshall wrote: > > I use a TextField as shown below. Since this field represents a > currency unit (in this case, pound sterling) I want

Re: Displaying decimal places using a TextField

2010-12-06 Thread Igor Vaynberg
you can keep the field as and give it its own converter that always shows two decimal places -igor On Mon, Dec 6, 2010 at 4:38 PM, Ian Marshall wrote: > > I use a TextField as shown below. Since this field represents a > currency unit (in this case, pound sterling) I want to have two decimal >

Displaying decimal places using a TextField

2010-12-06 Thread Ian Marshall
I use a TextField as shown below. Since this field represents a currency unit (in this case, pound sterling) I want to have two decimal places shown always. For example: 0.00 5.00 6.10 3.28. What I find when I run my web application is that, after form submission, the model's Float value

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-06 Thread Nivedan Nadaraj
Hi Eelco Appreciate your time and thoughts. I guess I am going to have to look at LDM approach, since from what yourself,James and Dan have already mentioned that. I noticed a pattern when it/the system throws the Exception I have to track it closely and see if makes sense and then I guess have to

FormComponentPanel + unknown collection type

2010-12-06 Thread alex shubert
Hello! I got a problem with type mysmatch then implementing custom component. First of all, the code^ public class EnumCheckGroup extends FormComponentPanel> { public EnumCheckGroup(final String id, final IModel> model, final Class enumClass) { //noinspection unchecked super

Re: reverse proxy / http / https

2010-12-06 Thread Martin Makundi
http://apache-wicket.1842946.n4.nabble.com/Wicket-Link-with-proxy-server-wrong-hostname-td1878181.html http://www.mail-archive.com/users@wicket.apache.org/msg32818.html 2010/12/6 Markus Meixner : > Hi everybody > > Perhaps this is more a apache reverse proxy configuration thing, but > perhaps you

Re: reverse proxy / http / https

2010-12-06 Thread Pedro Santos
I think you can use http://code.google.com/p/xebia-france/wiki/XForwardedFilter and watch/help https://issues.apache.org/jira/browse/WICKET-3015 On Mon, Dec 6, 2010 at 9:11 AM, Markus Meixner wrote: > Hi everybody > > Perhaps this is more a apache reverse proxy configuration thing, but > perhaps

reverse proxy / http / https

2010-12-06 Thread Markus Meixner
Hi everybody Perhaps this is more a apache reverse proxy configuration thing, but perhaps you can help me anyway. My application runs behind a reverse proxy, which is terminating https request and forwarding http requests to the wicket application. If wicket now responds with redirects, it does

Re: WebMarkupContainer update affecting scrollbar which is outside container

2010-12-06 Thread Pedro Santos
Hi David, you can specify your css for clicked links wiht the pseudo-class :visited, also you can send back to browser only the javascript needed to style the clicked links, like: request.appendJavascript("Wicket.$('linkId').style.someProperty = 'some value'"); On Wed, Dec 1, 2010 at 8:56 AM, drf