Since I replied to that post, I've read in other threads about the notion of
using a Memcache based PageStore on GAE.
This may eliminate some of the issues I had with GAE/Wicket. I haven't had a
chance to experiment since.
Maybe someone else could comment if they've got production sites running
Hi
Thanks for the pointer. I did read through models and
LoadableDetachableModel. Not sure if this model addresses the problem at
hand. Isn't LDM related to performance and resoles
Serialization issues? In the same note I came across Chaining of models. or
Nesting of Models...can you/someone give
Does WicketTester emulate the browser back button? E.g.
tester.submitForm(myform);
tester.goBack();
tester.submitForm(myform);
// assert correct solution of double submit problem
The Javadoc comment for WicketTester.NonPageCachingDummyWebApplication mentions
the back button and
Help me understand this, An AjaxBased components send update events as
they change!
That means except for SAVE having to save the data in one ajax request you
dont need the other fields being AJAX based. See onAfterRender() this is
able to give you the updated value as it happens:
public
Igor Vaynberg schrieb:
no reason that i can see, file a jira. cant be fixed in 1.4 though.
WICKET-2947. yes, would be a breaking change.
thanks.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
Your form can edit two different objects. It will edit whatever you bind
your fields to
On Jul 16, 2010 4:23 AM, Nivedan Nadaraj shravann...@gmail.com wrote:
Hi
Thanks for the pointer. I did read through models and
LoadableDetachableModel. Not sure if this model addresses the problem at
Thanks. How do i let the form know that it has one or more models? In the
above I invoke the
super(id, new CompoundPropertyModelStudy(study)); So this wraps the model
as study. How will be able to add the second model in the same manner?
If it sounds too basic do bear with me I will experiment as
Either create a model object that contains your study and foo objects, or
hold an IModelfoo as a private variable. Remember it's just regular java,
so you can use member variables. Just don't forget to detach any model you
hold as a variable manually.
Jeremy Thomerson
-- sent from my smartphone -
Hi All,
I've recently started using Wicket to create some Portlets for WebSphere
Portal. The basic examples work great, however I've hit a small problem when
trying to switch portlet modes. How do I link the portlet mode with a given
page? Right now all the standard modes (VIEW, EDIT, HELP) all
Hi Jeremy,
Nice I follow you now. I can have a container java class and have any number
of member variables which in turn can be a hibernate entity and a regular
java bean. The container java class will be the model. And on detach; i
would have to have the container java class extend IModel and
Hi Nivedan, Jeremy write IModelfoo as a private variable and James
Your form can edit two different objects. It will edit whatever you bind
your fields to
If you have an form with some fields for some bean, and other fields for
other beans, you can do something like:
class panel {
private
Hi list,
I'm new to wicket. I've some problem with a Formteser.submitLink that should
sumbit a form throught a link that stay outside the form. I've played with
the wicket provided test case
org.apache.wicket.markup.html.link.submitLink.FormPage and FormPageTest.
in the FormPage I've changed the
You could put your components for editing the two different objects
onto two different panels, which each have a CPM inside your form.
On Fri, Jul 16, 2010 at 7:29 AM, Nivedan Nadaraj shravann...@gmail.com wrote:
Thanks. How do i let the form know that it has one or more models? In the
above I
HI Pedro
Thanks for taking the time. I really appreaciate this community and love it.
What Jeremy mentioned provided the solution where in the we let wicket use
the hierarchy to use the model class that contains other beans and
introspect the property expression and set/get values. That way the
James
Thanks mate. I have couple of options i guess that is what pedro meant as
well. I guess Jeremy's solution is what i was looking for. in that the form
instance will have a CPM that refers a container bean that has members.
The solution u provided also is the identical but the members are in
Hmm do you end up with an exception or?
2010/7/15 Martin Makundi martin.maku...@koodaripalvelut.com
Hi!
I would like to avoid this error, to prevent the render alltogether.
How can I do that?
2010-07-15 17:15:52,117 75919560 [24056...@qtp-13963314-568] ERROR
RequestCycle - Component
no, it does not. its a testing tool for simple cases.
-igor
On Fri, Jul 16, 2010 at 1:38 AM, Harald Wellmann
harald.wellm...@multi-m.de wrote:
Does WicketTester emulate the browser back button? E.g.
tester.submitForm(myform);
tester.goBack();
tester.submitForm(myform);
// assert
I get this exception.. I don't want it ;] I want wicket to serve
onunauthorizedaccess page.
**
Martin
2010/7/16 nino martinez wael nino.martinez.w...@gmail.com:
Hmm do you end up with an exception or?
2010/7/15 Martin Makundi martin.maku...@koodaripalvelut.com
Hi!
I would like to avoid
I would have thought that wicket auth would pick it up and intercept the
request in the request cycle and redirect.. Aparrently the last
bit(redirecting) are missing.. You should be able to implement this
yourself.. I know this is vague. I'd start by looking in the source of
wicket auth..
regards
Do you have an idea where the leak occurs so I can prevent this?
**
Martin
2010/7/16 nino martinez wael nino.martinez.w...@gmail.com:
I would have thought that wicket auth would pick it up and intercept the
request in the request cycle and redirect.. Aparrently the last
bit(redirecting) are
Hi Martin, the AuthorizationException handle mechanism that redirect
response to the AccessDeniedPage is implemented at
AbstractRequestCycleProcessor response method.
You can set the onunauthorizedaccess page at the accessDeniedPage property
on the ApplicationSettings.
I don't understand what do
Hi!
This is what I have:
/**
* @see
org.apache.wicket.RequestCycle#onRuntimeException(org.apache.wicket.Page,
java.lang.RuntimeException)
*/
@Override
public Page onRuntimeException(Page page, RuntimeException e) {
if ((e instanceof PageExpiredException)
22 matches
Mail list logo