Hi, here's a new episode of my Wicket upgrade saga.
Hope I'm not disturbing anyone :D
In my application developed with Wicket 1.3.6 I have a
CarMessages.properties file which was sort of shared by two classes
CarListPage and CarDetail, since they use the same messages.
When I upgraded to 1.4 all
How about better architecture? Using a database instead of a file would be
much nicer. With proper caching there's little to no difference in terms of
performance than using a file.
Cheers,
Adam
On 25 November 2010 09:07, andrea.castello [via Apache Wicket]
Rather strange: they closed the public voting round at the same time
as the submission deadline. This strikes me as weird since late
registrants (such as ourselves) are unable to garner any community
support. Sounds like someone didn't think this through...
Martijn
On Thu, Nov 25, 2010 at 2:34
How was this CarMessages.properties shared by the two classes? If your
car CarListPage uses CarDetail placing them on CarListPage should be
enough, AFAIK. Additionally on 1.4.X I think package level resource
files are supported.
Ernesto
On Thu, Nov 25, 2010 at 10:07 AM, andrea.castello
What is the relation between CarMessages.java (if there is such file)
and CarDetail.java
?
Does the one extend/implement the other ?
On Thu, Nov 25, 2010 at 10:11 AM, adam.gibbons adam.s.gibb...@gmail.comwrote:
How about better architecture? Using a database instead of a file would be
much
Hi,
Martin Grigorov-4 wrote:
What is the relation between CarMessages.java (if there is such file)
and CarDetail.java
?
Does the one extend/implement the other ?
On Thu, Nov 25, 2010 at 10:11 AM, adam.gibbons
adam.s.gibb...@gmail.comwrote:
There's no CarMessages.java, just the two
One thing that I just noticed is that in every class I have this problem I
had to change the invocation of the method getModel() to getDefaultModel(),
according to the migration guide to 1.4.
Can the problem be there (honestly, I don't think so but, who knows, I'm
just a Wicket newbie)
Andrea
That helps a lot. Thanks.
On Wed, Nov 24, 2010 at 11:47 PM, jwray jwray.deve...@gmail.com wrote:
The page will block until the panel is loaded. There are a number of
threads
discussing this.
Here are a couple of gists that allow panel content to be loaded in an
asynchronous manner in
Another possibility is that had your own IStringResourceLoader registered via
getResourceSettings().addStringResourceLoader(new MyResourceLoader())?
Ernesto
On Thu, Nov 25, 2010 at 10:57 AM, andrea.castello
a.castello.pronet...@gmail.com wrote:
Hi,
Martin Grigorov-4 wrote:
What is the
you can use com/example/something/package.properties
or MyApplication.properties (global)
On Thu, Nov 25, 2010 at 11:12 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Another possibility is that had your own IStringResourceLoader registered
via
Hi all,
It's a little overdue, but the next release of the visural-wicket component
library is now available.
For a detailed list of the enhancements / fixes in this release -
http://www.richardnichols.net/2010/11/visural-wicket-0-6-5-release-is-available/
Hi,
I'm on wicket (core extension) 1.4.12 (Wicket Spring IOC 1.5-M1).
On the following scenario I get the error trace :
java.lang.NoClassDefFoundError: org/apache/wicket/util/lang/WicketObjects
at
org.apache.wicket.spring.SpringBeanLocator.getBeanType(SpringBeanLocator.java:222)
Why do you mix versions of libraries ?!
Stick with either 1.4.12 or 1.5-M1 (even better 1.5-M3)
On Thu, Nov 25, 2010 at 12:49 PM, Arjun Dhar dhar...@yahoo.com wrote:
Hi,
I'm on wicket (core extension) 1.4.12 (Wicket Spring IOC 1.5-M1).
On the following scenario I get the error trace :
Oh! ..Coz I'm silly to have assumed that the Spring+IOC versioning was
somehow independent of Wicket Core+Extensions and until now it never bit me.
Thanks for pointing it out :)
--
View this message in context:
Thanks . I have always found this library very useful.
On Thu, Nov 25, 2010 at 2:27 PM, Richard Nichols r...@visural.com wrote:
Hi all,
It's a little overdue, but the next release of the visural-wicket component
library is now available.
For a detailed list of the enhancements / fixes in
For people who want to try the dashboard, it depends on a patched version of
WiQuery, which fixes several problems found in the official 1.1 release. You
can find this version of WiQuery at https://github.com/papegaaij/wiquery .
It requires a very recent, webkit-based browser to run. We
Looks good. Thanks for your work.
P.S.: Whoa! And with examples too!
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
I must ask it: why did you make such fat header at your page? Did you
every try to take a look at this in 1600*900 notebook screen?
All you writings begins in bottom second part of the screen. It is not
my busenees of course, but why dont you kill that nice picture and
resize header to just
Hi
I've an AddressEdit which is a FormComponentPanel
The addressEdit is composed of two parts: a structured address and a
displayed text.
The displayed text can be generated from the structured address
(provided the structured address is valid, meaning it has all its field
apart from the
Hi all,
If you use DataTables, when the bottomToolBars view has no items to render,
the markup exported is invalid:
table
thead /thead
tfoot /tfoot
tbody
...
...
/tbody
/table
I suppose the same happens with the thead.
thead and tfoot tags can't be
Hi there,
I was wondering if anyone could help me with spring annotations, I seem to
have having some problems.
I'm trying to inject my UserService into a CustomAuthenticatedWebSession I
wrote to do validation for my pages.
I get a NPE when I hit any page because my bean does not seem to have
The explanation is that Wicket injection magic only works for
components: at other places you have to call the magic yourself:-)
Ernesto
P.S. Would it make sense to put you service at application level and
make session fetch it from there?
On Thu, Nov 25, 2010 at 2:39 PM, adam.gibbons
I guess if the Application is a singleton I could use it as a
ServiceLocator. Might be better than injecting the bean over and over again
in CustomAuthenticatedWebSession. Most of the wicket objects seem to have a
getApplication method so it might be a nice way of handling my services for
future
Hello,
�...@springbean(name=userService)
transient private UserService userService;
Do not use injected beans as transient fields, because it will produce
that the field is not serialized and thus the reference will be null
after the page is hydrated.
If you mark fields with @SpringBean,
If a user has entered some HTML in a TextField or TextAreaString when I do
not want HTML to be entered, what is a good way to prevent this?
Currently, I store the offending strings and then render them using a Label
or MultiLineLabel, but for neither component does
Oh thanks for the tip! I've corrected that now. :)
How do you inject Hibernate DAOs into your Spring Services using
annotations? Is that possible?
I also seem to be having some problems with the sessionFactory being inject
into the DAOs.
Any ideas?
Services are there now though, yay :)
On 25
Hi,
How do you inject Hibernate DAOs into your Spring Services using
annotations? Is that possible?
I also seem to be having some problems with the sessionFactory being inject
into the DAOs.
Any ideas?
That is configured with Spring, doesn't depends on Wicket at all. I
usually configure
Hi!
I think there are libraries that can provide you with scripting
detection or escaping...
However, I do not want HTML to be entered is quite vaque rule. Even
plain alphabets are html.
**
Martin
2010/11/25 Ian Marshall ianmarshall...@gmail.com:
If a user has entered some HTML in a
Am 2010-11-25 16:15, schrieb Ian Marshall:
If a user has entered some HTML in a TextField or TextAreaString when I do
not want HTML to be entered, what is a good way to prevent this?
In our project we are using OWASP Antisamy to prevent XSS attacks. It is
easy to use, has a couple templates
Sorry about that. By I do not want HTML to be entered I meant character
strings which are rendered by a browser additional to, or instead of, being
displayed as that character string. Examples are:
!--
/body
onclick='[Some nasty JavaScript]';
Basically, I want to remove nasty code being
Thanks for that, Patrick.
I'll take a look at these tomorrow to see what they have got.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Preventing-user-input-script-injection-attacks-tp3059119p3059322.html
Sent from the Users forum mailing list archive at
wicket should already escape the markup for you. please provide a
quickstart where it is not doing it.
-igor
On Thu, Nov 25, 2010 at 7:15 AM, Ian Marshall ianmarshall...@gmail.com wrote:
If a user has entered some HTML in a TextField or TextAreaString when I do
not want HTML to be entered,
Great library. I always expected more of these since component creation and
reuse is one of Wickets a key strengths.
What I like about this lib is it's clean and finished. There is no feeling
of immaturity or of a project that has died off.
On Thu, Nov 25, 2010 at 2:02 PM, alex shubert
addressedit should be composing itself in its convertinput() method
based on the converted input of the subcomponents.
-igor
On Thu, Nov 25, 2010 at 5:07 AM, Joseph Pachod j...@thomas-daily.de wrote:
Hi
I've an AddressEdit which is a FormComponentPanel
The addressEdit is composed of two
mind specifying which wicket version you are using?
-igor
On Thu, Nov 25, 2010 at 5:17 AM, Poko Booth poko.bo...@gmail.com wrote:
Hi all,
If you use DataTables, when the bottomToolBars view has no items to render,
the markup exported is invalid:
table
thead /thead
tfoot /tfoot
Thanks for all the positive comments :)
If anyone has any suggestions / ideas for the next release (0.7) then let me
know.
Currently the only things on the RoadMap, are Wicket 1.5 support and some
refactoring on the DropDown control (which has become a bit of a maintenance
time-sink).
cheers,
maven repo is not working
On Thu, Nov 25, 2010 at 9:19 PM, Richard Nichols r...@visural.com wrote:
Thanks for all the positive comments :)
If anyone has any suggestions / ideas for the next release (0.7) then let
me
know.
Currently the only things on the RoadMap, are Wicket 1.5 support
What error are you getting?
It may be related to my separating the visural-common dependency from the
main visural-wicket JAR.
On Fri, Nov 26, 2010 at 8:56 AM, Paul Szulc paul.sz...@gmail.com wrote:
maven repo is not working
On Thu, Nov 25, 2010 at 9:19 PM, Richard Nichols r...@visural.com
I'm using 1.4.12
Regards,
Poko
On Nov 25, 2010, at 9:28 PM, Igor Vaynberg wrote:
mind specifying which wicket version you are using?
-igor
On Thu, Nov 25, 2010 at 5:17 AM, Poko Booth poko.bo...@gmail.com wrote:
Hi all,
If you use DataTables, when the bottomToolBars view has no items to
You can also try to use:
http://nekohtml.sourceforge.net/
W dniu 2010-11-25 18:39, Ian Marshall pisze:
Thanks for that, Patrick.
I'll take a look at these tomorrow to see what they have got.
-
To unsubscribe, e-mail:
Visural is very good library! Thank you for it! I would welcome for
the next release maven integration.
2010/11/25 Richard Nichols r...@visural.com:
Thanks for all the positive comments :)
If anyone has any suggestions / ideas for the next release (0.7) then let me
know.
Currently the only
41 matches
Mail list logo