Re: visural-wicket 0.6.5 released!

2010-11-25 Thread danisevsky
Visural is very good library! Thank you for it! I would welcome for
the next release maven integration.


2010/11/25 Richard Nichols :
> 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,
> RIch
>
> On Fri, Nov 26, 2010 at 6:19 AM, Mark Doyle 
> wrote:
>
>> 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 > >wrote:
>>
>> > 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 contain "pragmatic" without strong empty white
>> > line?
>> >
>> > Ah, forget it. At least you did not add banner on the top of all of that
>> >  :)
>> >
>> > --
>> > Best regards
>> > Alex
>> >
>> > -
>> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> > For additional commands, e-mail: users-h...@wicket.apache.org
>> >
>> >
>>
>
>
>
> --
> Richard Nichols
> http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Preventing user input script-injection attacks

2010-11-25 Thread Michał Letyński

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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Invalid html rendered with DataTable [ex. empty tfoot element]

2010-11-25 Thread Poko Booth
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  wrote:
>> Hi all,
>> If you use DataTables, when the bottomToolBars view has no items to render,
>> the markup exported is invalid:
>> 
>> 
>>   
>>   
>>  
>>   ...
>>   ...
>>  
>> 
>> 
>> I suppose the same happens with the thead.
>> 
>> thead and tfoot tags can't be empty.
>> 
>> I have overridden the class and manually added in the markup file
>> 
>> in both thead and tfoot of the source file above the 
>> tags.
>> 
>> Works but you knowNot elegant.
>> 
>> Enclosure containers should be used on the thead/tfoot tags defining their
>> children as the top/bottom toolbar repeating views.
>> 
>> Regards,
>> Poko
>> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: visural-wicket 0.6.5 released!

2010-11-25 Thread Richard Nichols
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  wrote:

> maven repo is not working
>
> On Thu, Nov 25, 2010 at 9:19 PM, Richard Nichols  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 and some
> > refactoring on the DropDown control (which has become a bit of a
> > maintenance
> > time-sink).
> >
> > cheers,
> > RIch
> >
> > On Fri, Nov 26, 2010 at 6:19 AM, Mark Doyle <
> markjohndo...@googlemail.com
> > >wrote:
> >
> > > 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  > > >wrote:
> > >
> > > > 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 contain "pragmatic" without strong empty white
> > > > line?
> > > >
> > > > Ah, forget it. At least you did not add banner on the top of all of
> > that
> > > >  :)
> > > >
> > > > --
> > > > Best regards
> > > > Alex
> > > >
> > > > -
> > > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > > > For additional commands, e-mail: users-h...@wicket.apache.org
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > Richard Nichols
> > http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
> >
>
>
>
> --
> Best regards,
> Paul Szulc
>
> http://www.paulszulc.com
>



-- 
Richard Nichols
http://www.richardnichols.net/ :: http://onmydoorstep.com.au/


Re: visural-wicket 0.6.5 released!

2010-11-25 Thread Paul Szulc
maven repo is not working

On Thu, Nov 25, 2010 at 9:19 PM, Richard Nichols  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 and some
> refactoring on the DropDown control (which has become a bit of a
> maintenance
> time-sink).
>
> cheers,
> RIch
>
> On Fri, Nov 26, 2010 at 6:19 AM, Mark Doyle  >wrote:
>
> > 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  > >wrote:
> >
> > > 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 contain "pragmatic" without strong empty white
> > > line?
> > >
> > > Ah, forget it. At least you did not add banner on the top of all of
> that
> > >  :)
> > >
> > > --
> > > Best regards
> > > Alex
> > >
> > > -
> > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > > For additional commands, e-mail: users-h...@wicket.apache.org
> > >
> > >
> >
>
>
>
> --
> Richard Nichols
> http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
>



-- 
Best regards,
Paul Szulc

http://www.paulszulc.com


Re: visural-wicket 0.6.5 released!

2010-11-25 Thread Richard Nichols
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,
RIch

On Fri, Nov 26, 2010 at 6:19 AM, Mark Doyle wrote:

> 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  >wrote:
>
> > 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 contain "pragmatic" without strong empty white
> > line?
> >
> > Ah, forget it. At least you did not add banner on the top of all of that
> >  :)
> >
> > --
> > Best regards
> > Alex
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>



-- 
Richard Nichols
http://www.richardnichols.net/ :: http://onmydoorstep.com.au/


Re: Invalid html rendered with DataTable [ex. empty tfoot element]

2010-11-25 Thread Igor Vaynberg
mind specifying which wicket version you are using?

-igor

On Thu, Nov 25, 2010 at 5:17 AM, Poko Booth  wrote:
> Hi all,
> If you use DataTables, when the bottomToolBars view has no items to render,
> the markup exported is invalid:
>
> 
>       
>       
>      
>           ...
>           ...
>      
> 
>
> I suppose the same happens with the thead.
>
> thead and tfoot tags can't be empty.
>
> I have overridden the class and manually added in the markup file
> 
> in both thead and tfoot of the source file above the 
> tags.
>
> Works but you knowNot elegant.
>
> Enclosure containers should be used on the thead/tfoot tags defining their
> children as the top/bottom toolbar repeating views.
>
> Regards,
> Poko
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: nested form in FormComponentPanel validation issue

