How about something like the following. It's not pretty but it works in
Wicket 1.5 and my submitted form ends up being
.../target-page?input1=value1input2=value2... with no redirects.
HTML:
form method=get wicket:id=form
... inputs here ...
yes i have debugged it, all the other code inside the onSubmit of button is
executed perfectly fine.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/resetting-form-components-tp3640382p3641578.html
Sent from the Users forum mailing list archive at Nabble.com.
If you can attach a zip of the project someone can take a quick look. Or maybe
provide your pom.xml and the stacktrace as a starting point?
-Loc
On Sat, Jul 2, 2011 at 10:09 PM, Niranjan Rao nhr...@gmail.com
(mailto:nhr...@gmail.com) wrote:
Hi,
I am a new user of wicket and new member
Adam,
thanks for pointing me this, after reading doc and few examles it works for
me. I have found this source:
https://svn.apache.org/repos/test/wicket/releases/wicket-1.2.1/wicket-exampl
es/src/java/wicket/examples/captcha/JCaptcha.java
where is nice example of using DynamicImageResource
Miro
yes the button im using is ajaxButton, could you pls expalin a bit what do u
mean by adding form to ajaxrequesttarget.
thanks
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/resetting-form-components-tp3640382p3641614.html
Sent from the Users forum mailing list
thanks i tried it but it still works only 1st time.
i debugged it and im able to see that the blank panel is replaced by the
correct panel but still when it displays the dialog box it shows the
blankPanel.
--
View this message in context:
add form to ajaxrequesttarget in onsubmit so that form and its
formcomponents are rendered again
On Sun, Jul 3, 2011 at 1:16 PM, ruchi ruchi0...@gmail.com wrote:
yes the button im using is ajaxButton, could you pls expalin a bit what do u
mean by adding form to ajaxrequesttarget.
thanks
--
Folks,
another problem of my testing app - I have this error in tomcat console
(looks like app is stil working):
...
9094 [http-80-1] ERROR org.apache.wicket.util.lang.Objects - Error
serializing object class com.mypackage.Index [object=[Page class =
com.mypackage.Index, id = 2, version = 0]]
i did this target.addComponent(createTemplateForm);
but still its not clearing.
i actually have one page which has one panel(manageAATemplatePanel), this
panel has one ajaxLink and one dailog(createDialog). On click of link this
dialog box opens which contains one panel(createAATemplatePanel).
why not call this code in onBeforeRender?? as I read Component code
onConfigure is called once per request and so is onBeforeRender and javadoc
states that
NOTE: Component hierarchy should not be modified inside this method
(onConfigure), instead it should be done in {@link #onBeforeRender()}
You have JDBC Connection reference within Index page implementation. Check
LoadableDetachableModel and never store Connection and other JDBC stuff
within wicket components.
-
--
http://www.linkedin.com/in/amorozov
--
View this message in context:
Without a stacktrace or more details about your setup, I can only
guess... Most likely it's not a Wicket problem.
I'd say your applicationContext.xml is in the wrong place where Maven
can't see it, and Eclipse just happens to see it because m2eclipse
cannot map Maven classpaths 1:1 to
Attila, thank you for your information.
On 7/3/11 1:37 AM, Attila Király wrote:
Hi Duy,
Generics were added only to the 1.5 branch of inmethod-grid. There is no
plan to backport this to the 1.4 branch.
Attila
2011/7/2 Duy Dodoquoc...@gmail.com
Hi wicketers,
I found inmethod-gric generics
Hi,
On Sun, Jul 3, 2011 at 12:35 AM, Bertrand Guay-Paquet
ber...@step.polymtl.ca wrote:
Thanks for your answer Harald. I had taken a look at that bug as well, but
this is not my case. I don't even have to access a web page to see the
initialization problem.
Filter.init() is called at deploy
Can you check http://wicketstuff.org/wicket/ajax/lazy-loading ?
This is Wicket 1.5-RC5.1 and it works for me with IE8.
Wicket 1.4.17 at http://wicketstuff.org/wicket14/ajax/lazy-loading
On Sat, Jul 2, 2011 at 5:16 PM, Kurt Sys kurt@gmail.com wrote:
Hey all,
In IE, I can't get
Hi Martin,
I wanted to make my message shorter, but I should have posted the whole
thing to avoid the confusion. You are right that a set is returned and
not a list of course. However, here is what is actually returned by the
method:
Hello list,
I am trying to download wicketstuff-merged-resources-3.0.jar, which until
recently was available in the wicketstuff.org maven repository here:
http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-merged-resources/3.0/wicketstuff-merged-resources-3.0.jar
Is this a
The lazy loading example seems to work fine (I tried Wicket 1.4.17, the one
I'm using too).
For some reason 'precondition()' returns false in IE when called from my
app. The code loading the panels is really straight forward. I can't think
of any reason (for now) why the precondition returns
Since wicketstuff releases are published to central there is not much need
for that custom repo. Imho that is the reason why it is not maintained
anymore.
That particular project however seems not to be part of wicketstuff it was
just using its groupid. I found a newer alpha version of it in
Hi,
This behavior explains the problem.
Since when you face this problem ? I remember tickets from you since
at least Wicket 1.5-RC1. Did you upgrade to newer version of Glassfish
or did you introduce .ear/lib recently ?
On Sun, Jul 3, 2011 at 6:47 PM, Bertrand Guay-Paquet
ber...@step.polymtl.ca
yep. thats probably the cause. to elaborate a little more: eclipse
does not separate between a test class path and normal class path,
while maven does.
-igor
On Sun, Jul 3, 2011 at 3:01 AM, Harald Wellmann harald.wellm...@gmx.de wrote:
Without a stacktrace or more details about your setup, I
Hi,
you should not recreate the whole ManageAATemplatePanel each time you
submit your form.
In this way in addition to waste memory and cpu time, you are not able
to update your form and components via AJAX because you replace them
with new instances.
So adding your form to ajaxrequesttarget
Hi,
I have very recently transitioned from Embedded Jetty (single WAR) to
Java EE 6 and EAR-based deployment (Glassfish v3.1). I started being
able to see actual Wicket pages with EJB beans late last week and I only
tried deploying my application on Glassfish.
Since this is a new project,
I created an issue with Glassfish:
http://java.net/jira/browse/GLASSFISH-16942
Here is a workaround I use in the meantime :
public class CustomClassResolver implements IClassResolver {
private DefaultClassResolver classResolver = new
DefaultClassResolver();
@Override
public Class?
Alexander,
it (of course..) works, thanks for pointing me right direction.
Miro
-Original Message-
From: Alexander Morozov [mailto:alexander.v.moro...@gmail.com]
Sent: Sunday, 03. July 2011 11:27
To: users@wicket.apache.org
Subject: Re: error - serialization
You have JDBC
Still problem with no suitable driver found
Does someone has experience with this and solved it?
Miro
-Original Message-
From: Miroslav F. [mailto:mir...@seznam.cz]
Sent: Sunday, 03. July 2011 10:14
To: users@wicket.apache.org
Subject: error - serialization
Folks,
another
That means you don't have the appropriate driver jar in your classpath.
You need the PostgreSQL driver jar, put it on your classpath, and
initialize it.
Carl-Eric
www.wicketbuch.de
On Sun, 3 Jul 2011 23:08:40 +0200
Miroslav F. mir...@seznam.cz wrote:
Still problem with no suitable driver found
Sorry for the delay in the response folks and thanks for the help.
My gut feeling is also same - differences of classpaths. That's why I
actually added println statements in the code to see what classpath code
is seeing.
I am working on isolated test case that I can send to this DL. Should be
Using java.net.URL in Set-s and Map-s is a no-no. Wicket should use
java.net.URI instead. See [1] for an example.
Attila
[1] More Joy of Sets example with URL from Google Tech Talks:
http://www.youtube.com/watch?v=wDN_EYUvUq0#t=9m58s
2011/7/3 Bertrand Guay-Paquet ber...@step.polymtl.ca
When
29 matches
Mail list logo