Hi, guys.
Here is a problem I met today:
When I use DatePicker and I change it's model when ajax request
received, on client side date picker's button image doubles.
It happens because on every request date picker is initialized again
and renders new image every time, but old one doesn't
Thanks for this fast reply!
Best regards, Alexander.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Hi, guys.
I've got repeater, each row of which is backed by model object. Each
row has check box, so I can select multiple rows and delete
appropriated model objects when 'delete' button pressed.
I have in mind two ways how to implement this. One is to parse raw
response and retrieve post
Hello.
Use setModel() in this case.
Best regards, Alexander.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Hi.
What's wrong with wicket's form?
Best regards, Alexander.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Hi.
See Java Doc for PageableListView
http://wicket.apache.org/apidocs/1.4/org/apache/wicket/markup/html/list/PageableListView.html
and it's ascendant
http://wicket.apache.org/apidocs/1.4/org/apache/wicket/markup/html/list/ListView.html.
From Java Doc:
A ListView is a repeater that makes it
Why are you trying to use component that is intended to work with
java.util.List when your domain object is Set?
Try one of AbstractPageableView implementations, f.e. DataView.
Best regards, Alexander.
-
To unsubscribe, e-mail:
Hi.
Why don't you use wiQuery?
BTW, it's not a good idea to set markup id, because you're not sure
whether it's unique across entire page. Let it be set by framework.
If you don't want to use wiQuery, use header contribution to inject
jquery related code from java code to page. In this case you
Hey, in development mode you can check ajax debug panel. So, you can
see all ajax request.
If it doesn't help could you, please, provide sample source?
Best regards, Alexander.
-
To unsubscribe, e-mail:
Hello.
See this link for property expression language:
https://cwiki.apache.org/WICKET/property-expression-language.html
property.index: If the property is a List or Array then the second
property can be used as a index on that list/array
like this: 'mylist.0'.
Best regards, Alexander.
Hello.
What's problem with button?
Why do you need tabbed panel's markup id? If button that changes
selected tab is in another panel, you could pass callback to panel's
constructor
Best regards, Alexander.
-
To unsubscribe,
Hello.
Could you please give some details? Or sample?
Best regards, Alexander.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
So, any suggestion here?
Best regards, Alexander.
Hi, guys.
I've got one page that contains AjaxTabbedPanel component. Each ITab
contains AjaxTabbedPanel. So, page contains tabs and subtabs. When different
tabs selected, location path isn't changed. Could you suggest me how to
change location for every selected tab?
For example, there are
Hi, guys.
I noticed AjaxFormComponentUpdatingBehavior overwrites earlier added with
AttributeAppender/AttributeModifier handlers.
Could you give me any suggestion how to make them coexistent?
Best regards, Alexander.
Hi, guys.
Here is code I'm using to show modal window in response of AjaxLink onClick
event:
public void onClick( AjaxRequestTarget target ) {
modal.show( target );
target.focusComponent( getComponentToBeFocuse() );
}
It's working correctly on FireFox and Opera, but isn't working on
Hi, guys.
I'm trying to use wicket-guice extension in my wicket application.
My application instantiates some services in my session implementation and
passes some parameters to it when user is authenticated.
I'm trying to inject these services using Guice.
But they're not injected in my session
Great! Thanks!
Best regards, Alexander.
Hey.
I met the same problem when I started to implement my app using Wicket and
GAE. On GAE there is problem with serialization. GAE prohibits to use
replacement substitution, so WIcket's methods like Component#modelChanged()
or Component#modelChanging() cause AccessControlContext. To fix this
Hi, guys.
Is there currently any integration of google charts with wicket?
I've found some articles like that
http://www.codecommit.com/blog/java/a-wicket-api-for-google-charts. But they
are really old.
So, I'm curious whether there is any active integration with google charts.
Best regards,
Thanks for replies, guys.
Yes, I've checked this project. As I understand it hasn't been updates a lot
of time. I guess it has lived without update from 2007. I can see that it's
supporting not so many types of chart as Google Charts is providing
currently. And Major Peter is right, it depends
Hi, guys.
I'm developing a form that allows user to upload file and then shows message
in modal window.
Modal window appears the same time user pushes upload button and shows busy
indicator. When file is uploaded,
modal window shows status message.
This approach works fine for single requests
Hi, I don't think that this is problem. 'Page expired' message appears
immediately when I click link. There is no timeout or something like that. I
serf pages, then click link and 'Page Expired' message appears. As you can
see there is log's message that says there is no version manager for this
Hi, guys.
I've got problem with 'Page Expired' message. I'm developing application
that is worked on GAE.
It has one page with help content. There is two help pages. Help page
contains two separated divs. One div for table of content, second - for
content.
When user clicks on link, page is
Hi.
I'm using org.apache.wicket.protocol.http.HttpSessionStore.
Guess it's not cause, because other links from other pages work well.
Best regards, Alexander.
Hi, guys.
I'm trying to create sing in page in modal window. So, there is home page
with sign in link. When user clicks the link modal window appears with
login/password form. When user submits valid authentication credentials
modal window is closed and sign in link is changed to sign out link.
Hey.
Thanks a lot for help. Feedback panel is shown now and sign out link appears
when it should. But firefox still doesn't want to save and insert values for
username/password fields. Usually, firefox asks to save login/password when
form is submitted, but when form is submitted from modal
Hi, friends.
Could you help me with subject?
Here is the situation. I want to create manageable list of item, so I could
add new items to it, update current state of each item and remove items.
I'm using ListView for this purpose. Here is sample code that works with
ListString that describes
Thanx a lot! Now it's working fine. Didn't think problem is in
setReuseItems. Thanx again.
Best regards, Alexander.
Hi, guys.
Just use PropertyModel.
Instead of this:
code
container.add(new ListViewMyPanel(panels, panels) { ... }
/code
use this
code
container.add( new ListViewMyPanel(panels, new PropertyModelList?
extends MyPanel( this, panels ) ) { ... }
/code
where 'this' is referenced to instance of
Hi.
I'm not sure. But when you call add() method you pass reference to the
certain component. If you create new object and assign reference to it, you
just create reference to new object, but old one references to old object.
For example,
// here is new component creation
1. Component c = new
Hi, guys.
I'm trying to implement DropDownChoice that could render select tag with
possiblity to add style with css.
What do I mean:
select tag rendering is OS dependent. So, plain select element is always
ugly. There is no possibility to change arrow, or border of drop down list
only with css.
32 matches
Mail list logo