have you checked this thread?
http://www.nabble.com/setPageExpiredErrorPage%28PageExpired.class%29--%3E-Login-page-loaded-instead-of-PageExpired-page-td17596262.html#a17596262
On Wed, Jun 4, 2008 at 4:04 PM, Patel, Sanjay [EMAIL PROTECTED] wrote:
I want to redirect to LoginPage if session
Hello,
It is possible to have multiple modal window in a page pop-up?what i mean is
that, if there is a message from user1, the message pop using modal window,
and modal window will pop too if user2 send message. the modal windowS will
just flood on user browser if other user send messages...is
Thanks,
Raised as https://issues.apache.org/jira/browse/WICKET-1684
Curiously mentioned in https://issues.apache.org/jira/browse/WICKET-300 but
marked as resolved/invalid.
Rgds
Ned
igor.vaynberg wrote:
argh, didnt read closely enough. yes that is the right way to do it,
in fact you
The way 1.3 works currently has been fine with me and any type mismatch
in programming error usually result in crash with obvious location of error
and easily fixed.
So to me, it is optional and not very important. Switching to java 5 does not
mean wicket must include generics, there are many
[EMAIL PROTECTED] wrote
The way 1.3 works currently has been fine with me and any type mismatch
in programming error usually result in crash with obvious location of
error and easily fixed.
This may be an option for small projects or for personal use. But for
big projects for software sold all
class SessionExpiredLoginPage extends LoginPage()
{
SessionExpiredLoginPage()
{
super();
info(xx)
}
}
On Wed, Jun 4, 2008 at 6:25 PM, Patel, Sanjay [EMAIL PROTECTED] wrote:
I want to pass some param so I can know in LoginPage that it is called
because of
Everything is possible, is just time that sets the limits. Did you see
the example?
http://www.wicket-library.com/wicket-examples/ajax/modal-window.1
freak182 wrote:
Hello,
It is possible to have multiple modal window in a page pop-up?what i mean is
that, if there is a message from user1, the
Hello,
I saw it..but i dont want a modal window open inside another modal
window...what i mean is that in the same page will open another modal
window..bcoz i have a trigger that opens a modal window in page (not clicked
by the user)...now when a new trigger comes in another modal window should
Post a cleaninfied version of your apache conf..? Also did you look at
the wiki, and some time ago I posted an apache conf example... Although
not using mod_jk...
http://www.nabble.com/Page-templates-per-virtual-host-ts16299142.html#a16328617
it's these bits:
ProxyPass /images
like matej already told you
There is no default slot or field..
A component with no model doesnt have a a slot what so ever.
johan
On Wed, Jun 4, 2008 at 11:34 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:
like i said, i dont mind removing the default slot if we add nice
automatic detachment
Hmm, Im not sure that actually are a modal window. Arent it more of a
stackable toaster?
This is not directly on the spot, but you'll get the idea. Im working on
a toaster using scriptaculous.. If I have the time I could probably do
something the lines of that.
Might be a bit off-topic, but I just wanted to add that if you're validating
if the file has the correct content-type you shouldn't rely on the
getContentType method, as it determines the type just using the extension. I
did rely on that and to prevent users from uploading annoying animated gifs,
Hello,
That would be nice if you can do some meebo thing about modal window...you
know,my trigger was came from comet. if i can open-up another window, if
there was a trigger, that would be great...thats why im looking on how to
open-up a new modal window...the tosater are great but i think it
are you sure you store it correctly?
for example is the LoginData object the same? (if you do a system out of
that or check it in the debugger)
Because if it is then the user field that it should have cant be just
suddenly null
johan
On Wed, Jun 4, 2008 at 11:47 PM, smallufo [EMAIL PROTECTED]
Michael Sparer wrote:
Might be a bit off-topic, but I just wanted to add that if you're
validating if the file has the correct content-type you shouldn't rely on
the getContentType method, as it determines the type just using the
extension. I did rely on that and to prevent users from
Igor Vaynberg mailto:[EMAIL PROTECTED] wrote:
it is possible, just depends on how you set up your models. it is not
possible by directly reading the collection of checkgroup, but you
can come up with a different way.
The checkgroup is part of a form based on a CompoundPropertyModel wrapping a
hi list !
In my form model bean I've got an attribute of type java.sql.Timestamp.
Unfortunately I've got to perform a regular expression validation on the
input.
Adding a PatternValidator does not work, as first the converter is
called, and afterwards the validators. Within the validator
That's what I am doing right now. I was just wondering if there is
another way so there is no need to create another page just to add one
line (info(xxx)).
Thanks for your time.
Sanjay.
-Original Message-
From: Johan Compagner [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2008
Hi, i will rephrase. I have a class Customer on my domain, and Customer do
not have a default constructor. Lets assume Customer have a constructor with
a String:
public class Customer {
Customer(String name) {
...
}
}
It is possible to create a wicket model, to create a new instance
Hi!
I have a Form whose components are populated using a listView.
Each listView component has a formValidator.
Now each time I refresh the listview it is redrawn and all the new
validators are newly added to the form in addition to the existing
validators (from the previous refresh).
For
Are you looking for something like:
public class MyPage extends WebPage {
public MyPage(String name) {
setModel(new Model(new Customer(name));
...
/Gwyn
On Thu, Jun 5, 2008 at 2:22 PM, Manuel Corrales
[EMAIL PROTECTED] wrote:
Hi, i will rephrase. I have a class Customer on my domain,
Hi!
The only workaround I came up with is as follows:
public void validate(Form form) {
if (!form.contains(selectionField, true)) {
return;
}
...
}
It is not elegant and the stack keeps growing. I first tried to remove
the validator if it exists, but that brought up some nasty
As a workaround I've implemented a form validator, as this was a way
to access the raw input. in case anybody is interested, find the source
below.
I am pretty sure, that there are others out there, that need to validate
the rawinput, before any conversion is applied, and do not want to mix
Half way there :)
public class MyPage extends WebPage {
public MyPage(String name) {
setModel(new Model(new Customer(name));
that what i want, but instead of having name as a parameter on the page
constructor, i would like to have it from the same form the other Customer
data is being
In which case, maybe something along the lines of...
MyPage() {
displayedName = ;
setModel(new CompoundPropertyModel(new Customer(displayedName));
Form form = new Form() {
void onSubmit() {
Customer customer = (Customer)getModelObject();
if
Can't you use setReuseItems(true), that way the populate method will
be called less frequently and thus will generate less validators.
Don't use the removeall in combination with the reuse that will negate
the effect :)
Maurice
On Thu, Jun 5, 2008 at 3:57 PM, Martin Makundi
[EMAIL PROTECTED]
I will try that, thanks!
On Thu, Jun 5, 2008 at 11:25 AM, Gwyn Evans [EMAIL PROTECTED] wrote:
In which case, maybe something along the lines of...
MyPage() {
displayedName = ;
setModel(new CompoundPropertyModel(new Customer(displayedName));
Form form = new Form() {
void onSubmit() {
I use setReuseitems true yes.
I must call the removeAll because my models have changed (I am
rendering a table and the table structure / colspan / rowspan /
elements changes). I have not found another way to update the markup
than calling removeAll.
Now, the removeAll should probably remove all
Hi All,
I am using panel inside a ModalWindow. I have few questions regarding Modal
Window.
1. It seems that setInitialWidth(800) is not being honoured. No matter what
size I set it comes out to be same size.
2. Also, when I try to increase horiznontal size of modal window (by
dragging )then
Hi,
I've been having trouble getting my app to run for any reasonable period of
time without crashing. I've laid out a basic page that contains a
ListChoice component, after loading this page 13 times (when I have more
components it's far less) it just hangs indefinitely.
I'm sure the problem
right, so like that its not going to work. you need a model in between
that can buffer values and insert missing checked by disabled values.
-igor
On Thu, Jun 5, 2008 at 4:36 AM, Kai Mütz [EMAIL PROTECTED] wrote:
Igor Vaynberg mailto:[EMAIL PROTECTED] wrote:
it is possible, just depends on how
i didnt mean the memory slot, i ment the actual default model each
component can have. if i can write something like this:
add(new webmarkupcontainer(foo) {
private imodelperson model;
protected void isvisible() { return model.getobject()!=null; });
then i am perfectly happy. notice how
You are not closing your JDBC connections, and are therefore you are
running out of connections in your connection pool.
I would STRONGLY advise against using raw JDBC. You have no idea how
difficult it is to correctly clean up after JDBC. At the very least look
into Spring's JdbcTemplate class,
[x] Should be avoided, I prefer the way 1.3 works. Because sometimes I
still run into web servers like websphere 5.x that still depend on jdk 1.4
(also some tomcat 5.5 hosting sites). The beauty of Wicket is its
simplicity and adding generics doesn't seem be worth the cost. I like
generics
you should use embedded forms
form-listview-item-form+formvalidators-formcomponents
instead of
form+formvalidators-listview-item-formcomponents
-igor
On Thu, Jun 5, 2008 at 7:55 AM, Martin Makundi
[EMAIL PROTECTED] wrote:
I use setReuseitems true yes.
I must call the removeAll because my
Not sure what this 'toaster' is, but i really like the multiple effect! is
it available in 1.8 or is this in scriptaculous 2.0?
We have a scriptaculous header contributor using the
ScriptaculousAjaxBehavior.newJavascriptBindingBehavior(). do you need
something different?
On Wed, Jun 4, 2008
For that we have 1.3
1.4 will be java 5
On 6/5/08, pkcinna [EMAIL PROTECTED] wrote:
[x] Should be avoided, I prefer the way 1.3 works. Because sometimes I
still run into web servers like websphere 5.x that still depend on jdk 1.4
(also some tomcat 5.5 hosting sites). The beauty of Wicket
This might also screw up stuff like CompoundPropertyModel, no? We
discussed this a bit on ##wicket.
On Thu, Jun 5, 2008 at 11:44 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
i didnt mean the memory slot, i ment the actual default model each
component can have. if i can write something like this:
yes. thats what i meant by wrapping. when/if we evaluate this we can
obviously put more thought into what it will effect and how to make it
all work. right now it was just a two minute idea i had, and it may
yet forever stay that way.
-igor
On Thu, Jun 5, 2008 at 10:16 AM, James Carman
[EMAIL
Personally, I find CompoundPropertyModel too magicy for my tastes
anyway. Yes, it's very convenient to just use property names for
component ids and it all just works out fine, but that can sometimes
be difficult to understand from a new person's perspective. When
learning a technology, I don't
Hi,
I have a RefreshingView which has a delete button in it (this deletes the
model present in the backing list for the view.) The problem is that when a
delete is performed on DB, (see onSubmit( ) for
*deletePlanObjectiveDetailButton
below) *the size of the list changes, Is there a way to
Ricky, what are you using as the model for your refreshing view?
You should be using some sort of detachable model that re-fetches the
items for the list from the DB each time.
--
Sam Barnum
360 Works
http://www.360works.com
415.865.0952
On Jun 5, 2008, at 10:32 AM, Ricky wrote:
Hi,
I
There are plenty of cases where there isn't much risk and where using
CompoundPropertyModels is just convenient and leads to nicer readable
(imho) code. I use those models quite a bit, and I like them. I use
plenty of other (custom LDMs mainly) as well though.
Eelco
On Thu, Jun 5, 2008 at 10:29
On Thu, Jun 5, 2008 at 10:20 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
yes. thats what i meant by wrapping. when/if we evaluate this we can
obviously put more thought into what it will effect and how to make it
all work. right now it was just a two minute idea i had, and it may
yet forever
On Thu, Jun 5, 2008 at 1:45 PM, Eelco Hillenius
[EMAIL PROTECTED] wrote:
On Thu, Jun 5, 2008 at 10:20 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
yes. thats what i meant by wrapping. when/if we evaluate this we can
obviously put more thought into what it will effect and how to make it
all work.
I'm using a DefaultDataTable and I want to get the index of the selected
item. However the index always returns 0. Is this by design?
new AbstractColumn(new Model(Test Label))
{
public void populateItem(Item item, String componentId,
Right, we need to figure out what we're going to do for 1.4. Have we
decided on that? It seems like a lot of folks like the idea of making
the model methods non-final on Component, thereby allowing components
to type themselves by overriding them (using JDK5 covariant return
types) when it
On Thu, Jun 5, 2008 at 8:44 AM, John Krasnay [EMAIL PROTECTED] wrote:
You are not closing your JDBC connections, and are therefore you are
running out of connections in your connection pool.
Yep, probably something like that.
I would STRONGLY advise against using raw JDBC. You have no idea
I have written a DataProvider as the model for a ListView, and would
also like to use it for a AutoCompleteTextField. I have done that
successfully in the past by explicitly accessing the iterator() method.
But I was hoping to be able to simply assign it as a model somehow. Is
this possible?
next week a good rest?
next week i dont have much rest.. I am on vacation!
Bern, Switzerland!
johan
On Thu, Jun 5, 2008 at 8:05 PM, Eelco Hillenius [EMAIL PROTECTED]
wrote:
Right, we need to figure out what we're going to do for 1.4. Have we
decided on that? It seems like a lot of folks
Johan Compagner wrote
next week i dont have much rest.. I am on vacation!
Bern, Switzerland!
You are visiting an EM match? That's not a rest? :-)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
On 2008/06/02, at 5:44, Eelco Hillenius wrote:
1) Generifying* Wicket
[X] Can best be done like currently in the 1.4 branch, where models
and components are both generified. I care most about the improved
static type checking generified models and components give Wicket.
For me, the most
Tnx. I had form-listview-item-formcomponents,formvalidators
Should the embedded forms be renderBodyOnly?
I think HTML does not approve embedded forms, does it? So should I
tweak this using renderBodyOnly or similar?
**
Martin
2008/6/5 Igor Vaynberg [EMAIL PROTECTED]:
you should use embedded
I am bumping this because this is an issue I know people are interested in. I
am not the only one wanting the choices for autocomplete to be shown on a
null value. I know technically you have this fixed in 1.4-m2 but you still
have to press the down arrow. I would like the choices to show up
I have a Web Page , containing a Panel , both components have the same key
in each property files (but with different values).
I found in the Panel , when calling
new StringResourceModel(key , this , null) ,
it will return Page's key value , not its own value .
Is it intentional ? or a bug ?
I'm using Wicket 1.2, and it appears that when a user's session times out,
my implementation of AbstractAutoCompleteTextRenderer stops working. I
assume that when the session times out, the server returns errors and the
partial page update fails.
I would like to know if there is a good way to
html doesnt approve of embedded forms, but wicket does. it will just work.
-igor
On Thu, Jun 5, 2008 at 12:36 PM, Martin Makundi
[EMAIL PROTECTED] wrote:
Tnx. I had form-listview-item-formcomponents,formvalidators
Should the embedded forms be renderBodyOnly?
I think HTML does not approve
Show some code. What is this at the point you're instantiating SRM?
On Thu, Jun 5, 2008 at 4:29 PM, smallufo [EMAIL PROTECTED] wrote:
I have a Web Page , containing a Panel , both components have the same key
in each property files (but with different values).
I found in the Panel , when
If you enable the default request logger (in 1.4-*), it throws a
NullPointerException.
The problem comes from this commit from Johan:
http://fisheye6.atlassian.com/browse/wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/RequestLogger.java?r1=646020r2=646810
The field active was
Also, if one int was changed to AtomicInteger, shouldn't the rest also?
It's obviously a concurrency issue.
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Jun 5, 2008 at 4:38 PM, Jeremy Thomerson [EMAIL PROTECTED]
wrote:
If you enable the default request logger (in 1.4-*), it
2008/6/6 James Carman [EMAIL PROTECTED]:
Show some code. What is this at the point you're instantiating SRM?
The following codes are written in MyPanel's constructor:
collapseExpandText = new Label(collapseExpandText);
collapseExpandText.setOutputMarkupPlaceholderTag(true);
if
fixed
On Thu, Jun 5, 2008 at 11:40 PM, Jeremy Thomerson [EMAIL PROTECTED]
wrote:
Also, if one int was changed to AtomicInteger, shouldn't the rest also?
It's obviously a concurrency issue.
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Jun 5, 2008 at 4:38 PM, Jeremy Thomerson
I've implemented a Wizard that uses dynamic steps to process things based on
user input. Everything works under Firefox, but when I started testing in
IE I've noticed that the next/back button do not seem to do anything. The
form is posted, but the same step is rendered. I turned on debug
I've been stepping through the code, but I'm having a tough time
figuring this one out...
Using 1.3.
I have one page mounted on:
/mount1
And another mounted on:
/mount1/tree
On the /mount1/tree page, I have a tree component.
Problem is that whenever I click on a node in the tree, I am
Thanks Peter (and Martin and Larry).
My issue was specifically with overriding
Class? extends Page? getHomePage()
from the Application class, when extending AuthenticatedWebApplication.
It looks the same as the problem below, but not quite...
Is there an idiom for overriding
Hi,
I have a default AutoCompleteTextField on a form which is executing
extremely slowly for the up / down arrow cursors when I run it in IE6.
The getChoices() method is implemented efficiently, using a TreeMap and
the tailMap() method to avoid iterating over the whole map. Worst case
is 10
I haven't read the whole thread, but you should be fine as long as your
returned page class uses generics...
Here's what I use in one app, no warnings, no casts:
@Override
public Class? extends Page? getHomePage() {
return Home.class;
}
public class Home extends WebPageVoid
Thanks Jeremy, that definitely looks like the problem.
-Original Message-
From: Jeremy Thomerson [mailto:[EMAIL PROTECTED]
Sent: Friday, 6 June 2008 1:01 PM
To: users@wicket.apache.org
Subject: Re: (Class? extends Page?) casting troubles
I haven't read the whole thread, but you should
I would suggest starting from a quickstart application and adding in
the code that illustrates this issue. If you can come up with
something that you think is a bug, file a JIRA issue.
On Thu, Jun 5, 2008 at 5:42 PM, smallufo [EMAIL PROTECTED] wrote:
2008/6/6 James Carman [EMAIL PROTECTED]:
69 matches
Mail list logo