Hello wicket ppl,
im pretty new in wicket and im facing a problem which seems to me like im
missing some basic understanding here.
I have a form which is supposed to fill a filter object. So i add some
TextFields with property models, based on that object, to the form (actually to
a
For sure it has to be:
filterContainer.add(new TextFieldFilterObject(filterFoo, new
PropertyModelFilterObject(filter, foo)));
filterContainer.add(new TextFieldFilterObject(filterBar, new
PropertyModelFilterObject(filter, bar)));
[Beta Systems Disclaimer/Impressum:
Hy folks,
is there a way to determine if the current Item in onPopulate() is the
last one processed? I need to add an additional attribute to the last
DataView row.
Thanks for your help,
Benedikt
Save Paper: Think Before You Print Beta Systems Email Disclaimer and Email
Impressum
Beta
If you want to modify your data on a column-base, you should consider
using a DataTable instead of DataView/ListView.
So long,
Benedikt
Save Paper: Think Before You Print Beta Systems Email Disclaimer and Email
Impressum
Beta Systems email messages are confidential. They may also be
Hi folks,
is there anything i need to consider while setting up an DataTable with
FilterToolbar?
I have a FilterForm, added those 2 required hidden fields and everything
looks fine so far. But when i use the filter, the script fails setting the
focus on the 'active' field. I get a JS error
Hi folks,
is there anything i need to consider while setting up an DataTable with
FilterToolbar?
I have a FilterForm, added those 2 required hidden fields and everything
looks fine so far. But when i use the filter, the script fails setting the
focus on the 'active' field. I get a JS error
Solved it by extending FilterForm:
public class FilterForm extends
org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm
{
private static final long serialVersionUID = 1L;
public FilterForm(String id, IFilterStateLocator locator) {
super(id, locator);
The easiest and also the most obvious way to do this is to extend the
PagingNavigator and provide your own markup.
But if you dont want to remove all components added by PagingNavigator, you
should use the same wicket:ids and component hierarchie, just change what
you need to change (replace ''
I have a DataTable to show a list of domain objects (named DocumentLink).
These objects consist of a few attributes and some nested objects (e.g.
Application).
So im displaying data mixed up from different levels. For example, some
expressions configured in FilteredPropertyColumns are:
name,
Hy folks,
im trying to set up an DataTable with FilterToolbar but now im stuck. I want
to use the GoAndClearFilter, and that for i have to add an additional column
to the DataTable.
Im not quiet sure, which implementation is the right one for that, but as
far as i dont want to populate any data
I've implemented a CheckGroupColumn which is supposed to easily extend
the DataTable with multi-row actions.
But when i add it to my DataTable i get the following exception:
---
WicketMessage: Component label must be applied to a tag of type
'input', not 'span wicket:id=label' (line 0, column 0)
In short, i want to add a CheckGroupSelector instead of a Label.
So i guess i need a way to replace the markup of HeaderToolbar,
without rewriting the whole thing.
Suggestions?
-
To unsubscribe, e-mail:
own markup.
MyToolbar extends HeaderToolbar {
// override the constroctor only
}
then provide MyToolbar.html which is modified version of HeaderToolbar.html
On Thu, Sep 23, 2010 at 4:46 PM, Benedikt Schlegel
codecab.dri...@googlemail.com wrote:
In short, i want to add a CheckGroupSelector
Works fine.
Thanks a lot!
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
2010/12/6 Altuğ Bilgin Altıntaş alt...@gmail.com:
You can add css object programatically.
https://cwiki.apache.org/WICKET/including-css-resources.html
altug
I have to mention that switching off admin functionality by just
adding a css attribute (like display: none) is not secure.
You
I have a DefaultDataTable to get my data rendered in HTML which is
then postprocessed by a javascript lib to add some UI functionality
like moving and hiding columns and scrolling with fixed headers.
Now i want to add some checkboxes to make multi actions possible on
that table. For that, i want
Basically, i need a way to hook into the row-generating routine. I
would use DataView, but i need the column-based datahandling of the
DataTable..
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
Try to implement the delay on client side. Instead of submitting the
form directly, call a function with an internal timer.
Something like:
function delayedSubmit(form) {
if (form._delayedSubmit != null)
clearTimeout(form._delayedSubmit);
form._delayedSubmit =
Hi Dieter,
i think you might want to have a look at the following:
https://cwiki.apache.org/WICKET/jfreechart-and-wicket-example.html
So long,
Benedikt
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For
Your solution holds some unneccessary code/markup (a whole component)
while Martijns approach is straight to the point.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
I was just wondering, why the FilterToolbar component does not
consider IStyledColumn, unlike HeaderToolbar. In my opinion, its a
very simple, but effective key feature that should be provided by any
datatable component.
Solved it by creating my own FilterToolbar and taking some stuff from
Hi Alexander,
would you mind to give a short explanation of the logic in
MasterTableReuseStrategy?
Thanks
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
First, I never used the tree table from wicket-extensions. But i had a
very quick look at the code and had the following idea.
You could try to extend the TreeTable so you can provide your own
TreeFragment. This ExtendedTreeFragment could render different
components depending on the 'level'
Hey guys,
I'm having a hard time to get a jQuery-ui-sortable example with connected
lists (see [1]) working. Since the WiQuery API changed completely with
the last major release of Wicket and there are no up-to-date examples i can
find, i don't know what to do next. We're currently investigating
Hi Decebal, thank you for your reply.
I had a look at your project and I can see that you collect the sort order
with a custom js function onStopWidgetMove(), but I'm not able to actually
track down where this information is received or the stopEvent is handled.
Could you please point me out how
@Decebal: Thank you. I realized the problem lies somewhere around the
model..
Changes in the sort order do get saved to the underlying .xml-file, but
those changes won't get rendered by just doing an AJAX update.
When I press F5 to make a browser refresh, the page gets rendered properly.
The
Well, that was the cause for all that trouble. Such a pity I didn't think
of it myself :P
Sure, the view is already up-to-date after resorting it via jQuery.
Everything's working now.
Thanks a lot, Decebal
I'm getting a little tired of working with the models, seems I have some
serious understanding problems.
The view is NOT up to date by just having jQuery move some elements back
and forth. The element IDs of the ListItems stay the same, so when I resort
the same (n-th) element twice, there are
I have no maven installed, so I can't create a quickstart. Instead, I
zipped my project directory (an eclipse project) and uploaded it here:
http://uploaded.net/file/d2zahfva
Don't worry about the file size, all dependent libraries are in the
WEB-INF/lib directory. The project itself is actually
available download slots are busy currently,
please try again within a few minutes.
Can you e-mail it to me directly?
On Wed, Oct 31, 2012 at 4:17 PM, Benedikt Schlegel
codecab.dri...@googlemail.com wrote:
I have no maven installed, so I can't create a quickstart. Instead, I
zipped my
Hi,
I just thought how neat it'd be, if the ConversionException created and
thrown by DateConverter.convertToObject() would contain the format used for
the parse attempt..
A call on .setFormat(format) on the created ConversionException would do
the job, and one could present a more specific error
What I need is not what I want in this case.. I want to reuse wicket
components as much as possible. I don't want to reinvent the wheel.
In wicket, there are two separate, Date-specific TextField components:
- org.apache.wicket.extensions.markup.html.form.DateTextField
-
Maybe I should indeed post this on the developers forum? Or open a JIRA?
Greets
2012/11/5 Benedikt Schlegel codecab.dri...@googlemail.com
What I need is not what I want in this case.. I want to reuse wicket
components as much as possible. I don't want to reinvent the wheel.
In wicket
, but requires the Joda Time
dependency, which the wicket-extensions version is based on normal JDK API.
When JSR310 comes out in Wicket's minimum required Java version (Java 8?)
we can probably merge them.
Cheers,
Jesse
On 05/11/2012 13:40, Benedikt Schlegel wrote:
What I need is not what I
Hey there, i'm currently trying to understand what is actually needed so
Wicket considers a page stateful. Could you provide me some basic
information on that?
Basically, I want the user to authorize for the application and if he's
not, he should be send back to the login page. In the case of
Thanks for your quick response, guys! Got it working. No session expired
message for now.
Very helpful was the hint on how to decide between new/expired session but
also the general information about stateless-ness.
And your guide is awesome, Andrea! Can't believe I didn't run across this
36 matches
Mail list logo