On 5/9/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
What I definitively like about the pre-processor/ filter is that it is
very efficient. Only for static messages though, but that's the whole
idea on these special tags/ attributes anyway.
But it realy shouldn't be a quick fix. IMO we should first improve the
general resource chain. Additional an text based filter in between
would be very easy than.
Juergen
I don't know. If we can reach a consensus on the best way, I'd be okay
with adopting something that works out-of-the-box. If not, it's better
to provide the means to customize Wicket so that it works like you
want.
Eelco
On 5/9/06, Andrew Berman <[EMAIL PROTECTED]> wrote:
> So are we saying that there is going to be some MarkupFilter to replace
> whatever the developer decides to use for a localization demarcator?
>
> I had another idea. What if wicket:message was enhanced? Would something
> like this work:
>
> <wicket:message key="myKey" applyTo="value">
> <input type="submit" value="Previewable Value"/>
> </wicket:message>
>
> This way we could still have the previewability of the HTML page and have
> the localization applied at runtime.
>
> --Andrew
>
>
> On 5/9/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> >
> Martijn is writing about localization for Wicket In Action now. I'm
> sure he'd appreciate it if someone would write up some notes about how
> to do this on the WIKI.
>
> Eelco
>
>
> On 5/9/06, Matej Knopp < [EMAIL PROTECTED]> wrote:
> > Matej Knopp wrote:
> > > Juergen Donnerstag wrote:
> > >> On 5/9/06, Matej Knopp <[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
> > >> _______________________________________________
> > >> Wicket-user mailing list
> > >> [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
> > >
> >
> >
> >
> > -------------------------------------------------------
> > 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
> >
>
>
> -------------------------------------------------------
> 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?cmdlnk&kid0709&bid&3057&dat1642
>
> _______________________________________________
> Wicket-user mailing list
> [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?cmdlnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list
[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&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user