properties do follow inheritance afair.
-igor
On Sat, Jan 29, 2011 at 7:31 PM, Arjun Dhar wrote:
>
> The only relevant technical point here is "Inheritance". If Component A
> inherits Component B, then the properties would have to be repeated in the
> property file corresponding to the inherite
yes, see component.getmarkup()
-igor
On Sat, Jan 29, 2011 at 1:17 PM, Benedikt Rothe wrote:
> Thank you, Igor.
>
> I will need some time to figure your hints out.
>
> Do I understand right: The solution "analyze the markup and add..." is
> possible from 1.5 on?
>
> Benedikt
>
> Am 28.01.2011 23:
your class loads one file from one directory if app is in dev mode,
another if app in deploy mode. not everyone wants this. further we
would have the names of properties configurable. another pain. maybe
someone wants to use an xml file to load properties because key value
pairs are not enough, sho
I know that there were talks of a Wicket Cart on the forum that never
materialized. I looked at Apache OFBiz, BroadLeaf, Konakart etc... I ran
their examples. I was curious if anyone knew of a pure backend JEE solution
for e-commerce, so that integrating the business logic might be well
documented
The only relevant technical point here is "Inheritance". If Component A
inherits Component B, then the properties would have to be repeated in the
property file corresponding to the inherited Component as i don't think
properties follow inheritance rules (imo).
Regarding Gobal vs Local: This is s
Thank you all for the responses !
And if you have more ideas let me know !
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Using-Wicket-with-businness-model-classes-that-check-for-rules-tp3245298p3246809.html
Sent from the Users forum mailing list archive at Nabble.co
Another way to handle this is to leverage the wicket validation process
by extending FormComponentPanel.
Your userEditPanel would be composed of individual textfields whose
models are not linked to your IModel. Then implement the
convertInput method that builds a new User object from the vali
The easiest is to just download it through maven (or in eclipse.org/m2e
just check download sources and javadocs) but you can also get the
javadoc.jar from the maven repository directly.
i.e. wget
http://repo2.maven.org/maven2/org/apache/wicket/wicket-core/1.5-RC1/wicket-core-1.5-RC1-javadoc.j
Thank you, Igor.
I will need some time to figure your hints out.
Do I understand right: The solution "analyze the markup and add..." is
possible from 1.5 on?
Benedikt
Am 28.01.2011 23:37, schrieb Igor Vaynberg:
if it only needs to live during render there is IComponentResolver
if you need
On Sat, Jan 29, 2011 at 6:27 PM, Igor Vaynberg wrote:
> that actually looks pretty simple to me...
On first glance yes. But bringing the application parameters into
another component or api will become complicated.
WIth this code I can only extend my Application with a new method
(getProperties)
We just release our CMS based on wicket as opensource.
Please check our official site at www.cameleoncms.com or the technical site
at cameleoncms.googlecode.com
Send me emails if you need more help.
Thanks.
Jérôme
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/W
that actually looks pretty simple to me...
-igor
On Sat, Jan 29, 2011 at 8:17 AM, Christian Grobmeier
wrote:
> Hello
>
> I tried to figure out how one can load own configuration files into
> wicket, for example with configuration on smtp host or something like
> that.
>
> It seems there is no st
No.
I wanted to go with plain wicket. However, is it recommended by the
wicket team to use Spring? It is possible for me, but want to keep my
project as small as possible.
On Sat, Jan 29, 2011 at 5:23 PM, James Carman
wrote:
> Are you using Spring?
>
> On Sat, Jan 29, 2011 at 11:17 AM, Christian
Are you using Spring?
On Sat, Jan 29, 2011 at 11:17 AM, Christian Grobmeier
wrote:
> Hello
>
> I tried to figure out how one can load own configuration files into
> wicket, for example with configuration on smtp host or something like
> that.
>
> It seems there is no standard way- is this correct
Hello
I tried to figure out how one can load own configuration files into
wicket, for example with configuration on smtp host or something like
that.
It seems there is no standard way- is this correct? My solution is
below, but it feels rather overcomplicated to me.
I have overridden the init met
Hi
In the company I work in we always put resources in one file per language. I
don't see much problems maintaining it, except if we had reusable components
that were shared across applications. In reusable components' case it would
seem a very good idea. Actually, once a customer specifically
Hi,
After some trying we found a good practice is:
- Self contained independant components have their own resource file
- a page has its own file which also contains the keys for the panels
on that page (as long as those panels are not being reused on other
pages and are in the same package,
I uploaded a 1.5 javadoc for my own use here:
http://projects.grobmeier.de/javadoc/wicket-core/1.5-snapshot/
Its from a 2 day old trunk version - guess this will not change much
until 1.5 is released
On Fri, Jan 28, 2011 at 5:43 PM, Zhubin Salehi wrote:
> No 1.5.x!
>
> -Original Message-
Hello,
I have read and understand about i18n but I am curious about best practices.
Is it really a good option to have several language files per
component? F.e. my form component needs i18n, so does my page which
holds the form alone. Wicket does of course not search in the i18n
files for the pag
19 matches
Mail list logo