Check this thread for securedform
http://apache-wicket.1842946.n4.nabble.com/SSL-Links-and-buttons-td3001634.html
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Cross-page-login-panel-tp3008005p3008222.html
Sent from the Users forum mailing list archive at
Done.
r1026573
On Fri, Oct 22, 2010 at 11:56 PM, Vytautas turi...@gmail.com wrote:
It would be great to have the same with
org.apache.wicket.authorization.UnauthorizedInstantiationException, which
currently uses Component:
public T extends Component UnauthorizedInstantiationException(final
Nope, still same error:
org.apache.wicket.RequestCycle logRuntimeException: no get method
defined for class: class com.myproject.economy.Building$1 expression:
house_cost
org.apache.wicket.WicketRuntimeException: no get method defined for
class: class com.myproject.economy.Building$1 expression:
Hi,
I'm new to Wicket and I'm trying to get the feel of it. So I tried a small
webapp, using a AjaxEditableMultiLineLabel, which so far worked perfectly.
However, if I want it not to escape the html-tags - which is generally a bad
idea, I know - I use 'setEscapeModelStrings(false)'. For some
This is not exactly what I'm looking for.
Basically what I need at the moment is to somehow force Form after visiting
the url of mounted login page with form's data as PageParameters. Is this
possible?
thanks a lot,
Martin
--
View this message in context:
I just wanted to say that finally I resolved the problem.
What I have done is that I changed Form to StatelessForm. In this form when
it is included on some (HTTP/HTTPS) page I change the action URL to login
page passed in constructor as a parameter. This was however bit tricky
because I didn't
The PropertyModel is having problems with house_cost.
What is this in your example? Is house_cost a member variable of
your this?
Sven
On 10/23/2010 11:35 AM, Zeldor wrote:
Nope, still same error:
org.apache.wicket.RequestCycle logRuntimeException: no get method
defined for class: class
Just caught the error (I think).
It looks like you have this:
class Building extends WebPage {
private house_cost = foo;
Building() {
add(new Form(bar) {
// are you doing it somewhere in here? If so, this is the form, not
the page.
}
}
}
On Sat, Oct 23, 2010 at 7:12 AM,
Ha! Good suggestion, I should have looked at this earlier. I guess I need
better understanding of how things work. this in my situation referred
just to a form, so it could not find the data required. When I cloned the
ArrayList again in the Form, it works. But that's not exactly good thing to
The PropertyModel takes a root object on which it will evaluate the
expression. So, you have to make sure the property is traversable
from the root object. Most likely, you'd be better off using a
ListView for your situation if you're trying to show all the items in
the list.
On Sat, Oct 23,
It's a table with lots of data to display, with a mixture of plain text,
data from session and from arrays, so it'd be rather hard to solve it with
ListView.
So my only problem is how to point the Label to data that is outside Form.
On Sat, Oct 23, 2010 at 5:03 PM, James Carman [via Apache
You'd be surprised what you can do with a table.
On Sat, Oct 23, 2010 at 11:09 AM, Zeldor pgronkiew...@gmail.com wrote:
It's a table with lots of data to display, with a mixture of plain text,
data from session and from arrays, so it'd be rather hard to solve it with
ListView.
So my only
Any good examples? :) It'd be certainly better to have some repeaters
instead of so many single Label declarations.
On Sat, Oct 23, 2010 at 5:32 PM, James Carman [via Apache Wicket]
ml-node+3008524-1615548235-152...@n4.nabble.comml-node%2b3008524-1615548235-152...@n4.nabble.com
wrote:
You'd
Well, I'd start with a ListView if you really think it's that
difficult. It should be easy to do, though. You'd just take one
set of those labels and put it inside the populateItem() method. If
you want headers, sorting, etc., then you might want to upgrade to a
DefaultDataTable (or its
Here's an example of setting up an AjaxFallbackDefaultDataTable:
http://svn.carmanconsulting.com/public/wicket-advanced/trunk/src/main/java/com/carmanconsulting/wicket/advanced/web/story3/page/Home.java
It's simple, but it gives you the idea. You'll probably need to
figure out how to do your
Hi again :)
well, after trunk update it seems that there some places should be updated,
which are related to
IAuthorizationStrategy.boolean isActionAuthorized(Component component, Action
action);
to
boolean isActionAuthorized(IRequestableComponent component, Action action);
(also related
Are you sure that you use latest trunk ?
First I changed .IAuthorizationStrategy.isActionAuthorized() to receive
IRequestableComponent, but then I reverted it to Component again.
org.apache.wicket.Component.isActionAuthorized(Component.java:2182) passes
this, i.e. Component and it should be OK.
My fault, my apologies ;)
On 10/23/2010 07:25 PM, Martin Grigorov wrote:
Are you sure that you use latest trunk ?
--
Regards,
Vytautas
---
phone:+370-600-34389
www.xaloon.org
www.allcarindex.com
Right, I am certainly going to upgrade my app to use as much Ajax as
possible, to make it more efficient :)
I am still curious what I should use isntead of this to display data not
in Form.
On Sat, Oct 23, 2010 at 6:19 PM, James Carman [via Apache Wicket]
If you use a table, the this is the object that represents each row. In
my case, it was a Student object
On Oct 23, 2010 2:23 PM, Zeldor pgronkiew...@gmail.com wrote:
Right, I am certainly going to upgrade my app to use as much Ajax as
possible, to make it more efficient :)
I am still
Ok, I've nearly got this finished.
Does anybody know how to add a link in populateItem() that doesn't render as
[cell]? I could create a customised Panel I suppose but it seems like
overkill.
Maybe a fragment...hmmm
On Fri, Oct 22, 2010 at 11:56 AM, Mark Doyle
Use a fragment. Search this list for my FragmentColumn. I think I've
posted it before
On Oct 23, 2010 4:04 PM, Mark Doyle markjohndo...@googlemail.com wrote:
Ok, I've nearly got this finished.
Does anybody know how to add a link in populateItem() that doesn't render
as
[cell]? I could create
So, any suggestion here?
Best regards, Alexander.
Hello,
I've implemented something like this but using a TabbedPanel and not
AjaxTabbedPanel. The issue with AjaxTabbedPane is that the url is
always the same while you're navigating through the tabs.
I'll tell you what I've done: I subclassed TabbedPanel and I overrode:
protected
24 matches
Mail list logo