2010-11-25 Thread Igor Vaynberg
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  wrote:
> 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
> "Additional address line" which is optional); through a button.
>
> When submiting the form with the AddressEdit, it then tries to compose
> itself based on :
> - the structured address (with some validation rules, like either it's null
> either it's valid, done through a FormValidator)
> - the displayed text (always required)
>
> Currently, due to the need of having to generate the displayed text from the
> structured address, the structured address part is put in a (nested) form.
>
> As such, I run into this issue: convertInput of AddressEdit is called before
> the nested form is validated and has converted its own input
>
> I tried various workaround, but none was good enough to my taste.
>
> What would you suggest ?
>
> ++
>
> --
> Joseph Pachod
> IT
>
> THOMAS DAILY GmbH
> Adlerstraße 19
> 79098 Freiburg
> Deutschland
> T  + 49 761 3 85 59 506
> F  + 49 761 3 85 59 550
> E  joseph.pac...@thomas-daily.de
> www.thomas-daily.de
>
> Geschäftsführer/Managing Directors:
> Wendy Thomas, Susanne Larbig
> Handelsregister Freiburg i.Br., HRB 3947
>
> Registrieren Sie sich unter https://www.thomas-daily.de/user/sign-in für die
> TD Morning News, eine kostenlose Auswahl aktueller Themen aus TD Premium,
> morgens ab 9:15 in Ihrer Mailbox.
>
> Aktuelle Presseinformationen für die TD Morning News und TD Premium nimmt
> unsere Redaktion unter redakt...@thomas-daily.de entgegen.
> Redaktionsschluss für die TD Morning News ist täglich um 8:45.
>
> Register free of charge at https://www.thomas-daily.de/user/sign-in to have
> the TD Morning News, a selection of the latest topics from TD Premium,
> delivered to your mailbox from 9:15 every morning.
>
> Our editorial department receives the latest press releases for the TD
> Morning News and TD Premium at redakt...@thomas-daily.de. The editorial
> deadline for the TD Morning News is 8.45am daily.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: visural-wicket 0.6.5 released!

2010-11-25 Thread Mark Doyle
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 wrote:

> 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 contain "pragmatic" without strong empty white
> line?
>
> Ah, forget it. At least you did not add banner on the top of all of that
>  :)
>
> --
> Best regards
> Alex
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Preventing user input script-injection attacks

2010-11-25 Thread Igor Vaynberg
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  wrote:
>
> If a user has entered some HTML in a TextField or TextArea 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
>
>  Component.setEscapeModelStrings(true);
>
> have an effect (presumably since this setting is already true by default).
>
> Am I condemned to coding a method to examine the models of my TextField and
> TextArea components at form-submission-time and remove any HTML code
> manually?
>
> Any comments would be appreciated,
>
> Ian
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Preventing-user-input-script-injection-attacks-tp3059119p3059119.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Preventing user input script-injection attacks

2010-11-25 Thread Ian Marshall

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 Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Preventing user input script-injection attacks

2010-11-25 Thread Ian Marshall

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:

  

Re: Preventing user input script-injection attacks

2010-11-25 Thread Patrick Petermair

Am 2010-11-25 16:15, schrieb Ian Marshall:


If a user has entered some HTML in a TextField or TextArea  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 (slashdot, ebay,..) and works like a 
charm.


http://www.owasp.org/index.php/Category:OWASP_AntiSamy_Project
http://code.google.com/p/owaspantisamy/

Regards,
Patrick

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Preventing user input script-injection attacks

2010-11-25 Thread Martin Makundi
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 :
>
> If a user has entered some HTML in a TextField or TextArea 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
>
>  Component.setEscapeModelStrings(true);
>
> have an effect (presumably since this setting is already true by default).
>
> Am I condemned to coding a method to examine the models of my TextField and
> TextArea components at form-submission-time and remove any HTML code
> manually?
>
> Any comments would be appreciated,
>
> Ian
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Preventing-user-input-script-injection-attacks-tp3059119p3059119.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: need help with spring annotations

2010-11-25 Thread Mauro Ciancio
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 dependencies in XML files but AFAIR you can use
@Autowired annotation.

Regards.
-- 
Mauro Ciancio

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: need help with spring annotations

2010-11-25 Thread adam.gibbons

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 November 2010 14:46, Mauro Ciancio [via Apache Wicket] <
ml-node+3059075-939733042-201...@n4.nabble.com
> wrote:

> 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, Wicket will automatically inject
> a serializable proxy that can be reconstructed after hydratation.
>
> HTH.
> Regards.
> --
> Mauro Ciancio
>
> -
> To unsubscribe, e-mail: [hidden 
> email]
> For additional commands, e-mail: [hidden 
> email]
>
>
>
> --
>  View message @
> http://apache-wicket.1842946.n4.nabble.com/need-help-with-spring-annotations-tp3058944p3059075.html
>
> To start a new topic under Apache Wicket, email
> ml-node+1842946-1499480286-201...@n4.nabble.com
> To unsubscribe from Apache Wicket, click 
> here.
>
>

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/need-help-with-spring-annotations-tp3058944p3059121.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Preventing user input script-injection attacks

2010-11-25 Thread Ian Marshall

If a user has entered some HTML in a TextField or TextArea 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

  Component.setEscapeModelStrings(true);

have an effect (presumably since this setting is already true by default).

Am I condemned to coding a method to examine the models of my TextField and
TextArea components at form-submission-time and remove any HTML code
manually?

Any comments would be appreciated,

Ian
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Preventing-user-input-script-injection-attacks-tp3059119p3059119.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: need help with spring annotations

2010-11-25 Thread Mauro Ciancio
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, Wicket will automatically inject
a serializable proxy that can be reconstructed after hydratation.

HTH.
Regards.
-- 
Mauro Ciancio

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: need help with spring annotations

2010-11-25 Thread 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 wicket development.

On 25 November 2010 13:48, Ernesto Reinaldo Barreiro-4 [via Apache Wicket] <
ml-node+3058965-695450474-201...@n4.nabble.com
> wrote:

