Where is code for ActionPanel used in repeater examples?

2008-11-04 Thread palun
Where is the code for ActionPanel used in the examples on http://wicketstuff.org/wicket13/repeater/?wicket:bookmarkablePage=sources:org.apache.wicket.examples.repeater.Index ? I'm using Wicket vers. 1.3.4. (Is that the problem?) Thanks, /ulf -- View this message in context:

How do I find the referring page?

2008-10-19 Thread palun
I understand this is not the recommended way to get the referring page: HttpServletRequest request = getWebRequestCycle().getWebRequest().getHttpServletRequest(); String referringURL = request.getHeader(Referer); -- But what then is the recommended way? (Sorry for such an elementary question. I

ant-based example project?

2008-02-22 Thread palun
Hi all, I just downloaded Wicket 1.3.1 and now I want to use Ant for building my app and deploying it to Tomcat. I thought it would be easy to find a good example of an Ant-based project. But no. Everything seems to be all Maven... My question is: Is there a good example of an ant-based

Scrollbar in popup window?

2008-01-30 Thread palun
How do I get vertical scrollbar in a popup window with (too) long content? Popup is created like so: add(new BookmarkablePageLink(instrLink, InstructionsPopupPage.class, params).setPopupSettings(popupSettings)); The purpose is to show a rather long information text in a separate window

Re: Scrollbar in popup window?

2008-01-30 Thread palun
That's exactly what I needed! Works fine now. (Should have spotted that one myself, sorry.) Thanks. /ulf Don't know if this is what you want... add(new BookmarkablePageLink(instrLink, InstructionsPopupPage.class, params).setPopupSettings(PopupSettings.SCROLLBARS)); -- View this message in

PageParameters mess up my strings

2008-01-22 Thread palun
(I´m sorry if this is the wrong forum for this kind of question. If so, please direct me.) Here´s my problem: I set a page parameter for the page MyPage like this: PageParameters params = new PageParameters(); params.put(str, åäö); setResponsePage(MyPage.class, params);

popup problem

2008-01-09 Thread palun
Hi all, I am trying to open a popup window from a page. Code looks like so: PopupSettings popupSettings = new PopupSettings(PageMap .forName(popuppagemap)).setHeight(300).setWidth(200); PageParameters params = new PageParameters();

Re: popup problem

2008-01-09 Thread palun
But how do I change this part if I want to use a constructor with arguments? item.add(new BookmarkablePageLink(popupButtonLink, MyPopupPage.class, params).setPopupSettings(popupSettings)); /ulf use the public MyPopupPage(PageParameters params) constructor

Re: popup problem

2008-01-09 Thread palun
) at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:96) at org.apache.wicket.request.target.component.BookmarkablePageRequestTa igor.vaynberg wrote: huh? -igor On Jan 9, 2008 12:50 PM, palun [EMAIL PROTECTED] wrote: But how do I change this part if I want to use

Re: popup problem

2008-01-09 Thread palun
igor.vaynberg wrote: exception is happening in your code...what is on line MyPopupPage.java:12 ? -igor On Jan 9, 2008 1:11 PM, palun [EMAIL PROTECTED] wrote: WicketMessage: Can't instantiate page using constructor public com.mycompany.pages.wicketutils.MyPopupPage