Thanks Martijn!
Does anyone know why maven2 suddenly also gets commons-codec 1.3 when I
switch from 1.2-snapshot (quite recent) to 1.2.4?
I am using wicket, wicket-extentions and wicket-spring. The only
difference I can find in the pom files is that EasyMock was downgraded
from 2.0 to
All the Escogido have to play for now is pride. A summary of headline
news over the Christmas holiday will appear in the Wednesday, 27
December and Thursday, 28 December editions. A summary of headline news
over the Christmas holiday will appear in the Wednesday, 27 December and
Thursday, 28
Why not use a list view for the comment list?
If you want to show a message with No comments, then:
add(new Label(nocomments, No comments) { boolean isVisible() {
return comments == null || comments.isEmpty();} });
p wicket:id=commentsthis is the listview/p
p wicket:id=nocommentsthis is the no
Not sure. Downloading the dependency can also be a result of an
upgrade of one of the maven plugins though.
To see what the final pom is, try:
mvn help:effective-pom
The easymock needed to be downgraded as it is a Java 5 version
incompatible with wicket-spring (which is java 1.4).
Martijn
On
Weird, I have added a
exclusion
groupIdcommons-codec/groupId
artifactIdcommons-codec/artifactId
/exclusion
to each of the wicket dependencies in my pom file and it still wants to
download it.
I tried the command you gave. It does not mention
As a test I downgraded to wicket 1.2.3, and it still downloads
commons-codec. So I am now pretty sure it has nothing to do with Wicket
1.2.4.
Regards,
Erik.
Martijn Dashorst wrote:
Not sure. Downloading the dependency can also be a result of an
upgrade of one of the maven plugins
I am really sorry, after detail tracing system, I found that there is
some parts of code will throw
RestartResponseAtInterceptPageException...
On 12/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
set a breakpoint in your auth strategy and see what it is doing, sounds like
a bug in there
-igor
I just get another exception from the unit test, this is kind of
strangle that complaint about No RequestCycle available:
wicket.WicketRuntimeException: Can not set the attribute. No
RequestCycle available
at wicket.Session.setAttribute(Session.java:933)
at
which version of wicket is that?
That should be fixed.
And it is not strange becuase in that startPage we did call touch on the
page/session
after the complete processRequestcycle was called.
johan
On 12/27/06, Carfield Yim [EMAIL PROTECTED] wrote:
I just get another exception from the unit
igor already did fix this in the 2.0 branch but of course forgot to backport
it!
johan
On 12/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
While i use the interface of IPagingLabelProvider to define a paging
label.
I was customed to write a anonymous class.
But i got a exception for
hi, I am new to wicket, I have just done some examples tutorial starting
from the QuickStart app.
I am beginning to build a real webapp and I am wondering about the main
layout structure
I have done the Navomatic example and I am wondering if a good way is to use
borders to define the structure
imho much better to use markup inheritance for a common layout. that example
was written before markup inheritance was around.
-igor
On 12/27/06, Daniele Dellafiore [EMAIL PROTECTED] wrote:
hi, I am new to wicket, I have just done some examples tutorial starting
from the QuickStart app.
I
I agree with Igor. See
http://wicketframework.org/ExampleMarkupInheritance.html for a small
example of markup inheritance.
Martijn
On 12/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
imho much better to use markup inheritance for a common layout. that example
was written before markup
I have a project that uses Wicket 1.x, and it's overwriting my
hardcoded ids with generated ones if setOutputMarkupId it true. If
this is not the intended behavior then I will open a JIRA issue.
On 12/18/06, Otan [EMAIL PROTECTED] wrote:
It works fine now. Thanks
On 19/12/06, Igor Vaynberg
i believe in the 1.x branch we always override.
-igor
On 12/27/06, Caleb Land [EMAIL PROTECTED] wrote:
I have a project that uses Wicket 1.x, and it's overwriting my
hardcoded ids with generated ones if setOutputMarkupId it true. If
this is not the intended behavior then I will open a JIRA
I have a class that extends DropDownChoice, called TCOChooser. It is for some
very minor things (overriding wantOnSelectionChanged, the choice renderer, etc
). I have a page that uses TCOChooser to allow the user to select a TCO that
changes the data displayed in a table lower on the page.
i think this is the browser caching the choice not wicket
-igor
On 12/27/06, Andrew Strickland [EMAIL PROTECTED] wrote:
I have a class that extends DropDownChoice, called TCOChooser. It is for
some very minor things (overriding wantOnSelectionChanged, the choice
renderer, etc ). I have a
How can I load an image directly from a url?
For example I want to display a picture of a user next to their profile,
but all of the images are served by another machine for better
performance. I tried something like this but it won't compile:
Image profileImg = new
On 12/27/06, Johan Compagner [EMAIL PROTECTED] wrote:
which version of wicket is that?
That should be fixed.
Wicket 1.2.3, may be I should upgrade to 1.2.4
And it is not strange becuase in that startPage we did call touch on the
page/session
Strangle is I have several other unit test of
class staticimage extends webcomponent {
public staticimage(string id, imodel model) {
super(id, model);
}
protected void oncomponenttag(tag) {
checkcomponenttag(tag, img);
tag.put(src, getModelObjectAsString());
}
}
add(new
I feel using Markup interitance over Border is more similar to using
interitance over composition of code reuse. Markup interitance is more
convenience to use but if you like to do something more dynamice, like
change layout according to role, I think Border is more flexible for
that? Please
Thank you Igor! You don't know how long I tried to do this.
I've added this fix to the Wiki:
http://cwiki.apache.org/confluence/display/WICKET/How+to+load+an+external+image
-August
Igor Vaynberg wrote:
class staticimage extends webcomponent {
public staticimage(string id, imodel
depends.
if you have a preset number of themes/etc then you can still use markup
inheritance in combination with styles/variations to load different markup
files for the base page.
if, however, you need to load themes dynamically via a factory or some such
then you have to use a border. but
i wouldnt really call it a fix, just common sense after using wicket for a
bit :)
-igor
On 12/27/06, August Detlefsen [EMAIL PROTECTED] wrote:
Thank you Igor! You don't know how long I tried to do this.
I've added this fix to the Wiki:
Hi all
DataTable + AbstractColumn are already satisfied almost our requirement.
But occasionally I require row index of table, not just cell-index in
AbstractColumn
cols.add(new AbstractColumn(new Model(#), no) {
public void populateItem(Item cellItem, String componentId,
hmm, no builtin support for this unfortunately, a quick hack would be
((Item)cellItem.getParent()).getIndex()
-igor
On 12/27/06, Ingram Chen [EMAIL PROTECTED] wrote:
Hi all
DataTable + AbstractColumn are already satisfied almost our requirement.
But occasionally I require row index of
I'm a newbie to wicket and would like to know how to add a customized icon
near the error message which is generated by the feedback panel. Any help
would be appreciated.
--
View this message in context:
http://www.nabble.com/FeedBackPanel-tf2889265.html#a8071827
Sent from the Wicket - User
27 matches
Mail list logo