Hi,
i am trying to implement a simple authentization.
I've basically copied what's in the auth example #2 in wicket examples,
and have a Logout button:
add( new Link(logoutLink) {
@Override public void onClick() {
sess.invalidateNow();
Hi,
See
https://cwiki.apache.org/confluence/display/WICKET/RequestCycle+in+Wicket+1.5
On Thu, Sep 27, 2012 at 4:13 AM, Ondrej Zizka ozi...@redhat.com wrote:
Aah, just found in the referenced wiki:
Hi,
On Wed, Sep 26, 2012 at 11:39 PM, Anton Bessonov exe...@googlemail.com wrote:
Hello Wicketeers,
now same example for Wicket 6 and Jetty 8:
https://github.com/Bessonov/wicket-6-example
Best regards,
Anton
On 08/12/2012 08:53 PM, Anton Bessonov wrote:
Hello wicketeers,
I've
Make the TabbedPanel stateless by using BookmarkablePageLink.
P.S. Please start a new thread when you have new questions.
On Wed, Sep 26, 2012 at 10:56 PM, Alec Swan alecs...@gmail.com wrote:
Thanks, that worked as advertised. Now I am wondering if it's possible
to get this to work when the
Hi,
Something else breaks the behavior.
Create a quickstart app and you will see that AjaxEditableLabel works
fine in Production mode.
On Wed, Sep 26, 2012 at 6:58 PM, Corbin, James jcor...@iqnavigator.com wrote:
Hi Martin,
Thanks for the feedback. What is a bit confusing to me is how the
Which, when clicked, is performed, but in the second request, the User
object, which set to null in my overriden signOut(), is back in my
when are you exactly calling signOut? cant be deduced from your
snippet and comment. Session.invalidateNow won't remove your custom
session properties by
Hi,
You need to use Session#invalidate() actually.
#invalidate() schedules a call to #invalidateNow() at the end of the
request cycle.
By using #invalidateNow() you invalidate the current http session and
right after this your app creates a new Session because it needs to
finish the request
Hi,
class MyComponent extends SomeAjaxComponent {
@Override
protected void updateAjaxAttributes(attrs) {
super.updateAjaxAttributes(attrs);
attrs.getAjaxCallListeners().add(getListener());
}
protected abstract IAjaxCallListener getListener();
}
On Thu, Sep 27, 2012 at
Hi,
I have a component that I use to do my own feedback an stuff.
This component contains a LabeledWebMarkupContainer, which is passed inside
the constructor.
This LabeledWebMarkupContainer can be a TextField, DropDownChoice, Radio,
...
The constructor is like this:
public
You don't need to have access to AjaxRequestAttributes all the time.
Just keep the reference to the listener and later add it in
#updateAjaxAttaributes().
On Thu, Sep 27, 2012 at 10:50 AM, Marieke Vandamme
marieke.vanda...@tvh.be wrote:
Hi,
I have a component that I use to do my own feedback
Sorry, I don't get it...
When I don't want to change all the constructors of my components,
how can I use the function updateAjaxAttributes on an already existing
component ?
I thought this function is only overriddable when you are constructing the
component.
So when you want to add the same
In wicket 1.5 I could do:
this.visitChildren(new IVisitorComponent, Void() {
public void component(Component component, IVisitVoid visit) {
component.add(new AjaxEventBehavior());
}
}
--
View this message in context:
On Thu, Sep 27, 2012 at 11:05 AM, Marieke Vandamme
marieke.vanda...@tvh.be wrote:
In wicket 1.5 I could do:
this.visitChildren(new IVisitorComponent, Void() {
public void component(Component component, IVisitVoid visit) {
component.add(new AjaxEventBehavior());
I just tried to upgrade from beta3 to wicket 6 and one of my main pages blows
up with a vengeance.
It's the typical error indicating that something is in the code but now the
markup and it lists out almost every field!
You guys have any idea what might cause this?
Works fine under beta3...
Please show us some code or create a Quickstart that demonstrates the problem,
else it will be very hard to help you.
On 27.09.2012, at 14:23, Douglas Ferguson the...@gmail.com wrote:
I just tried to upgrade from beta3 to wicket 6 and one of my main pages blows
up with a vengeance.
It's
Ahijah wrote
Martin Grigorov-4 wrote
On Thu, Apr 12, 2012 at 7:38 AM, Ahijah lt;
darren.greer@
gt; wrote:
mountResource(/Feed2, new MyResourceReference());
class MyResourceReference extends ResourceReference {
public IResource getResource() { return new MyResource(); }
}
Thanks
That may take some time, there are some layers..
I just was curious if there are any known issues from beta3 to the stable
release.
Douglas
On Sep 27, 2012, at 7:36 AM, Thomas Götz t...@decoded.de wrote:
Please show us some code or create a Quickstart that demonstrates the
problem, else it
Hi there guys,
I have several inheriting pages within my application in the following
style:
BasePage:
SomePage (inherits BasePage):
I'm struggling to combine these titles (Application + Site), so that in the
result the title of SomePage would be titleSite :: Application/title.
The
Hi,
I'd recommend you to use .java (e.g. a Label) to set the title instead
of wicket:head.
On Thu, Sep 27, 2012 at 3:57 PM, rza r...@adclear.net wrote:
Hi there guys,
I have several inheriting pages within my application in the following
style:
BasePage:
SomePage (inherits BasePage):
IAuthorizationStrategy is not used for IResource at the moment.
You need to roll something yours for this check.
On Thu, Sep 27, 2012 at 3:37 PM, oggie gog...@gmail.com wrote:
Ahijah wrote
Martin Grigorov-4 wrote
On Thu, Apr 12, 2012 at 7:38 AM, Ahijah lt;
darren.greer@
gt; wrote:
Any suggestions on how I might roll my own? I tried a few things like
injecting the Feed class and annotating it, but I suspect it's too late at
that point.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-Generic-JSON-Response-tp4550807p4652442.html
Sent
There is no code in Wicket that will check for this annotation in
non-Component classes.
On Thu, Sep 27, 2012 at 4:17 PM, oggie gog...@gmail.com wrote:
Any suggestions on how I might roll my own? I tried a few things like
injecting the Feed class and annotating it, but I suspect it's too late
WebSession#authenticate() disappeared after 6.0.0-beta3. Affected me...
Cheers,
Jesse
On 27/09/2012 14:41, Douglas Ferguson wrote:
That may take some time, there are some layers..
I just was curious if there are any known issues from beta3 to the stable
release.
Douglas
On Sep 27, 2012, at
Solved.
I was writing an original reply, using I think I have something
conceptually wrong, when it hit my mind:
One of the components (the login/logout box) has this:
final EsscAuthSession sess = (EsscAuthSession)getSession();
and the onClick() was like
add( new
Sorry, but this is not an option. I need to have the title in my markup.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Modify-markup-of-inherited-page-merge-title-tags-tp4652439p4652449.html
Sent from the Users forum mailing list archive at Nabble.com.
Thanks.. I'll check it out. I don't think that would cause these problems. :)
It's as if the wicket can't see any of the wicket:ids..
Did anything change with regards to enclosures? Or child extend?
Douglas
On Sep 27, 2012, at 9:24 AM, Jesse Long j...@unknown.za.net wrote:
Thanks, works great.
I just needed to convert IRequestParameters to PageParameters in
RequestHandler#onException() in order to remember the tab selection
made by the user throughout login. Is there a convenience method
somewhere in wicket to convert between IRequestParameters and
PageParameters?
Hello Martin,
I removed it from dependency, thank you!
Best regards,
Anton
On 09/27/2012 09:15 AM, Martin Grigorov wrote:
wicket-spring-annot.version1.3.7/wicket-spring-annot.version
^^ This is not really needed.
--
Oracle Certified Expert, Enterprise JavaBeans Developer
Oracle Certified
Hi,
What is WebAppResourceStreamLocator ?
It is not part of Wicket.
You just need to point to a folder with the .html files.
In Wicket 6: getResourceSettings().getResourceFinders().add(new
Path(new Folder(src/main/webapp)))
On Thu, Sep 27, 2012 at 10:22 PM, rdev devstuff2...@gmail.com wrote:
My customer needs to have an overview of some data through a calendar; each
calendar cell would contain data for a specific day; the cells would be
clickable so that the user could be redirected to another screen with more
information pertaining to the selected day of the month.
Any idea as to
Hi all,
I have a form that allows users to add an arbitrary number of fields, for
example keywords for an item where there could be multiple.
Up until now I have been processing my form where the fields are known and map
directly to a model. However I'm unsure as to how this mapping works, for
31 matches
Mail list logo