Igor Vaynberg wrote:
I don't mind API breaks. Not at all. If I touch code that is not a part of "Stable" API, I take the risk of having to change my code when wicket version changes. I really don't mind.

What I do mind is the (occasional) lack of flexibility and things that keep me from extending the framework the way I want.

The truth is that this kind of "protection" doesn't work very well. When I was porting my application from 1.0 to 1.1, there were couple of things that didn't work and had to be redone. When porting the application from 1.1 to 1.2 things were even worse. The whole parsing process was changed and my code didn't work anymore (I had my own XMLPullParser that wrapped wicket default one). And I didn't touch any internal stuff.


-Matej

the flipside is of course that we were able to refactor a ton without breaking too much api. you can argue that 1.2 has a lot of api breaks, but if you compare code in 1.2 to 1.1 they can almost be different frameworks.

-Igor


On 5/9/06, *Matej Knopp* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    If WicketMessageTagHandler can get resource.getContainerInfo(), why my
    filter can't?

    There's something about this that doesn't make me feel entirely good.
    Why can't my filter get this information? Or even better, why can't my
    MarkupParser get this information? Is it /that/ internal?

    IMHO sometimes wicket is being way too overprotective. Quite often when
    I want to implement something with wicket that is not common I get into
    this kind of situation. And sometimes it can be little bit frustrating.

    -Matej

    Igor Vaynberg wrote:
     > this was never meant to be postprocessed
     >
     > users are not meant to output wicket:i18n:key to the attribute
    using an
     > attribute modifier and expect it to work.
     >
     > this was only meant as a preprocessing step toloading the markup.
    after
     > that users are on their own.
     >
     > of course then we need to figure out where the properties come from
     > because you dont have the hierarchy yet? maybe this can wait
    until 2.0.
     >
     > -Igor
     >
     >
     > On 5/9/06, * Matej Knopp* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
    <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
     >
     >     Well, it looks that this is not as easy as it seemed to be.
     >
     >     I've made a MarkupFilter that translates the string. But I need
     >     to give it ContainerInfo of current markup resource (same as
     >     WicketMessageTagHandler gets). The problem is that I can't
    touch markup
     >     (or markup.getResource ) in my
    LocalizedMarkupParser#initFilterChain
     >     method (I derived my own parser from MarkupParser).
     >
     >     At least protected Markup MarkupParser.getMarkup() would help.
     >
     >     -Matej
     >
     >     Matej Knopp wrote:
     >      > Matej Knopp wrote:
     >      >> Juergen Donnerstag wrote:
     >      >>> On 5/9/06, Matej Knopp < [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED] <mailto:[EMAIL 
PROTECTED]>>>
     >     wrote:
     >      >>>> $${key}? Or whatever you want.
     >      >>>> I don't need this behavior to be in wicket core. I'm
    much more
     >      >>>> interested in clean and simple preprocessing filters,
     >     something wicket
     >      >>>> lacks currently.
     >      >>>>
     >      > Oh, stupid me. It is possible. Was it possible in 1.1 too? I
     >     guess I was
     >      > evaluating this and it was not possible back then.
     >      >
     >      > Anyway, it seems that markup filter should be enough.
     >      >
     >      >> Unfortunately IMarkupFilter does not seem to be capable
    of replacing
     >      >> things in RawMarkup elements, does it? So it seems not to
    be able to
     >      >> replace ${key} to localized value, or am I missing
    anything here?
     >      >>
     >      >> <?xml encoding=".." does complicate things a bit, but not
    much.
     >     What
     >      >> about load the <?xml line, determine encoding and loat
    the rest
     >     of the
     >      >> file as string. Then let the preprocessor process it and then
     >     send it
     >      >> to MarkupParser? (Just a thoght).
     >      >>
     >      >> -Matej
     >      >>>
     >      >>> That is true, we don't have something that allow to
     >     pre-processor the
     >      >>> plain input string and IMO it is not needed and when I
    think about
     >      >>> <?xml encoding=".."?> it could be dangerous.
    IMarkupFilter serve a
     >      >>> similar function but are already aware of the xml
    structure, the
     >      >>> encoding, etc.. And it is trivial to register them with the
     >      >>> application.
     >      >>>
     >      >>> Juergen
     >      >>>
     >      >>>
     >      >>> -------------------------------------------------------
     >      >>> Using Tomcat but need to do more? Need to support web
    services,
     >      >>> security?
     >      >>> Get stuff done quickly with pre-integrated technology to
    make your
     >      >>> job easier
     >      >>> Download IBM WebSphere Application Server v.1.0.1 based
    on Apache
     >      >>> Geronimo
     >      >>>
> http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
    <http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642>
> <http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 <http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642>>
     >      >>> _______________________________________________
     >      >>> Wicket-user mailing list
     >      >>> [email protected]
    <mailto:[email protected]>
     >     <mailto:[email protected]
    <mailto:[email protected]>>
     >      >>> https://lists.sourceforge.net/lists/listinfo/wicket-user
    <https://lists.sourceforge.net/lists/listinfo/wicket-user>
     >      >>>
     >      >>
     >      >>
     >      >>
     >      >> -------------------------------------------------------
     >      >> Using Tomcat but need to do more? Need to support web
    services,
     >     security?
     >      >> Get stuff done quickly with pre-integrated technology to make
     >     your job
     >      >> easier
     >      >> Download IBM WebSphere Application Server v.1.0.1 based
    on Apache
     >      >> Geronimo
     >      >>
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
    <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
> <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
    <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>>
     >      >> _______________________________________________
     >      >> Wicket-user mailing list
     >      >> [email protected]
    <mailto:[email protected]>
     >     <mailto: [email protected]
    <mailto:[email protected]>>
     >      >> https://lists.sourceforge.net/lists/listinfo/wicket-user
     >      >>
     >      >
     >      >
     >      >
     >      > -------------------------------------------------------
     >      > Using Tomcat but need to do more? Need to support web
    services,
     >     security?
     >      > Get stuff done quickly with pre-integrated technology to make
     >     your job
     >      > easier
     >      > Download IBM WebSphere Application Server v.1.0.1 based on
    Apache
     >     Geronimo
     >      >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
    <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
> <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
    <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>>
     >
     >      > _______________________________________________
     >      > Wicket-user mailing list
     >      > [email protected]
    <mailto:[email protected]>
     >     <mailto:[email protected]
    <mailto:[email protected]>>
     >      > https://lists.sourceforge.net/lists/listinfo/wicket-user
    <https://lists.sourceforge.net/lists/listinfo/wicket-user>
     >      >
     >
     >
     >
     >     -------------------------------------------------------
     >     Using Tomcat but need to do more? Need to support web services,
     >     security?
     >     Get stuff done quickly with pre-integrated technology to make
    your
     >     job easier
     >     Download IBM WebSphere Application Server v.1.0.1 based on Apache
     >     Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
    <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
> <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
    <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>>
     >     _______________________________________________
     >     Wicket-user mailing list
     >     [email protected]
    <mailto:[email protected]>
     >     <mailto: [email protected]
    <mailto:[email protected]>>
     >     https://lists.sourceforge.net/lists/listinfo/wicket-user
    <https://lists.sourceforge.net/lists/listinfo/wicket-user>
     >
     >



    -------------------------------------------------------
    Using Tomcat but need to do more? Need to support web services,
    security?
    Get stuff done quickly with pre-integrated technology to make your
    job easier
    Download IBM WebSphere Application Server v.1.0.1 based on Apache
    Geronimo
    http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
    <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
    _______________________________________________
    Wicket-user mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/wicket-user





-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to