The problem with pre built components is that they never, ever are
exactly what you want or need. Maintaining such components for other
people is what I call hell. We are in the business of creating the
best Java web framework for building your own custom components with
unprecedented ease. This
Hi again,
After a lot of various tries, I finally found a solution that seems to work.
On my ModalWindow close button, I don't need javacode anymore, I just have
this small javascript command in the markup file:
onclick=window.parent.Wicket.Window.close();
Do you think that it's a good way to
That is why this Exception was created... you can override requestCycle
handle this kind of exception whatever you like ...
Alex Objelean
Marat Radchenko-2 wrote:
There some places in Wicket sources where it throws
InvalidUrlException that causes exception logging and
InternalErrorPage
Hi i have simple select with AjaxFormSubmitBehavior attached to it.
After changing selection i get:
Error:
Wicket.Ajax.Call.failure: Error while parsing response: Could not find root
ajax-response element
Is it a known problem ?
it could be that if you do that then in normal use
the serverside doesnt know that the modal window isnt shown anymore.
So i guess you should also try to let the server know.
On Fri, Dec 4, 2009 at 10:16, Bernard Lupin beal6...@yahoo.fr wrote:
Hi again,
After a lot of various tries, I finally
If you use CompressedResourceReference(MyPage.class, MyPage.css); it will
expect to have the CSS file in the same package as the MyPage.class.
So in your case the css file should be in the following package:
myPackage/Application.java
myPackage/css/jquery/cupertino/jquery-ui-1.7.2.custom.css
Free4U
public class DropDownChoiceWithStylingOptionsT extends DropDownChoiceT {
private String previouslyAppendedOptGroupLabel;
private int choices;
/**
* @param id
* @param choices
* @param renderer
*/
public DropDownChoiceWithStylingOptions(String id,
IModel? extends
The problem came in wicket 1.4.2 and its connected with NullPointer
exception which came from wicket-ajax.js - line 1133
Here is the code:
if (submitButton!=null) {
try {
var btn = document.createElement(input type='hidden'
name='+submitButton+'
Martin, why not put something like this in minis?
2009/12/4 Martin Makundi martin.maku...@koodaripalvelut.com
Free4U
public class DropDownChoiceWithStylingOptionsT extends DropDownChoiceT
{
private String previouslyAppendedOptGroupLabel;
private int choices;
/**
* @param id
*
Busy... sorry. Feel free to put it.
2009/12/4 nino martinez wael nino.martinez.w...@gmail.com:
Martin, why not put something like this in minis?
2009/12/4 Martin Makundi martin.maku...@koodaripalvelut.com
Free4U
public class DropDownChoiceWithStylingOptionsT extends DropDownChoiceT
{
Ahh, me too :/ So anyone able feel free to put this in minis.
2009/12/4 Martin Makundi martin.maku...@koodaripalvelut.com
Busy... sorry. Feel free to put it.
2009/12/4 nino martinez wael nino.martinez.w...@gmail.com:
Martin, why not put something like this in minis?
2009/12/4 Martin
Is there a way to test this with maven?
On Dec 4, 2009, at 12:45 AM, Girts Ziemelis wrote:
You might want to try first the development snapshot first. There is
additional enclosure fix waiting for 1.4.4:
Still working on this darn sign-up form in my spare time. I currently
can not get feedback to show up. If I disable javascript it shows up
but using ajax it does not.
In my WizardStep I have the code to add the feedback panel to the
target as a placeholder. (confirmed, its in the DOM hidden).
Is there a way to load the css from webapp's context path?
Stefan Droog wrote:
If you use CompressedResourceReference(MyPage.class, MyPage.css); it will
expect to have the CSS file in the same package as the MyPage.class.
So in your case the css file should be in the following package:
You can filter feedback messages.. have a look inside FeedbackPanel.
**
Martin
2009/12/4 Sam Barrow s...@sambarrow.com:
Hi. I have a FormComponentPanel called MoneyField with a couple of text
boxes inside.
Is there any way to make a new MoneyField with a ComponentFeedbackPanel
that collects
When does the error occur?
**
Martin
2009/12/4 John Armstrong siber...@siberian.org:
Still working on this darn sign-up form in my spare time. I currently
can not get feedback to show up. If I disable javascript it shows up
but using ajax it does not.
In my WizardStep I have the code to add
When I click next in the wizard and have not selected an item from the
RadioGroup.
J
On Fri, Dec 4, 2009 at 7:26 AM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
When does the error occur?
**
Martin
2009/12/4 John Armstrong siber...@siberian.org:
Still working on this darn
Hi,
I'd like to create an own Link in the template document. When I create an Link
via Wicket with an onClick attribute, then it calls the page everytime I click
on it. What I need is a Link in that way:
a onclick=funci('8912aja')Click for Item/a
But the 8912aja is created dynamicially, so I
first try with latest wicket-1.4.x branch build. if its still there
then open a jira issue.
-igor
2009/12/4 Michał Letyński mletyn...@consol.pl:
The problem came in wicket 1.4.2 and its connected with NullPointer
exception which came from wicket-ajax.js - line 1133
Here is the code:
lol
-igor
On Fri, Dec 4, 2009 at 6:43 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
Ahh, me too :/ So anyone able feel free to put this in minis.
2009/12/4 Martin Makundi martin.maku...@koodaripalvelut.com
Busy... sorry. Feel free to put it.
2009/12/4 nino martinez wael
if its in your context path you can simply link to it in the markup
with its context-relative path.
-igor
On Fri, Dec 4, 2009 at 7:13 AM, Lester Chua cicowic...@gmail.com wrote:
Is there a way to load the css from webapp's context path?
Stefan Droog wrote:
If you use
override convertinput() and check that all three are filled in by
calling getconvertedinput() on the child components
-igor
On Fri, Dec 4, 2009 at 8:39 AM, Sam Barrow s...@sambarrow.com wrote:
I have a FormComponentPanel called Name with 3 fields.
Is there a way to set it up so that by
Definitely, lol :)
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
I am trying to make a TextArea that allows you to input a list of
strings (separated by a newline) and turns that list into a Collection.
I had it working but it was kind of hacked together, I'm trying to do it
the clean way now.
I have it working except for two things:
If I give it an empty
The button itself lives in my ButtonBar class and the buttons
themselves are extensions of AjaxFallbackButtons
public class AjaxWizardButtonBar extends WizardButtonBar
public abstract class AjaxWizardButton extends AjaxFallbackButton
The buttonbar class has an onSubmit method that knows when
you should do convertToObject() call in a try block, catch any
exception and throw a conversionexception
-igor
On Fri, Dec 4, 2009 at 11:32 AM, Sam Barrow s...@sambarrow.com wrote:
I am trying to make a TextArea that allows you to input a list of
strings (separated by a newline) and turns
does your button also properly implement onerror() ?
-igor
On Fri, Dec 4, 2009 at 11:35 AM, John Armstrong siber...@siberian.org wrote:
The button itself lives in my ButtonBar class and the buttons
themselves are extensions of AjaxFallbackButtons
public class AjaxWizardButtonBar extends
Hi all,
I have,
Step 1 which the user selects something
Steps 2 which a datagrid is shown which depends in a model that is
associated with the selection from step 1.
The fact is that I never see any change in the datagrid. I review several
times if the model associated with the datagrid
I added this to make it work, but I dont see the need. Why?
@Override
protected void onBeforeRender() {
final UsersModel w=(UsersModel) getModelObject();
DataGrid g=(DataGrid) get(grid);
g.setModel(w.lookForUsers());
super.onBeforeRender();
}
This model was set up before. The only
so walk the code and see where your ConversionException is being
wrapped by a RuntimeException
-igor
On Fri, Dec 4, 2009 at 1:08 PM, Sam Barrow s...@sambarrow.com wrote:
That's what I'm doing, but i still get the conversion exception
public final class EmailAddressConverter implements
No I'm getting a ConversionException, I must have made a typo. But for
the single text field I get a message in the feedback panel.
On Fri, 2009-12-04 at 13:25 -0800, Igor Vaynberg wrote:
so walk the code and see where your ConversionException is being
wrapped by a RuntimeException
-igor
ok, override convertValue() instead of convertInput() and then the
exception will be handled for you
-igor
On Fri, Dec 4, 2009 at 1:39 PM, Sam Barrow s...@sambarrow.com wrote:
No I'm getting a ConversionException, I must have made a typo. But for
the single text field I get a message in the
I'll try that.
What about the problem with the square brackets? I can't find a function
to override that allows me to format the text inside the textarea
On Fri, 2009-12-04 at 14:01 -0800, Igor Vaynberg wrote:
ok, override convertValue() instead of convertInput() and then the
exception will be
My problem was 4 fold (after multiple iterations of problems)
1) I was overriding onError in both AjaxButton and AjaxButtonBar so my
AjaxButton version was ignored
2) I am using the default ButtonBar html which has a component called
'feedback' in it, this dup'd my nested feedback form (merely
overrwrite getmodelvalue() and convert it to string there
-igor
On Fri, Dec 4, 2009 at 2:10 PM, Sam Barrow s...@sambarrow.com wrote:
I'll try that.
What about the problem with the square brackets? I can't find a function
to override that allows me to format the text inside the textarea
On
protected void onError(final AjaxRequestTarget target, Form form) {
form.visit(FormComponentPanel.class, new
VisitorFormComponentPanel() {
visitComponent(FormComponentPanel component) {
target.addComponent(feedback);
1.4
-igor
On Fri, Dec 4, 2009 at 2:13 PM, Doug Leeper douglee...@yahoo.com wrote:
1.4 trunk or 1.5 trunk?
--
View this message in context:
http://old.nabble.com/FileUploadField-in-a-ModalWindow-%28wicket-1.4.3%29--tp26577255p26641953.html
Sent from the Wicket - User mailing list archive
Hi,
I have a page with several panels each of them them have links that open modal
windows. Essentially there are a number of modal windows on the page most are
hidden. They all open up and I am able to close them with the Cross (X) link.
In one of the modal windows the content has an
Using version 1.4.3
Would really ppreciate suggestions.
From: ed_b...@hotmail.com
To: users@wicket.apache.org
Subject: Closing ModalWindows on page with multiple modal windows
Date: Fri, 4 Dec 2009 15:09:22 -0800
Hi,
I have a page with several panels each of them them have links
And the application is throwing an exception. On repeated tries to close the
ModalWindow via the AjaxLink
[2009-12-04 16:45:34,942]ERROR [http-8080-4] (RequestCycle.java:1521) -
org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap
modal-dialog-pagemap is still locked by:
I have created a quick start and attached it to WICKET-2595. I have also
included my suggested fixes to Form.java and wicket-ajax.js. It got past
the problem of not submitting in an iframe but my AjaxButton.onSubmit is not
being called and there are no errors generated.
Hope this helps.
-
Hi
I am new to wicket so this question may already been answered. In my java
class which is extended from WebPage I can not add a Label.
add(new Label(message, Hello World))
does not work. Is this method been replaced in 1.4.3
can you point me to the url so i can read about it or can you give
im pretty sure its still there
-igor
On Fri, Dec 4, 2009 at 10:12 PM, Johan den Boer
johanj.denb...@gmail.com wrote:
Hi
I am new to wicket so this question may already been answered. In my java
class which is extended from WebPage I can not add a Label.
add(new Label(message, Hello World))
No is not working.
the error message is
The method add(Component[]) in the type MarkupContainer is not applicable
for the arguments (Label)
I am using eclipse 3.5 and maven. In my pom file
dependencies
dependency
groupIdorg.apache.wicket/groupId
wicket 1.4.3 is jdk5+
-igor
On Fri, Dec 4, 2009 at 10:46 PM, Johan den Boer
johanj.denb...@gmail.com wrote:
No is not working.
the error message is
The method add(Component[]) in the type MarkupContainer is not applicable
for the arguments (Label)
I am using eclipse 3.5 and maven. In my
Hi,
ok, now is working
thanks
igor.vaynberg wrote:
wicket 1.4.3 is jdk5+
-igor
On Fri, Dec 4, 2009 at 10:46 PM, Johan den Boer
johanj.denb...@gmail.com wrote:
No is not working.
the error message is
The method add(Component[]) in the type MarkupContainer is not applicable
Hi all,
I'm not able to find-out how to respond on HTTP request
(via mounted URL) by setting HTTP result code
to specific value e.g. 402 (Payment required) etc...
Pls, could somebody push me forward?
Thx, pf
-
To unsubscribe,
Hi Everyone,
I am attempting to load an image that takes some time. I can load a
remote image using the URL, but when it takes time to gather the data
and then get the url, I get this:
[java] 11174 [btpool0-1] ERROR org.apache.wicket.RequestCycle -
Exception in rendering component: [Component
48 matches
Mail list logo