Q5:my code for wicket1.5 as follow:
final Link lnkExport = new Link(export) {
public void onClick() {
Shop shop = shopService.read(shopId);
// temporarily switch off paging of results
september 2011 11:36
To: users@wicket.apache.org
Subject: Re: how to get HttpServletRequest in wicket 1.5
HttpServletRequest servletReq = (HttpServletRequest)
getRequest().getContainerRequest();
On Thu, Sep 8, 2011 at 12:26 PM, nhsoft.yhw nhsoft@gmail.com wrote:
in wicket 1.4.x, the code like
nhsoft.yhw wrote:
Q7.
how to get inputstream from ResourceReference object, here is code for
wicket 1.4.x
inputStream =
reference.getResource().getResourceStream().getInputStream();
but IResource interface has no getResourceStream() method in wicket 1.5.0
My solution :
: donderdag 8 september 2011 11:36
To: users@wicket.apache.org
Subject: Re: how to get HttpServletRequest in wicket 1.5
HttpServletRequest servletReq = (HttpServletRequest)
getRequest().getContainerRequest();
On Thu, Sep 8, 2011 at 12:26 PM, nhsoft.yhw nhsoft@gmail.com wrote:
in wicket 1.4.x
Roger, thanks for the clarification.
Hielke
-Original Message-
From: Martin Grigorov [mailto:mgrigo...@apache.org]
Sent: woensdag 14 september 2011 9:54
To: users@wicket.apache.org
Subject: Re: how to get HttpServletRequest in wicket 1.5
java.lang.Object
Am 14.09.2011 um 09:32 schrieb nhsoft.yhw:
inputStream = packageResource.getCacheableResourceStream().getInputStream();
I think this needs some clarification...
PackageResource has these methods for getting a stream:
(1) protected IResourceStream getResourceStream()
and
(2) public
On Wed, Sep 14, 2011 at 2:07 PM, Peter Ertl pe...@gmx.org wrote:
Am 14.09.2011 um 09:32 schrieb nhsoft.yhw:
inputStream = packageResource.getCacheableResourceStream().getInputStream();
I think this needs some clarification...
PackageResource has these methods for getting a stream:
(1)
@Martin:
yeah, switching from protected to public should at most yield a warning in an
overloaded class. Igor didn't like it. Maybe my English confused him and he
thought about going from public to protected?!
Would be great if we could change this in 1.5.
What you think?
Am 14.09.2011 um
Ah, yes.
A child class which overrides the method and is protected will
complain that visibility is reduced ...
Have to wait for Wicket.next.
On Wed, Sep 14, 2011 at 2:30 PM, Peter Ertl pe...@gmx.org wrote:
@Martin:
yeah, switching from protected to public should at most yield a warning in an
and by complain he means a compile error...
-igor
On Wed, Sep 14, 2011 at 4:37 AM, Martin Grigorov mgrigo...@apache.org wrote:
Ah, yes.
A child class which overrides the method and is protected will
complain that visibility is reduced ...
Have to wait for Wicket.next.
On Wed, Sep 14, 2011
Q9.
i found that modalwindow has some problem for firefox browse after upgrading
to wicket 1.5.
firefox version 6.0.1, modalwindow can not display when click open
modalwindow link, but when i switch firefox's private browsing mode, it
works .
Chrome, IE8, Safari is ok.
-
in wicket 1.4.x
getRequestCycle().setRequestTarget(new
RedirectRequestTarget(/connect/qq/login));
how to code for wicket 1.5.0
-
http://www.517wm.com
外卖订餐分享工具
--
View this message in context:
HttpServletRequest servletReq = (HttpServletRequest)
getRequest().getContainerRequest();
On Thu, Sep 8, 2011 at 12:26 PM, nhsoft.yhw nhsoft@gmail.com wrote:
in wicket 1.4.x, the code like :
HttpServletRequest request =
getWebRequestCycle().getWebRequest().getHttpServletRequest();
but i
Am 08.09.2011 11:26, schrieb nhsoft.yhw:
in wicket 1.4.x, the code like :
HttpServletRequest request =
getWebRequestCycle().getWebRequest().getHttpServletRequest();
but i don't know how to get HttpServletRequest in wicket 1.5
-
http://www.517wm.com
外卖订餐分享工具
--
View this message in
Sorry for posting the wrong one.
YOurs is
org.apache.wicket.protocol.http.servlet.ServletWebRequest.getContainerRequest()
Mike
in wicket 1.4.x, the code like :
HttpServletRequest request =
getWebRequestCycle().getWebRequest().getHttpServletRequest();
but i don't know how to get
Migrate Question
Q1:
PackageResourceReference resRef = new
PackageResourceReference(parent.getClass(), src);
return (urlFor(resRef).toString());
PageParameters is required for urlFor method, if why PageParameters is
required.
Q2:
Image imgThumbnail = new Image(thumbnailImage);
On Thu, Sep 8, 2011 at 3:24 PM, nhsoft.yhw nhsoft@gmail.com wrote:
Migrate Question
Q1:
PackageResourceReference resRef = new
PackageResourceReference(parent.getClass(), src);
return (urlFor(resRef).toString());
PageParameters is required for urlFor method, if why PageParameters is
Q7.
how to get inputstream from ResourceReference object, here is code for
wicket 1.4.x
inputStream = reference.getResource().getResourceStream().getInputStream();
but IResource interface has no getResourceStream() method in wicket 1.5.0
-
http://www.517wm.com
外卖订餐分享工具
--
View this message
18 matches
Mail list logo