> 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 <[hidden 
> email]>
> wrote:
>
> >
> > It worked!! Thank you sooo much!! \(^_^)/
> >
> > On 25 November 2010 13:36, Ernesto Reinaldo Barreiro-4 [via Apache
> Wicket] <
> > [hidden email] 
> > <[hidden
> email] >
> >> wrote:
> >
> >> Can you try adding line
> >>
> >> InjectorHolder.getInjector().inject(this);
> >>
> >> on CustomAuthenticatedWebSession constructor?
> >>
> >> Ernesto
> >>
> >> On Thu, Nov 25, 2010 at 2:31 PM, Adam Gibbons <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=3058948&i=0>>
> >> wrote:
> >>
> >> > 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
> >> been
> >> > injected.
> >> >
> >> > Here's my AuthenticatedWebSession Class:
> >> >
> >> > public class CustomAuthenticatedWebSession extends
> >> AuthenticatedWebSession{
> >> >private static final long serialVersionUID = 4713195500103052768L;
> >> >
> >> >@SpringBean(name="userService")
> >> >transient private UserService userService;
> >> >public void setUserService(final UserService userService){
> >> >this.userService = userService;
> >> >}
> >> >
> >> >transient private String currentUser = null;
> >> >
> >> >public CustomAuthenticatedWebSession(final Request request){
> >> >super(request);
> >> >}
> >> >
> >> >@Override
> >> >public boolean authenticate(final String username, final String
> >> > password){
> >> >currentUser = username;
> >> >return userService.authenticate(username, password);
> >> >}
> >> >
> >> >@Override
> >> >public Roles getRoles(){
> >> >return userService.getRoles(currentUser, isSignedIn());
> >> >}
> >> > }
> >> >
> >> >
> >> > my applicationContext.xml file:
> >> >
> >> > 
> >> >  >> >xmlns="http://www.springframework.org/schema/beans";
> >> >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >> >xmlns:aop="http://www.springframework.org/schema/aop";
> >> >xmlns:tx="http://www.springframework.org/schema/tx";
> >> >xmlns:context="http://www.springframework.org/schema/context";
> >> >xsi:schemaLocation="
> >> >http://www.springframework.org/schema/beans
> >> > http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
> >> >http://www.springframework.org/schema/aop
> >> > http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
> >> >http://www.springframework.org/schema/tx
> >> > http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
> >> >http://www.springframework.org/schema/context
> >> > http://www.springframework.org/schema/context/spring-context-2.5.xsd
> >> >"
> >> >>
> >> > >> >
> class="uk.co.company.product.presentation.wicket.app.WicketApplication"
> >> />
> >> >
> >> > >> >
> >>
> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
>
> >>
> >> > />
> >> > >> > value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
> >> >
> >> >
> >> >
> >> >classpath*:/application.properties
> >> >
> >> >
> >> >
> >> >
> >> > >> > class="org.springframework.jdbc.datasource.DriverManagerDataSource">
> >> > >> > name="driverClassName">${jdbc.driver}
> >> >${jdbc.url}
> >> > >> name="username">${jdbc.username}
> >> > >> name="password">${jdbc.password}
> >> >
> >> >
> >> >
> >> >
> >> > >> >
> >> >
> class="org.springframework.orm.hibernate3.HibernateTransactionManager">
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > 
> >> >
> >> > >> >
> >>
> class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
>
> >>
> >> >
> >> >
> >> >
> >> >
> >> > key="hibernate.di

Re: need help with spring annotations

2010-11-25 Thread Ernesto Reinaldo Barreiro
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  wrote:
>
> It worked!! Thank you sooo much!! \(^_^)/
>
> On 25 November 2010 13:36, Ernesto Reinaldo Barreiro-4 [via Apache Wicket] <
> ml-node+3058948-296965573-201...@n4.nabble.com
>> wrote:
>
>> Can you try adding line
>>
>> InjectorHolder.getInjector().inject(this);
>>
>> on CustomAuthenticatedWebSession constructor?
>>
>> Ernesto
>>
>> On Thu, Nov 25, 2010 at 2:31 PM, Adam Gibbons <[hidden 
>> email]>
>> wrote:
>>
>> > 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
>> been
>> > injected.
>> >
>> > Here's my AuthenticatedWebSession Class:
>> >
>> > public class CustomAuthenticatedWebSession extends
>> AuthenticatedWebSession{
>> >    private static final long serialVersionUID = 4713195500103052768L;
>> >
>> >   �...@springbean(name="userService")
>> >    transient private UserService userService;
>> >    public void setUserService(final UserService userService){
>> >        this.userService = userService;
>> >    }
>> >
>> >    transient private String currentUser = null;
>> >
>> >    public CustomAuthenticatedWebSession(final Request request){
>> >        super(request);
>> >    }
>> >
>> >   �...@override
>> >    public boolean authenticate(final String username, final String
>> > password){
>> >        currentUser = username;
>> >        return userService.authenticate(username, password);
>> >    }
>> >
>> >   �...@override
>> >    public Roles getRoles(){
>> >        return userService.getRoles(currentUser, isSignedIn());
>> >    }
>> > }
>> >
>> >
>> > my applicationContext.xml file:
>> >
>> > 
>> > > >    xmlns="http://www.springframework.org/schema/beans";
>> >    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>> >    xmlns:aop="http://www.springframework.org/schema/aop";
>> >    xmlns:tx="http://www.springframework.org/schema/tx";
>> >    xmlns:context="http://www.springframework.org/schema/context";
>> >    xsi:schemaLocation="
>> >        http://www.springframework.org/schema/beans
>> > http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
>> >        http://www.springframework.org/schema/aop
>> > http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
>> >        http://www.springframework.org/schema/tx
>> > http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
>> >        http://www.springframework.org/schema/context
>> > http://www.springframework.org/schema/context/spring-context-2.5.xsd
>> >    "
>> >>
>> >    > > class="uk.co.company.product.presentation.wicket.app.WicketApplication"
>> />
>> >
>> >    > >
>> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
>>
>> >        
>> >        > > value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
>> >        
>> >        
>> >            
>> >                classpath*:/application.properties
>> >            
>> >        
>> >    
>> >
>> >    > > class="org.springframework.jdbc.datasource.DriverManagerDataSource">
>> >        > > name="driverClassName">${jdbc.driver}
>> >        ${jdbc.url}
>> >        > name="username">${jdbc.username}
>> >        > name="password">${jdbc.password}
>> >    
>> >
>> >    
>> >
>> >    > >
>> > class="org.springframework.orm.hibernate3.HibernateTransactionManager">
>> >        
>> >            
>> >        
>> >    
>> >
>> > 
>> >
>> >    > >
>> class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
>>
>> >        
>> >        
>> >            
>> >                
>> >                ${hibernate.dialect}
>> >                5
>> >                > > key="hibernate.current_session_context_class">thread
>> >                true
>> >                > > key="hibernate.cglib.use_reflection_optimizer">true
>> >                > >
>> key="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider
>>
>> >                > > key="hibernate.hibernate.cache.use_query_cache">true
>> >            
>> >        
>> >        
>> >        
>> >            uk.co.company.product.persistance.hibernate
>> >        
>> >    
>> >    
>> >
>> > 
>> >
>> >
>> > and web.xml
>> >
>> > 
>> > > >    xmlns="http://java.sun.com/xml/ns/j2ee";
>> >    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>> >    xsi:schemaLocation="
>> >        http://java.sun.com/xml/ns/j2ee
>> >        http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
>> >    "
>> >    version="2.4"
>> >>
>> >    ZenTemplate
>> >    
>> >        contextConfigLocat

