Re: 302 vs. 301 Redirect

2007-12-06 Thread Joe Toth
I think so...something like res.setHeader("Location", "http://301redirect.com/ ); res.setStatus(301); On Thu, 2007-12-06 at 15:43 +0100, Johan Compagner wrote: > what is the right way for a permanent redirect in the servlet spec? > do it all yourself? Including making the url fully qualified? >

Re: Is changing component hierarchy in onBeforeRender not recommended ?

2007-12-06 Thread Igor Vaynberg
should be fine as long as the children are downstream of the component tweaking their visibility -igor On Dec 6, 2007 7:41 PM, rkanadam <[EMAIL PROTECTED]> wrote: > Hi, > > I am using onBeforeRender for setting the visibility of some children. > Wanted to know if this was ok or was dangerous an

Is changing component hierarchy in onBeforeRender not recommended ?

2007-12-06 Thread rkanadam
Hi, I am using onBeforeRender for setting the visibility of some children. Wanted to know if this was ok or was dangerous and not recommended. Could someone more knowledgeable help please ? Thanks, Raghu - To unsubscribe, e-

HTML & .properties reload

2007-12-06 Thread mnwicket
I just upgraded from wicket beta2 to rc1 and found that my HTML pages and .properties aren't automatically being reloaded as usual. Did something change? I didn't see anything in the release notes. Thanks -- View this message in context: http://www.nabble.com/HTML---.properties-reload-tf49598

Re: Wicket meetup in San Francisco

2007-12-06 Thread mfs
Cant wait to be part of the next meetup preferably soon. Farhan. Orion Letizi wrote: > > Al, > > No worries. Since this is the first wicket meetup in San Francisco, > I'd like to do it anyway to get the ball rolling. If you can make it, > that would be awesome, even if you don't want t

Re: [wicket-contrib] TinyMCE Hackery

2007-12-06 Thread Frank Bille
I have just added TinyMCE to bamboo[1], but it won't build because of some log4j dependency problems[2]. Do you have to use log4j 1.2.15 instead of 1.2.14? Frank [1]: http://wicketstuff.org/bamboo/browse/WSTINYMCE-TRUNK [2]: http://wicketstuff.org/bamboo/browse/WSTINYMCE-TRUNK-1 On Nov 29, 2007

Re: Wicket meetup in San Francisco

2007-12-06 Thread Al Maw
Great. See you at 7pm. Best regards, Al Orion Letizi wrote: Al, No worries. Since this is the first wicket meetup in San Francisco, I'd like to do it anyway to get the ball rolling. If you can make it, that would be awesome, even if you don't want to do a formal presentation. A number o

Re: Wicket meetup in San Francisco

2007-12-06 Thread Orion Letizi
Al, No worries. Since this is the first wicket meetup in San Francisco, I'd like to do it anyway to get the ball rolling. If you can make it, that would be awesome, even if you don't want to do a formal presentation. A number of people have expressed interest in just talking to a Wicke

Re: Ajax Feedback Problem in 1.3

2007-12-06 Thread Martijn Dashorst
We need some code to go with your problem to correctly diagnose your problem. Martijn On Dec 6, 2007 1:13 PM, SantiagoA <[EMAIL PROTECTED]> wrote: > > Hi, > I have a "FeedbackTextField" which extends TextField and implements > IValidator (build with 1.2.5). > If the textfield lose the focus, an A

Re: Using the tags

2007-12-06 Thread Francisco Diaz Trepat - gmail
thx On Dec 5, 2007 3:59 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > see (Simple)FormComponentLabel > > -igor > > > On Dec 5, 2007 10:57 AM, Francisco Diaz Trepat - gmail > <[EMAIL PROTECTED]> wrote: > > Hi I wish to add tag to my form and put some styling on it. > > > > Is there a wicket sid

extending cometd/server-push problem with html-inheritance

2007-12-06 Thread muku
hi, i just extended existing source of wicketstuff-push in order to get myself a progress-bar running. I use CometdService as my IChannelService-Impl. i noticed a strange behaviour when trying to publish ChannelEvents. On my TestPage( extends WebPage) my example is running fine and all events i

Re: Link to dynamic pdf (jasperreports)

2007-12-06 Thread German Morales
Hi, Have you seen this other thread? http://www.nabble.com/wicket-File-downlaod-tf4874269.html#a13946961 There i've made some suggestions for dynamic generated pdf, with working code. Again, i don't know anything of jasper reports, but the person asked that time liked it. Also there is in the c

remember, wicket meetup in San Francisco TONIGHT at Terracotta, 7:00 PM, 650 Townsend St. Suite 325

2007-12-06 Thread Orion Letizi
For those of you who expressed interest in a Wicket meetup in San Francisco, remember we're meeting TONIGHT at 7:00 PM. Here's the address: Terracotta 650 Townsend St. Suite 325 San Francisco, CA Any Terracotta folks who want to come are enthusiastically invited-- the more the merrier. I

Re: Link to dynamic pdf (jasperreports)

2007-12-06 Thread lizz
Use a JRPdfResource The onResourceRequested() gives you a dialog with open report, save report or cancel buttons if you have set the filename Newgro wrote: > > Is this really unsolvable? Please can someone give me a hint? > > Thanks > Per > -- View this message in context: http://www.nabbl

Re: 302 vs. 301 Redirect

2007-12-06 Thread Johan Compagner
what is the right way for a permanent redirect in the servlet spec? do it all yourself? Including making the url fully qualified? On Dec 6, 2007 9:49 AM, Joe Toth <[EMAIL PROTECTED]> wrote: > I wasn't suggesting changing the functionality of setRedirect, but > instead maybe adding setPermanentRe

Re: Control where CSS files are loaded from

2007-12-06 Thread Alex Objelean
I think, in this case, you should extend ResourceReference and override protected Resource newResource() method. Alex. Csaba Madai wrote: > > And how can i load the CSS when it is on the filesystem (outside of war, > jar etc.) ? > > Alex Objelean wrote: >> Images mentioned in the CSS are r

Re: Control where CSS files are loaded from

2007-12-06 Thread Csaba Madai
And how can i load the CSS when it is on the filesystem (outside of war, jar etc.) ? Alex Objelean wrote: Images mentioned in the CSS are relative to the css file. I wouldn't recommend to load css files from the markup, a better approach would be using HeaderContributor.forCSS(ResourceReference

Re: Link to dynamic pdf (jasperreports)

2007-12-06 Thread Newgro
Is this really unsolvable? Please can someone give me a hint? Thanks Per -- View this message in context: http://www.nabble.com/Link-to-dynamic-pdf-%28jasperreports%29-tf4936362.html#a14191604 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: yui calendar in IFRAME on IE7

2007-12-06 Thread Newgro
Ok i think i got this now. I had to resize the calendar, because IE7 seems to show all only in the IFRAME itself. Overlaying seems not to be allowed. Cheers Per -- View this message in context: http://www.nabble.com/yui-calendar-in-IFRAME-on-IE7-tf4935092.html#a14191603 Sent from the Wicket - Us

Re: Control where CSS files are loaded from

2007-12-06 Thread Alex Objelean
Images mentioned in the CSS are relative to the css file. I wouldn't recommend to load css files from the markup, a better approach would be using HeaderContributor.forCSS(ResourceReference). Regards, Alex. Csaba Madai wrote: > > Hi All! > > I found on the wiki how i can control where my mark

Ajax Feedback Problem in 1.3

2007-12-06 Thread SantiagoA
Hi, I have a "FeedbackTextField" which extends TextField and implements IValidator (build with 1.2.5). If the textfield lose the focus, an Ajax call is submitted. The Validator looks if the textfield is left empty and throws a FeedbackMessage and the backgroundcolor of the TextField changes to yel

Re: How to dynamically generate HTML page?

2007-12-06 Thread Matthijs Wensveen
Hi Praveen, Attached is the AutoComponentPanel.java. I've just re-written it so that it implements IComponentResolver. Parts of the code might be too complex and need to be refactored (some parts working with org.w3c.dom), but for now it works. If you have additions or modifications, please le

Control where CSS files are loaded from

2007-12-06 Thread Csaba Madai
Hi All! I found on the wiki how i can control where my markup files are loaded from, but how can i control where the CSS files refered in the markup loaded from and also the images mentioned in the CSS? Thanks, Csaba - To un

Re: Using ajax to update a panel

2007-12-06 Thread Andrew Moore
I finally managed to get it working using the replaceWith method to replace the entire panel. -- View this message in context: http://www.nabble.com/Using-ajax-to-update-a-panel-tf4949239.html#a14190250 Sent from the Wicket - User mailing list archive at Nabble.com. --

RE: AutoCompleteTextField problem

2007-12-06 Thread Holda, Dariusz
I've put the AutoComplete outside the form and then it works. It refreshes the DropDown and it can refresh the whole form as well. Thx for help on that. Regards, Dariusz -Original Message- From: wicket user [mailto:[EMAIL PROTECTED] Sent: 05 December 2007 16:38 To: users@wicket.apache.

Re: IComponentResolver question

2007-12-06 Thread Matthijs Wensveen
Igor Vaynberg wrote: icomponentresolver does exactly what its javadoc says - match markup tags to components. if you want you can create those components on the fly - but remember that this happens at render time so it might have some side effects for you. The javadoc mentions "component na

Re: getApplication

2007-12-06 Thread Eelco Hillenius
On Dec 5, 2007 11:32 PM, Uwe Schäfer <[EMAIL PROTECTED]> wrote: > Martin Funk schrieb: > > The Application you declare in the web.xml, so if you want your > > MyApplication you do it there and no need to fiddle with the > > getApplication() method. > > sorry, i did not make myself clear. i do decla

Re: getApplication

2007-12-06 Thread Martin Funk
Uwe Schäfer schrieb: Martin Funk schrieb: The Application you declare in the web.xml, so if you want your MyApplication you do it there and no need to fiddle with the getApplication() method. sorry, i did not make myself clear. i do declare my application in the web.xml. thats not what i am

Re: WicketTester failure (1.2.6)

2007-12-06 Thread Paolo Di Tommaso
Solved using WicketTester#setStartPage( ITestPageSource ) instead of WicketTester#setStartPage( Page ) Bye, Paolo On Dec 5, 2007 4:18 PM, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote: > Guys, > > I'm getting a WicketRuntimeExceptionin this simple unit test: > > class SimpleTest { > > @Test >

Re: 302 vs. 301 Redirect

2007-12-06 Thread Joe Toth
I wasn't suggesting changing the functionality of setRedirect, but instead maybe adding setPermanentRedirect(true) or another way for wicket to be able to perform a 301. On Wed, 2007-12-05 at 13:43 +, Gwyn Evans wrote: > I think the one thread was "Consistent homepage URL" from 2005Q2 - I >

RE: cannot render a menubar using menu2 package

2007-12-06 Thread rik rik
The trick to solve the problem is to add getMarkupSettings().setStripWicketTags(true); in the method init() of the webapp, as indicated by Doug Thanks Doug! Rik > From: [EMAIL PROTECTED]> To: users@wicket.apache.org> Subject: RE: cannot > render a menubar using menu2 package> Date: Wed,