We recently experienced a bug where someone was able to enter a trailing
space into a TextField in spite of Wicket's automatic trimming of
whitespace. Upon further investigation it appears the user had entered a
non-breaking space, which is not removed by the String.trim() method
that Wicket us
WICKET-2684 is titled 'Provide a way to disable "Child component has a
non-safe child id"'. It was closed as "invalid", but I think I have a
use-case that wasn't considered when it was closed.
In our application we're moving to an approach of building most of our
UI by adding panels to Repeati
On 10-08-22 08:04 PM, James Carman wrote:
Do you have the maven plugin installed in Eclipse? I know I needed
that to get it to understand the mavenized web structure. I'm not an
Eclipse expert, but I seem to remember having to have that.
You don't need the Maven plug-in in Eclipse, and if you
On 10-08-21 12:38 PM, Mike Dee wrote:
Here is what I've been trying. Install Eclipse with Tomcat integration.
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp
-DarchetypeArtifactId=maven-archetype-webapp
and then generate Eclipse project files
mvn eclipse:eclipse
On Sun, Jun 06, 2010 at 08:54:18AM +1200, b...@actrix.gen.nz wrote:
> If you study the effects of adding resource paths in Wicket then you
> will find that both methods will co-exist, not negate each other as
> you write.
Yes, I understand that. But you have to put the markup for each
component so
On Sat, Jun 05, 2010 at 10:13:42AM +1200, b...@actrix.gen.nz wrote:
> Hi,
>
> My suggestions were meant to be general, and with "best" I actually
> meant in all environments including certified J2EE servers.
I'm aware that's what you meant. That's why I challenged it. I don't
agree that it's the
Hrm, perhaps you should have qualified your advice: "If you're using
NetBeans, then for best performance..."
Also, the packaging of markup on the classpath allows you to create
re-usable JARs of components and IMHO is one of the best features of
Wicket. So perhaps the qualification should really b
This is how I work too. It uses the "hot swap" feature of the JVM. It
works if you only change method bodies, but if you make changes to the
class structure (fields, method signatures, etc.) you have to restart
the VM. Apparently jRebel can reload even these kinds of changes.
I'm happy with hot sw
Is UserFactory an interface or an implementation class?
jk
On Wed, Dec 16, 2009 at 09:02:16PM +0100, pieter claassen wrote:
> I am trying to mock my DAO's, but I am not sure if I understand easymock
> correctly.
>
> In my WicketSession I store a user ID and use this to retrieve the current
> log
On Thu, Oct 29, 2009 at 05:58:02PM -0200, Pedro Santos wrote:
> Nice approach, the only missing is that you hasn't how to prevent your
> component users from call addLeftNavChild after render phase at development
> time. But it is no big deal, since they will get an exception at runtime...
>
By "
Rather than having the base class "pull" in components from the subclass,
recently I've been tackling this kind of problem by creating RepeatingViews in
the base class and letting subclasses "push" components in by adding to the
repeating view:
public class BasePage extends W
On Thu, Oct 22, 2009 at 09:15:35AM +0200, Ceki Gulcu wrote:
> Hi John,
>
> Thank you for your answer. I was already aware of the idiomatic way for
> referencing packaged resources. It is a nice way for bundling images
> which are used within a package. My question was about images shared
> amon
On Wed, Oct 21, 2009 at 07:57:12PM +0200, Ceki Gulcu wrote:
> Hello,
>
> I am trying to defined shared images in a Wicket application.
>
> In my prokect, the image file "help.gif" is located under the
> src/main/java/com/foo/ folder of my project. I have created an empty
> class called Images.
>
>
I don't use m2eclipse, but I have this in my pom.xml...
org.apache.maven.plugins
maven-eclipse-plugin
true
true
Seems to do the trick. I would look first at the m2eclipse settings first,
though.
jk
On Tue, Sep 29, 2009 at 11:47
On Tue, Sep 15, 2009 at 03:10:51PM +0100, Phil Housley wrote:
>
> A good point, but I don't think it exactly applies in this case. What
> I really want is for each component to know whether it is required
> within a very small context. For example, a might have a criteria
> panel (one of the sub
!important is your friend...
a#wicketDebugLink {
background-color:#44 !important;
border:medium none !important;
bottom:0 !important;
color:white !important;
opacity:0.8 !important;
right:0 !important;
text-decoration:none;
text-transform:lowercase !important;
}
jk
On Thu, Se
OC4J 10.1.3.3
Java 1.5.0_06
Red Hat Linux (not sure of the version)
jk
On Wed, Sep 02, 2009 at 07:31:31PM +0200, nino martinez wael wrote:
> What kind of container are you running it in? And java version etc..?
>
> 2009/9/2 John Krasnay :
> > We've been getting the
We've been getting the following exception intermittently during a
performance test:
Caused by: java.lang.ClassCastException: [B
at org.apache.wicket.Session.pageMapForName(Session.java:928)
at org.apache.wicket.PageMap.forName(PageMap.java:67)
at org.apache.wicket.Page.init(Page.java:1167)
Yeah, $(document).ready will not re-run upon AJAX changes. I think
jQuery 1.3 has something called "live selectors" that kick in whenever
the DOM changes. Alternatively, you could just attach some Javascript to
the AjaxResponseTarget that initializes qtip for the new elements you're
adding.
jk
On
Oh, sorry, missed that. Thanks!
jk
On Mon, Aug 31, 2009 at 02:40:33PM -0700, Igor Vaynberg wrote:
> later versions of wicket (1.4.0+?) have Component#onRemove()
>
> -igor
>
> On Mon, Aug 31, 2009 at 1:42 PM, John Krasnay wrote:
> > Hi folks,
> >
> > I have a
Hi folks,
I have a wizard-like page with a form, and inside the form I have a
panel that I replace as the user moves through the flow. In some cases,
I need one of the panels to contribute a form validator to the enclosing
form.
Adding the validator is simple enough: I just override the panel's
o
.getInput());
>modelChanged();
>
>target.addComponent(titleField);
>//...
> target.addComponent(genrefield);
>} catch (SQLException e) {
>//...
>}
>}
> });
>
> John Krasnay wrote:
> >Sounds like yo
You can solve this using CSS. Read up on CSS rule specificity.
Suppose your component has a rule like this:
span.foo { color: red; }
If you want to override that with a rule that comes before it, you can
use !important like this:
span.foo { color: red !important; }
But IMHO this is overkil
Sounds like you're on the right track. What's the problem?
jk
On Wed, Aug 12, 2009 at 04:27:41PM +0200, Linda van der Pal wrote:
> I have a panel with a form. This form has several fields, one of which
> is the ISBN of a book. The fields are filled by a CompoundPropertyModel
> if the user is ed
bled="disabled" attribute, so you wont be able to use it in
> the browser.
>
> -igor
>
> On Thu, Aug 6, 2009 at 7:32 AM, John Krasnay wrote:
> > On Thu, Aug 06, 2009 at 07:09:20AM -0700, nytrus wrote:
> >>
> >> John Krasnay wrote:
> >> >
>
On Thu, Aug 06, 2009 at 07:09:20AM -0700, nytrus wrote:
>
> John Krasnay wrote:
> >
> > The isEnabled method only controls form processing on the server. If you
> > can't even type characters in your text field you have something else
> > going on at the brows
On Thu, Aug 06, 2009 at 02:40:13AM -0700, nytrus wrote:
>
> In the example, the inner form is enabled only when the submitter button is
> that of itself (i.e. I'm submitting the inner form). In all other cases the
> form is always disabled:
Yes, that is the point.
> I've tried the example and in
On Sat, Aug 01, 2009 at 09:19:05AM -0700, Kuga wrote:
>
> I have not tried replacing to RepeatingView. Will it make a difference?
>
I have no idea. Why don't you try it?
jk
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apa
Hi Kuga,
ListView re-creates all its child items on each render, which might be
causing your problems. Try calling setReuseItems(true), or better still,
consider using RepeatingView instead.
jk
On Fri, Jul 31, 2009 at 11:30:57PM -0700, Kuga wrote:
>
> Hi,
> Thank you for your response,
> here i
The thing that makes your example awkward (IMHO, of course) is that it
leaves out how the value that the user selects makes its way back into
the app's domain object. The OP said he wants "my model updates with 1,
2, and 3." From that I understand he has some object with an int
property...
class W
This is an awkward way to do it, and still doesn't set the selected
value back into his model.
The golden rule of DropDownChoice is: objects in the list must be of the
same type as the model object. If you want your model to be updated with
an int, you have to give DDC a list of Integer. The secon
Wow, this post generated a short burst of heat but not much light!
I think the problem is your question conflates dependency injection,
XML-based configuration, and the Spring framework. IMHO you have to
consider these separately to understand their relative merits.
Dependency injection is simply
Sorry, I don't know much about Date[Time]Field. Just trying to save you
a few LoC.
jk
On Wed, Jul 08, 2009 at 01:35:13PM -0700, Fernando Wermus wrote:
> thanks for the tip. Is there some way to solve what I commented?
>
> On Wed, Jul 8, 2009 at 1:25 PM, John Krasnay wrote:
>
On Wed, Jul 08, 2009 at 01:16:19PM -0700, Fernando Wermus wrote:
> Date minDate = new DateTime().plusDays(1).toDate();
> SimpleDateFormat format = new SimpleDateFormat("MM/dd/");
> widgetProperties.put("mindate", format.format(minDate));
FYI with Joda Time this can be r
I've had good results creating my child components as panels and adding
them to a RepeatingView (instead of ListView). The child panels should
get their IDs from RepeatingView.newChildId().
jk
On Fri, Jun 19, 2009 at 10:14:12AM -0400, James Carman wrote:
> You could use Velocity to dynamically bu
Hehe, when I first saw "reverse geocoding" I read "reverse geolocation",
as in you point to a spot on a Google map and you get teleported there.
Now *there's* a browser feature I'd pay for!
jk
On Thu, Jun 18, 2009 at 06:46:59PM +0300, Jesse Kivialho wrote:
> Well I don't need that much events. T
On Fri, Jun 05, 2009 at 04:28:07PM +0200, Frank Tegtmeyer wrote:
>
> > Don't fall into the trap of premature optimization!
>
> Hm. Maybe I'm in this trap already.
> But what is wrong with binding a resource directly to the request when
> it is used exactly for the lifetime of the request? For me
The problem is likely that you've specified a relative URL to the CSS
file like this...
You need to get wicket to rewrite that href so it knows how to serve up
the CSS file. The easiest way to do this is to wrap your link in
wicket:link tags:
The reference from your stylesheet to
I just use names for form components and css or xpath for non-form
components instead of IDs. Sometimes requires rework if the page
structure changes but otherwise works OK.
jk
On Mon, May 11, 2009 at 08:22:40AM -0700, Douglas Ferguson wrote:
> I should be more clear. Has anybody had problems wit
opposite behaviour. The values are coming across as ['m','f'] but the id's
> are ['0','1']
>
> Overriding getIdValues() instead of getDisplayValues() seems to work.
>
>
> John Krasnay wrote:
> >
> > The golden rule of DropD
You shouldn't care about the ID value. The default provided by
ChoiceRenderer should be fine.
jk
On Sat, May 09, 2009 at 05:52:29PM -0700, Oblivian wrote:
>
> basicDemographicInfo.gender is a String
> and
> genders is List
>
>
>
> John Krasnay wrote:
> >
&
What is the type of the "gender" property of BasicDemographicInfo?
jk
On Sat, May 09, 2009 at 12:39:58PM -0700, Oblivian wrote:
>
> Not sure what I'm doing wrong. I need a DropDownChoice with ...
>
> Female
> Male
>
> have a basic class like this ...
>
> public class Gender implements Seria
AddressFormComponent should extend Panel, not FormComponentPanel.
FormComponentPanel is used for special cases where you have several
FormComponents that work together to edit a model value, such as a date
editor that has dropdowns for month and day.
On a FormComponentPanel, you have to implement
Hi Liam,
Check out this page:
http://cwiki.apache.org/WICKET/conditional-validation.html
It has a bunch of recipes for interactions between components, e.g.
requiring a text field only if a checkbox is checked or a certain submit
button was used. Sounds similar to what you need to do.
jk
On Tu
Since you're dealing with setConvertedInput I presume you're
implementing FormComponentPanel. In that case, you need a single model
object to encapsulate the idea of a date range. For example, you could
implement your own DateRange class. Pass your panel a model that returns
and accepts instances o
Heh, I haven't had to worry about connection leaks since I discovered
Spring's JdbcTemplate and Hibernate, so it didn't even cross my mind. But
yeah, if the app is doing it's own JDBC connection management then that
is very much something J should look at.
jk
On Wed, Apr 15, 2009 at 05:58:11PM +0
Sounds like you have a thread holding a lock on a critical table and
subsequent threads are lining up behind it waiting for it to finish. You
should check your MySQL to try and figure out who's holding the lock and
why.
Note that the culprit thread need not be hung up in the database. Locks
are he
On Sat, Apr 11, 2009 at 11:51:47PM -0500, Luther Baker wrote:
>
> In fact, unless I am really abiding by serialVersionUID rules (changing it
> explicitly - every time I make a relevant, corresponding change to the
> containing class) - I'm not really gaining any functionality that the
> runtime ca
On Sat, Apr 11, 2009 at 05:32:51PM -0400, Ben Tilford wrote:
> The purpose of the *public* static final long serialVersionUID is for long
> term storage or situations where you may potentially have made modifications
> to the class that make it incompatible with previous versions (distributed
> app
On Sat, Apr 11, 2009 at 01:31:47PM -0500, Luther Baker wrote:
> Thanks John,
>
> Let me take this one step farther, just to clarify.
>
> I know that in a standard web application, the web container can Serialize
> user HttpSessions such that one can shut an application down and upon
> bringing it
On Sat, Apr 11, 2009 at 08:45:31AM -0500, Luther Baker wrote:
> A quick question - is it generally acceptable to use
>
> private static final long serialVersionUID = *1L*;
>
> for most the anonymous inner class I create using Wicket? Specifically, I'm
> asking about using the value (-1).
On Thu, Apr 09, 2009 at 04:14:43PM +0300, Cristi Manole wrote:
>
> I used Axis2 before, but at the moment i don't see how it can solve my
> problem - meaning how to update some panel *without* doing some action
> repeatedly until something worth displaying to the user happens.
>
I don't think an
On Thu, Apr 09, 2009 at 07:48:10AM -0500, David Brown wrote:
> Hello Cristi, this is typically referred to as diparate sytems
> communications issue. In the past I have had some success between such
> sytems using a WSDL and messaging. I did not have a lot of time so I
> opted for the Apache Axis2
Your approach sounds perfectly reasonable to me. What don't you like
about it?
jk
On Thu, Apr 09, 2009 at 10:36:39AM +0300, Cristi Manole wrote:
> Hello,
>
> I have a wicket application where a user starts an action on another system
> (different machine, outside network). I would like for this
Have a look here:
http://cwiki.apache.org/WICKET/conditional-validation.html
jk
On Thu, Apr 09, 2009 at 02:45:26PM +1000, Ian MacLarty wrote:
> Hi,
>
> I have a form with two submit buttons. I want the form to validate
> differently depending on what submit button is pressed (i.e. I want to
>
On Fri, Apr 03, 2009 at 04:21:13PM +0100, Gwyn Evans wrote:
> On Fri, Apr 3, 2009 at 3:42 PM, John Krasnay wrote:
> > FYI to anyone who's been bitten by this, there's a simple workaround.
>
> Yes - use IDEA! :-)
>
What, haven't they "fixed" the mav
FYI to anyone who's been bitten by this, there's a simple workaround.
Just add the following to your pom.xml:
maven-eclipse-plugin
2.5.1
We did it in our parent POM and it's working fine.
jk
On Fri, Apr 03, 2009 at 09:54:36AM -0400, Brill Pappin wro
Works fine for me without any special configuration. I use the Eclipse
JEE version and HTML files come up in the HTML Editor.
Check which editor is associated with *.html files under Window >
Preferences, then under General/Editors/File Associations.
Eclipse remembers the last editor you used to
+1. Wicket IMHO does it the right way for its particular situation.
Wicket differs from most Java project by the sheer number of resources
and by their 1:1 correspondence with Java classes. Maven, I think, is
optimized more for the more common case where a project has only a
handful of resources t
We keep all our money amounts as ints representing the number of cents.
We have a MoneyField that extends TextField and overrides
getConverter(Class) to return something like this:
public class MoneyConverter implements IConverter {
public Object convertToObject(String value, Locale locale) {
IMHO sharing JARs across J2EE apps is not worth the trouble.
- it messes up some JARs (commons-logging is a classic example)
- it forces you to keep your dependent JAR versions in sync across
applications. This is particularly important in an enterprise
environment where changing a dependent
javac is kinda redundant too. Real men sling raw bytecode.
jk
On Thu, Feb 19, 2009 at 12:02:36PM -0600, Jeremy Thomerson wrote:
> vi is not only a tool, but a whole platform, so that would exclude it.
> Personally, I find that
>
> "echo import org.apache.wicket.*" >> MyClass.java
> "echo import
On Wed, Feb 18, 2009 at 04:45:26PM +, Christian Helmbold wrote:
> I've read http://cwiki.apache.org/WICKET/spring.html and the corresponding
> section in "Wicket in Action" about the troubles with serialization of
> injected services.
>
> "Dependencies often have references to other dependen
Person Name
...somewhere in your CSS...
td.personname { font-weight: bold; }
jk
On Tue, Feb 17, 2009 at 07:54:36AM -0800, Edwin Ansicodd wrote:
>
> have info in a table, want to make the text from wicket bold. How do I do
> this?
>
> Person Name
>
> The above doesn't work.
I usually put this in my pom.xml so that I don't have to always remember
the command line parameter:
org.apache.maven.plugins
maven-eclipse-plugin
true
true
1.5
blah
jk
On Mon, Feb 16, 2009 at 11:30:54PM -03
Have a look at the bottom of this page:
http://cwiki.apache.org/WICKET/conditional-validation.html
The example shown disables the whole inner form when the outer form is
submitted, meaning the inner form won't even be submitted. If you want
the inner form to be submitted but just not required, re
I did this by subclassing RepeatingView and overriding
AbstractRepeater.renderChild as follows...
public class SeparatorRepeatingView extends RepeatingView {
private boolean firstChildRendered = false;
private String separator = " | ";
public SeparatorRepeatingView(String id
On Thu, Jan 29, 2009 at 12:41:31PM +0200, Martin Makundi wrote:
> > 1) working with many attributes of an object
> > we have some pages where we access many attributes of an object, say we want
> > to show all 20 attributes of a person and all 10 attributes of
> > person.getAddress();
> > in the Pe
Indeed, 1.3.5 fixed the problem. Thanks again, Igor.
jk
On Mon, Jan 26, 2009 at 01:57:22PM -0500, John Krasnay wrote:
> We're on 1.3.3. I'll try again with 1.3.5.
>
> Thanks.
>
> jk
>
> On Mon, Jan 26, 2009 at 10:41:45AM -0800, Igor Vaynberg wrote:
> &
k properly.
>
> -igor
>
> On Mon, Jan 26, 2009 at 10:36 AM, John Krasnay wrote:
> > I'm doing cluster failover testing with my app and I'm running into a
> > weird failure. The test involves failing the node where my session is
> > active while perfo
I'm doing cluster failover testing with my app and I'm running into a
weird failure. The test involves failing the node where my session is
active while performing UI operations.
On one page in the app, I have an AjaxTabbedPanel. Clicking amongst the
tabs while the failover occurs works flawlessl
Cool, thanks. I'll give it a try.
jk
On Fri, Jan 09, 2009 at 08:52:44AM -0800, Igor Vaynberg wrote:
> change the coding strategy to use query string to encode params. see
> querystringcodingstrategy for necessary code.
>
> -igor
>
---
Hi Wicketeers,
My client has a web security infrastructure in place where a transparent
proxy sits in front of the application server and filters requests based
on URL pattern. I am trying to fit their first Wicket-based application
into this infrastructure. We would like to allow requests based o
It was a bad joke. You asked for suggestions but didn't explain what
your problem was.
jk
On Tue, Jan 06, 2009 at 07:51:25PM -0800, wch2001 wrote:
>
>
> --
> View this message in context:
> http://www.nabble.com/Help%2CDownloadLink%2C-when-file-is-not-existed%2C-not-error-message-tp21307695p2
Buy low, sell high?
jk
On Tue, Jan 06, 2009 at 05:55:08PM -0800, wch2001 wrote:
>
>
> --
> View this message in context:
> http://www.nabble.com/Help%2CDownloadLink%2C-when-file-is-not-existed%2C-not-error-message-tp21307695p21323395.html
> Sent from the Wicket - User mailing list archive at
I use Tomcat via the Eclipse WTP. Here are some quick instructions if
you're using Maven:
- add the wtpversion and wtpContextName elements to your
maven-eclipse-plugin config
org.apache.maven.plugins
maven-eclipse-plugin
true
true
2.
See http://en.wikipedia.org/wiki/Post/Redirect/Get
jk
On Fri, Dec 12, 2008 at 07:25:19PM -0800, Vinayak Borkar wrote:
> Hello,
>
> I am creating a page (say Page A) that contains a stateless form. The
> stateless form's action leads to page B.
>
> I observe that in Wicket, the form action is c
Toronto, Canada
jk
On Thu, Dec 11, 2008 at 07:57:49PM +0100, francisco treacy wrote:
> to know a little bit more of our great (and vast) community, i was
> just wondering if you're keen on sharing where you come from and/or
> where you work with wicket...
>
> for instance, here argentinian/belgi
On Thu, Dec 11, 2008 at 02:29:04AM -0800, Michael Sparer wrote:
>
> you could also just request a childId from the super-class, but I think the
> above way is more elegant :-)
>
More elegant, yes, but also more verbose. Pick your poison, I guess.
jk
Careful! ChildPage.getComponents() is invoked before ChildPage's
constructor. This will trip you up sooner or later.
You can easily fix this with a model:
IModel componentsModel = new AbstractReadOnlyModel() {
public Object getObject() { return getComponents(); }
}
add(new L
If the previous page is bookmarkable you don't need to keep a reference
to the page instance; instead, just re-create the page parameters and
call setResponsePage(pageClass, parameters) when the user clicks Cancel.
jk
On Wed, Nov 26, 2008 at 01:35:11AM -0800, jhp wrote:
>
> Well, yes references
will be initialized, eh?!
>
>
> Am 20.11.2008 um 16:32 schrieb John Krasnay:
>
> >Here's the problem (also with sketchy pseudo code :)
> >
> >public class BasePanel extends Panel {
> > public BasePanel(String id) {
> > super(id);
> >
ode will follow]
>
> method org.apache.wicket.MarkupContainer.add(Component... children) :
>
>-> call empty overridable method onComponentAdd(Component child)
> for each component
>-> add component
>
>protected void onComponentAdd(Component child) { /* overridable */ }
>
>
>
child, throw exception, or
> do [whatever]
> }
> }
>
>
>
>
> Am 20.11.2008 um 05:25 schrieb John Krasnay:
>
> >Hi folks,
> >
> >In my current Wicket app I have a panel that contains a vertically
> >stacked list of sub-panels. Because the precise list of
Hi folks,
In my current Wicket app I have a panel that contains a vertically
stacked list of sub-panels. Because the precise list of sub-panels is
not known until runtime, I've implemented this with a RepeatingView. My
parent panel has the following methods that I use to build the list of
sub-pane
You'll need to do something like this inside your border:
form.add(getBodyContainer());
See the Border javadoc for a more detailed explanation.
jk
On Tue, Nov 18, 2008 at 04:56:09PM -0200, Adriano dos Santos Fernandes wrote:
> John Krasnay escreveu:
> >You probably want to impl
You probably want to implement a Border instead of extending Form.
jk
On Tue, Nov 18, 2008 at 01:36:06PM -0200, Adriano dos Santos Fernandes wrote:
> I have a generic Form component (extends Form) and it adds child
> components to this. But where I place this form, I need to specify more
> cont
On Wed, Nov 05, 2008 at 11:49:02AM -0500, Susan Liebeskind wrote:
> Igor Vaynberg wrote:
> >i think the best way to migrate an app is to migrate it a
> >page/pageflow at a time. running wicket inside a jsp or jsp inside
> >wicket is always going to have gotchas you will have to work around.
> >
> >
You can fix this through Eclipse too...
- double-click your Tomcat server in your Servers view
- select the Modules tab on the resulting editor page
- select your application module and click Edit
- de-select "Auto reloading enabled" and click OK
- save the editor page and restart Tomcat
jk
On T
Uh, yeah, that's what I meant to say, just use a GridView :-)
jk
On Thu, Oct 23, 2008 at 05:14:42PM -0700, Igor Vaynberg wrote:
> all you need is a gridview. set columns to 7 and generate 30 items...
>
> -igor
>
> On Thu, Oct 23, 2008 at 1:47 PM, V. Jenks <[EMAIL PROTECTED]> wrote:
> >
> > Hi a
ListView is good if you already have a list of things you want to
display. For this kind of iteration you'd be better off with a
RepeatingView. Here's how I might tackle it:
- create a top-level panel to hold the calendar. The markup would
contain your table element, and would have a RepeatingVi
Hi Martin,
Programmatically generating the markup as you've done below is not
really "the Wicket way", which is probably why you're bumping up against
other Wicket design decisions. I've solved similar problems using a
RepeatingView as follows:
ButtonPanel.html
ButtonPanel.java
public c
On Mon, Oct 06, 2008 at 07:36:03PM -0200, francisco treacy wrote:
> thanks for your help, serkan.
>
> cool, this works. as a workaround nevertheless:
>
> -i wouldn't want my app to check every single request the existence of
> a parameter which i am going to use in only *one* page anyway
> -what
Hehe, welcome to Web development my friend!
IE6 is very old, and it contains a large number of rendering quirks that
are not present in "modern" browsers (FireFox, Safari, Opera). IE7 is
much better, but IE6 still commands a large segment of the browser
market.
I would suggest developing for a mo
Perfect! Works like a charm.
Thanks much.
jk
On Thu, Sep 25, 2008 at 09:07:26PM +0200, Matej Knopp wrote:
> You can do it in javascript using
> Wicket.Ajax.registerPostCallHandler(yourhandler);
>
> -Matej
>
> On Thu, Sep 25, 2008 at 9:04 PM, John Krasnay <[EMAIL PROT
Hi folks,
I'm trying to integrate the Dean Edwards IE7.js script
(http://dean.edwards.name/IE7/) into my Wicket app. For those that don't
know, IE7.js helps IE6 implement certain CSS rules that it doesn't
support natively (min-height, :first-child, :hover, ...)
I've created a behavior that render
I keep a little library of these (LinkPanel, BookmarkablePageLinkPanel,
etc.) that are all just a link containing a label. It would be nice if
they were part of Wicket proper. Does anyone else think so?
jk
On Thu, Sep 25, 2008 at 12:10:17PM +0200, Nino Saturnino Martinez Vazquez Wael
wrote:
> I
On Wed, Sep 03, 2008 at 04:34:34PM +0100, Al Maw wrote:
>
> I'd even go so far as to remove the need for HeaderContributor code entirely
> in 80% of the cases.
> Wicket could automatically pick up css and js files that are named the same
> as your component.
> MyComponent.java
> MyComponent.ht
On Fri, Aug 29, 2008 at 09:26:19PM +0200, Markus wrote:
>
> throw new Exception("xxx");
>
>From the Spring doco:
Note however that the Spring Framework's transaction infrastructure code
will, by default, only mark a transaction for rollback in the case of
runtime, unchecked exceptio
On Fri, Aug 29, 2008 at 09:38:20PM +0300, Timo Rantalaiho wrote:
> On Fri, 22 Aug 2008, John Krasnay wrote:
> > It's sometimes awkward to implement an AJAX indicator the standard way,
> > by implementing IAjaxIndicatorAware, since it forces me to use an
> > explicit cla
1 - 100 of 190 matches
Mail list logo