);
}
target.addComponent(panel);
}
[/code]
However, the enabling and disabling of the controls under the radio group
are being ignored.
Any idea why?
Thanks.
Kent Tong wrote:
Alex Objelean alexandru.objelean at isdc.ro
I have a strange issue when using ModalWindow in my application. Sometimes
(randomly), I got the following error in ajax-debug window:
[MESSAGE]
INFO: Response parsed. Now invoking steps...
ERROR: Exception evaluating javascript: TypeError: Wicket.Window has no
properties
[/MESSAGE]
The
), but
have problems when the ajaxTabbedPanel is updated via ajax.
Any thoughts?
Thank you,
Alex.
Matej Knopp-2 wrote:
What wicket version are you using?
-Matej
On 7/18/07, Alex Objelean [EMAIL PROTECTED] wrote:
I have a strange issue when using ModalWindow in my application.
Sometimes
There is no such out of the box component that will do exactly what you need.
Wicket give you the flexibility to create whatever you need. You just apply
your knowledge of html css (for visual presentation) and can achieve your
goal.
Using Wicket, you can dynamically load content from anywhere
Use AttributeAppender behavior instead..
kubino wrote:
Hi. We are trying to put some own javascript code in the onClick method of
the checkbox component. Unfortunately we need also the wicket code which
is generated in onComponentTag method when onSelectionChangeNotifications
is true. So
Sorry, for quickdirty response :)...
You can add AjaxEventBehavior to your checkbox and override
getAjaxCallDecorator() method, thus decorating the wicket onclick script
with your own script.
Alex Objelean wrote:
Use AttributeAppender behavior instead..
kubino wrote:
Hi. We
First of all you must setOutputMarkupId to true for the text component:
text.setOutputMarkupId(true);
Also, you are modifying the id attribute, and not the css... this is also a
problem
so instead of:
text.add(new SimpleAttributeModifier(id,test));
do this:
text.add(new
) {
// (...)
target.addComponent(text);
}
}
});
2007/7/3, Alex Objelean [EMAIL PROTECTED]:
First of all you must setOutputMarkupId to true for the text component:
text.setOutputMarkupId(true);
Also, you are modifying the id attribute, and not the css... this is also
Igor, can you give a more elaborate example? I'm interested in such a
solution with a model that has listeners.
Thank you!
igor.vaynberg wrote:
you can build a model that has listeners and a notify() method when
setobject() is called. then inside the listener you can do
{ if
There is another approach, see
http://www.nabble.com/-Question--wicket.markup.html.form.Radio-tf3926549.html#a11135460
here
JulianS wrote:
I've created a solution that works for me. See
http://blogstoyevskys-javajourney.blogspot.com/2007/06/ajax-enabled-radio-group-for-wicket-12x.html
Thank you Tong, interesting approach.
I make it work for me by adding AjaxFormSubmitingBehavior to the Radio
component, just to keep in synch the model with the RadioGroup state. But
your solution is more elegant.
Kent Tong wrote:
Alex Objelean alexandru.objelean at isdc.ro writes
/BODY
/HTML
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alex
Objelean
Sent: 14 June 2007 20:43
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] AJAX causing UI state corruption
Can you explain what do you mean
Why wicket.markup.html.form.Radio component does not extend FormComponent?
I wanted to add a FormComponentUpdatingBehavior to this component and it is
not possible because it does not extend the FormComponent, but a
WebMarkupContainer.
Thank you!
--
View this message in context:
Thank you Jan! Sad thing is that 1.2.x branch will never support this
feature.
Jan Kriesten-3 wrote:
hi alex,
Why wicket.markup.html.form.Radio component does not extend
FormComponent?
I wanted to add a FormComponentUpdatingBehavior to this component and it
is
not possible because
Can you explain what do you mean by but iframe transparency issues meant
access to underlying
form component.?
I am using option 2 to avoid UI state corruption and didn't have any
problems with it.
Seldon, Richard wrote:
Experiencing a wicket problem to do with UI state corruption when
I have a question about the render method. Why, before rendering, instead of
checking isVisibleInHierarchy(), isVisible() is called?
public final void render(final MarkupStream markupStream)
{
setMarkupStream(markupStream);
to the childs. So the parent is already checked for
visiblility.
what you seem to have is more another bug that something
is not created or tried to rendered that is already removed by another
request
On 6/13/07, Alex Objelean [EMAIL PROTECTED] wrote:
I have a question about the render
You just have to respect the hierarchy you have defined in the markup.
Nart Seine wrote:
Hello,
I made an innocent programming error that day by adding a Form as a child
component of a TextField thats already the child of the Form. In that
case,
execution gets stuck in an infinite loop
In our company we are using Wicket since last year and I am working on the
second project with it. For the first project, client insisted on using
wicket and this was an opportunity to learn.
For the second project (fully ajaxified application), we had to choose
between GWT and Wicket, and
I use for this purpose the Igor's idea of OnLoadJavascriptBehavior, see
http://www.nabble.com/adding-a-listener-to-the-AjaxRequestTarget-tf3065865.html#a8548871
here .
N. Kiellberg wrote:
Hi
I have panel where I have added a TextTemplateHeaderContributor. When I
include this panel
You should use javascript to hide your component.
Matthieu Casanova wrote:
Hi, I want to hide a component, and sometimes making it visible using
javascript.
Is there something like that in wicket api or should I do it myself with
some javascript ?
Matthieu
It seems that you need some css guidance:
http://www.positioniseverything.net/ Visit This link
Lec wrote:
Do you happen to know the attribute and its value for setting the position
to the right?
Timo Rantalaiho wrote:
On Wed, 30 May 2007, Lec wrote:
I need some guidance. By
Compagner wrote:
But do we have components or behaviors that output this kind of ajax
scripts
that aren't working in IE7?
So the question is who is generating that code/script?
johan
On 5/31/07, Alex Objelean [EMAIL PROTECTED] wrote:
Not necessarily, only if you (core developers
Probably it is well known bug for most of you, but I think it worth to
mention again about it and its workaround.
The bug appears when the ajax response contains a script which normally
should be evaluated (and it does in gecko browsers) but the script is not
evaluated in IE (any version,
Not necessarily, only if you (core developers) consider that it worth the
effort..
I just thought that this workaround could be useful for anyone who have
struggled with the same problem...
Alex
Eelco Hillenius wrote:
2) Wrap the script into the tag, like this:
script
//your
.
Alex.
Ingram Chen-2 wrote:
Is there any progress on this issue ?
I search JIRA but there is no related issue...
On 5/11/07, Alex Objelean [EMAIL PROTECTED] wrote:
I'll add a quickstart as soon as possible... (tomorrow by noon)
Thank you!
Matej Knopp-2 wrote:
Okay. Can you please
There is at least two solutions.
1. The ideea is to use script tag as a Label component and its modelObject
contains a generated script
http://www.nabble.com/Feedbackmessages%3A-extend-by-new-type-ALERT---tf3795933.html
see this post .
2. Use TextTemplateHeaderContributor for adding
I am very curious to analyze the existing wicket-fvalidate project.. but all
the reference to it are not valid.
Can somebody help me to find it?
Thank you!
--
View this message in context:
http://www.nabble.com/cannot-find-wicket-fvalidate-tf3794524.html#a10732301
Sent from the Wicket - User
I've notices a strange behavior of the AjaxFormComponentUpdatingBehavior
after migration to 1.3... it does not update the backing model object. Am I
wrong or there is an issue with the latest snapshot?
Thank you!
--
View this message in context:
You should read wicket:child tag as extends keyword... This way wicket
works. Why are you looking for different solution when there are many more
which works great?
Chris Colman wrote:
As Alex says, wicket:child tags can't solve this because that's not
the way they're intended to be used.
Is it possible to apply TextTempate inside the markup of the component?
More specifically, for the following markup:
wicket:head
style
#${componentId} .selected {
background: blue;
}
/style
/wicket:head
wicket:panel
This is markup for my component
/wicket:panel
the
the same principle applies, no? Just give the
inner tab panel a different CSS class than the outer one.
jk
On Wed, May 16, 2007 at 07:39:04AM -0700, Alex Objelean wrote:
This solution adds the css class the the entire tabbedPanel container,
subsequently all nested tabbedPanels will be treated
I've noticed that having two components with AjaxEventBehavior attached to
each of them, trigger a synchronous ajax call:
Button b1 = new Button(b1);
b1.add(new AjaxEventBehavior(onclick) {
protected void onEvent(final AjaxRequestTarget target) {
doSomethingSlow1();
}
});
AjaxEventBehavior on button
instead of just using AjaxLink?
-Matej
On 5/17/07, Alex Objelean [EMAIL PROTECTED] wrote:
I've noticed that having two components with AjaxEventBehavior attached
to
each of them, trigger a synchronous ajax call:
Button b1 = new Button(b1);
b1.add(new
to go
that far then just create your own tabbedpanel, its only a few lines of
code. what i can see is some overridable method to add a css class to that
tab row, will that work?
-igor
On 5/16/07, Alex Objelean [EMAIL PROTECTED] wrote:
Though it can be a solution, it is not a natural
On 5/17/07, Alex Objelean [EMAIL PROTECTED] wrote:
Yes, it is acceptable an solution...
Also, I thought about somehow dynamically providing markup for the
tab-row
container, or having a possibility to decorate it with you own
container...
any thoughts?
igor.vaynberg wrote:
i dont like
Currently, the markup generated for the tabbedPanel component looks like
this:
[code]
wicket:panel
div class=tab-row
ul
li wicket:id=tabs
# [[tab title]]
/li
/ul
/div
[panel]
/wicket:panel
[/code]
I think that it would be more useful to add a container to the
manipulate the wrapper div, simply attach a
WebMarkupContainer to it.
HTH
jk
On Wed, May 16, 2007 at 04:33:37AM -0700, Alex Objelean wrote:
Currently, the markup generated for the tabbedPanel component looks like
this:
[code]
wicket:panel
div class=tab-row
ul
li wicket:id=tabs
-0700, Alex Objelean wrote:
That is the problem. How can I attach a WebMarkupContainer to a tab-row
container?
The markup is generated by TabbedPanel and I cannot manipulate it's
markup... :(
Hi Alex,
The way I've tackled this is to have a wrapper div around the entire tab
panel, like
I have also migrated from 1.2.4 to 1.2.6 but without any problems. How have
you included your CSS in the page?
Ayodeji Aladejebi wrote:
The migration wasnt seamless at all as before.
I just changed jar file from 1.2.4 to 1.2.6 and CSS and images were being
reported not found. I havent even
Would this solution work better for you?
body
wicket:extend
div id=projects-panel
div wicket:id=projects-panel/div
/div
div id=agents-panel
div wicket:id=agents-panel/div
/div
div id=builds-panel
div
, it depends on how complex your application is.
-Matej
On 5/9/07, Alex Objelean [EMAIL PROTECTED] wrote:
Well, it's a bad-bad news for me :(
As far as I know, the wicket-1.3 does not have yet stable release, is it
correct? If so, when approximately it will be available?
And another two
I'll add a quickstart as soon as possible... (tomorrow by noon)
Thank you!
Matej Knopp-2 wrote:
Okay. Can you please create a quickstart that can be used to reproduce
this and add attach it to a jira bug entry?
Thanks
-Matej
On 5/10/07, Alex Objelean [EMAIL PROTECTED] wrote:
I
I have the same issue and I am using wicket 1.2.6..
I am also developing an ajax application (desktop like)... Is it a known
issue or bug in my code?
Thank you!
Regards,
Alex.
Matej Knopp-2 wrote:
You seem to be using 1.2, is that right?
-Matej
On 4/30/07, RedFury [EMAIL PROTECTED]
application I'd certainly suggest
you migrating to 1.3. There are issues in 1.2 with AJAX that are
unfixable, because they would require API breaks, which is something
we can't do.
-Matej
On 5/9/07, Alex Objelean [EMAIL PROTECTED] wrote:
I have the same issue and I am using wicket 1.2.6..
I am
.
As for the migration, it depends on how complex your application is.
-Matej
On 5/9/07, Alex Objelean [EMAIL PROTECTED] wrote:
Well, it's a bad-bad news for me :(
As far as I know, the wicket-1.3 does not have yet stable release, is it
correct? If so, when approximately it will be available
VisibilityChange(this));
// Change visibility
setFlag(FLAG_VISIBLE, visible);
}
return this;
}
i don't see any code touching the model.
johan
On 4/15/07, Alex Objelean [EMAIL PROTECTED] wrote:
I don't understand why if the component
I don't understand why if the component visibility is set to false, the
backing model object is set to null? Is there any reason? I find it more
useful to not touch at all the backing object is such case. What is your
opinion?
Thank you!
--
View this message in context:
Thank you for your reply, Igor! How a RFE can be added?
igor.vaynberg wrote:
i think that can work, please add an rfe. we do have global js hooks that
you can use to create a global indicator.
-igor
On 4/6/07, Alex Objelean [EMAIL PROTECTED] wrote:
In wicket 1.2.5
In wicket 1.2.5, is not possible (at least I didn't manage to find a way) to
add AjaxIndicator image to a page for all Ajax requests made by its child
components.
Currently, the AbstractDefaultAjaxBehavior has a findIndicatorId() method
which is responsible to find the component id which should
I think, that it would be a great idea to have a project contribution based
on jQuery js framework with a possibility to extend easily widgets (jQuery
plugins).. similar to wicket-contrib-yui.
Alex
ZedroS Schwart wrote:
Would it be possible to have such a menu directly among wicket's
The nice part about wicket is that it does not limit your presentation
skills. Regarding menu, the best menu for me by now is a jQuery plugin wrote
by Jonathan Sharp: http://jdsharp.us/code/jQuery/plugins/jdMenu .
It uses a simple ul-li markup, supports unlimited levels and is completely
There is at least one post about this issue...
See here:
http://www.nabble.com/Wicket-1.2.4-bug-%28-%21-%29---changing-visibility-of-a-button-using-ajax-tf3242268.html
http://www.nabble.com/Wicket-1.2.4-bug-%28-%21-%29---changing-visibility-of-a-button-using-ajax-tf3242268.html
Gohan wrote:
... and a quick reply about your issue is (quoting Igor Vaynberg):
the proper way to do this is to add button's parent, that way the parent
will repaint itself without the button's tag in it, and later when you make
it visible the parent will repaint itself with button's tags so everything
works
the PropertyModel behave different, depending on modelChoices
implementation... If modelChoices model is constructed in a static way,
everything works ok, otherwise - it does not work. Do you have any idea why
it happens?
Thank you!
Alex Objelean wrote:
First of all, the functional description
:
The project was not built since its build path is incomplete. Cannot find
the class file for
wicket.protocol.http.request.urlcompressing.UrlCompressor..
Alex Objelean wrote:
... and a quick reply about your issue is (quoting Igor Vaynberg):
the proper way to do this is to add button's
First of all, the functional description:
I have a screen with the table which contains on each line a column with
description, a dropDownChoice (DDC) with a list of configurations and
another column with DDC with a list of years. When user changes a
configuration , the list of years updates
(LOL) Unfortunately more than 70% of users are using retarded browsers :))
(not like - it's IE!).
Alex.
Any ideas on how this might be fixed (accept for telling people not to
use a retarded browsers like IE)? Can we open an issue for it to track
it?
Eelco
--
View this message in context:
The bug is about setVisible() method which does not work on button (and not
only) components when using ajax updates.
Detailed description:
I have a DataView. Each line contains a description (Label component), a
configuration select (DropDownChoice component) and a download button
(Button
I am glad that so many people start to debate in this topic. First of all I
need to explain my usecase:
it is indeed about a tree... I have a tree containing Roles (hierarchical
structure). There is a screen in which the user must select the Roles which
he want to assign to a user.
The logic
I need to implement a tri-state checkbox component. It must behave the same
way as the normal checkbox do, but additionally it has an intermidiate state
which looks differently.. also, I want to change the lookfeel of the
checkbox control with another images (for instance MAC OS style). What is
way
to solve your business needs.
Regards
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag
von Alex Objelean
Gesendet: Mittwoch, 30. August 2006 12:21
An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user] Tri-state checkbox
Unfortunately, the dropDownChoice component does not suite my needs.
The ideea with button seems to be a good ideea, why not use just input
type=button or button instead of input type=submit... The problem
is: should I reuse the Checkbox code by extending it or just extend Form
component and
I was wondering if wouldn't it be better if the rendered page would not
contain wicket tags and wicket:id attribute?
The root problem is that validating the generated HTML returns errors,
starting with:
there is no attribute xmlns:wicket.
Does it make sense? Thank you!
--
View this message
I am currently using wicket-1.2.1 which compiles under java 1.4...
My question is why the same version of the wicket-auth-roles package is
targeting java 1.5?
Thank you!
--
View this message in context:
http://www.nabble.com/wicket-auth-roles-1.2.x-tf2103539.html#a5797285
Sent from the Wicket
The javadoc of the getListItemModel method of the abstract class ListView
states that
Subclasses may provide their own ListItemModel with extended
functionality. The default ListItemModel works fine with mostly static lists
where index remains valid. In cases where the underlying list changes a
Why I should always call setOutputMarkupId(true) when I want to ajaxify the
component, couldn't it by default be true?
--
View this message in context:
http://www.nabble.com/Question-about-OutputMarkupId-tf1883868.html#a5149915
Sent from the Wicket - User forum at Nabble.com.
Using Tomcat but
In this case, the designer efforts will be disabled anytime I use an
ajaxified component, isn't it?
For instance I have :
div wicket:id=idForWicket id=idForDesigner/div
in CSS:
div#idForDesigner {
float: left;
border: solid red 1px;
}
in JAVA:
Component component = new
Indeed, it seems that the old value is overriden with the generated value...
In this case, why the markupId do not care about the old value? Wouldn't it
be much better if it would be the same as the original id?
Alex Objelean wrote:
In this case, the designer efforts will be disabled anytime
First of all, thank you for your feedback, appreciate it very much!
I am new to Wicket. Before starting with Wicket I had some experience with
Echo2, where I do not have to worry about how to make a component being
ajaxified. This is why I am a little bit frustrated about this in Wicket..
Hope
I am trying to insert in my page an Image located at some URL...
I have looked at the examples, but there are only the following situations:
- Image as package resource
- Dynamically created image. Re-render whenever resource is asked for.
- Simple model
- Dynamically created buffered image
Yes, this is exactly what I need! :)
Thank you very much!
--
View this message in context:
http://www.nabble.com/-Beginner--Image-question-t1823773.html#a4974481
Sent from the Wicket - User forum at Nabble.com.
___
Wicket-user mailing list
Yes, this is exactly what I need! :)
Thank you very much!
--
View this message in context:
http://www.nabble.com/-Beginner--Image-question-t1823773.html#a4974498
Sent from the Wicket - User forum at Nabble.com.
___
Wicket-user mailing list
Unfortunatelly, this code throws an exception:
WicketMessage: Unable to find package resource [path =
training/wicket/countryInfo/http:/www.oorsprong.org/WebSamples.CountryInfo/Images/Romania.jpg,
style = null, locale = en_US]
Root cause:
wicket.WicketRuntimeException: Unable to find package
Yes, exactly... the Image I am trying to use is located outside my
application...
I thought it will be a piece of cake:(
--
View this message in context:
http://www.nabble.com/-Beginner--Image-question-t1823773.html#a4975150
Sent from the Wicket - User forum at Nabble.com.
Sorry.. my mistake. It works. I indeed forgot to use the ExternalImage
component.
Thank you again! :)
--
View this message in context:
http://www.nabble.com/-Beginner--Image-question-t1823773.html#a4975300
Sent from the Wicket - User forum at Nabble.com.
Well, in my case the URL is not static... it has different value depending on
what the service returns.(In my specific small application, I input
countryCode in the form and get the URL to the image which is the country
Flag...)
--
View this message in context:
I just started to learn the Wicket Framework, so sorry for a trivial
question... (I couldn't find the solution on the forum):
How can I change the innerHTML of the Link component dynamically?
For instance in the following code:
lt;a href=# wicket:id=navLinkPage1lt;/a
new Link(navLink) {
78 matches
Mail list logo