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