Thanks for your answer, Johan. When version 1.3 is released we'll probably upgrade and update the web application. According to a colleague the release is a matter of weeks now. In the mean time, we'll settle with no fallback.

Johan Compagner wrote:
in that version we didn't have fallback i think
that is i think now in 1.3 (but i am not sure if that was only in 2.0 and if it is backported)

johan


On 5/9/07, * Lennaert van der Linden* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    I am using version 1.2.6

    Johan Compagner wrote:
    i thought juergen made something to do the right fallback
    which version it was (1.3 or 2.0) i don't know which one are you
    using?

    johan


    On 5/8/07, * Lennaert van der Linden* <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:

        Hi,

        I am trying to set up properties based on a session style as
        follows:
        - a default properties file called MyWebApplication.properties
        - for each style a file called
        MyWebApplication_{style}.properties
        and I set the style using getSession().setStyle( style )

        This works, but there doesn't seem to be a fallback when a
        resource item
        is missing in MyWebApplication_somestyle.properties, but it
        available in
        the MyWebApplication.properties file. This means that I have
        to copy all
        items from the MyWebApplication.properties to all
        MyWebApplication_{style}.properties files and keep them
        updated. I'd
        rather have only exceptions to the items in the
        MyWebApplication_{style}.properties files.

        I am new to Wicket so I am probably missing some obvious
        alternative,
        but shouldn't there be a fallback for styles?

        Regards,

        Lennaert

        --
        Lennaert van der Linden
        Func. Internet Integration
        W http://www.func.nl
        T +31 20 4230000
        F +31 20 4223500


        
-------------------------------------------------------------------------
        This SF.net email is sponsored by DB2 Express
        Download DB2 Express C - the FREE version of DB2 express and take
        control of your XML. No limits. Just data. Click to get it now.
        http://sourceforge.net/powerbar/db2/
        <http://sourceforge.net/powerbar/db2/>
        _______________________________________________
        Wicket-user mailing list
        [email protected]
        <mailto:[email protected]>
        https://lists.sourceforge.net/lists/listinfo/wicket-user


    ------------------------------------------------------------------------

    -------------------------------------------------------------------------
    This SF.net email is sponsored by DB2 Express
    Download DB2 Express C - the FREE version of DB2 express and take
    control of your XML. No limits. Just data. Click to get it now.

    http://sourceforge.net/powerbar/db2/
    ------------------------------------------------------------------------

    _______________________________________________
    Wicket-user mailing list
    [email protected]
     <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/wicket-user


-- Lennaert van der Linden
    Func. Internet Integration
    W http://www.func.nl
    T +31 20 4230000
    F +31 20 4223500


    -------------------------------------------------------------------------
    This SF.net email is sponsored by DB2 Express
    Download DB2 Express C - the FREE version of DB2 express and take
    control of your XML. No limits. Just data. Click to get it now.
    http://sourceforge.net/powerbar/db2/
    _______________________________________________
    Wicket-user mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/wicket-user


------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------------------------------------------------

_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user


--
Lennaert van der Linden
Func. Internet Integration
W http://www.func.nl
T +31 20 4230000
F +31 20 4223500

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to