That'd be much appreciated. The WIKI is a good place for that.
Thanks,
Eelco
On 4/24/06, Stefan Kanev [EMAIL PROTECTED] wrote:
Hi
Don't you think that an UML diagram for the basic objects in wicket would be
useful for newbies to the frameworks (shows the complete) picture and for
all
I'll looked into it last night and I don't think there currently is a
simpler solution than what Marco provided. It actually is the
IResourceLoader which we are using deep inside Wicket core to load the
properties file. We developed the IResourceLoader to load the
MarkupFile and later on used it
Actually, I meant which classes should I put there? I cannot put everything, since (1) it is too much and (2) won't be that helpful if it has a lot of stuff. :DStefan
personally, i think that it would be nice to have a UML sequence diagram depicting the various steps (significant?) involved in the request cycle from the moment a page is requested.thanks,-- karthik --
Hi,
I'm currently developing an ajax search text field that updates a DataView.
I have encountered 2 blocking issues which, I think, might be bugs, but it
could also just be me doing something wrong ;-) (I have created 2 separate
messages)
Following code causes a NotSerializable exception:
I now need to expire the page at once,so users can not click back button again.thanks!
The problem is the 'setThrottleDelay' method. This method creates an
instance of the 'wicket.ajax.AjaxEventBehavior$ThrottlingSettings' class.
This inner class however is not serializable and I guess that when the
component is put on the session, Glassfish throws the NotSerializable
override configureResponseOn 4/25/06, lu dongping [EMAIL PROTECTED] wrote:
I now need to expire the page at once,so users can not click back button again.thanks!
The page or the session?
If you don't want to support the back button for a page, just override
isVersioned and return false. The effect is that the URL stays the
same, so the back button will take users to the page they were before
that.
To invalidate a session, call Session.invalidate().
A good catch is to show the framework concepts, showing hot and frozen spots. For each concept, a wiki node.On 4/24/06, Stefan Kanev
[EMAIL PROTECTED] wrote:HiDon't you think that an UML diagram for the basic objects in wicket would be useful for newbies to the frameworks (shows the complete)
Dear wicket supporters,
I am looking for some hints for the following: I have a form containing
a check box. This form uses AJAX to submit the check box value after
klicking it. Not I want to update a label on the page when the check box
is klicked. I found the ajax with prototype - Ajax example
this is trivial to do if you want to use wicket's ajax support instead of the prorotype.js. in fact there are plenty examples in wicket-examples/ajax that will give you a clue.basically...call setOutputMarkupId(true) on the label.
use AjaxCheckBox and in onclick() add the label to the
My apologies for leaving all that reply text in my last response. Hopefully it
doesn't confuse anyone too much.
Andy
winmail.dat
How would you remove the validator? Would you do it by index or by instance? Its not very clean either way. Check out IFormValidator, I think it fits your usecase better then an IValidator.-Igor
On 4/25/06, Andrew Strickland [EMAIL PROTECTED] wrote:
Was the capability added in 1.2 to remove
On each page of a GridView
(Wicket Extensions 1.2) the elements enter the grid in row-order, from top to
bottom. Is there a way to have the DataProvider populate the grid in column-order filling
one column from top to bottom before moving onto the next column to the right?
If not,
Hi,
I finally managed to get my own search text field working but I think I
might have found a bug in one of the wicket examples.
The problem is related to the behavior of the 'onkeydown' event. Whenever I
press a key, only the previous key presses are submitted and not the current
one. (ex.
if you want column-major form you will have to rewrite gridview, it is not that simple because html is row-major. so to do column-major you will have to buffer output somewhere, you cant just stream it like gridview works now.
-IgorOn 4/25/06, Frank Silbermann [EMAIL PROTECTED] wrote:
fixed, thanks-IgorOn 4/25/06, Davy De Durpel [EMAIL PROTECTED] wrote:
Hi,I finally managed to get my own search text field working but I think Imight have found a bug in one of the wicket examples.The problem is related to the behavior of the 'onkeydown' event.Whenever I
press a key, only the
I have a page that has several ListChoices and their model lists are reloaded on every page view. I need to initialize the lists before any events are processed, because the AbstractSingleSelectChoice.convertValue requires the model list to be non null.
I want to dereference the model list in the
use a detachable model. look into LoadableDetachableModel, that one might be the easiest to use in this usecase.-IgorOn 4/25/06, Yuri Magrisso
[EMAIL PROTECTED] wrote:
I have a page that has several ListChoices and their model lists are reloaded on every page view. I need to initialize the lists
just a remark: what happens if i hold down the key?i do get this then:dummyyy(there is no key up..)On 4/25/06,
Igor Vaynberg [EMAIL PROTECTED] wrote:
fixed, thanks-Igor
On 4/25/06, Davy De Durpel [EMAIL PROTECTED] wrote:
Hi,I finally managed to get
My first thought was the component would have a Map of validators that you storeby a validator name...that way you could add or remove like remove( IValidator.getName() )...also that way you could never end up with more than one of the same type of Validator on any given component.
AndyHow
I was wondering if there is a good Wicket example of field level
validation. I am currently using the regular feedback panel for
validation and messages, but I would rather do onBlur() validation
that marks the field and focusses the cursor on the invalid field.
Does wicket have any of
protected String getOnClickScript() { String wicketScript=super.getOnClickScript(); return if (!alert('blah')) return false; +wicketScript;}-Igor
On 4/25/06, RĂ¼diger Schulz [EMAIL PROTECTED] wrote:
Hello all,I want to use a button which is specified by a Link in java. Thisworks fine, my onClik()
good, i think in this case we shouldnt make an ajax call until you release a key.-IgorOn 4/25/06, Johan Compagner
[EMAIL PROTECTED] wrote:just a remark: what happens if i hold down the key?
i do get this then:dummyyy(there is no key up..)
On
the pieces are all there, its up to you to figure out how to put them together.if you want to highlight the field you need to add an attribute modifier that adds some css class if the component is invalid or highlights by other means
the ajax target can accept a _javascript_ that you want
but once you introduce the map you introduce the ambiguity of evaluation order as well and it makes things more complex to manage.also once you allow removal you alse need to allow insertion. it keeps getting messier and messier for the end user.
you can also potentially do what you want by
Thank You Igor,
this works very well!
Stefan Lindner
--
Visionet GmbH, Am Weichselgarten 7, 91058 Erlangen
Tel.: (09131)691-230, FAX: (09131)691-111
E-Mail: mailto:[EMAIL PROTECTED], Internet:
http://www.visionet.de
I have a page that has several ListChoices and their model lists are reloaded on every page view.I need to initialize the lists before any events are processed, because the AbstractSingleSelectChoice.convertValue requires the model list to be non null.
I want to dereference the model list in the
Hi,
I know this is slightly off-topic, but I wonder if anyone ever solved
this:
I have a gallery application that takes a directory and reads out all
the images.(Actually I use two directories, one for thumbnails and
one for the hires version).
I use PopupSettings to open a new window with
Just as an aside, if there's anyone out there who's interested in
Maven2, (which is the Wicket-standard build method), there's a very
useful free eBook available from
http://www.mergere.com/m2book_download.jsp
/Gwyn
---
Using Tomcat but need
Just tell me the directions and let me do pt_BR. :)Regards,Bruno BorgesOn 4/24/06, Eelco Hillenius
[EMAIL PROTECTED] wrote:On 4/23/06, Iman Rahmatizadeh
[EMAIL PROTECTED] wrote: I'm ready for Persian/Farsi (fa_IR). Just asking, would it be a good idea to let wicket automatically set the page
Thanks for the quick answer! That worked greatOn 4/25/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
use a detachable model. look into LoadableDetachableModel, that one might be the easiest to use in this usecase.
-IgorOn 4/25/06,
Yuri Magrisso
[EMAIL PROTECTED] wrote:
I have a page that has
sorry for the double postOn 4/25/06, Yuri Magrisso [EMAIL PROTECTED] wrote:
I have a page that has several ListChoices and their model lists are reloaded on every page view.I need to initialize the lists before any events are processed, because the AbstractSingleSelectChoice.convertValue
requires
Alexander Lohse schrieb:
As I am coming from PHP I am used to a very quick function-call to find
the size of an image. In Java I have to read the whole image into
memory, which takes very long in terms of request-time.
You don't have to read the entire image. The dimensions are usually
Hi Igor,
I have this same requirement, also in the context of dynamic forms.
I think a simple #removeAllValidators() would do the trick without introducing
ambiguity or any additional complexity. In v1.1.1 I end up reconstructing the
component when, for example, I need to remove a
i get the feeling this is all revolving around requiredvalidator right?-IgorOn 4/25/06, Roan O'Sullivan
[EMAIL PROTECTED] wrote:Hi Igor,I have this same requirement, also in the context of dynamic forms.
I think a simple #removeAllValidators() would do the trick without introducing ambiguity or
MyCompoundValidator compound = new MyCompoundValidatior();compound.add(XXXValidatior);compound.add(YYYValidator);compound.validate(){iterator.next().validate()}component.add(compound);
compound.remove(xxx);johanOn 4/25/06, Roan O'Sullivan [EMAIL PROTECTED]
wrote:Hi Igor,I have this same
yep, there is certainly that.-IgorOn 4/25/06, Johan Compagner [EMAIL PROTECTED] wrote:
MyCompoundValidator compound = new MyCompoundValidatior();
compound.add(XXXValidatior);compound.add(YYYValidator);compound.validate(){iterator.next().validate()}component.add(compound);
Not necessarily. TypeValidator, RequiredValidator, PatternValidator ... I may
add any type of Validator, and then remove them (my workaround for the lack of
support for removing validators in 1.1.1 is to instantiate an entirely new
component) and add different ones in response to user events.
Hi Timo,
thank you very much. This was exactly what I needed! :-)
Alex
Alexander Lohse schrieb:
As I am coming from PHP I am used to a very quick function-call to
find the size of an image. In Java I have to read the whole image
into memory, which takes very long in terms of request-time.
Type and Required validators are gone in 1.2they are now just setType() and setRequired() johanOn 4/25/06, Roan O'Sullivan
[EMAIL PROTECTED] wrote:Not necessarily. TypeValidator, RequiredValidator, PatternValidator ... I may add any type of Validator, and then remove them (my workaround for the
I've decided to build a project at work, based on Wicket. So no doubt this
is a newbie question. Any help would be appreciated. Hopefully it's a
simple question to answer.
In my WebApplication based class, I setup my database, etc. in the init()
method. I'd like to shutdown the database when the
i just checked in a destroy() method you can override on the application.as far as the servletexception i dont think this is proper to throw from the application because application is not a servlet. who is to say application is even backed by a servlet.
-IgorOn 4/25/06, Marty Backe [EMAIL
Thanks for the quick reply.
Regarding the Exception. What would be the recommended approach for
cases where init() is not able to complete successfully? In my case
init() might fail because the database can't be started (bad
configuration, etc.). With a Servlet I can throw a ServletException
tomcat will also stop the application if a runtimeexception is thrown from servlet's init. so you can just throw any runtime exception and you are set.-IgorOn 4/25/06,
Marty Backe [EMAIL PROTECTED] wrote:
Thanks for the quick reply.Regarding the Exception. What would be the recommended approach
I haven't been actively following this mailing list and I'm a bit
confused about JSR-168 support. The 1.2 documentation lists JSR-168
support, but I see some evidence (or a lack of evidence) that it is
in the RC2. Is it being yanked from 1.2?
Vince
yeah, we are yanking it. martijn can you update our roadmap please. maybe 2.0 will have it.the main block is that none of the core developer team are familiar/have any experience with the spec. so if you or anyone else wants to help in this area we would welcome the support. otherwise it will have
I am just curious,
Why was it chosen to pass the ID to the constructor of a component vs the add() method of the container??
ie:
// doesn't this make the MyComponent code less-cohesive to the heirarchy?
container.add( myComponentID, new MyComponent( new MyModel() ) );
This seems cleaner
you are not approaching the problem properly, at least not from compositing perspective. you would not create arrays of components to populate the listview, you would forward the listview's abstract callback to the panel, after all what if the listview is pageable?
abstract ComponentA extends
Hi,
What i (and presumably Ari) wanted tried to achieve, is to have some
style-specific bundle wich only contains some keys with style-specific
values and thus not having to maintain a bunch of property files if we
add another key, eventhough it's value would be the same across all styles.
But
Hi,
We have been preparing one part of our wicket application to production use.
In testing there have been multple cases where whole application stops working and
I think that we have now isolated to reason for this.
One of my collegues noticed that there is a message on tomcat's log file:
should already be fixed in trunk.-IgorOn 4/25/06, Ari Suutari [EMAIL PROTECTED]
wrote:Hi,We have been preparing one part of our wicket application to production use.
In testing there have been multple cases where whole application stops working andI think that we have now isolated to reason for
53 matches
Mail list logo