You're right. The redirect form the login page to the application's home page
seems to be a new request. I've simply tested it by trying to access the
user's roles directly after the user was retrieved from the database and
before the redirect to the application's home page. Here the roles could
Hi,
Is it a valid behavior that setRenderAllowed(...) method is called for
invisible components (components that are not visible in hierarchy).
I have a use case with DataView component displaying list of links.
When I hide this DataView (eg. by setting dataView.setVisible(false))
then for each
Wicket 1.4.18
On Mon, Sep 5, 2011 at 12:29 PM, Daniel Stoch daniel.st...@gmail.com wrote:
Hi,
Is it a valid behavior that setRenderAllowed(...) method is called for
invisible components (components that are not visible in hierarchy).
I have a use case with DataView component displaying list
In FormComponent class
/**
* subclasses would override it instead of getConverter(Class)
so no cast is necessary
*/
public IConverterT getFCConverter(ClassTtype)
{
// -- returns converter for FormComponent's type
return super.getConverter(type);
why getFCConverter would need a Class as parameter?
I mean, FormComponent whould be already known whether by getType or by
T type... wouldn't it?
On Mon, Sep 5, 2011 at 8:24 AM, vineet semwal
vineetsemwal1...@gmail.com wrote:
In FormComponent class
/**
* subclasses would override
Hi,
i couldn't find a working solution until now for the following usecase.
I would like to include a css file from my package structure in a page.
It sits in package-path/res/css.
I included the css in my page:
code
@Override
public void renderHead(IHeaderResponse response) {
Hi,
Maybe
code
@Override
public void renderHead(IHeaderResponse response) {
super.renderHead(response);
response.renderCSSReference(new
PackageResourceReference(getClass(), res/css/screen.css));
}
/code
without mountResource in application.init()
Matteo Sotil
Am 05.09.2011 14:58, schrieb Sotil Bertanzetti, Matteo:
Hi,
Maybe
code
@Override
public void renderHead(IHeaderResponse response) {
super.renderHead(response);
response.renderCSSReference(new
PackageResourceReference(getClass(), res/css/screen.css));
}
Hello guys,
I have the following problem: I have a view that shows images within itself
and also have a method that updates the model of that view. While updating
the model I set the images new DynamicImageResource where I return another
image byte data. However, getImageData() of the new
Do you use NonCachingImage?
Regards,
Ernesto
On Mon, Sep 5, 2011 at 3:27 PM, mapp...@mail.bg wrote:
Hello guys,
I have the following problem: I have a view that shows images within itself
and also have a method that updates the model of that view. While updating
the model I set the
Thank you, it did the trick :) I thought it was up to the resource.
Best regards,
Martin
- Цитат от Ernesto Reinaldo Barreiro (reier...@gmail.com), на
05.09.2011 в 16:39 - Do you use NonCachingImage?
Regards,
Ernesto
On Mon, Sep 5, 2011 at 3:27 PM, wrote:
Hello guys,
I don't know, I'm migratin to Wicket 1.5 too.
I think PackageResourceReference and SharedResourceReference are two
different approaches, you can use one or other.
Matteo Sotil
-Mensaje original-
De: Mike Mander [mailto:wicket-m...@gmx.de]
Enviado el: lunes, 05 de septiembre de 2011
SharedResourceReference should be used with
application.getSharedResources().add(some/key, new SomeResource());
mountResources(path, ResRef) is something similar, it is new in 1.5
and is more focused into the mount path (/some/nice/url), while
SharedResources is more about the resource and its
Hi,
I'm not completely sure, but setRenderAllowed is called to check
rendering authorization, so it should be called also on invisible
components.
Wicket 1.4.18
On Mon, Sep 5, 2011 at 12:29 PM, Daniel Stochdaniel.st...@gmail.com wrote:
Hi,
Is it a valid behavior that
i think it would need class because getConverter itself needs class
gettype() resolves class from the class name afaik ..
On Mon, Sep 5, 2011 at 5:17 PM, Fabio Cechinel Veronez
fabio.vero...@gmail.com wrote:
why getFCConverter would need a Class as parameter?
I mean, FormComponent whould
Hey all,
I've just been investigating some performance problems indicated by Page
Speed. It reported that some of my resources did not send far future expiry
headers, although my default expiry and my expiry for all resources is set
to one year.
After some debugging, I found out that Wicket
Caching is improved a lot in Wicket 1.5, consider upgrading.
You can always override headers set by Wicket by introducing your own
servlet filter which wraps WicketFilter and resets the headers after
WicketFilter returns, i.e. chain.doFilter() call in your filter.
On Mon, Sep 5, 2011 at 5:42 PM,
Check
https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/wicket-html5-parent/wicket-html5/src/main/java/org/wicketstuff/html5/fileapi
and its examples. But this uses HTML5 APIs and wont work on your
favorite Internet Explorer.
On Sun, Sep 4, 2011 at 7:35 PM, Christian Huber
See how org.apache.wicket.protocol.http.RequestLoggerRequestCycleListener
does this.
On Sat, Sep 3, 2011 at 4:35 AM, b...@actrix.gen.nz wrote:
Hi,
in 1.4, I could get the last page instance with
WebRequestCycle#getResponsePage()
In 1.5, I cannot find org.apache.wicket.Page instances, only
Hi!
Looking for an on-site Wicket developer/consultant, Helsinki, Finland:
If you are interested, apply at http://www.youritprofile.com/job_ad/id/3375
**
Martin
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
Yes, you need a custom IRequestMapper. You need to set it as root
mapper (see HttpsMapper and CryptoMapper examples).
You don't need custom IPageParametersEncoder unless you encode the
parameters in a special way. The url you showed below has no
parameters at all.
On Sat, Sep 3, 2011 at 5:25 PM,
I see many * characters in your code, but there is no question.
On Fri, Sep 2, 2011 at 6:05 PM, Anna Simbirtsev asimbirt...@gmail.com wrote:
Hi, I have a modal window defined like in the following example:
*public class *Modal *extends *WebPage
{
*public *Modal()
{
*final *ModalWindow
Hi Martin,
Thanks for the fast reply! Upgrading to Wicket 1.5 is on our roadmap but is
quite a lot of work for a bigger project and we most likely won't upgrade
until the final release. As we use a Wicket application managed by
JBoss-Seam, wrapping the wicket filter is not trivial either.
Is
Because this change may confuse some apps which just work at the
moment and start behaving strangely in 1.4.19
On Mon, Sep 5, 2011 at 6:37 PM, Thomas Heigl tho...@umschalt.com wrote:
Hi Martin,
Thanks for the fast reply! Upgrading to Wicket 1.5 is on our roadmap but is
quite a lot of work for
Hi,
Yes, it should be called also on invisible components, but only when
it is any chance that these components can be rendered. If one of
theirs parents are not visible, then such component will not be
rendered.
In my scenario DataView is visible only when dataView.getItemCount()
0. But it
Thanks Martin,
the parameters are the appendixes to page name (-ti123-ki345-ii789).
So i think i have to provide and encoder.
Cheers
Per
Yes, you need a custom IRequestMapper. You need to set it as root
mapper (see HttpsMapper and CryptoMapper examples).
You don't need custom
It has some basic support for this, you can just
mountPage(ShowTheme-${foo}, ShowPage.class);
and then foo will in the PageParameters
check MountedMapper javadoc
On Mon, Sep 5, 2011 at 8:10 PM, Per Newgro per.new...@gmx.ch wrote:
Thanks Martin,
the parameters are the appendixes to page name
27 matches
Mail list logo