I tried this with the example and I got the JS errors when I used the X to
close the window. When using the Show modal dialog with a page and then a
close link that returns a response, the window closed fine.
On Wed, Oct 31, 2012 at 3:22 PM, Jack Berg erki.pub...@gmail.com wrote:
Hi,
I'm
Mike may have been referring to the usage of this when he was
talking about the constructor. I create drop downs in constructors
with no issue, I have not however used a this with a property model.
Wild guess: possibly java is in the process of constructing the
object, but DropDownChoice cannot
In Eclipse I use the m2eclipse plugin. It works pretty good and I
rarely use the command line. To start a Wicket project, I create a
Maven project which is part of the m2eclipse plug in. I then bring in
the org.apache.wicket quickstart archetype. This creates a web
project. I then modify the
I have never used that option when developing with Tomcat and the
m2eclipse plugin. I have my development Tomcat loaded on the same
machine as Eclipse, so the dynamic updates to Tomcat just happen when
I change a class. You see this down in the Servers tab. It will say
[Started, Synchronized] or
Hmmm. I would try a clean install of Eclipse (I am using 3.6.0) , the
m2eclipse plugin that goes with that version and a fresh workspace.
Create a Maven Project and then select a wicket archetype or the maven
web archetype. I have used both archetypes and they should create
web projects upon
cast Long to
Integer
D/
On Jul 22, 2010, at 5:01 PM, Josh Glassman wrote:
There is also a constructor that will take a Class type as a parameter.
On Thu, Jul 22, 2010 at 3:11 PM, T Ames tamesw...@gmail.com wrote:
I think you have to use the setType(Integer.class) method
If I take out the setType method, still no cast error, but the Integer
checking is not done - feedback panel does not receive an error.
On Mon, Jul 26, 2010 at 9:23 AM, T Ames tamesw...@gmail.com wrote:
I just whipped up a test, this is working - at least on 1.4.1
FormVoid form = new
I think you have to use the setType(Integer.class) method on the TextField
object.
setType
public final FormComponent
file:///C:/Downloads/Java/wicket/apache-wicket-1.4.1/apidocs/org/apache/wicket/markup/html/form/FormComponent.htmlT
Sadly in the corporate world these things move very, very slowly. We have
vendor apps that require IE6 so we are at their mercy.
Anyways, we use IE6 and DatePicker is working although I don't think I have
tried in on a ModalWindow.
On Thu, Apr 8, 2010 at 10:23 AM, Martijn Dashorst
and
closed the modal.
On Thu, Apr 8, 2010 at 11:06 AM, Martin Asenov mase...@velti.com wrote:
Hi, T Ames!
The datepicker is not in a modal window, but in a page. I was saying that
when a modal window is closed, the mask it creates is never removed. Anyway,
we'll probably not support IE6
Best
on the AJAX response.
On Mon, Feb 22, 2010 at 11:59 AM, T Ames tamesw...@gmail.com wrote:
A while ago I sent a message ( at bottom) and received no responses. In
that message I had thought that AJAX was not working, but I was mistaken. In
the Ajax Debug screen, Wicket is responding back
renders what you tell it to. the filtering of duplicates happens on
the client side where js knows whats is there and what is not.
-igor
On Fri, Mar 26, 2010 at 5:53 AM, T Ames tamesw...@gmail.com wrote:
H... No responses. Maybe I can attack this little by little.
When an AJAX response
As an alternative, I place all my properties in an LDAP server. In the
Application, I have a class that retrieves the properties.
On Sun, Mar 7, 2010 at 8:33 PM, James Carman ja...@carmanconsulting.comwrote:
And if you want live redeployment, you could use jrebel and their spring
plugin. I
Here was my response to your original post:
Serialization gets tricky. You must be very careful about all of the class
level fields/objects you use. They must all be serializable and each object
that those objects use or refer to must be serializable. Instead of using
class level fields, wherever
Serialization gets tricky. You must be very careful about all of the class
level fields/objects you use. They must all be serializable and each object
that those objects use or refer to must be serializable. Instead of using
class level fields, wherever possible, pass objects around as parameters
A while ago I sent a message ( at bottom) and received no responses. In that
message I had thought that AJAX was not working, but I was mistaken. In the
Ajax Debug screen, Wicket is responding back with a stream.
Here is one of the issues that I found.
I get this error.
ERROR:
Hmmm. I have never put actual wicket Link objects as members of a List, so
it looks a little confusing. Anyway, you have not added the Link itself.
What you did was in effect override the a tag and made it a Label. The
wicket Link object itself does not have a getAddress() method. The
onClick()
oops, sorry, your html should look like this:
div wicket:id=list
a href=# wicket:id=linkspan wicket:id=linkLabellink
span/a
/div
On Wed, Dec 16, 2009 at 9:59 AM, T Ames tamesw...@gmail.com wrote:
Hmmm. I have never put actual wicket Link objects as members of a List, so
it looks
Would gridview also handle a vertical column approach rather than
horizontal? For example each model item would be a checkbox and
description. I want two columns of this set on each physical row. Layed out
like a dictionary or phonebook.
The x below is a checkbox with a description next to it.
We are actually doing this with the POST as suggested below. Our intranet
portal is in JSP, and passes info from the portal to individual Wicket apps
in this manner.
For me, these POST parameters appeared in the Request.getParameterMap()
On Thu, Nov 12, 2009 at 11:55 AM, Frank Silbermann
I am using simple AuthenticatedWebApplication and AuthenticatedWebSession
which through that you can assign roles. There are examples in
wicket-examples.
I wrote my own classes to verify credentials using javax.naming against AD.
Although I don't use roles much, you could assign a role based on
I use a product called JPersist - no XML, just POJOs. Has built in pooling.
I instantiate the DatabaseManager in the web application and use a getter.
http://www.jpersist.org
It has a list of tested databases, but I use Microsoft SQL. Haven't had too
many issues with it.
On Tue, Oct 6,
Your question should be Is it possible to?
I have not found a way. I have gotten used to it.
On Mon, Oct 5, 2009 at 8:48 AM, David Chang david_q_zh...@yahoo.com wrote:
Does anybody know the trick for this task? Thanks!
--- On Sun, 10/4/09, David Chang david_q_zh...@yahoo.com wrote:
I see several undefined objects:
result
requestFormModel
it
If these are defined at the class level, they must be serializable.
If you have Logging set at Info, Wicket will give you the actual field that
is not serializable, although from the error it looks like something to do
with
) {
return
requestService.findRequestByFileName(requestFormModel.getFileName()).iterator();
On Mon, Sep 28, 2009 at 9:08 AM, T Ames tamesw...@gmail.com wrote:
I see several undefined objects:
result
requestFormModel
it
If these are defined at the class level, they must
!--[if lte IE 7]
style type=text/css
html .jquerycssmenu{height: 1%;} /*Holly Hack for IE7 and below*/
/style
![endif]--
/wicket:head
/head
to TestMenu page Can you check, please, if that fixes the problem?
Best,
Ernesto
On Mon, Sep 21, 2009 at 5:41 PM, T Ames tamesw...@gmail.com
could try is making a static page using
jquery-1.3.2.min.js
and see if this is the issue... so that, we are sure it is not Wicket
related.
Best,
Ernesto
On Tue, Sep 22, 2009 at 2:49 PM, T Ames tamesw...@gmail.com wrote:
Yes, I did try the holly hack with a wicket:head and tried
I downloaded jquery-1.2.6.min.js and replaced the ResourceReference with
that. Set everything else back to original and now it is working.
On Tue, Sep 22, 2009 at 9:25 AM, T Ames tamesw...@gmail.com wrote:
Found it. Oddly enough, it is the jquery version.
I removed the ResourceReference
I just downloaded and tried.
Works good in FF 3.0.14
If you are using IE6, you will get a 4 pixel space on a secondary list. This
causes issues when you slide the mouse in this tiny space. In the Test
example, this is the list that would show when hovering over Two-2-1.
For IE6, I can fix by
we should report this in here
http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_2/
As I'm just building a wrapper for what they have done
Best,
Ernesto
On Mon, Sep 21, 2009 at 4:32 PM, T Ames tamesw...@gmail.com wrote:
I just downloaded and tried.
Works
What the example lacks is the Submit button processing for the entire form.
There are probably lots of ways to handle this - ajax and non-ajax.
Once you get the submit button you want to use defined, that is where you
can access all the items in the repeater by visiting the children of the
form
I cannot seem to get a simple validation to work on a form. Using 1.4-rc5.
TextFieldLong testLong = new TextFieldLong(testLong, new
ModelLong(0));
testLong.add(new MinimumValidatorLong(0));
batchForm.add(testLong);
I want the text field to be validated as a number, and
Great! Thanks!
I know you guys are super busy. One thing to put on the list would be to
update the wicket examples - FormInput.java
This is still using the NumberValidator and all it's various forms which
have been deprecated. I assume that I would have seen the setType() in
there if it were
I have read several posts about how to manually bind stateless pages in a
custom WebSession object to the http session. In my custom WebSession, I
would like to create some objects, but only if and when the WebSession
actually binds as normal when a stateful page is called up.
Is there a method
Yes, I had done that. I was hoping there may be a more efficient place to do
this since the attach() method appears to be called several times during the
session life-cycle.
Thanks!
On Thu, Aug 20, 2009 at 11:00 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
maybe something like this...
I have coded a simple Validator below that may help others out who are
looking for a way to make sure that a from-date and a to-date on a form fall
within a proper range of each other. Meaning that a from date cannot be
greater than a to date.
I did this based on an older post of the same
I think for most people anyway, you learn by doing. I would think that by
now you have a basic understanding to put together a really decent web
application. There is quite a learning curve, but you do not have to
understand all of the internals.
I learn more about Wicket each time I do a web
Following Igor's example, you will need to override the newItem() method.
It is inherited into DataView from RefreshingView. Something like:
new DataView() {
@Override
protected item newItem(..) {
return new OddEvenItem(...);
}
}
On Wed, Aug 5, 2009 at 12:22 AM, arungupta
When doing this in regular html pages, I take the easy way and just use this
below the form within the html
...
/form
script type=text/javascript
document.forms[noteForm].noteField.focus();
/script
Works fine with typical wicket WebPage and
Thanks Igor for making me THINK!
This was my issue. I instituted my own ConfigurationType. At the time I did
not realize that the WebApplication.getConfigurationType() was being called
at many points during the rendering phase. So each time this method was
called it was thrashing about in LDAP -
My company is going to start using a Juniper Reverse Proxy server for VPN
access. We have a large mix of different web technologies in use. Wicket is
one of them. What this product does is URL rewriting to make things work. I
am having a problem with Wicket AJAX functions working properly. Below
41 matches
Mail list logo