d overflow-x to the div works.
> I have no idea why Palette's markup uses . Maybe it is a legacy.
> We have a ticket to rework all tables to divs where this makes sense.
>
> Martin Grigorov
> Wicket Training and Consulting
>
>
> On Fri, Jan 17, 2014 at 5:36 PM, grazia <
I have tried to override the palette css and added
overflow-x:scroll to both table.palette and td.pane, but to no avail.
ANybody succeeded in this ? ALl previous posts on the topic do not record
any success ..
table.palette {
border: 0;
overflow-x:scroll;
white-space: nowra
Not clear why I cannot target the dropdown persChoices from within
#setWindowClosedCallback, after I have selected an item from the perChoices
dropDown. In other words, persChoices gets populated correctly each time the
modal window PersonnelFilterTypeModal gets called; but as soon as I select
some
The problem seems kind of resolved by using
AjaxFormComponentUpdatingBehavior.
However for the timepicker.add(new
AjaxFormComponentUpdatingBehavior("onblur") does not work if the user is
selecting time using the slider ... Darn !!
On Fri, Jun 21, 2013 at 2:43 PM, grazia [via Apache Wi
LOL !
That example was my starting point ... where did I get lost ?!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-prevent-a-page-from-being-marked-as-dirty-tp4659636p4659681.html
Sent from the Users forum mailing list archive at Nabble.com.
--
Upon further analysis, the Page gets dirty when any of its components' models
are updated, it is doing what it is supposed to do. Can't eliminate that
;-))
THere is something that gets out of synch with the ajax request. Below I
pasted teh code I used on a per row basis to update the tree. Anyone
No, freezing the page id does not remove the problem.
I need to find a way either to stop the page reload or I have to do without
the ajax part ... the two seem in conflict ...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-prevent-a-page-from-being-marked-
I should have explained before.
The context is: I have a WebPage that contains a Form with a TreeTable.
Each row of the TreeTable has a cell with a TimePicker ( extends TextField
implements IWiQueryPlugin), and a submit button at the end of the row with
an AjaxFormSubmitBehavior to save the user
Is there an example of how to prevent that a page is marked as dirty ?
how to use WebPage.dirty(isInitialization) ..
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-prevent-a-page-from-being-marked-as-dirty-tp4659636.html
Sent from the Users forum mailing l
I am using the wicket poi api to generate an excel file from a
PageableListView.
I just run into a bug in lines 67-76 of TableComponentAsXlsHandler.java:
cellExplorer becomes null already at the second iteration of the for loop
(see below)
TableParser parser = new TableParser(newSheet(), cellExp
Moved the discussion of my issue to here since the problem is not really
setResponsePage, but the callback behavior and how it does not "re-read" the
model of the modal window:
http://apache-wicket.1842946.n4.nabble.com/ModalWindow-setWindowClosedCallback-has-access-to-old-model-or-change-to-moda
I have tried to detach the model of the modal window in the onclick, and to
reset it, but to no avail. I think that trying to manipulate teh model of
the modal window for my purpose will not work at all.
So, I have tried in the onClick to redirect to intercept page this way:
modalPageReference.g
It seems that the model of the modal window is read before his behavior
responds, and it is not re-read after the behavior responds.
How to get around this ? Nobody has a suggestion ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/ModalWindow-setWindowClosedCallb
I think that the issue has something to do with the fact that
WindowClosedCallBack is a Behavior, and in the wicket.Behavior I find the
note:
*
* You also cannot modify a components model with a behavior.
*
I am not modifying the model of the window through the windowClosedCallBack,
but does
I need to select one of two links on the modal window and be able to redirect
user to the selected page. In order to accomplish that, I woudl expect to be
able to a) update the model object of the modal window from the appropriate
onClick (which seems to happen) and then b) to retrieve the new valu
In order to setResponse to one field or another I have to have some flag that
determines which one.
Even using a model, and setting it from whithin the onClick of the AjaxLink,
the model within the closed window callback remains null. It is as if
whatever is set within the closed window callback c
What if one wants to choose whether to redirect to page A or page B ?
Once the windowClosedCallback is set at modal window creation, how do I
redirect to one place OR another ?
The windowClosedCallback does not seem to lend itself to this.
--
View this message in context:
http://apache-wicket
The image in the AjaxLink does not display, anyone could help me figure this
one out ?
private static final ResourceReference DELETE = new
PackageResourceReference(SabcActionsPanel.class, "delete.png");
final AjaxLink deleteLink = new AjaxLink("delete") {
private static final lon
4657167&i=0>]
>
> Sent: Monday, March 11, 2013 12:25 PM
> To: [hidden email] <http://user/SendEmail.jtp?type=node&node=4657167&i=1>
> Subject: RE: DropDown in palette's header ?
>
> @Override
> protected Component newAvailableHeader(String componentId) {
>
n4657166...@n4.nabble.com> wrote:
> @Override
> protected Component newAvailableHeader(String componentId) {
> return new AvailableHeaderPanel(componentId, form);
> }
>
> Where AvailableHeaderPanel is your own panel.
>
> ~ Thank you,
> Paul Bors
>
&g
I have a panel containing an autocomplete. The autocomplete contains its own
converter.
The model of the page that contains the autocomplete-panel should be updated
to the converted object of the autocomplete, and it does, but (here it shows
my lack of wicket knowledge) somehow it gets set once w
my difficulty is that I am using a compoundpropertyModel this way:
private final CompoundPropertyModel personnelModel = new
CompoundPropertyModel(new AllPersonnel());
(...)
autoComplete = new AutoCompleteTextField(
"personnelAutoComplete", personnelModel,
AllPerso
Has this been taken care of ? I have an AutoCompleteTextField that always
displays "null" even if I use the setConvertEmptyInputStringToNull (false).
In fact, the constructor of the autocomplete has it always set to true ...
--
View this message in context:
http://apache-wicket.1842946.n4.nab
Made it, CompoundPropertyModels, used correctly, made things work.
On Fri, Feb 22, 2013 at 6:49 PM, Grazia Russo Lassner <
grazia.russolass...@gmail.com> wrote:
> THank you for the suggestion. It prints the MyClass object but nothing has
> ben set. Not even the conv
THank you for the suggestion. It prints the MyClass object but nothing has
ben set. Not even the converter of the AUtoCompleteTextFiled is being
called ... I cannot figure out why ...
On Fri, Feb 22, 2013 at 5:08 PM, duesenklipper [via Apache Wicket] <
ml-node+s1842946n4656705...@n4.nabble.com> wr
senklipper [via Apache Wicket] <
ml-node+s1842946n4656703...@n4.nabble.com> wrote:
> On Fri, 22 Feb 2013 13:23:20 -0800 (PST)
> grazia <[hidden email]<http://user/SendEmail.jtp?type=node&node=4656703&i=0>>
> wrote:
>
> > If the form contains a panel, an
me sort of barrier ...
On Fri, Feb 22, 2013 at 3:19 PM, duesenklipper [via Apache Wicket] <
ml-node+s1842946n4656701...@n4.nabble.com> wrote:
> On Fri, 22 Feb 2013 12:42:14 -0800 (PST)
> grazia <[hidden email]<http://user/SendEmail.jtp?type=node&node=4656701&i=0>>
>
t side has been executed.
>
>
>
> François Meillet
> Formation Wicket - Développement Wicket
>
>
>
>
>
>
> Le 19 févr. 2013 à 18:52, grazia <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=4656572&i=0>>
> a écrit :
>
> > I s
I sort of got it to work, but now when I move items from one side of the
palette to the other and try to save it, the changes are not picked up by
the model and are not saved ...
public class MyPalette extends Palette {
private List unselectedChoices;
public MyPalette(String id, IModel> model,
To summarize that long code posting, on the page, there is an autocomplete,
and a form containing the palette.
The autocomplete "sends" the choice selection to the palette ... or is
there something else (the form ?) that receives the event first and sends it
to the palette ?
--
View this messa
not use the event triggered by the ART directly.
>
>
> On Thu, Feb 14, 2013 at 10:34 PM, grazia <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=4656381&i=0>>wrote:
>
>
> > Nobody has any idea ? I am stuck
> >
> >
> >
> &g
I have created a class that extends the
com.googlecode.wicket.jquery.ui.widget.dialog.AbstractFormDialog in order to
create a modal dialog in my page.
The dialog needs to be customized in its appearance. How to do that ?
I have tried to override the css modal.css (it comes in
wicket-extensions-1.5
Sorry, I got the source code
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/editable-tree-table-make-an-editable-row-rather-than-an-editable-cell-tp4655768p4655879.html
Sent from the Users forum mailing list archive at Nabble.com.
--
This is what I did, comments are welcome.
On each row, I have an "action's" cell (actions like "save" or "delete").
That cell is represented by a class that extends Panel. Its constructor
takes an id and a PropertyModel as arguments. The PropertyModel allows me to
get the tree node in that row.
My customer needs to have an overview of some data through a calendar; each
calendar cell would contain data for a specific day; the cells would be
clickable so that the user could be redirected to another screen with more
information pertaining to the selected day of the month.
Any idea as to how
Thank you for the suggestion, I will try it.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/OSIV-with-requestCycleListener-tp4493806p4493927.html
Sent from the Users forum mailing list archive at Nabble.com.
--
Would you recommend using a requestCycleListener to implement the OSIV
pattern and storing the hibernate session in a threadlocal ?
Any comments ? tips ?
public class MyRequestCycleListener extends AbstractRequestCycleListener {
private static final ThreadLocal requestCycleThread = new
Threa
I have a mouseovermenu.css file that includes references to images as below:
.mouseovermenuitem .item_itembody .item_itemdetail .icon_page
{
background:transparent URL(../images/mouseovermenu/page.gif) no-repeat
top
left;
}
I have added the mouseovermenu.css as a shared resource in
myAp
Hi Simon,
thanks a lot. It works.
I am new to wicket as well.
I was going to try this
http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/, but the
solution you have requires fewer lines of code.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-i
Still not clear what I did wrong.
With wicket 1.4 my code was:
public final class PageHeaderComponent extends WebComponent {
public PageHeaderComponent(final String id, final String
changeDestination) {
super(id);
add(CSSPackageResource.getHeaderContribution("/css/header.css"
Still not clear what I did wrong.
With wicket 1.4 my code was:
public final class PageHeaderComponent extends WebComponent {
public PageHeaderComponent(final String id, final String
changeDestination) {
super(id);
add(CSSPackageResource.getHeaderContribution("/css/header.cs
what is the resource is not next to the .class file, but in a specific
directory external to the app, say in tomcat/webapps/css ? Is there another
wicket API I should use ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/ResourceReferenceRegistry-tp4453457p4454858.html
Thank you Martin.
I think it is an issue of absolutePath.
In
private final ResourceReference mouseOverMenuCss = new
CssResourceReference(getClass(),
"/css/mouseovermenu.css");
the PackageResourc
Could someone help me understand what the error below means ? I have copied
the relevant code below, what is wrong with it. I believe I have followed
guidelines for wicket 1.5
Mar 07, 2012 8:48:43 AM
org.apache.wicket.request.resource.ResourceReferenceRegi
stry addDefaultResourceReference
WARNING
I did bind the session as you suggested. IN addition, I noticed that I had
not appropriately accounted for my custom RequestCyle.
Thank you for your feedback, it was very useful.
I add the code hoping to help anybody running into this problem.
this.setRequestCycleProvider(new MyRequestCycleProvid
THank you for your reply.
I'll get back with an update.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/loosing-custom-wicket-session-tp4439069p4440021.html
Sent from the Users forum mailing list archive at Nabble.com.
---
I just ran my app using wicket 1.4.
THe wicketsessionfilter allows me to maintain the wicket session from wicket
page to non-wicket page and back to a wicket page. This ensures that the
session is bound.
But with wicket 1.5 the wicketsessionfilter is not binding the session when
going from a non-
It seems that I am able to create a wicket session in a wicket page and make
it available to non-wicket pages using the WicketSessionFilter; the
wicketsessionfilter nicely binds the session.
But I am not being able to maintain the wicket session when going from a
non-wicket page to a wicket page.
I would think that the session needs to be bound before the WicketFilter
creates a new RequestCycle. But what is the best way of doing so ? Please
advise.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/loosing-custom-wicket-session-tp4439069p4439618.html
Sent from th
49 matches
Mail list logo