Re: need help with spring annotations

2010-11-25 Thread adam.gibbons

It worked!! Thank you sooo much!! \(^_^)/

On 25 November 2010 13:36, Ernesto Reinaldo Barreiro-4 [via Apache Wicket] <
ml-node+3058948-296965573-201...@n4.nabble.com
> wrote:

> Can you try adding line
>
> InjectorHolder.getInjector().inject(this);
>
> on CustomAuthenticatedWebSession constructor?
>
> Ernesto
>
> On Thu, Nov 25, 2010 at 2:31 PM, Adam Gibbons <[hidden 
> email]>
> wrote:
>
> > 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
> been
> > injected.
> >
> > Here's my AuthenticatedWebSession Class:
> >
> > public class CustomAuthenticatedWebSession extends
> AuthenticatedWebSession{
> >private static final long serialVersionUID = 4713195500103052768L;
> >
> >@SpringBean(name="userService")
> >transient private UserService userService;
> >public void setUserService(final UserService userService){
> >this.userService = userService;
> >}
> >
> >transient private String currentUser = null;
> >
> >public CustomAuthenticatedWebSession(final Request request){
> >super(request);
> >}
> >
> >@Override
> >public boolean authenticate(final String username, final String
> > password){
> >currentUser = username;
> >return userService.authenticate(username, password);
> >}
> >
> >@Override
> >public Roles getRoles(){
> >return userService.getRoles(currentUser, isSignedIn());
> >}
> > }
> >
> >
> > my applicationContext.xml file:
> >
> > 
> >  >xmlns="http://www.springframework.org/schema/beans";
> >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >xmlns:aop="http://www.springframework.org/schema/aop";
> >xmlns:tx="http://www.springframework.org/schema/tx";
> >xmlns:context="http://www.springframework.org/schema/context";
> >xsi:schemaLocation="
> >http://www.springframework.org/schema/beans
> > http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
> >http://www.springframework.org/schema/aop
> > http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
> >http://www.springframework.org/schema/tx
> > http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
> >http://www.springframework.org/schema/context
> > http://www.springframework.org/schema/context/spring-context-2.5.xsd
> >"
> >>
> > > class="uk.co.company.product.presentation.wicket.app.WicketApplication"
> />
> >
> > >
> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
>
> >
> > > value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
> >
> >
> >
> >classpath*:/application.properties
> >
> >
> >
> >
> > > class="org.springframework.jdbc.datasource.DriverManagerDataSource">
> > > name="driverClassName">${jdbc.driver}
> >${jdbc.url}
> > name="username">${jdbc.username}
> > name="password">${jdbc.password}
> >
> >
> >
> >
> > >
> > class="org.springframework.orm.hibernate3.HibernateTransactionManager">
> >
> >
> >
> >
> >
> > 
> >
> > >
> class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
>
> >
> >
> >
> >
> >${hibernate.dialect}
> >5
> > > key="hibernate.current_session_context_class">thread
> >true
> > > key="hibernate.cglib.use_reflection_optimizer">true
> > >
> key="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider
>
> > > key="hibernate.hibernate.cache.use_query_cache">true
> >
> >
> >
> >
> >uk.co.company.product.persistance.hibernate
> >
> >
> >
> >
> > 
> >
> >
> > and web.xml
> >
> > 
> >  >xmlns="http://java.sun.com/xml/ns/j2ee";
> >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >xsi:schemaLocation="
> >http://java.sun.com/xml/ns/j2ee
> >http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
> >"
> >version="2.4"
> >>
> >ZenTemplate
> >
> >contextConfigLocation
> >classpath:applicationContext.xml
> >
> >
> >
> >
> org.springframework.web.context.ContextLoaderListener
>
> >
> >
> >opensessioninview
> >
> >
> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
>
> >
> >
> >wicket-spring-hibernate
> >
> > org.apache.wicket.protocol.http.WicketFilter
>
> >
> >applicationFactoryClassName
> >
> >
> org.apache.wicket.spring.SpringWebApplicationFactory
>
> >

Re: need help with spring annotations

2010-11-25 Thread Ernesto Reinaldo Barreiro
Can you try adding line

InjectorHolder.getInjector().inject(this);

on CustomAuthenticatedWebSession constructor?

Ernesto

