Found my problem. I needed to be using a DynamicWizardModel, not a
WizardModel. This lets me add the steps as required and therefore get
access to the version of the model at that stage of the process.
I'd done this before, just had to paw through my personal svn to find
how I implemented it.
Hi,
I am changing my tables from RefreshingView to DataView.
In the IDataProvider interface,
Is this a correct implementation for the model() function?
public IModelMyRecord model(MyRecord inmodel)
{
return new ModelMyRecord(inmodel);
}
Hi I need help with understanding DataView.
My code that construct the dataview is as follows (name changed to
protect the guilty),
IDataProviderMyRecord dataProvider = new MyRecordDataProvider();
DataViewMyRecord dataView = new DataViewMyRecord(summary,
dataProvider)
{
Hi all,
I want to write a panel which kan render in 2 modes: editable and read-only.
In read-only mode all my components are just labels. In edit mode, are these
labels replaced by input fields (e.g. Textfields, DropDowns, etc)
The problem is now that I only want to write one markup (since all
Keep it simple and write 2 panels.
-Ursprüngliche Nachricht-
Von: Pieter Degraeuwe [mailto:pieter.degrae...@systemworks.be]
Gesendet: Mittwoch, 2. Dezember 2009 09:55
An: users@wicket.apache.org
Betreff: How to write markup if type of component is not known yet...
Hi all,
I want to
I want to avoid this, since I wanted to reuse the (complex) markup...
Is there no way around this?
On Wed, Dec 2, 2009 at 10:02 AM, Giambalvo, Christian
christian.giamba...@excelsisnet.com wrote:
Keep it simple and write 2 panels.
-Ursprüngliche Nachricht-
Von: Pieter Degraeuwe
You have some options:
Write one abstract panel with the complex markup and extend the
read-only and editable panels from that class (wicket:child and
wicket:extend).
Or, create a panel with the complex markup and create two separate
panels to edit and read. Switch those panels from the
Reuse the complex markup and use different detail panels for each detail?
Maybe via some factory?
Ernesto
On Wed, Dec 2, 2009 at 10:06 AM, Pieter Degraeuwe
pieter.degrae...@systemworks.be wrote:
I want to avoid this, since I wanted to reuse the (complex) markup...
Is there no way around
I'll go for the 'each detail' has a panel, and create these detail Panels
via a factory.
Thanks all of you.
On Wed, Dec 2, 2009 at 10:12 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Reuse the complex markup and use different detail panels for each detail?
Maybe via some
Hi,
Sidenote: I suggest you look at the LoadableDetachableModel, see:
http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/model/LoadableDetachableModel.html
Regards,
Daan van Etten
On Wed, 2009-12-02 at 16:20 +0800, Lester Chua wrote:
Hi,
I am changing my tables
Ah, I misread your original question.
Maybe you can use Wicket Fragments for each type of input.
http://wicket.apache.org/examplefragments.html
Regards,
Daan van Etten
On Wed, 2009-12-02 at 10:19 +0100, Pieter Degraeuwe wrote:
I'll go for the 'each detail' has a panel, and create these detail
Good morning all,
I'm hoping I've misconfigured something in my application, but we seem to be
prone to session stealing in our wicket application. We're using
wicket-auth-roles to provide the security, and if you are able to access the
jsessionid you can get another machine to log straight
Hmm, that seems to be an easier solution; this way I, don't need to wrap
everyting in a panel...
Thanks for that tip !
On Wed, Dec 2, 2009 at 10:21 AM, Daan van Etten d...@stuq.nl wrote:
Ah, I misread your original question.
Maybe you can use Wicket Fragments for each type of input.
Thanks for the reply,
I got very weird errors popping and grew suspicious of the instances
that I am working with (using JRebel for superfast deployment).
So I scratched the class I was working with and recoded from scratch.
Restarted my instance and everything works now. I guess I need to pay
I agree; JRebel is realy handy, but sometimes it gives realy nasty effects.
In my case, restarting my appserver solves the problem..
On Wed, Dec 2, 2009 at 10:38 AM, Lester Chua cicowic...@gmail.com wrote:
Thanks for the reply,
I got very weird errors popping and grew suspicious of the
Hi
I just tried to add a AutocompleteTextField to a 1.3.6 application but
it doesn't seem to work.
I copied the exact example from
http://www.wicket-library.com/wicket-examples/ajax/autocomplete and
removed the generics for 1.3.6
Yet still no matter if I enter anything or not, no autocomplete
There some places in Wicket sources where it throws
InvalidUrlException that causes exception logging and
InternalErrorPage is shown.
However, I don't agree that badly constructed URL is and _internal_
error. It is external error (for example, user was playing with urls,
modifying them by hand).
Am Mittwoch, 2. Dezember 2009 12:18:55 schrieb Marat Radchenko:
There some places in Wicket sources where it throws
InvalidUrlException that causes exception logging and
InternalErrorPage is shown.
However, I don't agree that badly constructed URL is and _internal_
error. It is external
Same applies to org.apache.wicket.WicketRuntimeException: unable to
find component with path ... on stateless page ... that can also be
triggered by badly constructed url.
-
To unsubscribe, e-mail:
2009/12/2 Ilja Pavkovic ilja.pavko...@binaere-bauten.de:
Am Mittwoch, 2. Dezember 2009 12:18:55 schrieb Marat Radchenko:
There some places in Wicket sources where it throws
InvalidUrlException that causes exception logging and
InternalErrorPage is shown.
However, I don't agree that badly
I use the AjaxEditableLabel and related components and I've subclassed them
overriding the onBeforeRender adding a call that checks if it should be in
edit mode, then its just a matter of setEnabled(false) to keep the
AjaxEditableLabel as a label.
-Clint
On Wed, Dec 2, 2009 at 3:24 AM, Pieter
Hi,
I once had a similar problem and made it work even with static steps.
Please allow me to share it.
I wanted to use statics steps in order to feel them. Just for the fun, as
I did wizard with dynamic steps before.
So, I had a class Profile and wanted the wizard to create a new one (the
wizard
I too would like to know the Wicket answer. The problem is that
JSESSIONID is how the Servlet container differentiates the session with
the user. It's part of the spec since the beginning. Because it is
well known and certain browsers (Firefox, representing over a third of
browser clients) make
Cant you use
http://www.mkyong.com/wicket/how-do-encrypt-encode-url-in-wicket/
But I guess it might still get the session id appended..?
2009/12/2 Loritsch, Berin C. berin.lorit...@gd-ais.com
I too would like to know the Wicket answer. The problem is that
JSESSIONID is how the Servlet
This is not a Wicket issue. However, there is a good discussion on
the topic here:
http://old.nabble.com/JSESSIONID-hijacking-td22492701.html
What application server are you using?
On Wed, Dec 2, 2009 at 4:24 AM, Andrew Turner grim_toas...@hotmail.com wrote:
Good morning all,
I'm hoping
The Seam folks have a fix for removing JSESSIONID from the URLs, too:
http://seamframework.org/Documentation/RemovingJSESSIONIDFromYourURLsAndFixingScache
On Wed, Dec 2, 2009 at 9:31 AM, James Carman
jcar...@carmanconsulting.com wrote:
This is not a Wicket issue. However, there is a good
Thats basically the same code as on
http://randomcoder.com/articles/jsessionid-considered-harmful.
OWASP also has a good deal to say about sessions:
http://www.owasp.org/index.php/Session_Management
Regards,
Erik.
James Carman wrote:
The Seam folks have a fix for removing JSESSIONID
Hmm, for me it doesn't work.
I mount the pages via:
this.mount(/pages/secure, PackageName.forClass(this.getHomePage()));
If I try to access the page from machine B with the same jessionid as machine
A, then I get redirected to LoginPage.
-Ursprüngliche Nachricht-
Von: Andrew Turner
2009/12/2 Andrew Turner grim_toas...@hotmail.com:
Good morning all,
I'm hoping I've misconfigured something in my application, but we seem to be
prone to session stealing in our wicket application. We're using
wicket-auth-roles to provide the security, and if you are able to access the
Thank you Igor.
Does somebody have a short example of java code to check for wicket-Ajax
header ?
Or an example of what such a header looks like ?
In the debug window, I can see wicket xml responses, bot no query...
Bernard
in your servlet filter you will have to check for Wicket-Ajax header
Is this annotation-based approach really saving that much? It seems
to me that a few helper methods would do just as well.
On Wed, Dec 2, 2009 at 1:51 AM, Toscano koki...@gmail.com wrote:
Hi again,
First of all, thank you for your time and dedication with this project, I
think is really
I am using CompoundPropertyModel as my form model , can I provide a
nested property as id for a form component ?
Have you tried it?
On Wed, Dec 2, 2009 at 10:51 AM, tubin gen fachh...@gmail.com wrote:
I am using CompoundPropertyModel as my form model , can I provide a
nested property as id for a form component ?
-
To unsubscribe,
I tried it did now work , need suggestion If I can make it work
James Carman-3 wrote:
Have you tried it?
On Wed, Dec 2, 2009 at 10:51 AM, tubin gen fachh...@gmail.com wrote:
I am using CompoundPropertyModel as my form model , can I provide a
nested property as id for a form
Read this:
http://cwiki.apache.org/WICKET/working-with-wicket-models.html#WorkingwithWicketmodels-CompoundPropertyModels
On Wed, Dec 2, 2009 at 10:53 AM, James Carman
jcar...@carmanconsulting.com wrote:
Have you tried it?
On Wed, Dec 2, 2009 at 10:51 AM, tubin gen fachh...@gmail.com wrote:
After some thought I have a better description of what I am trying to do:
- I would like to have a stateless page that is always accessed via a
bookmarkable link.
- This page has an iframe whose content is backed by a stateful page
that is altered via ajax links.
- When the parent page is
It worked I was wrong. Thanks
fachhoch wrote:
I tried it did now work , need suggestion If I can make it work
James Carman-3 wrote:
Have you tried it?
On Wed, Dec 2, 2009 at 10:51 AM, tubin gen fachh...@gmail.com wrote:
I am using CompoundPropertyModel as my form model , can I
I ma trying to make TextArea with TinyMce behaviour readonly , I added
the following custom settings but it did not work
tinyMCESettings.addCustomSetting(readonly : true);
tinyMCESettings.addCustomSetting(mode : textareas);
please suggest me how to make it readonly ?
it seems that Mobile IE understands onclick a little bit to start
running it but not enough to actually process the request so no actual
fallback is being made.
As I would really like to keep my code as it is I thought I would
introduce Simple HTML mode which would strip all onclick tags and
Marvellous, thanks for the input folks. So, in a nutshell, what we're
basically saying is that when using Wicket we recommend HTTPS and disabling URL
rewrite (we are using weblogic and I presumed one of the other settings should
have disabled URL rewrite, the fool I am, cookie-secure seemed
Hi,
You could implement your own IComponentInstantiationListener, and in it add
some sort of behavior to modify the component which removes the onclick. Or
you could try an remove the AjaxEventBehavior from the AjaxFallbackLink.
This should work globally but will only require you to modify
Actually I've just realiaed, you can't remove the behaviour with component
instansiation because it hasn't been added yet. Look at
ibeforeonbeforerenderlistener. Its called something like that, can't check
at the moment.
Richard
On 2 Dec 2009 17:30, richardwilko richardjohnwilkin...@gmail.com
We have a requirement to render the offending FormComponent with a visual
change (not an indicator...but a style change such as background is red) and
show the error message below the component.
I have created a customized FeedbackPanel for this so this is not a problem.
The problem we have is
Hi,
My web site as to run on Firefox and Internet Explorer, so I use IE tab
(https://addons.mozilla.org/fr/firefox/addon/1419) to test it, and for the
first time I see a difference between IE tab and normal IE.
I introduced one ModalWindow (IFrame version) in my page : it works well on IE
and
why dont you simply check in your filter if the reporter component is
a descendant of the form and then ignore the message?
-igor
On Wed, Dec 2, 2009 at 10:11 AM, Doug Leeper douglee...@yahoo.com wrote:
We have a requirement to render the offending FormComponent with a visual
change (not an
That is my backup plan.
--
View this message in context:
http://old.nabble.com/Customized-FeedbackPanel-question-tp26613644p26614645.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe,
I was trying to attach AjaxFormComponentUpdatingBehavior to palette and looks
like I can't do it this way. Is there anyways to attach action to palette
change event.
Here is my code. Appreciate you feedback
PaletteDtAddDisplay affiliatePalette = new
PaletteDtAddDisplay(affiliatePalette,
http://www.mail-archive.com/users@wicket.apache.org/msg14153.html
2009/12/2 Swarnim Ranjitkar swarn...@hotmail.com:
I was trying to attach AjaxFormComponentUpdatingBehavior to palette and looks
like I can't do it this way. Is there anyways to attach action to palette
change event.
Here is
http://issues.apache.org/jira/browse/WICKET-1574
2009/12/2 Swarnim Ranjitkar swarn...@hotmail.com:
I was trying to attach AjaxFormComponentUpdatingBehavior to palette and looks
like I can't do it this way. Is there anyways to attach action to palette
change event.
Here is my code.
Yeah, would be good to update the whole tinyMCE thing.
It's SO popular!
It's rather outdated from what's on tinyMCE site.
It should really be repackaged with some helper stuff like
setReadOnly(true/false).
And provide with a convenient tabbed panel for HTML/RAW edit window.
Anyone who knows how
Anyone?
2009-12-01 23:17 keltezéssel, Major Péter írta:
Hi,
I'm trying to make my project 1.5-compatible, but I had run into two issues:
First I was stumbled when saw IComponentBorder has been deleted, but
after some Googling I found the corresponding ticket:
[Ljava.lang.String; cannot be cast to java.lang.String
java.lang.ClassCastException:[Ljava.lang.String; cannot be cast to
java.lang.String
no, there is no approximate release date.
-igor
2009/12/2 Major Péter majorpe...@sch.bme.hu:
Anyone?
2009-12-01 23:17 keltezéssel, Major Péter írta:
Hi,
I'm trying to make my project 1.5-compatible, but I had run into two issues:
First I was stumbled when saw IComponentBorder has been
IMO, looking up EJBs through JNDI is better than relying on injection. Make
the hostname (localhost, another ip, etc) part of the JNDI URL configurable and
you give yourself the flexibility of being able to deploy them locally or in
another VM. If you are using EJBs with JPA this will allow
We are fr away from clustering or using VM's. :)
I heard lately about EJB proxy classes, which would do the lookup, and
they also could create log entries in web layer, who's trying to call a
specific business method from what IP. This could be also fun.
Regards,
Peter
2009-12-03 03:46
Thanks for ur help, Marco... :)
GBU.
On Mon, Nov 30, 2009 at 6:04 PM, Marco Mancini marcoman...@gmail.comwrote:
Hi,
Usualy i use this code:
feedBackPanel.getFeedbackMessagesModel().setObject(null);
target.addComponent(feedBackPanel);
but i don't know if is it the right solution
^_^
Hi,
I have a List View. I want to display the items in this list view in 2
columns. The logic for this is as follows:
If only 1 item in list then there will 1 item in left columns, and no
right column.
For 2 items there will be 1 item in left and 1 in right.
For 3 items there will be 1st
see GridView
-igor
On Wed, Dec 2, 2009 at 10:03 PM, vinay.karmar...@wipro.com wrote:
Hi,
I have a List View. I want to display the items in this list view in 2
columns. The logic for this is as follows:
If only 1 item in list then there will 1 item in left columns, and no
right
take a look at gridview
On Thu, Dec 3, 2009 at 11:33 AM, vinay.karmar...@wipro.com wrote:
Hi,
I have a List View. I want to display the items in this list view in 2
columns. The logic for this is as follows:
If only 1 item in list then there will 1 item in left columns, and no
right
using OSGi or some other weird thing?
Ernesto
On Thu, Dec 3, 2009 at 1:11 AM, Douglas Ferguson doug...@douglasferguson.us
wrote:
[Ljava.lang.String; cannot be cast to java.lang.String
java.lang.ClassCastException:[Ljava.lang.String; cannot be cast to
java.lang.String
do you have two query string parameters with the same name?
-igor
On Wed, Dec 2, 2009 at 4:11 PM, Douglas Ferguson
doug...@douglasferguson.us wrote:
[Ljava.lang.String; cannot be cast to java.lang.String
java.lang.ClassCastException:[Ljava.lang.String; cannot be cast to
java.lang.String
61 matches
Mail list logo