[Wicket-user] (no subject)

2007-07-20 Thread Bertram Poe
- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Wicket-user mailing

Re: [Wicket-user] (no subject)

2007-07-17 Thread Rainey
- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.

Re: [Wicket-user] (no subject)

2007-07-09 Thread Al Maw
Eelco Hillenius wrote: I think getContextPath is what I need. I am trying to port my app to wicket 1.3 where getContextPath is no longer present in ApplicationSettings. I think it moved to WebApplication. But be sure to read this

Re: [Wicket-user] (no subject)

2007-07-08 Thread Gerolf Seitz
((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest().getServletPath() hth, gerolf On 7/8/07, Alexander Lohse [EMAIL PROTECTED] wrote: Hi, I guess this has been asked several times, but I was unable to find a hint: From within a component I need to create a absolute url to

Re: [Wicket-user] (no subject)

2007-07-08 Thread Eelco Hillenius
((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest().getServletPath() Doesn't he need getContextPath? Or you can do WebApplication#getServletContext(). I don't think you typically need it though. If you let a component print out subdir/foo.jpg for the source attribute, it will

Re: [Wicket-user] (no subject)

2007-07-08 Thread Alexander Lohse
Hi Eelco, I think getContextPath is what I need. I am trying to port my app to wicket 1.3 where getContextPath is no longer present in ApplicationSettings. If I just add a relative path, I get problems when I have a manually edited mountPath like mountBookmarkablePage(/some/other/strange/

Re: [Wicket-user] (no subject)

2007-07-08 Thread Eelco Hillenius
I think getContextPath is what I need. I am trying to port my app to wicket 1.3 where getContextPath is no longer present in ApplicationSettings. I think it moved to WebApplication. But be sure to read this http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html and search the

[Wicket-user] (no subject)

2007-07-07 Thread Alexander Lohse
Hi, I guess this has been asked several times, but I was unable to find a hint: From within a component I need to create a absolute url to static files located in my webapp directory. How do I retrieve the servlets path? Thank you for any help. Best regards, Alex

[Wicket-user] (No subject)

2007-06-08 Thread Volodymyr Sobotovich
[EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.

[Wicket-user] (no subject)

2007-05-10 Thread 财务方面合作
尊敬的负责人(经理/财务):您好! 深圳万利豪商贸发展有限公司:在我公司持续稳定的发展中实业雄厚;有着一定的 社会关系。在我公司每月进项多销项少,每月有余额发票。对外联系些业务贵公司 在平时作帐及销售方面是需要用些票据可在我公司代开。如商品销售、地税建筑安 装、其它服务、运输、广告发票等……收费1.5%左右;还可代办海关缴款书。 在我公司成立多年一直坚持以信用,所开绝对真票;更希望贵公司共同合作快乐! 本公司的承诺:以最优惠的价格和最及时的服务满足你的要求;提供到位。如

[Wicket-user] (no subject)

2007-04-18 Thread 莫高习
nigel [EMAIL PROTECTED] [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to

[Wicket-user] (no subject)

2007-01-09 Thread Wolfgang Gehner
Hi there, we want to integrate Wicket with other rendering technologies. One example is including wicket pages in a jsp. I created a use case as an Eclipse project based on Wicket trunk of today. zip is available at http://issues.apache.org/jira/browse/WICKET-202 Run the application as usual

[Wicket-user] (no subject)

2006-09-16 Thread Willie Krause
Hi Martijn Thanks for your reply, it sorted me out. Removed the wicket-contrib-dojo jarfile from WEB-INF/lib and everything works now (I did not explicitly use any of the classes contained in the dojo jar, but included it because I want to eventually do some dojo related stuff - anycase it

[Wicket-user] (no subject)

2006-01-13 Thread pepone pepone
Hello all is posible with wicket 1.2 set a default parameter to homePage thanks -- play tetris http://pepone.on-rez.com/tetris --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the

Re: [Wicket-user] (no subject)

2006-01-13 Thread Igor Vaynberg
if you need a default parameter why not set it in the default constructor? and have both default and pageparams constructor forward to an init method?-IgorOn 1/13/06, pepone pepone [EMAIL PROTECTED] wrote: Hello allis posible with wicket 1.2 set a default parameter to homePagethanks--play tetris

Re: [Wicket-user] (no subject)

2006-01-13 Thread pepone pepone
my Home page now is like this public class Home extends BasePage { private MainMenu mainMenu; private SearchPanel searchPanel; private HomeView homeView; public Home() { add(mainMenu=new MainMenu(MainMenu));

Re: [Wicket-user] (no subject)

2006-01-13 Thread Igor Vaynberg
so something like this should work:public class Home { Home() { PageParameters default=new PageParameters(); default.put(.. init(default); } Home(PageParameters params) { init(params); } init(PageParameters params) { add(mainMenu=new MainMenu(MainMenu));add(searchPanel=new

Re: [Wicket-user] (no subject)

2006-01-13 Thread pepone pepone
Must i open a bug for this issue? On 1/14/06, Igor Vaynberg [EMAIL PROTECTED] wrote: hmm looks like the constructor with PageParameters is still being called instead of the default Home() constructor Caused by: wicket.WicketRuntimeException: Can't instantiate page using constructor public

Re: [Wicket-user] (no subject)

2006-01-13 Thread Igor Vaynberg
im fixing it right nowwill prob have it fixed before you open the bug :)-IgorOn 1/13/06, pepone pepone [EMAIL PROTECTED] wrote:Must i open a bug for this issue?On 1/14/06, Igor Vaynberg [EMAIL PROTECTED] wrote: hmm looks like the constructor with PageParameters is still being called instead of

Re: [Wicket-user] (no subject)

2006-01-13 Thread Igor Vaynberg
argh, maybe not. i fixed it, but that it broke a lof of tests. looks like this bug has been around for a while and weve come to depend on wicket working like it is. i am going to start a thread on it in devel list. meantime change your page to do this:public Home() {

Re: [Wicket-user] (no subject)

2006-01-13 Thread Timo Stamm
pepone pepone schrieb: This not works for me with wicket-wicket-1.2-20060108 As a workaround, you can simply subclass this page and call the super constructor with default parameters in the constructor: public class HomePage extends MyBasePageWhichRequiresParameters { static

[Wicket-user] (no subject)

2005-08-31 Thread hicham abassi
-- hicham ABASSI [EMAIL PROTECTED] --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams *

[Wicket-user] (no subject)

2005-07-27 Thread [EMAIL PROTECTED]
Hi, I'm trying to modify NestedList.html found in the wicket examples to make li a HREF. In otherwords I want the list item to link to an external site. I modified the NestedList.html to: ul span wicket:id=rows a wicket:id=myLink li wicket:id=row span wicket:id=labelThe

Re: [Wicket-user] (no subject)

2005-07-27 Thread Johan Compagner
what is row? where you add that externling link to? I see you have a row wicket component (the id) but myLink is not the child of that but the parent? So looking at youre code you should do: myLink = new External() myLink.add(new Xxx(rows)) [EMAIL PROTECTED] wrote: Hi, I'm trying to

[Wicket-user] (no subject)

2005-07-23 Thread Igor Vaynberg
I don't really see how you are losing flexibility. In this particular case all we are doing is replacing the use of List interface with lets say ListViewDatasource. This is necessary because the List interface doesn't really work well with the listview. What exactly can you do more by utilizing a

Re: [Wicket-user] (no subject)

2005-07-23 Thread Johan Compagner
why doesn't a List work in a ListView exactly? I do get that a List in a PageableListView could be a bit improved so that you have method like getList(start,count). But in a ListView a List could work fine. If wrapped in a Model for attach/detach If we encapsulate that ListViewDataSource in