Hello,
I have a FeedbackPanel, a TreeTable and an Add button. When I click on
the Add button, I check if there are any selected nodes in the tree. If
there are none, I want to display an error message in the FeedbackPanel.
How to do this?
The following doesn't work:
feedback.error(Select
feedback.rendercomponent()???
i assume this add button is an ajax button? in that case you have to
add the feedback panel to the ajax target passed to you. there are
plenty of examples in wicket-examples.
-igor
On Sun, Aug 2, 2009 at 11:23 PM, Gajo Csabacg...@i-rose.si wrote:
Hello,
I have a
Thanks Igor, that was exactly what I needed to do. Could you tell me
what does target.addComponent() do? It tells Wicket which component
should be refreshed by the ajax request?
Igor Vaynberg wrote:
feedback.rendercomponent()???
i assume this add button is an ajax button? in that case you
I'm sure he was just using WTF as a reference to his own reaction when
digging down into the deeper classes and not as a criticism. In fact I
think he has said this.
Using Google is fine but Google sometimes refers you forums and mailing
lists where experts can help.
Anyway, the wicket in
Hi!
In normal requests feedbackmessages are processed like follows:
public final void beforeRender()
{
if (!(this instanceof IFeedback))
{
internalBeforeRender();
}
else
{
Feedbacks should be processed in prepareRender method which should be
called on Ajax requests as well. If it isn't it would be a bug.
-Matej
On Mon, Aug 3, 2009 at 11:59 AM, Martin
Makundimartin.maku...@koodaripalvelut.com wrote:
Hi!
In normal requests feedbackmessages are processed like
Is it possible they are not ajax-processed at all if they are not
visible in some earlier stage (=if there are no messages when
isvisible is checked...??)?
**
Martin
2009/8/3 Matej Knopp matej.kn...@gmail.com:
Feedbacks should be processed in prepareRender method which should be
called on Ajax
Ah, I get it. Yes, you are right too, just never got around rewriting
the login to a stateless form. It has no priority though as our session
never dies.
Regards,
Erik.
Martin Makundi wrote:
Login page is visible, but the form
action=/?wicket:interface=:0:1 which is stateful. If my
Hi Martin
Which is suitable to create a financial Portal.
In Flex we can easily create UI components.(I heared).
shall we insert a flex graph in to wicket page?
ThanksRegards,
Gerald A
On Mon, Aug 3, 2009 at 10:53 AM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Hi!
Here are
Which is suitable to create a financial Portal.
Both.
In Flex we can easily create UI components.(I heared).
shall we insert a flex graph in to wicket page?
Yes, you can also MIX, no problem. We have done that. Wicket site with
Flex Widgets. You can pick the best of both worlds.
**
Martin
Hello,
I've got an ajaxTabbedPanel inside a ModalWindow. I would like to call some
javascript _after_ the panel from ajaxTabbedPanel is displayed.
Overriding onAjaxUpdate(AjaxRequestTarget target) doesn't help as it seems
it gets called before the panel gets displayed.
Do you have any ideas?
I added a jira issue with a possible fix suggestion:
https://issues.apache.org/jira/browse/WICKET-2411
**
Martin
2009/8/3 Martin Makundi martin.maku...@koodaripalvelut.com:
Is it possible they are not ajax-processed at all if they are not
visible in some earlier stage (=if there are no
Thanks - that's very neat. It also made me spend some time looking at
that area of the framework, which will be useful in the future.
With that strategey and annotation, handling nullable data is a
non-issue when a component uses a model for all its data requirements.
There are obviously
I'm not sure, but are you looking for this:
AjaxRequestTarget #appendJavascript(javascript)
?
Eyal Golan
egola...@gmail.com
Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74
P Save a tree. Please don't print this e-mail unless it's really necessary
On Mon,
Hello,
Tks for the reply. Yes, I'm using that, the problem is it gets called before
the rendering finishes. I need something that runs after it got rendered.
Any ideas?
Cristi
On Mon, Aug 3, 2009 at 1:07 PM, Eyal Golan egola...@gmail.com wrote:
I'm not sure, but are you looking for this:
That can not be right. The javascript added with
AjaxRequestTarget#appendJavascript should be executed /after/ the DOM
manipulations have finished. Maybe you called prependJavascript by accident?
Or do you refer to something another thing when you write 'before the
rendering finishes'?
BTW,
Hi all! I've a situation where I want the form to validate some hidden or
disabled field.
An example is a text field where the user is not allowed to write directly
but only insert some items from some source, a lookup button (this is
much more flexible than a drop down box!).
I set this
I think you're right. Maybe I need smth like a dom ready thing. The
javascript call I'm making is to update something that's not yet there. If I
use firebug to inject the call after it finished rendering it works.
On Mon, Aug 3, 2009 at 2:03 PM, Erik van Oosten e.vanoos...@grons.nlwrote:
That
We currently do a multilanguage site with Wicket and ran across the
following problem: To be able to encode the chosen language in the URL,
we append it to every URL like
www.site.com/sitemap/fr
www.site.com/sitemap/en
(www.site.com/sitemap would mean default language)
This works fine with
I used JQuery
$(document).*ready*(function(){
// Your code here...
});
and it works now. Don't know why OOB Wicket doesn't work in this case.
Thks.
On Mon, Aug 3, 2009 at 2:08 PM, Cristi Manole cristiman...@gmail.comwrote:
I think you're right. Maybe I need smth like a dom ready thing.
1. If you in control of the input of these disabled fields, why allowing
illegal arguments in the first place?
2. If you can't control the entered values, try use FormValidator. With this
class, you can create your own Validate logic with the desired fields.
Eyal Golan
egola...@gmail.com
Visit:
Thanks, that is even more than I needed and will solve other issues I have
with Wicket and requests/URLs.
And yes, I'm eagerly awaiting some first 1.5 beta download. ;)
Regards,
Roman
Erik van Oosten wrote:
Please see this thread.
Please help me use detachablemodel inside a list view
here is my code
private class DocumentsPanel extends Panel {
public DocumentsPanel( final ListAuditProgramDocument documents ,final
String name) {
super(documentsPanel);
ListIModelAuditProgramDocument models= new
egolan74 wrote:
1. If you in control of the input of these disabled fields, why allowing
illegal arguments in the first place?
2. If you can't control the entered values, try use FormValidator. With
this
class, you can create your own Validate logic with the desired fields.
1. Good
I know its been talked about before
http://cwiki.apache.org/WICKET/best-practices-and-gotchas.html#BestPracticesandGotchas-Gotchas
Just had to restate it, make myself remember.
mf
/**
* Adds a component to the list of components to be rendered
*
* @param component
*component to be rendered
*/
public void addComponent(Component component)
i suggest you get sources or javadoc into your IDE so you can see it.
it
where does ListAuditProgramDocument documents come from?
-igor
On Mon, Aug 3, 2009 at 7:49 AM, tubin genfachh...@gmail.com wrote:
Please help me use detachablemodel inside a list view
here is my code
private class DocumentsPanel extends Panel {
public DocumentsPanel( final
use HiddenField instead of a TextField, that way there is no need to disable it.
then the textfield/lookup button can be client-side things that
populate the hidden field.
-igor
On Mon, Aug 3, 2009 at 7:51 AM, nytrusnytrus...@gmail.com wrote:
egolan74 wrote:
1. If you in control of the
it should be possible to create an IResponseFilter that checks for
this and reports the error in dev mode.
-igor
On Mon, Aug 3, 2009 at 8:00 AM, Martin Funkmafulaf...@googlemail.com wrote:
I know its been talked about before
The next version of WicketForge has an inspection that looks for this.
On Mon, Aug 3, 2009 at 8:24 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
it should be possible to create an IResponseFilter that checks for
this and reports the error in dev mode.
-igor
On Mon, Aug 3, 2009 at 8:00
And, if you want to display the currently-selected thing, then try
using a label (with a little style to it perhaps).
On Mon, Aug 3, 2009 at 11:23 AM, Igor Vaynbergigor.vaynb...@gmail.com wrote:
use HiddenField instead of a TextField, that way there is no need to disable
it.
then the
anything similar for Eclipse?
On Mon, Aug 3, 2009 at 4:40 PM, Nick Heudecker nheudec...@gmail.com wrote:
The next version of WicketForge has an inspection that looks for this.
On Mon, Aug 3, 2009 at 8:24 AM, Igor Vaynberg igor.vaynb...@gmail.com
wrote:
it should be possible to create an
like this?
~/dev/sandbox/wicket-trunk$ jsvn diff
Index: wicket/src/main/java/org/apache/wicket/Application.java
===
--- wicket/src/main/java/org/apache/wicket/Application.java(revision
800428)
+++
yep, now if you would only attach it to a jira issue and check that
attachment is ASL licensed check box we will be happy to roll it in
:)
-igor
On Mon, Aug 3, 2009 at 8:58 AM, Martin Funkmafulaf...@googlemail.com wrote:
like this?
~/dev/sandbox/wicket-trunk$ jsvn diff
Index:
That I get it from the database but my question is when user clicks on a
particular Item ie AuditProgramDocument I want to reload this as its
auditProgramDocument.getDocumentBytes() is lazy , In refreshing view I can
reload each item but why not in listview ?
igor.vaynberg wrote:
where
Use DataView or take a look at how PropertyListView creates a
CompoundPropertyModel for each listitem.
Martijn
On Mon, Aug 3, 2009 at 6:25 PM, fachhochfachh...@gmail.com wrote:
That I get it from the database but my question is when user clicks on a
particular Item ie AuditProgramDocument I
yep, use dataview and
http://wicketinaction.com/2008/09/building-a-smart-entitymodel/
-igor
On Mon, Aug 3, 2009 at 9:28 AM, Martijn
Dashorstmartijn.dasho...@gmail.com wrote:
Use DataView or take a look at how PropertyListView creates a
CompoundPropertyModel for each listitem.
Martijn
On
https://issues.apache.org/jira/browse/WICKET-2412
wow, now we all can be happy together ;-)
mf
2009/8/3 Igor Vaynberg igor.vaynb...@gmail.com
yep, now if you would only attach it to a jira issue and check that
attachment is ASL licensed check box we will be happy to roll it in
:)
-igor
Hi all,
I am using wicket and blazeds. The users logs in through wicket and they
use blazeds services as well. I need to verify in MessageBrokerServlet
(blazeds servlet) that the user has logged in. Then I added the
WicketSessionFilter to get the session. But I got a null pointer exception:
Hi all,
I am using wicket and blazeds. The users logs in through wicket and they
use blazeds services as well. I need to verify in MessageBrokerServlet
(blazeds servlet) that the user has logged in. Then I added the
WicketSessionFilter to get the session. But I got a null pointer exception:
voila
-igor
On Mon, Aug 3, 2009 at 9:46 AM, Martin Funkmafulaf...@googlemail.com wrote:
https://issues.apache.org/jira/browse/WICKET-2412
wow, now we all can be happy together ;-)
mf
2009/8/3 Igor Vaynberg igor.vaynb...@gmail.com
yep, now if you would only attach it to a jira issue and
thank you
2009/8/3 Igor Vaynberg igor.vaynb...@gmail.com
voila
-igor
On Mon, Aug 3, 2009 at 9:46 AM, Martin Funkmafulaf...@googlemail.com
wrote:
https://issues.apache.org/jira/browse/WICKET-2412
wow, now we all can be happy together ;-)
mf
2009/8/3 Igor Vaynberg
what version of wicket are you using? for me line 158 is }
-igor
On Mon, Aug 3, 2009 at 9:59 AM, Fernando
Wermusfernando.wer...@gmail.com wrote:
Hi all,
I am using wicket and blazeds. The users logs in through wicket and they
use blazeds services as well. I need to verify in
Wicket 1.3.6
This is the line
sessionKey = application.getSessionAttributePrefix(null) +
Session.SESSION_ATTRIBUTE_NAME;
On Mon, Aug 3, 2009 at 10:11 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
what version of wicket are you using? for me line 158 is }
-igor
On Mon,
it looks like you are not setting the filterName attribute of the
session filter to the name of the wicket filter. because of that it
cannot find the correct application object.
-igor
On Mon, Aug 3, 2009 at 10:25 AM, Fernando
Wermusfernando.wer...@gmail.com wrote:
Wicket 1.3.6
This is the
HiddenField is a good thing to know about :)
Eyal Golan
egola...@gmail.com
Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74
P Save a tree. Please don't print this e-mail unless it's really necessary
On Mon, Aug 3, 2009 at 5:23 PM, Igor Vaynberg
From modal window javadoc:
* If you want to use form in modal window component make sure that
you put the modal window itself
* in another form (nesting forms is legal in Wicket).
-Matej
On Mon, Aug 3, 2009 at 8:15 PM, Marcin Palkamarcin.pa...@gmail.com wrote:
Hi,
I am experiencing a
Matej,
Thanks. I missed that remark :-| I have used forms within a modal window
before and I haven't suffered of problems like this one. I mean I haven't
had to put that extra form outside a modal window. Except for the fact that
I haven't had any TabbedPanels on my modals.
cheers,
Marcin
--
Please provide me an example of ListView where each item is detachable .
Martijn Dashorst wrote:
Use DataView or take a look at how PropertyListView creates a
CompoundPropertyModel for each listitem.
Martijn
On Mon, Aug 3, 2009 at 6:25 PM, fachhochfachh...@gmail.com wrote:
My pages I see a strange symbol donot know the cause of this , the symbol
in IE and firefox is differnt . Please help me tell what is causing
this.Will attach the images in reply to this post.
My pages I see a strange symbol donot know the cause of this , the symbol
in IE and firefox is differnt . Please help me tell what is causing
this.below are the images.
In IE
http://www.nabble.com/file/p24797435/IE.png
in firefox
http://www.nabble.com/file/p24797435/firefox.png
Hi,
Those symbols are shown when your system doesn't know how to render a
particular character code. This could happen e.g. when you're trying
to display Japanese characters without having a Japanese font
installed.
Cheers,
Erik
On Mon, Aug 3, 2009 at 10:17 PM, fachhochfachh...@gmail.com wrote:
thanks igor
On Mon, Aug 3, 2009 at 10:30 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
it looks like you are not setting the filterName attribute of the
session filter to the name of the wicket filter. because of that it
cannot find the correct application object.
-igor
On Mon, Aug 3,
Btw, this might happen when you copy text from, say, a web page. The
page may look normal, but contain non-standard versions of common
characters such as double quotes/apostrophes/three consecutive
dots/other. They may look ok in your editor, but they'll have
non-standard char codes and could lead
Sync properly:
- filesystem charset
- html charset meta .. -tag
**
Martin
2009/8/3 fachhoch fachh...@gmail.com:
My pages I see a strange symbol donot know the cause of this , the symbol
in IE and firefox is differnt . Please help me tell what is causing
this.below are the images.
Hi all
I'm trying to use CheckGroup, but encounter some problems. First, my code:
class NameValueListViewT extends ParameterValueProvider? extends
ListViewT {
U void displayItem(ListItemT listItem, ParameterValueProviderU
parameter) {
...
ListU enumItems = new
56 matches
Mail list logo