On Thu, Nov 25, 2010 at 2:31 PM, Adam Gibbons  wrote:
> 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 been
> injected.
>
> Here's my AuthenticatedWebSession Class:
>
> public class CustomAuthenticatedWebSession extends AuthenticatedWebSession{
>    private static final long serialVersionUID = 4713195500103052768L;
>
>   �...@springbean(name="userService")
>    transient private UserService userService;
>    public void setUserService(final UserService userService){
>        this.userService = userService;
>    }
>
>    transient private String currentUser = null;
>
>    public CustomAuthenticatedWebSession(final Request request){
>        super(request);
>    }
>
>   �...@override
>    public boolean authenticate(final String username, final String
> password){
>        currentUser = username;
>        return userService.authenticate(username, password);
>    }
>
>   �...@override
>    public Roles getRoles(){
>        return userService.getRoles(currentUser, isSignedIn());
>    }
> }
>
>
> my applicationContext.xml file:
>
> 
>     xmlns="http://www.springframework.org/schema/beans";
>    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>    xmlns:aop="http://www.springframework.org/schema/aop";
>    xmlns:tx="http://www.springframework.org/schema/tx";
>    xmlns:context="http://www.springframework.org/schema/context";
>    xsi:schemaLocation="
>        http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
>        http://www.springframework.org/schema/aop
> http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
>        http://www.springframework.org/schema/tx
> http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
>        http://www.springframework.org/schema/context
> http://www.springframework.org/schema/context/spring-context-2.5.xsd
>    "
>>
>     class="uk.co.company.product.presentation.wicket.app.WicketApplication" />
>
>     class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
>        
>         value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
>        
>        
>            
>                classpath*:/application.properties
>            
>        
>    
>
>     class="org.springframework.jdbc.datasource.DriverManagerDataSource">
>         name="driverClassName">${jdbc.driver}
>        ${jdbc.url}
>        ${jdbc.username}
>        ${jdbc.password}
>    
>
>    
>
>    
> class="org.springframework.orm.hibernate3.HibernateTransactionManager">
>        
>            
>        
>    
>
> 
>
>     class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
>        
>        
>            
>                
>                ${hibernate.dialect}
>                5
>                 key="hibernate.current_session_context_class">thread
>                true
>                 key="hibernate.cglib.use_reflection_optimizer">true
>                 key="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider
>                 key="hibernate.hibernate.cache.use_query_cache">true
>            
>        
>        
>        
>            uk.co.company.product.persistance.hibernate
>        
>    
>    
>
> 
>
>
> and web.xml
>
> 
>     xmlns="http://java.sun.com/xml/ns/j2ee";
>    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>    xsi:schemaLocation="
>        http://java.sun.com/xml/ns/j2ee
>        http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
>    "
>    version="2.4"
>>
>    ZenTemplate
>    
>        contextConfigLocation
>        classpath:applicationContext.xml
>    
>    
>
> org.springframework.web.context.ContextLoaderListener
>    
>    
>        opensessioninview
>
> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
>    
>    
>        wicket-spring-hibernate
>
> org.apache.wicket.protocol.http.WicketFilter
>        
>            applicationFactoryClassName
>
> org.apache.wicket.spring.SpringWebApplicationFactory
>        
>        
>            applicationClassName
>
> uk.co.company.product.presentation.wicket.app.WicketApplication
>        
>    
>    
>        opensessioninview
>        /*
>    
>    
>        wicket-spring-hibernate
>        /*
>    
> 
>
> Also here is my simple service:
>
> @Service("userService")
> public class UserService{
>
>    final private TestUserService testUserService = new TestUserService();
>
>    public UserService(){
>        super();
>    }
>
>   �...@transactional
>    final public boolean authenticate(final String userName, final String
> password){
>        return testUserService.authenticate(userName, password);
>  

need help with spring annotations

2010-11-25 Thread Adam Gibbons
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 been
injected.

Here's my AuthenticatedWebSession Class:

public class CustomAuthenticatedWebSession extends AuthenticatedWebSession{
private static final long serialVersionUID = 4713195500103052768L;

@SpringBean(name="userService")
transient private UserService userService;
public void setUserService(final UserService userService){
this.userService = userService;
}

transient private String currentUser = null;

public CustomAuthenticatedWebSession(final Request request){
super(request);
}

@Override
public boolean authenticate(final String username, final String
password){
currentUser = username;
return userService.authenticate(username, password);
}

@Override
public Roles getRoles(){
return userService.getRoles(currentUser, isSignedIn());
}
}


my applicationContext.xml file:


http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:aop="http://www.springframework.org/schema/aop";
xmlns:tx="http://www.springframework.org/schema/tx";
xmlns:context="http://www.springframework.org/schema/context";
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd
"
>








classpath*:/application.properties





${jdbc.driver}
${jdbc.url}
${jdbc.username}
${jdbc.password}

















${hibernate.dialect}
5
thread
true
true
org.hibernate.cache.EhCacheProvider
true




uk.co.company.product.persistance.hibernate







and web.xml


http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="
http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
"
version="2.4"
>
ZenTemplate

contextConfigLocation
classpath:applicationContext.xml



org.springframework.web.context.ContextLoaderListener


opensessioninview

org.springframework.orm.hibernate3.support.OpenSessionInViewFilter


wicket-spring-hibernate

org.apache.wicket.protocol.http.WicketFilter

applicationFactoryClassName

org.apache.wicket.spring.SpringWebApplicationFactory


applicationClassName

uk.co.company.product.presentation.wicket.app.WicketApplication



opensessioninview
/*


wicket-spring-hibernate
/*



Also here is my simple service:

@Service("userService")
public class UserService{

final private TestUserService testUserService = new TestUserService();

public UserService(){
super();
}

@Transactional
final public boolean authenticate(final String userName, final String
password){
return testUserService.authenticate(userName, password);
}

@Transactional
final public Roles getRoles(final String userName, final boolean
signedIn){
return testUserService.getRoles(userName, signedIn);
}
}


If anyone has any ideas please let me know!

Cheers,
Adam


Invalid html rendered with DataTable [ex. empty tfoot element]

2010-11-25 Thread Poko Booth
Hi all,
If you use DataTables, when the bottomToolBars view has no items to render,
the markup exported is invalid:


   
   
  
   ...
   ...
  


I suppose the same happens with the thead.

thead and tfoot tags can't be empty.

I have overridden the class and manually added in the markup file

in both thead and tfoot of the source file above the 
tags.

Works but you knowNot elegant.

Enclosure containers should be used on the thead/tfoot tags defining their
children as the top/bottom toolbar repeating views.

Regards,
Poko


nested form in FormComponentPanel validation issue

2010-11-25 Thread Joseph Pachod

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 "Additional address line" which is optional); through a 
button.


When submiting the form with the AddressEdit, it then tries to compose 
itself based on :
- the structured address (with some validation rules, like either it's 
null either it's valid, done through a FormValidator)

- the displayed text (always required)

Currently, due to the need of having to generate the displayed text from 
the structured address, the structured address part is put in a (nested) 
form.


As such, I run into this issue: convertInput of AddressEdit is called 
before the nested form is validated and has converted its own input


I tried various workaround, but none was good enough to my taste.

What would you suggest ?

++

--
Joseph Pachod
IT

THOMAS DAILY GmbH
Adlerstraße 19
79098 Freiburg
Deutschland
T  + 49 761 3 85 59 506
F  + 49 761 3 85 59 550
E  joseph.pac...@thomas-daily.de
www.thomas-daily.de

Geschäftsführer/Managing Directors:
Wendy Thomas, Susanne Larbig
Handelsregister Freiburg i.Br., HRB 3947

Registrieren Sie sich unter https://www.thomas-daily.de/user/sign-in für die TD 
Morning News, eine kostenlose Auswahl aktueller Themen aus TD Premium, morgens 
ab 9:15 in Ihrer Mailbox.

Aktuelle Presseinformationen für die TD Morning News und TD Premium nimmt 
unsere Redaktion unter redakt...@thomas-daily.de entgegen.
Redaktionsschluss für die TD Morning News ist täglich um 8:45.

Register free of charge at https://www.thomas-daily.de/user/sign-in to have the 
TD Morning News, a selection of the latest topics from TD Premium, delivered to 
your mailbox from 9:15 every morning.

Our editorial department receives the latest press releases for the TD Morning 
News and TD Premium at redakt...@thomas-daily.de. The editorial deadline for 
the TD Morning News is 8.45am daily.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: visural-wicket 0.6.5 released!

2010-11-25 Thread alex shubert
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 contain "pragmatic" without strong empty white
line?

Ah, forget it. At least you did not add banner on the top of all of that  :)

-- 
Best regards
Alex

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: visural-wicket 0.6.5 released!

2010-11-25 Thread alex shubert
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



Re: Announcing the Topicus Dashboard

2010-11-25 Thread Emond Papegaaij
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 recommend Safari 
(best with webkit-nightly) or a Chromium daily build. Plain Safari works quite 
well, but with some minor issues. Google Chrome is able to display the page, 
but most of the effects do not work well.

Emond Papegaaij

On Thursday 25 November 2010 01:28:08 Martijn Dashorst wrote:
> The Topicus Dashboard is an information radiator showing build status,
> production server status, twitter timeline, train departure times,
> important events and much more.
> 
> The Atlassian folks are running a competition for the Ultimate
> Wallboard and we (Topicus)  just submitted our entry for the
> competition: the Topicus Dashboard.
> 
> If you like our dashboard, you are welcome to vote for it and help us
> win the 55" flatscreen display in the Atlassian (known for JIRA and
> Confluence) Ultimate Wallboard Competition:
> 
> http://ultimatewallboard.com/entries/91860
> 
> The entry sports a movie (the guy in the picture is Emond, a co-worker
> at Topicus)
> 
> As we like to share our innovations we hosted our dashboard on github,
> and you are free to run the software and modify it for your own use
> (or your customers). The software is currently licensed using the GPL
> 3.
> 
> The project can be found here: https://github.com/dashorst/dashboard
> 
> Most of the credits for this project go to Emond Papegaaij (and if you
> find a bug, call him, not me :)
> 
> On behalf of the dashboard developers,
> 
> Martijn Dashorst
> 
> PS. Really: please vote and let us win the big screen TV!

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: visural-wicket 0.6.5 released!

2010-11-25 Thread Josh Kamau
Thanks . I have always found this library very useful.


On Thu, Nov 25, 2010 at 2:27 PM, Richard Nichols  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 this release -
>
>
> http://www.richardnichols.net/2010/11/visural-wicket-0-6-5-release-is-available/
>
> <
> http://www.richardnichols.net/2010/11/visural-wicket-0-6-5-release-is-available/
> >Or
> if you're just after the download -
>
>
> http://code.google.com/p/visural-wicket/downloads/detail?name=visural-wicket-0.6.5.zip
>
> Hope you find it useful - please let me know if you discover any problems
> with this release.
>
> cheers,
> Rich
>
> --
> Richard Nichols
> http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
>


Re: java.lang.NoClassDefFoundError: org/apache/wicket/util/lang/WicketObjects

2010-11-25 Thread Arjun Dhar

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: 
http://apache-wicket.1842946.n4.nabble.com/java-lang-NoClassDefFoundError-org-apache-wicket-util-lang-WicketObjects-tp3058851p3058870.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: java.lang.NoClassDefFoundError: org/apache/wicket/util/lang/WicketObjects

2010-11-25 Thread Martin Grigorov
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  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 :
>
> java.lang.NoClassDefFoundError: org/apache/wicket/util/lang/WicketObjects
>at
>
> org.apache.wicket.spring.SpringBeanLocator.getBeanType(SpringBeanLocator.java:222)
>at
>
> org.apache.wicket.spring.SpringBeanLocator.locateProxyTarget(SpringBeanLocator.java:243)
>at
>
> org.apache.wicket.proxy.LazyInitProxyFactory$CGLibInterceptor.intercept(LazyInitProxyFactory.java:317)
>at
>
> WICKET_com.neurosys.pms.site.wicket.model.ProductSortableDataProvider$$EnhancerByCGLIB$$b2f1a79d.detach()
>at
>
> org.apache.wicket.markup.repeater.data.DataViewBase.onDetach(DataViewBase.java:150)
>at
>
> org.apache.wicket.extensions.markup.html.repeater.data.grid.AbstractDataGridView.onDetach(AbstractDataGridView.java:159)
>at org.apache.wicket.Component.detach(Component.java:1221)
>at
> org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1680)
>at org.apache.wicket.Component.detach(Component.java:1243)
>at
> org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1680)
>at org.apache.wicket.Component.detach(Component.java:1243)
>at
> org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1680)
>at org.apache.wicket.Component.detach(Component.java:1243)
>at
> org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1680)
>at org.apache.wicket.Component.detach(Component.java:1243)
>at
>
> org.apache.wicket.request.target.component.PageRequestTarget.detach(PageRequestTarget.java:80)
>at org.apache.wicket.RequestCycle.detach(RequestCycle.java:1122)
>at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1462)
> ...
> ...
>
>
> I have a DataTree, (mentioned in
> http://apache-wicket.1842946.n4.nabble.com/Ajax-Panel-Update-td3057421.html
> - Ajax Panel Update). On clicking a node, it refreshes an adjacent Panel
> (Lets call it PRODUCT LISTING).
>
> On that Adjacent panel, when I click on an entry It create a popup using
> pseudo-code :
>
>Link link = new BookmarkablePageLink (id, productDetails.class,
> params);
>link.setPopupSettings();
>
>
> On "onInitialize" of the panel PRODUCT LISTING ; uses a DataProvider that
> detaches. It is here where this exception gets generates. As is evident
> from
> the Trace.
>
> I found that "org/apache/wicket/util/lang/WicketObjects" is not there in
> any
> of the Wicket/Wicket-Spring JAR's I have. Any clues on this?
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/java-lang-NoClassDefFoundError-org-apache-wicket-util-lang-WicketObjects-tp3058851p3058851.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


java.lang.NoClassDefFoundError: org/apache/wicket/util/lang/WicketObjects

2010-11-25 Thread Arjun Dhar

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)
at
org.apache.wicket.spring.SpringBeanLocator.locateProxyTarget(SpringBeanLocator.java:243)
at
org.apache.wicket.proxy.LazyInitProxyFactory$CGLibInterceptor.intercept(LazyInitProxyFactory.java:317)
at
WICKET_com.neurosys.pms.site.wicket.model.ProductSortableDataProvider$$EnhancerByCGLIB$$b2f1a79d.detach()
at
org.apache.wicket.markup.repeater.data.DataViewBase.onDetach(DataViewBase.java:150)
at
org.apache.wicket.extensions.markup.html.repeater.data.grid.AbstractDataGridView.onDetach(AbstractDataGridView.java:159)
at org.apache.wicket.Component.detach(Component.java:1221)
at
org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1680)
at org.apache.wicket.Component.detach(Component.java:1243)
at
org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1680)
at org.apache.wicket.Component.detach(Component.java:1243)
at
org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1680)
at org.apache.wicket.Component.detach(Component.java:1243)
at
org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1680)
at org.apache.wicket.Component.detach(Component.java:1243)
at
org.apache.wicket.request.target.component.PageRequestTarget.detach(PageRequestTarget.java:80)
at org.apache.wicket.RequestCycle.detach(RequestCycle.java:1122)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1462)
...
...


I have a DataTree, (mentioned in
http://apache-wicket.1842946.n4.nabble.com/Ajax-Panel-Update-td3057421.html
- Ajax Panel Update). On clicking a node, it refreshes an adjacent Panel
(Lets call it PRODUCT LISTING).

On that Adjacent panel, when I click on an entry It create a popup using
pseudo-code :

Link link = new BookmarkablePageLink (id, productDetails.class,
params); 
link.setPopupSettings();


On "onInitialize" of the panel PRODUCT LISTING ; uses a DataProvider that
detaches. It is here where this exception gets generates. As is evident from
the Trace.

I found that "org/apache/wicket/util/lang/WicketObjects" is not there in any
of the Wicket/Wicket-Spring JAR's I have. Any clues on this?

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/java-lang-NoClassDefFoundError-org-apache-wicket-util-lang-WicketObjects-tp3058851p3058851.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



visural-wicket 0.6.5 released!

2010-11-25 Thread Richard Nichols
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/

Or
if you're just after the download -

http://code.google.com/p/visural-wicket/downloads/detail?name=visural-wicket-0.6.5.zip

Hope you find it useful - please let me know if you discover any problems
with this release.

cheers,
Rich

-- 
Richard Nichols
http://www.richardnichols.net/ :: http://onmydoorstep.com.au/


Re: "Shared" message property file not working on 1.4

2010-11-25 Thread Martin Grigorov
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
> getResourceSettings().addStringResourceLoader(new MyResourceLoader())?
>
> Ernesto
>
> On Thu, Nov 25, 2010 at 10:57 AM, andrea.castello
>  wrote:
> >
> > 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
> >> wrote:
> >>
> >
> > There's no CarMessages.java, just the two I mentioned, which are not
> > apparently related (that surprieses me a bit)
> >
> > CarDetail extends a generic DetailPanel class (which extends Wicket's
> > panel), while CarListPage extends a genric ListPage...so apparently no
> > relation between the two. I wonder how they could work with just the
> > Carmessages.properties resource...anyway. How can I use package resource?
> Is
> > there a convention to do it in 1.4?
> > --
> > View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058686.html
> > Sent from the Users forum mailing list archive at Nabble.com.
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: "Shared" message property file not working on 1.4

2010-11-25 Thread Ernesto Reinaldo Barreiro
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
 wrote:
>
> 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
>> wrote:
>>
>
> There's no CarMessages.java, just the two I mentioned, which are not
> apparently related (that surprieses me a bit)
>
> CarDetail extends a generic DetailPanel class (which extends Wicket's
> panel), while CarListPage extends a genric ListPage...so apparently no
> relation between the two. I wonder how they could work with just the
> Carmessages.properties resource...anyway. How can I use package resource? Is
> there a convention to do it in 1.4?
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058686.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AjaxLazyLoadPanel, nothing else works until it finishes loading

2010-11-25 Thread Avraham Rosenzweig
That helps a lot. Thanks.

On Wed, Nov 24, 2010 at 11:47 PM, jwray  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 thread, thus making the UI appear
> non-blocking.
>
> https://gist.github.com/594468
> https://gist.github.com/636875
>
> hope you find them useful.
> Jonny
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/AjaxLazyLoadPanel-nothing-else-works-until-it-finishes-loading-tp2322202p3058132.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
[]'s
Avraham Rosenzweig
avrah...@gmail.com


Re:

2010-11-25 Thread andrea.castello

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
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058701.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: "Shared" message property file not working on 1.4

2010-11-25 Thread andrea.castello

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
> wrote:
> 

There's no CarMessages.java, just the two I mentioned, which are not
apparently related (that surprieses me a bit)

CarDetail extends a generic DetailPanel class (which extends Wicket's
panel), while CarListPage extends a genric ListPage...so apparently no
relation between the two. I wonder how they could work with just the
Carmessages.properties resource...anyway. How can I use package resource? Is
there a convention to do it in 1.4?
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058686.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: "Shared" message property file not working on 1.4

2010-11-25 Thread Martin Grigorov
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 wrote:

>
> 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] <
> ml-node+3058612-308220060-201...@n4.nabble.com
> 
> >
> > wrote:
>
> > 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 the labels in CarMessages.properties are not
> > resolved anymore.
> >
> > I solved the problem by creating two new properties file
> > CarListPage.properties and CarDetail.properties and it all works fine,
> but
> > this is kind of awful because I need to duplicate the messages in these
> two
> > files.
> >
> > Is there any other way I can workaround this problem?
> >
> > Thanks,
> >
> > Andrea
> >
> > --
> >  View message @
> >
> http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058612.html
> > To start a new topic under Apache Wicket, email
> > ml-node+1842946-1499480286-201...@n4.nabble.com
> 
> >
> > To unsubscribe from Apache Wicket, click here<
> http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1842946&code=YWRhbS5zLmdpYmJvbnNAZ21haWwuY29tfDE4NDI5NDZ8LTUzNzMyMDU4OQ==
> >.
> >
> >
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058616.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: "Shared" message property file not working on 1.4

2010-11-25 Thread Ernesto Reinaldo Barreiro
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
 wrote:
>
> 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 the labels in CarMessages.properties are not
> resolved anymore.
>
> I solved the problem by creating two new properties file
> CarListPage.properties and CarDetail.properties and it all works fine, but
> this is kind of awful because I need to duplicate the messages in these two
> files.
>
> Is there any other way I can workaround this problem?
>
> Thanks,
>
> Andrea
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058612.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Announcing the Topicus Dashboard

2010-11-25 Thread Martijn Dashorst
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 AM, Brian Topping  wrote:
> Everyone note:  If you aren't on FB and need to register manually, the voting 
> pages DO NOT place a vote for you once you register.  You must GO BACK TO THE 
> PAGE and then place your vote after you activate your account.
>
> (No promotional fees were paid for this public service announcement.)
>
> On Nov 24, 2010, at 7:28 PM, Martijn Dashorst wrote:
>
>> The Topicus Dashboard is an information radiator showing build status,
>> production server status, twitter timeline, train departure times,
>> important events and much more.
>>
>> The Atlassian folks are running a competition for the Ultimate
>> Wallboard and we (Topicus)  just submitted our entry for the
>> competition: the Topicus Dashboard.
>>
>> If you like our dashboard, you are welcome to vote for it and help us
>> win the 55" flatscreen display in the Atlassian (known for JIRA and
>> Confluence) Ultimate Wallboard Competition:
>>
>>    http://ultimatewallboard.com/entries/91860
>>
>> The entry sports a movie (the guy in the picture is Emond, a co-worker
>> at Topicus)
>>
>> As we like to share our innovations we hosted our dashboard on github,
>> and you are free to run the software and modify it for your own use
>> (or your customers). The software is currently licensed using the GPL
>> 3.
>>
>> The project can be found here: https://github.com/dashorst/dashboard
>>
>> Most of the credits for this project go to Emond Papegaaij (and if you
>> find a bug, call him, not me :)
>>
>> On behalf of the dashboard developers,
>>
>> Martijn Dashorst
>>
>> PS. Really: please vote and let us win the big screen TV!
>>
>> --
>> Become a Wicket expert, learn from the best: http://wicketinaction.com
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: "Shared" message property file not working on 1.4

2010-11-25 Thread adam.gibbons

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] <
ml-node+3058612-308220060-201...@n4.nabble.com
> wrote:

> 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 the labels in CarMessages.properties are not
> resolved anymore.
>
> I solved the problem by creating two new properties file
> CarListPage.properties and CarDetail.properties and it all works fine, but
> this is kind of awful because I need to duplicate the messages in these two
> files.
>
> Is there any other way I can workaround this problem?
>
> Thanks,
>
> Andrea
>
> --
>  View message @
> http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058612.html
> To start a new topic under Apache Wicket, email
> ml-node+1842946-1499480286-201...@n4.nabble.com
> To unsubscribe from Apache Wicket, click 
> here.
>
>

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058616.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



"Shared" message property file not working on 1.4

2010-11-25 Thread andrea.castello

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 the labels in CarMessages.properties are not
resolved anymore.

I solved the problem by creating two new properties file
CarListPage.properties and CarDetail.properties and it all works fine, but
this is kind of awful because I need to duplicate the messages in these two
files.

Is there any other way I can workaround this problem?

Thanks,

Andrea
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058612.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org