On 10/8/05, pepone pepone <[EMAIL PROTECTED]> wrote: > Yes what you say is correct Johan > > but the problem is the next > > i create a bookMarkable link > > a call setParameter("nodePath","/c++"); > > and the url for this bookmarkable link is > http://localhost:8080/app?bookmarkablePage=TestPage&name=c > > and the correct url must be > http://localhost:8080/app?bookmarkablePage=TestPage&nodePath=c%2b%2b > > this is because you don´t have a case for '+' in Strings.scapeMarkup > > if i call setParameter("nodePath","/A Coruña"); > > i get a url with same strage simbols > > http://localhost:8080/app?bookmarkablePage=TestPage&nodePath=Coru%F1a > > > On 10/8/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > > thats because that is not really a bug > > > > this url: > > http://localhost:8080/app?bookmarkablePage=TestPage&name=c+a > > > > does have the right effect now in wicket. > > you get 'c a' > > > > because a plus is a space in an url. > > > > So if we add a param like 'a+b" in a bookmarkable page then we should > > convert it to > > > > 'c%2ba' > > > > > > > > > > On 10/8/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > Haha, seems that Johan closed that bug :) > > > > > > Eelco > > > > > > On 10/8/05, pepone pepone <[EMAIL PROTECTED]> wrote: > > > > Ok I made a bug report same weeks ago and same body close it but the > > > > problem is still the same > > > > > > > > here is the link to the bug > > > > > > https://sourceforge.net/tracker/index.php?func=detail&aid=1295506&group_id=119783&atid=684975 > > > > > > > > must i open a new one?? > > > > > > > > I don´t know if unscaped is a servlet container job. what i think is > > > > that this must be trasparent for user of a webframework to build web > > > > apps because is a http especific think and we use a framework for > > > > abstract to thinks like this > > > > > > > > what i observe is that when i getParameter i have the escaped string > > > > > > > > On 10/8/05, Johan Compagner <[EMAIL PROTECTED] > wrote: > > > > > make a bug report for these things. > > > > > > > > > > Is unescaping not a job for the servlet container itself? > > > > > > > > > > > > > > > > > > > > On 10/8/05, pepone pepone < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Hello all > > > > > > > > > > > > I have a problem with bookmarkable links and use same especial > > > > > > characters no only '+' that i mentioned in my previous message 'ñ' > > is > > > > > > not escaped because bookmarkable links escape parameters using > > > > > > > > > > > wicket.util.string.String.escapeMarkup > > (param,false,false); > > > > > > > > > > > > by colling this method not espaces are scaped and especial > > characters > > > > > > lik 'ñ' or 'á' are not esacaped and the correspondend url are not > > > > > > valid. > > > > > > > > > > > > I my opinion this is and undesidered behavior for BookMarkableLinks > > > > > > especial when you are using params that are not in English languaje > > > > > > > > > > > > i think that a better behavior can be > > > > > > > > > > > > when the url for book markable links is created escape all especial > > > > > characters > > > > > > whe get a parameter via request.getParameter(param) return the > > > > > > unscaped string of this parameter > > > > > > > > > > > > I using bookmarkable links thar are dinamic generated to acces > > > > > > documents in a database one of the params is the name of the > > document > > > > > > that can containt or not especial characters > > > > > > > > > > > > When i create the link i prefer use > > > > > > > > > > > > link.setParam(name); > > > > > > > > > > > > that > > > > > > > > > > > > link.setParam( Strings.escapeMakup(name,true,true)); > > > > > > > > > > > > and when retrive the param i prefer to use > > > > > > > > > > > > String > > documentName=getRequest().getParameter(param); > > > > > > > > > > > > > > > > > > and not > > > > > > > > > > > > String > > > > > > > documentName=Strings.unscapeMarkup(getRequest().getParameter(name)); > > > > > > > > > > > > other question is there are a method for unescapeMarkup that reverse > > > > > > the action of > > > > > > wicket.util.string.Strings.escapeMarkup()? > > > > > > > > > > > > On 10/7/05, pepone pepone <[EMAIL PROTECTED] > wrote: > > > > > > > Hello this issue continues to fail with wicket-1.1.rc2 > > > > > > > > > > > > > > any body in wicket see this as a problem? > > > > > > > > > > > > > > On 9/25/05, Alexandru Popescu > > > > > <[EMAIL PROTECTED]> wrote: > > > > > > > > #: Johan Compagner changed the world a bit at a time by saying > > on > > > > > 9/25/2005 12:17 PM :# > > > > > > > > > i don't know about %20 > > > > > > > > > i hate thise things in urls + is much better readable > > > > > > > > > > > > > > > > > > So if we are going to do that (encode it) > > > > > > > > > Then my vote is + for ' ' > > > > > > > > > and %2b for '+' > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Johan but this shouldn't be a standard way? afaik it should, and > > than > > > > > the single space char is > > > > > > > > encoded into %20, + sign into %2b, and some more. > > > > > > > > > > > > > > > > ./alex > > > > > > > > -- > > > > > > > > .the_mindstorm. > > > > > > > > > > > > > > > > > > > > > > > > > > On 9/25/05, Alexandru Popescu < > > > > > [EMAIL PROTECTED] > wrote: > > > > > > > > >> > > > > > > > > >> #: pepone pepone changed the world a bit at a time by saying > > on > > > > > 9/25/2005 > > > > > > > > >> 12:26 AM :# > > > > > > > > >> > I view that this bug is closed but i think problem is still > > the > > > > > same > > > > > > > > >> > > > > > > > > > >> > i try to explain it better > > > > > > > > >> > > > > > > > > > >> > if i use PageParameters class to buil the parameters i > > think that > > > > > the > > > > > > > > >> > class must > > > > > > > > >> > translate the simbol + to the corect 2B Hex encoding > > > > > > > > >> > currently the '+' is translate to ' ' > > > > > > > > >> > and ' ' is tranlate to '%20 ' > > > > > > > > >> > > > > > > > > > >> > why same values are scaped and others no is not? > > > > > > > > >> > > > > > > > > > >> > > > > > > > > >> My 2c on the closing comment: > > > > > > > > >> > > > > > > > > >> "3 2" should we make that "3+2": no it should be 3%202 > > > > > > > > >> and then make "3+2" "3%2b2": yes. > > > > > > > > >> > > > > > > > > >> at least this is my expectation. > > > > > > > > >> > > > > > > > > >> ./alex > > > > > > > > >> -- > > > > > > > > >> .the_mindstorm. > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > On 9/19/05, pepone pepone < [EMAIL PROTECTED]> wrote: > > > > > > > > >> >> i can reproduce this bug with 1.1.rc1 and open a bug > > > > > > > > >> >> here is the link > > > > > > > > >> >> > > > > > > > > >> > > > > > > > https://sourceforge.net/tracker/index.php?func=detail&aid=1295506&group_id=119783&atid=684975 > > > > > > > > >> >> > > > > > > > > >> >> On 9/19/05, Alexandru Popescu > > > > > <[EMAIL PROTECTED] > > > > > > > > > >> wrote: > > > > > > > > >> >> > #: Johan Compagner changed the world a bit at a time by > > saying > > > > > on > > > > > > > > >> 9/19/2005 3:18 PM :# > > > > > > > > >> >> > > i don't think locale has much to do about it. > > > > > > > > >> >> > > It is not char encoding. It is url encoding. > > > > > > > > >> >> > > > > > > > > > > >> >> > > > > > > > > > >> >> > Yep, absolutely. I wasn't talking about char encoding > > :-). I > > > > > was > > > > > > > > >> looking for URL.encode/decode calls. > > > > > > > > >> >> > > > > > > > > > >> >> > ./alex > > > > > > > > >> >> > -- > > > > > > > > >> >> > .the_mindstorm. > > > > > > > > >> >> > > > > > > > > > >> >> > > > > > > > > > > >> >> > > On 9/19/05, Alexandru Popescu > > > > > < [EMAIL PROTECTED] > > > > > > > > > >> wrote: > > > > > > > > >> >> > >> > > > > > > > > >> >> > >> #: Johan Compagner changed the world a bit at a time > > by > > > > > saying on > > > > > > > > >> >> > >> 9/19/2005 1:48 PM :# > > > > > > > > >> >> > >> > if this is still the case in RC1 then please open a > > > > > bugreport > > > > > > > > >> >> > >> > We have to encode all the params, but i think we > > did > > > > > something > > > > > > > > >> in that > > > > > > > > >> >> > >> area > > > > > > > > >> >> > >> > so check RC1 first. > > > > > > > > >> >> > >> > > > > > > > > > >> >> > >> > > > > > > > > > >> >> > >> > > > > > > > > >> >> > >> When firstly answering this, I was looking for this > > encode > > > > > part, > > > > > > > > >> but I > > > > > > > > >> >> > >> wasn't been able to find it. > > > > > > > > >> >> > >> > > > > > > > > >> >> > >> ./alex > > > > > > > > >> >> > >> -- > > > > > > > > >> >> > >> .the_mindstorm. > > > > > > > > >> >> > >> > > > > > > > > >> >> > >> > > > > > > > > >> >> > >> > On 9/18/05, Alexandru Popescu < > > > > > > > > >> [EMAIL PROTECTED] > > > > > > > > > >> >> > >> wrote: > > > > > > > > >> >> > >> >> > > > > > > > > >> >> > >> >> #: pepone pepone changed the world a bit at a time > > by > > > > > saying on > > > > > > > > >> >> > >> 9/18/2005 > > > > > > > > >> >> > >> >> 7:53 PM :# > > > > > > > > >> >> > >> >> > Hello boys > > > > > > > > >> >> > >> >> > > > > > > > > > >> >> > >> >> > I think that this is a bug in wicket currently i > > > > > testing with > > > > > > > > >> 1.1.b4i > > > > > > > > >> >> > >> >> > try later to update to rc1 > > > > > > > > >> >> > >> >> > > > > > > > > > >> >> > >> >> > the problem is that if i use a parameter like > > > > > > > > >> >> > >> >> > > > > > > > > > >> >> > >> >> > myBookMarkableLink.setParam("name","c++"); > > > > > > > > >> >> > >> >> > > > > > > > > > >> >> > >> >> > later in the class i get the param via > > > > > > > > >> >> > >> >> > > > > > > > > > >> >> > >> >> > String > > > > > param=getRequest().getParam("name); > > > > > > > > >> >> > >> >> > > > > > > > > > >> >> > >> >> > param value is "c" and no "c++" as i can expect > > > > > > > > >> >> > >> >> > > > > > > > > > >> >> > >> >> > > > > > > > > >> >> > >> >> I was wondering if those characters shouldn't be > > > > > encoded, as > > > > > > > > >> they will > > > > > > > > >> >> > >> >> become part of the request. > > > > > > > > >> >> > >> >> Though, I don't know if this is the problem. > > > > > > > > >> >> > >> >> > > > > > > > > >> >> > >> >> ./alex > > > > > > > > >> >> > >> >> -- > > > > > > > > >> >> > >> >> .the_mindstorm. > > > > > > > > >> >> > >> >> > > > > > > > > >> >> > >> >> > > > > > > > > >> >> > >> >> > > > > > > > > >> >> > >> >> > > > > > > > > > >> >> > >> >> > > > > > > > > ------------------------------------------------------- > > > > > > > > >> >> > >> >> > SF.Net email is sponsored by: > > > > > > > > >> >> > >> >> > Tame your development challenges with Apache's > > > > > Geronimo App > > > > > > > > >> Server. > > > > > > > > >> >> > >> >> Download > > > > > > > > >> >> > >> >> > it for free - -and be entered to win a 42" > > plasma tv > > > > > or your > > > > > > > > >> very own > > > > > > > > >> >> > >> >> > Sony(tm)PSP. Click here to play: > > > > > > > > >> http://sourceforge.net/geronimo.php > > > > > > > > >> >> > >> >> > > > > > > _______________________________________________ > > > > > > > > >> >> > >> >> > Wicket-user mailing list > > > > > > > > >> >> > >> >> > > > Wicket-user@lists.sourceforge.net > > > > > > > > >> >> > >> >> > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > >> >> > >> >> > > > > > > > > > >> >> > >> >> > > > > > > > > >> >> > >> >> > > > > > > > > >> >> > >> >> > > > > > > > ------------------------------------------------------- > > > > > > > > >> >> > >> >> SF.Net email is sponsored by: > > > > > > > > >> >> > >> >> Tame your development challenges with Apache's > > Geronimo > > > > > App > > > > > > > > >> Server. > > > > > > > > >> >> > >> >> Download > > > > > > > > >> >> > >> >> it for free - -and be entered to win a 42" plasma > > tv or > > > > > your > > > > > > > > >> very own > > > > > > > > >> >> > >> >> Sony(tm)PSP. Click here to play: > > > > > > > > >> http://sourceforge.net/geronimo.php > > > > > > > > >> >> > >> >> > > > > > _______________________________________________ > > > > > > > > >> >> > >> >> Wicket-user mailing list > > > > > > > > >> >> > >> >> Wicket-user@lists.sourceforge.net > > > > > > > > >> >> > >> >> > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > >> >> > >> >> > > > > > > > > >> >> > >> > > > > > > > > > >> >> > >> > > > > > > > > >> >> > >> > > > > > > > > >> >> > >> > > > > > > > > >> >> > >> > > > > > > > ------------------------------------------------------- > > > > > > > > >> >> > >> SF.Net email is sponsored by: > > > > > > > > >> >> > >> Tame your development challenges with Apache's > > Geronimo App > > > > > > > > >> Server. > > > > > > > > >> >> > >> Download > > > > > > > > >> >> > >> it for free - -and be entered to win a 42" plasma tv > > or > > > > > your very > > > > > > > > >> own > > > > > > > > >> >> > >> Sony(tm)PSP. Click here to play: > > > > > > > > >> http://sourceforge.net/geronimo.php > > > > > > > > >> >> > >> > > > > > _______________________________________________ > > > > > > > > >> >> > >> Wicket-user mailing list > > > > > > > > >> >> > >> Wicket-user@lists.sourceforge.net > > > > > > > > >> >> > >> > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > >> >> > >> > > > > > > > > >> >> > > > > > > > > > > >> >> > > > > > > > > > >> >> > > > > > > > > > >> >> > > > > > > > > ------------------------------------------------------- > > > > > > > > >> >> > SF.Net email is sponsored by: > > > > > > > > >> >> > Tame your development challenges with Apache's Geronimo > > App > > > > > Server. > > > > > > > > >> Download > > > > > > > > >> >> > it for free - -and be entered to win a 42" plasma tv or > > your > > > > > very own > > > > > > > > >> >> > Sony(tm)PSP. Click here to play: > > > > > http://sourceforge.net/geronimo.php > > > > > > > > >> >> > > > > > > _______________________________________________ > > > > > > > > >> >> > Wicket-user mailing list > > > > > > > > >> >> > Wicket-user@lists.sourceforge.net > > > > > > > > >> >> > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > >> >> > > > > > > > > > >> >> > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > ------------------------------------------------------- > > > > > > > > >> > SF.Net email is sponsored by: > > > > > > > > >> > Tame your development challenges with Apache's Geronimo App > > > > > Server. > > > > > > > > >> Download > > > > > > > > >> > it for free - -and be entered to win a 42" plasma tv or > > your very > > > > > own > > > > > > > > >> > Sony(tm)PSP. Click here to play: > > > > > http://sourceforge.net/geronimo.php > > > > > > > > >> > > > _______________________________________________ > > > > > > > > >> > Wicket-user mailing list > > > > > > > > >> > Wicket-user@lists.sourceforge.net > > > > > > > > >> > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > >> > > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > ------------------------------------------------------- > > > > > > > > >> SF.Net email is sponsored by: > > > > > > > > >> Tame your development challenges with Apache's Geronimo App > > Server. > > > > > > > > >> Download > > > > > > > > >> it for free - -and be entered to win a 42" plasma tv or your > > very > > > > > own > > > > > > > > >> Sony(tm)PSP. Click here to play: > > > > > http://sourceforge.net/geronimo.php > > > > > > > > >> > > _______________________________________________ > > > > > > > > >> Wicket-user mailing list > > > > > > > > >> Wicket-user@lists.sourceforge.net > > > > > > > > >> > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > SF.Net email is sponsored by: > > > > > > > > Tame your development challenges with Apache's Geronimo App > > Server. > > > > > Download > > > > > > > > it for free - -and be entered to win a 42" plasma tv or your > > very own > > > > > > > > Sony(tm)PSP. Click here to play: > > > > > http://sourceforge.net/geronimo.php > > > > > > > > _______________________________________________ > > > > > > > > Wicket-user mailing list > > > > > > > > Wicket-user@lists.sourceforge.net > > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.Net email is sponsored by: > > > > > > Power Architecture Resource Center: Free content, downloads, > > discussions, > > > > > > and more. > > http://solutions.newsforge.com/ibmarch.tmpl > > > > > > _______________________________________________ > > > > > > Wicket-user mailing list > > > > > > Wicket-user@lists.sourceforge.net > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: > > > > Power Architecture Resource Center: Free content, downloads, > > discussions, > > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > > _______________________________________________ > > > > Wicket-user mailing list > > > > Wicket-user@lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: > > > Power Architecture Resource Center: Free content, downloads, discussions, > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > _______________________________________________ > > > Wicket-user mailing list > > > Wicket-user@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > >
------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user