On page 331 of "Wicket In Action" is the following excerpt, "Note that you
should modify the default encryption key that is stored in
ISecuritySettings to prevent malicious hackers from using the default
publicly available key as an attack vector." Does this only pertain to
when Sun JCE is not
Any updates on this issue? Will there be a fix?
Igor Vaynberg
02/10/2010 06:15 PM
Please respond to
users@wicket.apache.org
To
users@wicket.apache.org
cc
Subject
Re: @SpringBean injection expensive - a bug?
create a jira issue and a quickstart. thanks.
-igor
On Tue, Feb 9, 2010 at
I've added htmlvalidator-1.3.1.jar to my classpath, and the appropriate
code in the application's init method (see link below). I get the
following error when running the app;
java.io.FileNotFoundException: Could not find dtds folder null
http://wicketinaction.com/2009/06/wicket-html-validator
I downloaded the jar from wicketstuff repo...
Here is the DTD;
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml"; xmlns:wicket=
"http://wicket.apache.org/"; xml:lang="en" lang="en">
Martijn Dashorst
02/23/2010 05:16 AM
Please respond to
users@wicket.apa
I am also interested in a sitemap project. Check out the Wiki about
dynamic sitemap below. Would be nice if someone encapsulated this into a
project for reuse.
http://cwiki.apache.org/WICKET/seo-search-engine-optimization.html
Fernando Wermus
03/25/2010 11:49 AM
Please respond to
users@w
I would gather they are eluding to the fact that search engines may not
index url's with duplicate titles, so its a best practice to provide a
title unique to the url.
Fernando Wermus
03/25/2010 01:46 PM
Please respond to
users@wicket.apache.org
To
users@wicket.apache.org
cc
Subject
Re:
Due to the fact that SpringWebApplication is deprecated, we evaluated
several ways of configuring Wicket using WicketFilter. I found
ContextParamWebApplicationFactory to work with a Spring Annotation
approach. SpringWebApplicationFactory also works with a Spring Annotation
approach, but since
Igor,
We are using WicketFilter with SpringWebApplicationFactory. This works
fine, but I've noticed SpringWebApplication has been deprecated, and since
SpringWebApplicationFactory returns a SpringWebApplication we tried the
ContextParamWebApplicationFactory which also works.
Which is preferred
Yes we are using Spring. Our Spring configuration works with either the
SpringWebApplicationFactory or ContextParamWebApplicationFactory.
James Carman
03/29/2010 04:31 PM
Please respond to
users@wicket.apache.org
To
users@wicket.apache.org
cc
Subject
Re: WicketFilter Config
Do you
One difference I am aware of (and community correct me if I am wrong),
Wicket GZIPs resources. So if you directly link to the css using an
"href" you will not have that feature.
sahar rostami
04/07/2010 11:16 AM
Please respond to
users@wicket.apache.org
To
Wicket User Mailing List
cc
S
Some things I've seen on this forum...Wal-Mart's mobile site, lasvegas.com
Notice: This communication, including any attachments, is intended solely
for the use of the individual or entity to which it is addressed. This
communication may contain information that is protected from disclosure
u
https://cwiki.apache.org/WICKET/url-coding-strategies.html
Laurentiu Trica
07/21/2010 11:24 AM
Please respond to
users@wicket.apache.org
To
users@wicket.apache.org
cc
Subject
Clean URLs without /?wicket:interface=:0 stuff - is it possible?
Hello,
I'm rather new to wicket but I'm
Let me know if you find a solution for this...
Sam Barrow
07/26/2010 11:43 AM
Please respond to
users@wicket.apache.org
To
users@wicket.apache.org
cc
Subject
Passing raw value to html
Is there a way to pass a raw value to be displayed in a wicket markup
file? I'm trying to create a g
I saw the replies and the markmail link, thanks guys...
mzem...@osc.state.ny.us
07/26/2010 01:51 PM
Please respond to
users@wicket.apache.org
To
users@wicket.apache.org
cc
Subject
Re: Passing raw value to html
Let me know if you find a solution for this...
Sam Barrow
07/26/2010
Which version of hibernate? Try the latest 3.5 version?
Luther Baker
07/26/2010 06:55 PM
Please respond to
users@wicket.apache.org
To
users@wicket.apache.org
cc
Subject
Error integrating with Hibernate and Spring
I'm sure I'm doing something incorrectly. For the most part, I copied
Problem: Encrypt sensitive form fields (ie ssn) on client (javascript)
Solution: Create behavior which fires javascript to hash field value and
replace original value (###-##-)
This sounds simple enough, but since the length of the hashed string will
be considerably longer than the origina
I totally agree, seems like double-duty that accomplishes very little, and
actually adds overhead. But this is another debate and the feature has
been requested and must be implemented as I described...
"Craig McIlwee"
08/02/2010 03:06 PM
Please respond to
users@wicket.apache.org
To
user
Thanks for the reply, that would work however per our business rules the
encryption must be one-way and will not be decrypted...
Igor Vaynberg
08/02/2010 03:23 PM
Please respond to
users@wicket.apache.org
To
users@wicket.apache.org
cc
Subject
Re: Encrypt Form Fields Using JS
overrid
The only thing I've come up with to meet all the requirements is to set
the hashed value to a hidden field, and replace the original value
(123-45-6789) with all nines (999-99-). This would allow the
validator to pass but puts a requirement on the js to validate the
original value, ie it s
Ok, the value will be hashed, one-way...anyone have any ideas?
James Carman
Sent by: jcar...@carmanconsulting.com
08/02/2010 04:42 PM
Please respond to
users@wicket.apache.org
To
users@wicket.apache.org
cc
Subject
Re: Encrypt Form Fields Using JS
Then it's not "encryption". Encrypte
An already existing system is being rewritten and the db currently stores
hashed values. I don't disagree there are better ways to reach the end
goal, but this is the spec I am working with.
James Carman
Sent by: jcar...@carmanconsulting.com
08/03/2010 01:45 PM
Please respond to
users@wick
Correct
James Carman
Sent by: jcar...@carmanconsulting.com
08/03/2010 02:12 PM
Please respond to
users@wicket.apache.org
To
users@wicket.apache.org
cc
Subject
Re: Encrypt Form Fields Using JS
So, you never need to get the original values out of the database?
On Tue, Aug 3, 2010 at 2
I have to laugh because I also agree its kind of crazy...
Yes the original value must be hashed by the client. The reasoning being
that SSL could be broken and expose the data. I don't necessarily agree
but thats how the original system was written.
James Carman
Sent by: jcar...@carmanco
I should make it clear, the intention is to use SSL and JS one-way hash,
not just JS...
Jeremy Thomerson
08/03/2010 03:49 PM
Please respond to
users@wicket.apache.org
To
users@wicket.apache.org
cc
Subject
Re: Encrypt Form Fields Using JS
On Tue, Aug 3, 2010 at 1:24 PM, wrote:
> I
On a related note...
The Wicket Strings class provides the method stripJSessionId...
http://wicket.apache.org/apidocs/1.4/org/apache/wicket/util/string/Strings.html#stripJSessionId(java.lang.CharSequence)
And the Wicket SEO wiki provides a way to remove the JSessionId...
https://cwiki.apache.org/
Yes I realize you've solved the jetty issue, but I was posing some
additional questions relating to jsessionid...
1. What are the implications of stripping jsessionid for all users...like
so in app object...
CharSequence encodedUrl = super.encodeURL(url);
return Strings.stripJSessionId(encodedU
As a side effect you will disable session for cookieless connections.
Wouldn't this be desired, ie bots...
Depends what you want to strip/not-strip... skipping encoding also
strips but I am not sure if there is any other encoding happening...
Right, I guess that's my question, what are you losin
Sounds like a nice feature, however be careful, if the content is too
large the close button may be off-screen and make it impossible to close.
So maybe it should auto adjust within the bounds of the screen...
From: andrea del bene
To: users@wicket.apache.org
Date: 09/27/2010 05:04 P
I've had similar issues, have you tried HybridUrlCodingStrategy?
Notice: This communication, including any attachments, is intended solely
for the use of the individual or entity to which it is addressed. This
communication may contain information that is protected from disclosure
under Stat
Can you share the final solution?
From: Per Newgro
To: users@wicket.apache.org
Date: 10/12/2010 01:37 PM
Subject:Re: Can i execute an inline-javascript added to head for
replaced panel on ajax-response?
Jeeehhaa. Thanks alot Igor. That did it. Both tips together work as
e
AjaxIndicatorAppender?
http://wicket.apache.org/apidocs/1.4/org/apache/wicket/extensions/ajax/markup/html/AjaxIndicatorAppender.html
From: Ann Baert
To: users@wicket.apache.org
Date: 10/13/2010 10:09 AM
Subject:DownloadLink with AjaxIndicator
I would like to add an ajaxindica
Haven't tested this, but it could be a start...
final RenderedDynamicImageResource rd = new
RenderedDynamicImageResource(100, 100) {
@Override
protected boolean render(Graphics2D graphics) {
return f
Right, good to know, was just providing the objects, assumed
implementation of render to be irrelevant, but I guess not entirely.
Anyway, I'm also interested in the second part of your question, what does
resource.setCacheable(false) effect, I've had trouble tracking this down
in the resource c
Right, from WebResource class...
protected void setHeaders(WebResponse response)
{
if (isCacheable())
{
// If time is set also set cache headers.
response.setDateHeader("Expires", System.
currentTimeMil
Given this;
SecondLevelCachePageMap uses SecondLevelCacheSessionStore (this is default
in Wicket 1.3) which stores pages on disk except for the most recently
accessed one which is stored in http session. (
https://cwiki.apache.org/WICKET/page-maps.html)
What effect would getSessionSettings().s
Look at newRowItem in DefaultDataTable, and OddEvenItem. The CSS classes
"odd" and "even" are output for you, just create a css class instead of
the attribute modifier.
From: tushar
To: users@wicket.apache.org
Date: 11/18/2010 01:35 PM
Subject:Re: dynamically change colors of
By "keep a reference to the session in their class" do you mean something
like this?
Are there any pitfalls to doing this?
final Session session = getSession();
add(new Label("userNameLabel", new Model(session.getUser
().getUserName(;
How about this?
final UserDTO dto = session.getUser();
C
Where are you storing the image, on the file system, classpath,
database...?
From: Matthew Goodson
To: users@wicket.apache.org
Date: 11/29/2010 10:12 PM
Subject:Dynamically loading image
Hi all,
I'm needing to generate the url to an image dynamically on the client.
i.e. I w
+1
Yes I have seen this as well...
From: "Corbin, James"
To: "users@wicket.apache.org"
Date: 11/30/2010 04:07 PM
Subject:IndicatingAjaxButton (Doesn't display indicator in
Internet Explorer)
I recently noticed that the IndicatingAjaxButton no longer appears to
render the
I think you are correct, calling setOutputMarkupId(true) is not necessary
when calling setOutputMarkupPlaceholderTag(true). If I remember correctly
from looking at the code for setOutputMarkupPlaceholderTag(), this will
call setOutputMarkupId(true) for you.
From: Duro
To: users@wick
Just a hunchtry WicketServlet instead of WicketFilter (in web.xml)...
From: LucHub
To: users@wicket.apache.org
Date: 01/04/2011 03:26 PM
Subject:Re: Wicket web site down with a few hits
Hi, thank you for the fast reply,
Nothing strange from tomcat logs, also the server
Or...
Object[] vars = ...add dynamic file name object
StringResourceModel rModel = new
StringResourceModel("message.fileAlreadyUploaded", null, vars);
error(rModel.getObject());
From: James
To: users@wicket.apache.org
Date: 01/04/2011 09:22 PM
Subject:Re: Feedback messages wi
This problem still exists in Wicket 1.14.15. IndicatingAjaxButton does
not show the busy indicator in IE, it does work in Firefox.
IndicatingAjaxLink does show the indicator in IE.
- Forwarded by Matthew Zemeck/ADM/NYSOSC on 01/07/2011 03:32 PM -
From: mzem...@osc.state.ny.us
To:
Just a suggestion, pass the UserDto to the service layer and let the
service layer do the conversion. Then you can look at http://code.google.com/p/simple-object-assembler/";>Simple Object
Assembler to encapsulate the conversion. Hint: use
automapWhenNoConverterFound property and you won't nee
Right right right, good catch, but I suppose you could write a conversion
service which throws the business exception. Not really a solution to
your question, but it would clean up your code a bit and take conversion
logic out of the frontend.
From: James Carman
To: users@wicket.apach
Ok but if the conversion has to be done multiple times why not encapsulate
it and clean up your code, rather than coding a conversion for each dto
every time its needed. With my suggestion the frontend calls a service to
do the conversion, then supplies the "primed" object to the service to
pe
The Wicket version and deployment mode are also output during startup...
From: James Carman
To: users@wicket.apache.org
Date: 01/31/2011 11:33 AM
Subject:Re: Static member wicket version... post 1.4.13
Sent by:jcar...@carmanconsulting.com
http://wicket.apache.org/apid
This may be related to...
https://issues.apache.org/jira/browse/WICKET-3321
From: Muro Copenhagen
To: users@wicket.apache.org
Date: 02/02/2011 08:19 AM
Subject:Regarding AjaxIndicatorAppender and IE
Hi,
Has anyone experienced problems with IE (v. 8) and AjaxIndicatorAppend
Can you link the mailing list to it when its posted? I'm very interested
in seeing it, especially after the positive remarks on this list...
From: Martijn Dashorst
To: users@wicket.apache.org
Date: 02/08/2011 09:15 AM
Subject:Re: FOSDEM 2011 presentation online
On Tue, Feb
Interesting how the HeaderResponseFilteredResponseContainer in this
example is after the tag even though best practices as well as the
Javadoc suggest it should be just before the . Perhaps the example
should be changed so as not to set a bad...er...example...
A header response that creates t
How are you storing/retrieving your photos? I recently did some session
size testing and I found the sessions were surprisingly small. Once I
removed the detachable model wrapped around an object holding a photo
(byte array) retrieved from the database my session size shot up
considerably.
This is the best solution I have found...
http://www.richardnichols.net/2010/03/apache-wicket-force-page-reload-to-fix-ajax-back/
Note that when refreshing the page it will return to its default state
(first tab selected). I have been meaning to test with
HybridUrlCodingStrategy to see if the p
If I understand where you are going I completely agree the example is a
little misleading. Some ways to think about it differently...
"id" is synonymous with "a small sub-set of the entire result-set which
can be used to rehydrate the detached model"
The model is the data you want to provide
Here's a start, please anyone correct me if I've made any mistakes...
public class ListLDM extends LoadableDetachableModel {
private String id;
public ListLDM(List l, String id) {
//constructor with primed model
super(l);
this.id
list until after the request cycle is
complete. Upon subsequent request cycles, the load() method will be
called to re-load the list.
On Tue, Mar 1, 2011 at 12:51 PM, Juansoft wrote:
> Thank for the replies!
>
>
> MZemeck wrote:
>>
>> Here's a start, please anyone cor
Great stuff, could you let us know when you have completed a 'final'
version so I can check back?
From: Per
To: users@wicket.apache.org
Date: 03/01/2011 02:22 PM
Subject:Re: Just 100K per session? That would be my dream come
true! (Anyone here who has tuned session size before
Not completely sure what you're getting at, would RefreshingView help you?
http://wicket.apache.org/apidocs/1.4/org/apache/wicket/markup/repeater/RefreshingView.html
From: Alexandru Artimon
To: users@wicket.apache.org
Date: 03/04/2011 08:31 AM
Subject:LoadableDetachableModel s
I'm not totally understanding so I will let someone else try to answer but
RefreshingView may apply to this question...
what if the user decides to leave the page without saving the form. At the
next load the empty-items will be there which is not the desired
functionality
From: Alexandru
Okay but why not use an AjaxEditableLabel, then you don't have to manage
multiple components and state is managed for you?
From: "robert.mcguinness"
To: users@wicket.apache.org
Date: 03/04/2011 08:59 AM
Subject:Re: Disable form "prettyfier"
possibly: http://wicket.visural.n
I've run into this using tab-panels, you have to get the target right by
calling getParent() or something similar. If you look at the rendered
html the wicket id's can help yo track down the component you need to
target.
From: "Coleman, Chris"
To: "users@wicket.apache.org"
Date: 0
Note, I'm referring to ajax-tab-panels which are ajax ready by default...
From: mzem...@osc.state.ny.us
To: users@wicket.apache.org
Date: 03/11/2011 03:11 PM
Subject:RE: Wicket thinks setOutputMarkupId property is not set to
true
I've run into this using tab-panels, you have
For that many photos I would suggest storing them in a database. Storing
that many images on the file system is cumbersome and inefficient in my
opinion. You might run into many headaches especially around backups,
deploys, upgrades, performance, file names, storage space, etc...
From: "
No offense Bas but that seems like a major hassle, especially considering
with an ORM its a simple update/delete/find. When it comes time to build
out new servers now you have to shuffle around 300k photos instead of
simply replicating a database. Also sounds like it would make debugging
more
Not sure what your objects look like but I will try to answer question
2...
Not sure if this will work for you...sometimes I find myself using
PropertyModels mixed with CPMs...
new ListView("myId", new PropertyModel(foo, "widgets"))
And it may not be entirely obvious you can use dot notation to
I think you could do it by using a "base role" that all users receive,
then add additional roles to tighten it down. You would then need to fake
authentication of the "base" users by calling session.authenticate("user",
"pass") and assigning the "BASE" role, even though the user won't
explicit
I second Daniel's comments.
+1 for option 1
From: Daniel Neugebauer
To: users@wicket.apache.org
Date: 04/01/2011 02:56 PM
Subject:Re: [VOTE] Behavior of CheckBox With Respect to
setRequired(true)
I would stick with 1 (required to be checked).
The main reason would be not
Sorry but I do not have the time/resources to create a quickstart (I don't
use Maven) but I wanted to alert the group to an issue I had in case
anyone wanted to test/fix it.
Using the following;
Wicket 1.4.16
UploadWebRequest in App object
Form with setMaxSize() (I'm using 1MB)
FileUploadField
The form does not process anything besides the file upload, and everything
works fine until the UploadProgressBar is introduced (and yes I set
mutlipart to true). I will open a jira if/when time permits, if you have
the appropriate credentials please create a jira on my behalf, I am not
curren
How about using setResponsePage in ModalWindow.WindowClosedCallback() or
ModalWindow.CloseButtonCallback()?
Does modalwindow.close(target); fire CloseButtonCallback?
From: hrbaer
To: users@wicket.apache.org
Date: 04/11/2011 06:03 AM
Subject:Re: link within modal win
The only thing that comes to mind is storing a flag in session. Or
perhaps if you are updating you datastore when the link is clicked you
could check there. Not the best solution in my mind, if you find
something else let me know...
From: hrbaer
To: users@wicket.apache.org
Date: 0
Send your emails in a batch at a later time, or if you are using Spring
you could use the new @Async annotation.
From: lucast
To: users@wicket.apache.org
Date: 04/25/2011 08:32 AM
Subject:Continue navigating while on submit button process stuff
on the background
Dear Forum
or if you are not using Spring...use Java Futures...
http://download.oracle.com/javase/6/docs/api/java/util/concurrent/Future.html
From: lucast
To: users@wicket.apache.org
Date: 04/25/2011 08:32 AM
Subject:Continue navigating while on submit button process stuff
on the bac
73 matches
Mail list logo