On Wed, Dec 8, 2010 at 2:18 PM, Martin Makundi
wrote:
> Did you try ((WebRequest) getRequest()).getParameters(key)
>
Thanks, it's working and it's exactly what I need.
--
Best regards,
Adrian
-
To unsubscribe, e-mail: users-uns
Hello,
Is it possible to get http POST variables which are send to Wicket
page from external page? My case is similar to PayPal return url, but
company which operate the payment, send some important data as POST
variables, and I need to extract them in Wicket. When I tried to do it
normal way as P
Unfortunately it wouldn't help - in source:
but still characters are messed up.
--
Best regards,
Adrian
On Fri, Nov 26, 2010 at 10:57 AM, Martin Grigorov wrote:
> try with
>
> http://www.w3schools.com/tags/att_form_accept_charset.asp
>
> On Fri, Nov 26, 2010 at 10:40
Hello again,
I have checked one more thing - I have removed from code and html
MultiFileUploadField, so the POST request wasn't multipart, and
everything was fine this time (UTF-8 data send from form).
Any ideas, what's wrong? A bug in multipart forms processing?
--
Thanks in advance,
Adrian
---
Hello,
I have migrated with a small project to Wicket 1.5-M3, and most of
things work fine, but I have one problem with encodings. All my pages
are UTF-8, the messages from properties, and database data is fetched
fine, But problem appear when I try to send data from form, and it
contains some coun
Hello,
I use wicket 1.5-M2.1 right now, and I get warn which I haven't on
earlier versions:
WARN 2010-10-17 17:45:55,425 WebPageRenderer: The Buffered response
should be handled by BufferedResponseRequestHandler
What could be the reason of this warn (the application was slightly
migrated from 1.4
Hello,
I have a problem with Palette component - I try to retain model
objects which were selected in Pallete, and update the list od choices
same time (in other word you have one set of available choices takes
2, than press some ajax button and get different set of choices, than
takes 3, so you sh
Hello,
I need a solution if such component exists:
1) first ListChoice have categories about 1-2k options
2) second ListChoice is empty
3) there are arrows which can move elements from first to second
ListChoice, and the way back
Main problem in such scenario would be with sending lot of refreshing
2010/1/13 Java Programmer :
> and in WicketTester I want to:
> getWicketTester().assertComponent("sampleDataView: something :title",
> DataView.class);
>
Of course should be:
getWicketTester().assertComponent("sampleDataView: something :title",
Label
Hello,
Is it possible in WicketTester to check the items which are inside
DataView - an example:
DataView dataView = new DataView ("sampleDataView", provider, 10) {
@Override
protected void populateItem(Item sampleItem) {
sampleItem.add(new Label("title", ne
Hi,
I need to remove defaukt CSS from YUI menu, or replace it with skin -
I search for solution in sources, but can't find -
YuiHeaderContributor takes all files from inc catalog, but where is
code for skins (there should be only one css than, with e.g.
assets/skins/sam/button.css)?
I read about ht
On Wed, May 21, 2008 at 4:55 PM, Martin Funk <[EMAIL PROTECTED]> wrote:
> Just to make shure,
> do you still see a bug?
>
> Or are things fine now?
>
> mf
We do not use current version of GMap2, but have older snapshot (we
cannot change API right now), but as I see in sources that bug is now
fixed.
Found bug in that version comma after 'marker': overlayID, in
addGOverlayListener click event, probably repaired in earlier
versions, sorry for troubling you :(.
Best regards,
Adr
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
Hello,
I have problem with GMap2 on IE 6/7 - in Firefox 2.x/3.x Maps are
shown correctly, but in IE I have JS error "lack of definition
WicketMap2", and map was not shown. I'm pretty sure that maps were
shown some time before maybe some Microsoft update caused problems?
I use 1.3-SNAPSHOT build, an
Hello,
I have use MultiFileUploadField for uploading pictures, everything
works fine but when I use e.g. setMaxSize(Bytes.kilobytes(1024)) on
the form and try to upload larger picture or pictures than limit, I
got only one message about hitting limit size, and other fildes are
not checked this time
Hello,
How can I generate 403 Forbidden or other codes (404 etc.) on
Exception? I think I should set headers and set redirect to true, but
anyone have working example?
Best regards,
Adr
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hello,
I'm using 1.3.2 version, I have form with several required elements:
private TextField getSubjectTF(final Form form) {
TextField subject = new TextField(SUBJECT);
subject.setRequired(true);
return subject;
}
private Dro
(keyWithLabel);
if(label != null) {
labeledMessage = labeledMessage.replaceAll("\\$\\{label\\}",
component.getString(label));
}
return labeledMessage;
}
On Mon, Apr 14, 2008 at 3:32 PM, Java Programmer <[EMAIL PROTECTED]> wrote:
> Hello,
&
Hello,
How can I in unit tests check if the messages with $label are
displayed on page eg.:
add_advert.street=Street
add_advert.street.Required=Field '${label}' is required.
in unit tests:
getWicketTester().assertErrorMessages( new String[] {
getWicketTester().getComponentFromLastRenderedPage
I added onError when Required failed, now works - closed:
@Override
protected void onError(AjaxRequestTarget target,
RuntimeException e) {
carPartsModel.setCarModel(null);
carPartsModel.
AbstractValidator should work like this:
_carMarkDDC.add(new AbstractValidator(){
@Override
protected void onValidate(IValidatable validatable) {
if(validatable.getValue() == null){
Hello,
I have problem with DropDownChoice components. I have three DDC
components which loads child component choices when you change parents
value. This work, but one thing not - when I back to "Choose" choice
the Ajax request returns empty and it's because
onUpdate(AjaxRequestTarget target) is no
After all the answers, I start to think that maybe my question was a bit wrong.
First I put all the hints you were provided into work eg:
item.setModel(new CompoundPropertyModel(item.getModelObject()));
item.add(description = new MultiLineLabel(DESCRIPTION));
but still have in session files (pm-nul
I have narrowed my code to:
protected void populateItem(Item item) {
final CarPart carPart = (CarPart) item.getModelObject();
item.setModelObject(new CompoundPropertyModel(carPart));
item.add(description = new MultiLineLabel(DESCRIPTION));
I'm little confused now about not using detachable model in places you
have marked - I have in first place to pull the object from item:
final CarPart carPart = (CarPart) item.getModelObject();
which is load() object correctly - i tested it by quickly putting:
@Override
On Wed, Apr 2, 2008 at 11:38 AM, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
> Are you really sure that your detachablemodels are being used all over?
We create it in CarPartDataProvider from my first post, next we create
DataView based on this provider we implement populate me
On Wed, Apr 2, 2008 at 11:15 AM, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> from JPA experience, eager loading of List of Entities is part of what hogs
> memory. I have profiles an application before that the memory usage just
> kept growing each time my page reference a particular entity th
Hello,
We have problem with serializing webpages - the user session files
growing rapidly (each request about 100KB), we don't know what we have
did wrong - system is based on examples from wicket.apache.org, so it
should work but this large files (10-20MB for some time, after many
request) slows i
On Thu, Mar 20, 2008 at 4:39 PM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> you are worried about what is in the source?
> so you dont really need it for something else like in an email?
>
> but wicket generates for itself relative urls
> if you need a full for yourself you can use RequestUtil
Hello,
I have question about generated urls e.g. in examples on
http://wicketstuff.org/wicket13/niceurl/the/homepage/path we have
really nice urls, but they are realtive:
is there posiible to make them:
without ../../ but absolute for servlet mapped as:
wicket
/*
even if I mak
On Feb 20, 2008 10:42 PM, Maris Orbidans <[EMAIL PROTECTED]> wrote:
> where is wicket-contrib-tinymce project and svn repo ?
>
> it's not even mentioned in this page
>
> http://wicketstuff.org/confluence/display/STUFFWIKI/Wiki
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wic
On Feb 20, 2008 8:28 AM, laiqinyi <[EMAIL PROTECTED]> wrote:
>
> Is there Color Picker ?
> I can choice any color, than return the color code(like FF 00)
> thanks
>
> Mead
I don't know if there are ready to use component but nice and
functional JS could be found here
http://www.dhtmlgoodi
Finally I got it - I use such DataProvider:
private class SearchDataProvider implements IDataProvider {
private String query;
private int resultsPerPage;
private SearchDAO.SearchResults search
On Mon, Feb 18, 2008 at 4:29 PM, Ryan Gravener <[EMAIL PROTECTED]> wrote:
> You could keep an instance of the search results in the dataprovider.
> Then on size() and iterator() check to see if results is null. If it
> is perform the query and store the results
Yes, I tried this before and I wo
Hello,
I want to use DataView to present Search Results from Hibernate
Search, but I got stuck with implementation of DataProvider - maybe
first I show you classes:
private class SearchDataProvider implements IDataProvider {
private String query;
I have moved my objects in Pnale to fields eg.:
public class RegisterUserPanel extends Panel {
final CheckBox openClosePanelCheckBox;
final Panel addLocationPanel;
...
}
and from Page I setup attributes:
RegisterUserPanel registerUserPanel = new
RegisterUserPanel("
Hello,
I have Panel on which in constructor I put nested Panel:
public class RegisterUserPanel extends Panel {
public RegisterUserPanel(String id) {
...
final Panel addLocationPanel = new AddLocationPanel("addLocationPanel");
addLocationPanel.add(new SimpleAttributeModifier("style", "display:none;
On Sun, Feb 10, 2008 at 9:24 PM, richardwilko
<[EMAIL PROTECTED]> wrote:
>
> Ive not tried it myself but this might help you
>
> http://cwiki.apache.org/WICKET/using-more-than-one-feedbackpanel-per-page.html
>
> Richard
It works perfectly thanks. BTW could there be any performance loss
when us
Hello,
I have 2 classes which extends Panel, and both have forms on them eg:
public class AddAdvertisementPanel extends Panel {
public AddAdvertisementPanel(String id) {
super(id);
feedback = new
FeedbackPanel("feedback_add_advert").setOutputMarkupI
Oh I did it ...
The previous code need small changes:
Model model = new Model(new AttributeDescriptor());
addAttributeForm.setModel(model);
DropDownChoice attributeDescriptor = new
DropDownChoice("attributeDescriptors", model,
getAttributeDAO().getAllAttributeDescriptors());
and then we can use:
p
hello,
I have problem with setting Forms on DataView. I have list of Consumer
objects, each consumer has Set of attributes, I wanted to add
DropDownChoice with all attributes, when pressing Add consumer would
get new attribute to its Set, and will be saved in database. Quite
simply but not form me
Thank you for the answers, I agree that server side validation is more
important, from e.g. security reasons, but if you make something we
called now Web 2.0 application is nice to have also client side
validations scripts. So I can check if login is free to use via Ajax,
but checking if password c
Hello,
Is there any simple way to generate javascripts to validate forms
against validation rules provided by Wicket Validators e.g.
RequiredValidator? I have on mind client side validators to check is
fields not empty, or provided passwords match. For now I see that Ajax
support is great, but cant
43 matches
Mail list logo