Have called setReuseItems(true) on your listview component? Without this
property setted to true, messages inside listview won't be displayed.
I believe that method is intended to render a placeholder tag when a
component isn't visible on the page to allow ajax updates. My ajax
validation works
Have you already tried to start glassfish with JVM parameter
-Dwicket.configuration=deploy ?
Cleared my web container, the changes don't seems to be persisted.
Still getting same message.
Thanks.
--
View this message in context:
The same using wicket 1.5 snapshot. I'm debugging the class searching
for a solution.
Hi I'm using wicket extensions 1.4.17.
I came across a problem with adding selection on Palette.
...
..
add(form);
ListString available = new ArrayListString();
original.add(A);
original.add(B);
Ok, I think I got it.
You should add to choice render an empty id and value expression, i.e.
new ChoiceRenderer(, ). Without any expression any choices is
recognized as selected.
Hi I'm using wicket extensions 1.4.17.
I came across a problem with adding selection on Palette.
...
..
add(form);
Hi,
what does your application/web server's log say? You should check it for
some Wicket message or exception that could explain page expiration.
Hey,
I am new to wicket.. I was having problem of back button in wicket.. but it
got solved when i made all the pages and service class
Hi Alec,
are you sure you are testing your code in DEPLOYMENT mode and not in
DEVELOPMENT mode?
To answer your question about benefits of using shared resources, I can
say that they make sense when you need to access a resource (like a
picture) with
an absolute path instead of a relative
HI Alexandros,
thanks for sharing your experience!
Hello everybody,
With the help of several people on this list, I've gone through the
process of migrating my wicket application from 1.4.17 to 1.5-rc2
The whole thing was relatively painless, which I guess is rather good
news.
I've
Hi,
I've checked Image's source class and it seems that it doesn't support
compound models (see comments in method initModel()).
Hi there,
I have a rather simple problem, but could find a solution yet. I wanna
combine text and an image in ONE model. The image is defined by a
Hi fachhoch,
I had a similar problem with a custom date component (called
JQueryDateField) which uses JQuery UI Datapicker. The problem was
relative to the icon trigger next to the input field which should open
Datapicker. When we initialize Datapicker we needs to know icon's URL,
for
You are in good company :-). I've ordered my copy on 31 March and I
still waiting patiently for it.
@Martijn
Nice pic :-)!
Just a general question about packthub...
I've ordered the printed version on the 26th of March, from the
Netherlands, but I haven't received it yet.
Did someone else
Sorry, I know I'm little late but I'd like to vote for the 2nd option
This has been discussed before
(https://issues.apache.org/jira/browse/WICKET-1221), but I can't find
the old vote thread to see what folks think. The problem is that a
checkbox is a weird bird when it comes to HTTP. If it's
Hi Martin,
I think you could do this with A LOT of JavaScript, probably you should
use JQuery and its key binding functions (keypress(), keyup(),
keydown(), etc...) . Googling around I've found this post which describe
a possible solution to attach JavaScript at your tree nodes:
Hi,
maybe I've got the same problem. I'm using Wicket 1.5 RC3 (but with
tomcat 6.0.32) and each italian character (èàòì...) went lost, even if
page encoding was UTF-8. I've tried each of the previous suggestions but
they didn't work.
I've solved it adding a filter to my app, as described here
No, I'm running my application in a development environment, that is
tomcat started by Eclipse and I've got just one application. Its web.xml
is the following:
?xml version=1.0 encoding=UTF-8?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
I nominate Martin and Pedro for the same reasons. They answered all my
nubie's questions despite my bad English :-)
I nominate Martin Grigorov a and Pedro Santos. Thanks to them, none of my
questions has gone un answered in this forum.
josh.
On Mon, Mar 28, 2011 at 8:45 PM, nino martinez wael
Hi tech7,
in these lines:
IModelCollectionItem allItemsModel = new
PropertyModelCollectionItem( new Model(),
groupModelsDrop.get(propertyItem.getIteration()));
you are building a property model from another generic model (i.e. new
Model()) without an instance inside it. So when
Hi tech7,
could Palette component be helpfull for you?
http://wicketstuff.org/wicket14/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.PalettePage
I have some html pages including some jquery functionaliy.
For example: select a choice from a select box then click a
Hi,
how do you add this label to your page? can you show initialization code
of second page?
any idea? I am really stuck with that.
I will be thankful if you share your idea with me.
-
Developer
Wicket
Java
JSP
--
View this message in context:
Hi,
I think you've forgotten adding code
Hi, I am calling second page onsubmit method of the first page as:
setResponsePage(PGSecond.class);
and on the second page label is added as:
Thanx.
-
To unsubscribe, e-mail:
Hi fstof,
maybe you meant wicket-core-1.5-rc2.jar and not wicket-1.5-rc1.jar. In
full distribution still missing wicket core jar.
Hi
I downloaded the full distribution, but it seems that the wicket-1.5-rc1.jar
jar in lib missing.
I think it might be a good idea to maybe add it
I'm not
I think wicket team decided to not distribute aggregate jar (that is
wicket-1.5-rc2.jar.) no more. There was a thread about it on dev mailing
list. Subject was [discuss] How to resolve wicket aggregate classes /
sources jar issues
Andrea Del Bene-2 wrote:
Hi fstof,
maybe you meant wicket
Hi,
it's not exactly what you are looking for, but you could take a look at
Palette component. You can find a live example here:
http://wicketstuff.org/wicket14/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.PalettePage
This component support choices moving for 'selected'
Maybe you should make it using ListMultipleChoice instead of ListChoice.
If you select all options before submitting, ListMultipleChoice will
keep the ordered list in its model.
Ok i can move up and dowm using jquery
Here is the answer link :
Hi Alec,
I don't think Wicket has a configuration option that can help you. But
you can create a web page superclass that parses HTML and adds your form
if it finds tag div wicket:id=creditCardForm/.
For example you can override onInitialize method and add something like
this:
MarkupParser
Hi,
on 4 January Tom Burton (tom.bur...@alaska.gov) posted a message here
with a modify version of AutoCompleteTextField which introduces
onSelected event. I didn't have time yet to check his code but a think I
will attach it to a JIRA ticket in the next days.
Bye.
Hi,
iam using
Or simply make it invisible
replace it with dummy one that renders nothing
2011/1/10 Altuğ Bilgin Altıntaşalt...@gmail.com
Thanks. Also i want to know if i remove an component from Java side
final WebMarkupContainer delete = new WebMarkupContainer(delete);
add (delete )
after than
Hi Marek,
you could override form method 'process(IFormSubmittingComponent
submittingComponent) ' checking whether submittingComponent is
submitButton or ajaxButton. submitButton follows standard behavior
calling super.process(...), whereas ajaxButton just call validate().
But remember
Hi Anton,
I've used class ContextImage in a situation like this, but folder
containing images must be inside WebContent folder, at the same level
of WEB-INF folder. In this scenario you should be able to access your
images writing something like this
add(new ContextImage(icon,
Hi Matthias,
I think that label should go inside wicket:message tag, i. e.
wicket:message key=myKey
span wicket:id=something/
/wicket:message
Hi
I just disovered by chance that it's possible to use property
expressions in normal wicket:message key=.../ elements which then
get resolved
HI,
suppose that your choices list is called choicesList and your
DropDownChoice is called options you should write something like:
options.setModelObject(choicesList.get(i));
How do I set the DropDownChoice to a particular choice (item) of the list?
My DropDownChoice has items X,Y,Z. I
Hi Henrique,
are you using a custom WebRequestCodingStrategy implementation? This
class should let you encode visible URL as you prefer.
Hello, I am mounting my URLs so I can list product items like so:
http://www.mysite.com/item/id/0
http://www.mysite.com/item/id/1
and so on...then I user
Yes, your code seems accordant with other indicating components.
should I add one, its just inline with the other indicating components?
package com.netdesign.wallboard.component;
import java.util.List;
import org.apache.wicket.ajax.AjaxRequestTarget;
import
Thank you moèz,
looks very interesting!
It's very important for wicket users to now what is Brix CMS. So see the
following link:
http://javajeedevelopment.blogspot.com/2010/12/brix-cms-apache-wicket-based-cms.html
-
To
Hi,
you can implement a custom IValidator to attach to userid field or a
custom IFormValidato for your input form. Do you think they could work
for your application?
Hi,
a general Question, and I am interested in how you would solve that?
I have a couple of form elements, that I want to
Hi Tito,
how do you send form inside modal window? I guess you are sending it by
AJAX. I've written a similar modal window few weeks ago. Be sure to add
your feedback panel to thw AjaxRequestTarget object of submitting component.
Bye.
Hi, I have one model window with a panel atached.
I
That sounds strange. AjaxButton implements IFormSubmittingComponent
interface, hence it should first invoke its onsubmit method and then
parent form's onSubmit (as described in Form class JavaDoc).
Is your AjaxButton inside form's hierarchy?
It is
public final void onFormSubmitted()
No,
Hi Alex,
AjaxButton was build for submitting form via Ajax and that's why it has
an AjaxFormSubmitBehavior attached. You could substitute it with
AjaxLink component if you want to avoid form submitting.
Hello!
May someone explain me, why AjaxButton must call his parent form
onSubmittion?
Well, Form#onSubmit is called only if form's validation step went fine.
Maybe some of your fields' validator is preventing form submission.
BTW, where is onSubmission method? Is a Wicket standard method? I can't
find it in Wicket classes.
Thanks for your response.
Looks like I misunderstand
at the patches, there is a method that sets the size of the window,
might be something to borrow.
cheers,
Steve
On 19/11/2010, at 8:52 AM, andrea del bene wrote:
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
Hi Richard and thank you for your work!
I've developed a custom multi select widget which is much more user
friendly then classic HTML multiselect control. This widget looks like
this:
http://drupal.org/files/issues/filefield_sources_multiselect_widget_0.jpg.
It's build upon standard Wicket
Damn! Didn't know about the existence of this component. BTW, there are
two examples about Palete (here
http://wicketstuff.org/wicket14/compref/) and one is about
wicket.markup.html.form.palette.Palette, but it seems that this class
doesn't exist in Wicket source. Is this an error?
Hi
Isn't
Since version 1.4.6 DataTable HTML has changed to fix
https://issues.apache.org/jira/browse/WICKET-2620. Component with id
toolbar has been removed and that should cause the problem reported by
Andrea.
Until 1.4.5
/wicket:panel
thead wicket:id=topToolbars
wicket:container
Hi Andrea,
maybe have you just missed close tag for topToolbars component? In the
last code snippet I see just one /span tag.
I am very sorry, but it seems like a portion of the code I paste is being
stripped when I post it.
This is the code that's nested inside the thead tag
span
Is there any code inside toolbar? Is just an empty component?
I am very sorry, but it seems like a portion of the code I paste is being
stripped when I post it.
This is the code that's nested inside the thead tag
span wicket:id = topToolbars
span wicket:id = toolbar / span
No problem, it should work fine. Page inheritance is just like standard
class inheritance
Hello,
i am starting to explorer this beautifull framework and want to make a
big use of markup inheritance. What i can't do is to make a page3, which
markup inherits from page2 and at the same time page2
Hi,
take a look at file DefaultCssAutocompleteTextField.css. You could find
it into Wicket source code in folder
src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete. This
file contains css elements you need.
Bye.
Hi Armando,
have you tried calling method visitChildren(Form.class, visitor) in the
main onSubmit? Maybe this could help you to gather children's data
before submit root form.
Bye.
Hey wicket ppl ...
Is there any beforeSubmit() event like method available on Form.
I need it cause I
Hi,
you get this exception because you set as object model an Account object
and not a Long one, which is the expected type for model. I suppose you
should pass just Account id field as object model.
I wonder if anyone can help with the following bug in my code.
It relates to a Panel which
Passing objects to webpage via constructor is fine if you feel
comfortable with it. If you wanna change URI you should take a look at
Wicket URL Coding strategies:
https://cwiki.apache.org/WICKET/url-coding-strategies.html. Using coding
strategies you should be able to change URL as you
Hi Marieke,
some times ago I've solved a similar problem using JQuery and a plugin
called jQuery AOP, but I don't know if exists a simpler solution. I used
jQuery AOP with close button which is a standard anchor with class
attribute set to 'w_close'. The following script will ask user to
Hi Nino,
what kind of Model are you using as backing model? You can try nesting
models to extract string property from object
For example: PropertyModelDrop down control's model
See IChainingModel for further informations.
Hi
I have an dropdown which gets feed a Queue list, I have a custom
Hello Zeldor,
I've red your code and it seems that you define variable rc two times:
the first time as form private field and the second time just below
between braces. When onSubmit method calls rc.getModelObject() it uses
private field rc which was not initialized and so triggers a
Hi everybody,
I'm facing the following problem. I've got a page with a wicket form and just
one submit button. When I press return key in a form field the form is submitted
with no problem. Inside form I've one link that opens a ModalWindow via ajax.
This window contains another wicket form which
Hi Martin,
what I'd like to have is a window that automatically adjusts its height
and width in order to ensure that all its content it's always visible
without scrollbars. I think it could be done with some JavaScript code.
Do you think it's possible to implement such behavior?
Thank you
On 09/25/2010 02:30 PM, Fernando Wermus wrote:
I would like so much this feature. It is so important to me!
On Sat, Sep 25, 2010 at 5:51 AM, Josh Kamaujoshnet2...@gmail.com wrote:
Hi guys,
Is there are way to ensure that a modal window automatically sizes to fit
the available content?
sonoerin humblecelt at yahoo.com writes:
customerA.domain.com
customerB.domain.com
So I am not sure if its best to just have multiple deployments each with
their own Wicket Application/homepage or if there is a way to bundle them
all into a single app that handles each request/response
Hi,
I need to render options in a MultipleSelectList using more then one field from
a POJO. Is possible to use ChoiceRender selecting more then one property (for
example passing it more then one property expression)?
Thank you, Andrea.
Redo Cano, Xavier xredo at gencat.cat writes:
I'm sure that this is happening due to a bad configuration of my wicket
app, because the Ajax examples from wicket-stuff work are working
correctly with IE6 for me but I've checked the source code and I'm not
able to find the reason why my
Redo Cano, Xavier xredo at gencat.cat writes:
Thank you for your response Andrea. I've just tried the 1.4.12 build and it
didn't solve the problem. I don't
think it's a bug as long as in the wicket examples page this functionality is
working fine with IE6.
Ciao!
Hi,
I've replaced file
Hi,
I'd like to try new milestone release of Wicket. I've red migration document
(https://cwiki.apache.org/WICKET/migration-to-wicket-15.html) which says that
class org.apache.wicket.Request was moved to org.apache.wicket.request.Request
but I can't find this class in distribution's jar.
I've
Thank you Martin :)!
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
MONZON Jose jose.monzon at efgfp.com writes:
Hi there!
I've been giving a Try to Wicket framework. But I have to admit that I'm
starting to get crazy! Some help appreciated.
I'm using last Wicket distribution 1.4.11
And I'm trying to implement the Wicket Form (with ajax) example you
Hi Jose,
I can confirm this bug. It works fine with Wicket version 1.4.8. I will open a
bug on Apache JIRA.
Sh**! Sorry, but know it seems to work also version 1.4.11. What jars have you
inserted in your classpath to run test code?
nino martinez wael nino.martinez.wael at gmail.com writes:
Hi
Has anyone run some comparison benchmarks between wicket 1.4 and 1.5..
My feeling are that 1.5 are faster..
regards Nino
-
To unsubscribe, e-mail:
Martin Grigorov mgrigorov at apache.org writes:
Please create a minimal application (quickstart) and attach it to Jira
ticket.
On Fri, Sep 10, 2010 at 2:45 PM, Predrag Spasojevic
predrag.spasojevic at gmail.com wrote:
I have the same problem with AjaxButton, wicket 1.4.11 and FireFox
Ben benarjee_g at yahoo.com writes:
Here is my panel1
...
add(new ImageQualityForm(imageQualityForm, new
CompoundPropertyModel(imageQuality), aform));
}
private static class ImageQualityForm extends Form {
public ImageQualityForm(String id, IModel model,
Joseph Pachod jp at thomas-daily.de writes:
When trying to reach this goal, I tried to run the init call through an
header contributor, but the call is then done before my content is put
on the page, making it useless:
public abstract class AbstractEditBehavior extends AbstractBehavior
{
Grafas martynas.jurkus at gmail.com writes:
...
But every time I submit that form model object is NAME and in browser radio
button jumps from whatever I checked to the first one although I never
relaod the radio button part. Only search result container is added to a
target to display
On 09/07/2010 07:42 PM, Grafas wrote:
Strange... Yes, AJAX work perfectly - we are using AJAX in many places...
Also we use other modal windows with forms and text fields, text areas and
dropdowns in it and they work just fine...
This modal window is the only with radio buttons
Andrea, are
Zeldor pgronkiewicz at gmail.com writes:
Hi,
I am trying to group all my images into one folder, but the problem is that
I cannot get them displayed - that is as long as that folder path is higher
in the hierarchy than my html files.
So images/image.jpg works perfectly, but
Grafas martynas.jurkus at gmail.com writes:
Oh, yeah, sorry, the code sample doesn't show it... Sorry about that.
Yeah, RadioGroup has model set.
Hi, I've tried to reproduce your case in my development environment. Here's the
HTML I used for test
---
span wicket:id=modalWin
x-man oezkanp at googlemail.com writes:
hi at all,
at first sorry for my poor english.
I`m a wicket beginner and have the following problem which i could not
solve:
When i want so start my tomcat i get often the message i will post bellow.
In past it helped to delete the tomcat
Visually I can switch through radio buttons, but, when I submit form - it's
always the same value -
Hi!
Have you tried adding model to RadioGroup?
es: RadioGroup choiseGroup = new RadioGroup(searchParam, new Model());
Grafas martynas.jurkus at gmail.com writes:
Hi drf!
Have you checked the generated HTML? Is there any 'selected' attribute
in your option tags?
I am having a problem that my DropDownChoice is not selecting the item I
expect, only Choose one. Here is the code:
...
private ListLong accountList = new ArrayListLong();
private Long
701 - 774 of 774 matches
Mail list logo