The code below works just fine for me. Instead of using complex type as a
model object for a drop down I use an instance of IChoiceRenderer to control
what's used for an id and what's displayed as a value.
User user = ;
setModel(new CompoundPropertyModel(user));
Hi,
Is there any way to render a Inmethod DataGrid without column headers?
For wicket's standard DataTable there's a HeaderlessColumn but I
haven't been able to find an equivalent column type for DataGrid.
cheers
Marcin
-
To uns
Thanks for reply. I already gave this one a try. It does not seem to be
called at all. I searched through inmethod grid sources and it seems that it
really isn't called at all. My search shown only one occurence of
addHeaderToolbar method which is its declaration in AbstractDataGrid class.
This
Should it be considered a bad design to use callbacks from a modal window? I
use modal windows to edit rows from a grid. On save action I close the modal
window and then call a callback method back in the the calling panel which
makes the grid refresh. Does this approach carry any risk? What appro
Hi Jens,
I would suggest to create a base page class that contains common elements
and then for each customer extend your base page class. This makes it
possible to keep common message keys in a base class property file(s). As
far as I know in case wicket is not able to find a message key in a pr
Hi,
I migrated my application from 1.4-rc1 to 1.4-rc5 and noticed that the
ModalWindow's setResizable(false) method no longer works. All the
modal dialogs in my application became resizable. Was there any change
introduced in this area in the RC5 or is this a regular bug?
cheers,
Marcin
James, thanks for the reply.
The problem turns out to be more complex. Simple page with a modal window
works like a charm with RC5 (I mean I can easily set modal window's
resizability). My application's modal windows on the other hand don't. I
will try to investigate it further and fill a JIRA
Hi all,
Did anything bad happen to the RC5? I mean I cannot see any anouncement
about the release on the wicket.apache.org. Was the release been canceled or
delayed?
cheers,
Marcin
--
View this message in context:
http://www.nabble.com/-announce--Wicket-1.4-RC5-released-tp24101241p24182619.htm
I filled a JIRA for this:
https://issues.apache.org/jira/browse/WICKET-2345
--
View this message in context:
http://www.nabble.com/ModalWindow.setResizable%28false%29-no-longer-works-in-1.4-rc5--tp24135317p24210005.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
I provided a patch that fixes the issue.
cheers
Marcin
--
View this message in context:
http://www.nabble.com/ModalWindow.setResizable%28false%29-no-longer-works-in-1.4-rc5--tp24135317p24210823.html
Sent from the Wicket - User mailing list archive at Nabble.com.
--
Great lib, great work, thanks :-) I am a developer, not a webmaster. It may
make my work much easier.
BTW: Internet Exploder 7 messes the example layout a bit (moves the whole
thing to the right).
--
View this message in context:
http://www.nabble.com/-kind-of-announce--Swit-0.9.0%2C-wicket-li
It turns out to be my bad. I call the continueToOriginalDestination method to
log the value that it returns. It seems this call causes the unwanted
redirect. Removing the following line seems to make the trick.
logger.debug("onSubmit username=" + username +
" password=" + password +
" continueToO
Hi,
Try it this way.
http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd";
>
Wicket Quickstart Archetype Homepage
item
public class HomePage extends WebPage {
private static
Hi,
My team develops a system that's based on the 1.4 and during the development
we haven't experienced any serious issues with prior-final builds of 1.4.
System is currently being tested. We started development with rc1 and moved
forward to every new release candidate version. Except for minor m
See an example in the attached file. It should be quite easy to understand.
The example consists of two pages. First of them contains a tabbed panel
with three tabs. Each of them contains a panel (an instance of the same
panel class). The the same panel is embedded outside the tabbed panel into a
Hi,
I use the wicket 1.4 nad I haven't noticed anything like that. You may want
to look into wicket svn and check if there were any changes made to the
wicket-autocomplete.js between version 1.3.4 and 1.3.6.
I've just looked into 1.4 branch in svn and it seems that there have been
quite some chan
gt;
> there is is error such as
>
> Parameterized types are only avilable if source level is 5.
> what is this error how can i solve it?
>
> Thanks&Regards,
> Gerald A
>
>
>
> On Tue, Jul 21, 2009 at 3:30 PM, Marcin Palka
> wrote:
>
>>
&g
e IDE and then you
should be able to build and run it with a single button click.
cheers,
Marcin
MartinM wrote:
>
> And change compiler syntax
>
> **
> Martin
>
> 2009/7/21 Marcin Palka :
>>
>> Gerald,
>>
>> You have to use Java version 5. Earlie
If I understand your problem correctly you want to do master and detail
grids. When you select an item in a master table (by means of a mouse click)
you want to repopulate the details(history) table and make a selection on
programmaticaly, right?
I would say you first need to override onItemSele
You may either use a servlet filter to gzip your responses or enable
compresion in an Apache HTTP server (if you have one).
A gzip filter:
http://onjava.com/pub/a/onjava/2003/11/19/filters.html
A gzip compression module for the Apache HTTP server.
http://www.cyberciti.biz/tips/speed-up-apache-20
Hi Loren,
I must admit I have never tried to get the injection to work with JBosss-5.1
but I remember I was once able to inject EJBs just fine with
wicket-contrib-javaee and JBoss version 4.something (I don't remember exact
version but for sure it was EJB3.0-enabled).
Anyways, I remember that I
Hi Loren,
I must admit I have never tried to get the injection to work with JBosss-5.1
but I remember I was once able to inject EJBs just fine with
wicket-contrib-javaee and JBoss version 4.something (I don't remember exact
version but for sure it was EJB3.0-enabled).
Anyways, I remember that I
Looks like it works with 5.1GA too. See attached quickstart project. It's a
maven-based enterprise application project that consists of a EJB, WAR and
EAR modules. Build it and deploy the EAR into your JBoss AS. Please note
that you have to configure your JBoss "home" folder to the top level pom
f
That's quite interesting stuff. Could you contribute your code to the
wicketsuff (e.g. create a new wicketstuff project) ?
cheers,
Marcin
Vladimir K wrote:
>
> I don't see much buzz about this topic here, just a request for the trick
> for the forthcoming Johnatan Locke book. So it seems for
Hi,
I think the "Wicket in Action" is a good book to start. It even has a
chapter called "Ajax explained" :-) I don't know if it explains how the web
app works as such but it goes through the entire development process of a
Wicket web application so you should be able to get the idea behind. And
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
--
V
Tim,
You have to place your modal window within a form. It's mandatory if you
want to use Forms on a modal.
You have to write code similar to the following:
modal placeholder
Form outerForm =new Form("outerForm");
ModalWindowmodalWithTabs = new ModalWindow("modalWithTabs");
...
outerF
Peter,
Have a look into the quickstart project that is attached to my post. It's a
simple list editor based on ListView.
http://www.nabble.com/file/p25096254/ListEditor.zip ListEditor.zip . Hope it
helps.
cheers,
Marcin
--
View this message in context:
http://www.nabble.com/Ajax-and-Form-setM
Peter,
I modified my example to allow removing items. I also modified it to use a
RefreshingView instead of a ListView.
I think you should read a bit about wicket models. Any component update
should go the following way - first update a model that is bound to a
component and then repaint the com
Peter,
I modifed your quickstart a bit and it seems to work with the wicket 1.4.0.
Unfortunately I haven't been able for make it work with the 1.4.1. I've got
no idea why. It may be a bug.
http://www.nabble.com/file/p25103405/quickstart-modified.zip
quickstart-modified.zip
cheers,
Marcin
--
A JIRA report has been created:
https://issues.apache.org/jira/browse/WICKET-2433
cheers,
Marcin
--
View this message in context:
http://www.nabble.com/Ajax-support-for-multipart-forms---nested-forms-in-1.4.1-tp25098452p25112870.html
Sent from the Wicket - User mailing list archive at Nabble.co
efore
closing the modal window. This prevents the exception from being thrown.
Anyway the core reason of the problem still remains. Further testing shown
that only the row selection causes the exception. Other operations on the
grid like sorting, switching pages work just fine.
br,
Marcin Palka
Juan
32 matches
Mail list logo