@leoerlandsson: Thanks a lot for the information.
@MZemeck: The solution given in the link provided by u worked for me. Thanks
a lot.
On Tue, Feb 22, 2011 at 10:10 PM, wrote:
> This is the best solution I have found...
>
> http://www.richardnichols.net/2010/03/apache-wicket-force-page-reload-to
Some things you may look at
IComponentInitalizationListener --
http://wicket.apache.org/apidocs/1.4/org/apache/wicket/application/IComponentInitializationListener.html
IComponentInstantiationListener --
http://wicket.apache.org/apidocs/1.4/org/apache/wicket/application/IComponentInstantiationList
Hi,
Thank you for the thoughts. We managed to get around this in the following
way for completness
class TestVO{
public Country selected= countryList.get(0);//I get the first item can
be
any other way
}
countryChoice = new DropDownChoice("voName.country", new
PropertyModel(new TestVO()
Hi,
Is your DAO marked with @Repository annotation?
e.g.
*@Repository("myDao")*
public class SomeDAO extends HibernateSessionDao implements IDao {
Plus in your client you need that @SpringBean,((Spring would inject it)
In my case I use a Service to get to the DAO - May not be necessary
@Sprin
I think that it happened because spring wrapped a proxy around your
bean, and then hibernate couldn`t recognize its class and which table it
should look for. I`m not sure if you can get around it, but I agree with
Igor that you should create your domain objects with new, rather than
inject the
Not a ton of detail, but I think I've had a similar problem. I had to add an
ajax on update or on change behavior to my form component in order for it to
see the input value. Not sure if that is the optimal solution. But it did
work without any noticed drawback. I'm interested in finding out what
Thanks, that does offer more flexibility, but it hasn`t solved my
problem yet. Guicier and wicket-guice both return objects with wicket,
not guice proxy when I say something like setResponse(HomePage.class).
If I inject my page object and say, for example,
setResponse(injectedPage) it works fin
you should be doing cat=new cat() anyways. i assume the "default" cat
is a singleton in your application context, in which case you do not
want it to be persisted anyways.
-igor
On Tue, Feb 22, 2011 at 1:59 PM, ookpalm wrote:
>
> Hi
>
> I have a question about wicket spring.
>
> My project is se
Hi
I have a question about wicket spring.
My project is setup with Wicket-Spring plus using Hibernate annotation. I
created a Dao object says "CatDao" and created a entity for relational
mapping with hibernate says "Cat". Both are created by using Spring
applicationContext file.
On my page say
your code figures out if they are disabled or not, so use the code to
filter your add...
-igor
On Tue, Feb 22, 2011 at 1:06 PM, eugenebalt wrote:
>
> Can anyone help with this? Thanks
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Select-All-Non-Disabled-Items
Can anyone help with this? Thanks
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Select-All-Non-Disabled-Items-in-CheckBoxMultipleChoice-tp3319897p3320046.html
Sent from the Users forum mailing list archive at Nabble.com.
yes, there are a few.:)
On Tue, 2011-02-22 at 20:32 +0100, Ladislav DANKO wrote:
> yes, a lot of ;-)
>
>
>
> > -Original Message-
> > From: danisevsky [mailto:danisev...@gmail.com]
> > Sent: Tuesday, February 22, 2011 4:52 PM
> > To: users@wicket.apache.org
> > Subject: [OT] Wicketeer
it is part of the spec that servlet container rewrites any relative
redirect urls to absolute ones. you may want to file a glassfish bug.
-igor
On Tue, Feb 22, 2011 at 10:13 AM, Pepijn de Geus wrote:
> Hi all,
>
> I'm working on a mobile website to be accessed by all kinds of devices,
> includi
Then try with custom WebResponse (see WebApplication#newWebResponse()) and
override
its org.apache.wicket.protocol.http.WebResponse.sendRedirect(String) amd use
RequestUtils#toAbsolute()
On Tue, Feb 22, 2011 at 10:03 PM, Pepijn de Geus wrote:
> I'm afraid that's not possible. My company is using
I'm afraid that's not possible. My company is using GlassFish as a standard.
It should be possible to fix this, since Wicket already suggests a solution. It
must be possible to get the RequestCycle somehow, right? :)
On 22 feb 2011, at 19:56, Martin Grigorov wrote:
> Try running your applicatio
I have a CheckBoxMultipleChoice which has some disabled checkboxes (I was
able to achieve that by overriding "isDisabled(final Object object, int
index, String selected)" on the CheckBoxMultipleChoice).
Now, I have a 'Select All' button which needs to select all *enabled*
checkboxes in that field
yes, a lot of ;-)
> -Original Message-
> From: danisevsky [mailto:danisev...@gmail.com]
> Sent: Tuesday, February 22, 2011 4:52 PM
> To: users@wicket.apache.org
> Subject: [OT] Wicketeers from Czech rep.
>
> Hi fans of Wicket!
>
> Is there somebody from Czech rep? I'm thinking about
Read in the heap dump and check what is keeping the memory. visualvm
is one such tool, or you could download a trial for yourkit.
Based on the stack trace it appears that the file you're trying to
read does not fit into memory. But that could be caused by other
objects that are kept in memory.
Ma
Hi,
We using tomcat 6.0.26 on linux and Sun JDK 1.6.0_05, Db - oralce 11g QA
environment getting below error
Caused by: java.lang.OutOfMemoryError
at sun.misc.Unsafe.allocateMemory(Native Method)
at java.nio.DirectByteBuffer.(DirectByteBuffer.java:99)
at java.nio.ByteB
Try running your application in different web container. I remember some
version of Tomcat to had that problem.
Per JEE spec it is container's responsibility to make the redirect url
absolute.
On Tue, Feb 22, 2011 at 8:13 PM, Pepijn de Geus wrote:
> Hi all,
>
> I'm working on a mobile website to
Hi all,
I'm working on a mobile website to be accessed by all kinds of devices,
including the Nokia N95.
While testing we found out certain links were not working on the N95, while
other devices and desktop browsers worked fine. I started a tcpdump and
narrowed the problem to a redirect Wicket
You can rerefresh the whole form :
yourForm.setOutputMarkupId(true);
...
target.addComponent(yourForm)
To highlight the error field (with a red star), I usually use a
FormComponentFeedbackIndicator like that :
RequiredTextField yourTextField = new
RequiredTextField("name");
yourForm.add(yourTe
This is the best solution I have found...
http://www.richardnichols.net/2010/03/apache-wicket-force-page-reload-to-fix-ajax-back/
Note that when refreshing the page it will return to its default state
(first tab selected). I have been meaning to test with
HybridUrlCodingStrategy to see if the p
Hi,
I've written a TextField component that starts (by subclassing)
from TextField and when the component is not valid it adds a custom css
and it appends the error description near the field.
The goal was to create a replacement for TextField leaving the html as
it was before the subclasse
Hi fans of Wicket!
Is there somebody from Czech rep? I'm thinking about organizing an event.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Gabriel, I got that part to work. But I also need to update the "red border"
around the problem fields.
This was working automatically before with the validators firing on
onSubmit(), and it's broken now. Now, I need to manually highlight the error
fields. Any ideas how to do that?
I can do tar
I want to build a DynamicImageResource which can scale internal (packaged)
images (with name : {index}.gif ) .
In getImageData() , I try to load a truly existing image , but cannot
getResource() , it returns null !
Here is my code :
public class ScaledImageResource extends DynamicImageResource
{
Hi Hans, this is working!!
Thanks you very much.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-access-component-values-within-a-dynamic-table-tp3310939p3319092.html
Sent from the Users forum mailing list archive at Nabble.com.
---
Hi,
We've seen this problem aswell (unfortunately, I have no solution for
you...).
The problem is probably that Wicket does not yet have Ajax Back Button
Support. When an Ajax call is made, the URL is not changed, so the Browser
cannot know that something (i.e State on server) has changed.
When
Not tested, but this is the way it should work (more or less...)
public class MyBean {
String question;
String answer;
// plus Getters and Setters...
}
public class Test extends WebPage {
public Test() {
add( new TestForm( "TestForm" ) );
}
@SuppressWarnings("serial")
public
Hi,
haven't got any reply, added some more details.
6) Now click on 2nd tab, then only a refresh of page happens and the clicked
tab is not shown.
On Mon, Feb 21, 2011 at 2:42 PM, Tejash Tarun wrote:
> Hi,
>
> I have this scenario:
> 1) AjaxTabbePanel has three tabs.
> 2) Go to 2nd tab
> 3) C
A shot in the dark.
Is the behavior required at the select? Or is the option getting the
onchange event?
Cheers
Mike
I'm using the select component due to realizing a dynamic optgroup and option
list.
It works rather fine but my problem is to get the selected value.
I tried to use an ajax beh
I'm using the select component due to realizing a dynamic optgroup and option
list.
It works rather fine but my problem is to get the selected value.
I tried to use an ajax behavior (AjaxComponentUpdatingBehavior,
OnChangeBehavior) but the onUpdate methode is never called --> doesn't work!
Maybe
Sorry, but I just don't get this :(
I'm totally missing the forest through the trees...so I tried to reduce the
example to the very minimum. Maybe someone can provide me an idea how to
deal with my issue?!
This is the scenario:
I have a form with two rows. Within each row there is one label and
Thanks a lot! Works like a charm and ashames me
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Text-after-input-field-tp3317381p3318801.html
Sent from the Users forum mailing list archive at Nabble.com.
---
35 matches
Mail list logo