|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
Having Wicket append #someanchorI was wondering if there is a way to have Wicket append some anchor
information to a response page? So if I were on: MyPage.html, then they click a submit button and the server side codes does a setResponsePage(MyPage.class) I would want the actual page to be MyPage.html#someanchor A suggestion on ##wicket was to do a redirect through httpServletResponse and rewrite the url myself, but I wanted to know if Wicket supported this a bit more "out of the box" Thanks! Craig. -- Craig Tataryn site: http://www.basementcoders.com/ podcast:http://feeds.feedburner.com/TheBasementCoders irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin im: craiger316@..., skype: craig.tataryn |
|
|
Re: Having Wicket append #someanchor*bump*
On Wed, Oct 1, 2008 at 2:04 PM, Craig Tataryn <craiger@...> wrote: > I was wondering if there is a way to have Wicket append some anchor > information to a response page? > > So if I were on: MyPage.html, then they click a submit button and the > server side codes does a setResponsePage(MyPage.class) I would want the > actual page to be MyPage.html#someanchor > > A suggestion on ##wicket was to do a redirect through httpServletResponse > and rewrite the url myself, but I wanted to know if Wicket supported this a > bit more "out of the box" > > Thanks! > > Craig. > > -- > Craig Tataryn > site: http://www.basementcoders.com/ > podcast:http://feeds.feedburner.com/TheBasementCoders > irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin > im: craiger316@..., skype: craig.tataryn > -- Craig Tataryn site: http://www.basementcoders.com/ podcast:http://feeds.feedburner.com/TheBasementCoders irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin im: craiger316@..., skype: craig.tataryn |
|
|
Re: Having Wicket append #someanchora bump after 6 hours...really?
-igor On Wed, Oct 1, 2008 at 6:19 PM, Craig Tataryn <craiger@...> wrote: > *bump* > > On Wed, Oct 1, 2008 at 2:04 PM, Craig Tataryn <craiger@...> wrote: > >> I was wondering if there is a way to have Wicket append some anchor >> information to a response page? >> >> So if I were on: MyPage.html, then they click a submit button and the >> server side codes does a setResponsePage(MyPage.class) I would want the >> actual page to be MyPage.html#someanchor >> >> A suggestion on ##wicket was to do a redirect through httpServletResponse >> and rewrite the url myself, but I wanted to know if Wicket supported this a >> bit more "out of the box" >> >> Thanks! >> >> Craig. >> >> -- >> Craig Tataryn >> site: http://www.basementcoders.com/ >> podcast:http://feeds.feedburner.com/TheBasementCoders >> irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin >> im: craiger316@..., skype: craig.tataryn >> > > > > -- > Craig Tataryn > site: http://www.basementcoders.com/ > podcast:http://feeds.feedburner.com/TheBasementCoders > irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin > im: craiger316@..., skype: craig.tataryn > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Having Wicket append #someanchorAhh there's the guy I've been looking for :)
On Wed, Oct 1, 2008 at 8:24 PM, Igor Vaynberg <igor.vaynberg@...>wrote: > a bump after 6 hours...really? > > -igor > > On Wed, Oct 1, 2008 at 6:19 PM, Craig Tataryn <craiger@...> wrote: > > *bump* > > > > On Wed, Oct 1, 2008 at 2:04 PM, Craig Tataryn <craiger@...> > wrote: > > > >> I was wondering if there is a way to have Wicket append some anchor > >> information to a response page? > >> > >> So if I were on: MyPage.html, then they click a submit button and the > >> server side codes does a setResponsePage(MyPage.class) I would want the > >> actual page to be MyPage.html#someanchor > >> > >> A suggestion on ##wicket was to do a redirect through > httpServletResponse > >> and rewrite the url myself, but I wanted to know if Wicket supported > this a > >> bit more "out of the box" > >> > >> Thanks! > >> > >> Craig. > >> > >> -- > >> Craig Tataryn > >> site: http://www.basementcoders.com/ > >> podcast:http://feeds.feedburner.com/TheBasementCoders > >> irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin > >> im: craiger316@..., skype: craig.tataryn > >> > > > > > > > > -- > > Craig Tataryn > > site: http://www.basementcoders.com/ > > podcast:http://feeds.feedburner.com/TheBasementCoders > > irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin > > im: craiger316@..., skype: craig.tataryn > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > -- Craig Tataryn site: http://www.basementcoders.com/ podcast:http://feeds.feedburner.com/TheBasementCoders irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin im: craiger316@..., skype: craig.tataryn |
|
|
Re: Having Wicket append #someanchorI would probably just do a simple javascript and make a
headercontribution... But I guess it's not really the standard way when it comes to anchors... Craig Tataryn wrote: > *bump* > > On Wed, Oct 1, 2008 at 2:04 PM, Craig Tataryn <craiger@...> wrote: > > >> I was wondering if there is a way to have Wicket append some anchor >> information to a response page? >> >> So if I were on: MyPage.html, then they click a submit button and the >> server side codes does a setResponsePage(MyPage.class) I would want the >> actual page to be MyPage.html#someanchor >> >> A suggestion on ##wicket was to do a redirect through httpServletResponse >> and rewrite the url myself, but I wanted to know if Wicket supported this a >> bit more "out of the box" >> >> Thanks! >> >> Craig. >> >> -- >> Craig Tataryn >> site: http://www.basementcoders.com/ >> podcast:http://feeds.feedburner.com/TheBasementCoders >> irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin >> im: craiger316@..., skype: craig.tataryn >> >> > > > > -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Having Wicket append #someanchorI've made custom url coding strategy which finds key named "#" in
PageParameters and encodes it as anchor part (opaque part). 2008/10/2 Nino Saturnino Martinez Vazquez Wael <nino.martinez@...>: > I would probably just do a simple javascript and make a > headercontribution... But I guess it's not really the standard way when it > comes to anchors... > > Craig Tataryn wrote: >> >> *bump* >> >> On Wed, Oct 1, 2008 at 2:04 PM, Craig Tataryn <craiger@...> wrote: >> >> >>> >>> I was wondering if there is a way to have Wicket append some anchor >>> information to a response page? >>> >>> So if I were on: MyPage.html, then they click a submit button and the >>> server side codes does a setResponsePage(MyPage.class) I would want the >>> actual page to be MyPage.html#someanchor >>> >>> A suggestion on ##wicket was to do a redirect through httpServletResponse >>> and rewrite the url myself, but I wanted to know if Wicket supported this >>> a >>> bit more "out of the box" >>> >>> Thanks! >>> >>> Craig. >>> >>> -- >>> Craig Tataryn >>> site: http://www.basementcoders.com/ >>> podcast:http://feeds.feedburner.com/TheBasementCoders >>> irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin >>> im: craiger316@..., skype: craig.tataryn >>> >>> >> >> >> >> > > -- > -Wicket for love > > Nino Martinez Wael > Java Specialist @ Jayway DK > http://www.jayway.dk > +45 2936 7684 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > -- WBR, kan. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Having Wicket append #someanchorCould you add it to the wiki?
http://cwiki.apache.org/WICKET/ kan wrote: > I've made custom url coding strategy which finds key named "#" in > PageParameters and encodes it as anchor part (opaque part). > > 2008/10/2 Nino Saturnino Martinez Vazquez Wael <nino.martinez@...>: > >> I would probably just do a simple javascript and make a >> headercontribution... But I guess it's not really the standard way when it >> comes to anchors... >> >> Craig Tataryn wrote: >> >>> *bump* >>> >>> On Wed, Oct 1, 2008 at 2:04 PM, Craig Tataryn <craiger@...> wrote: >>> >>> >>> >>>> I was wondering if there is a way to have Wicket append some anchor >>>> information to a response page? >>>> >>>> So if I were on: MyPage.html, then they click a submit button and the >>>> server side codes does a setResponsePage(MyPage.class) I would want the >>>> actual page to be MyPage.html#someanchor >>>> >>>> A suggestion on ##wicket was to do a redirect through httpServletResponse >>>> and rewrite the url myself, but I wanted to know if Wicket supported this >>>> a >>>> bit more "out of the box" >>>> >>>> Thanks! >>>> >>>> Craig. >>>> >>>> -- >>>> Craig Tataryn >>>> site: http://www.basementcoders.com/ >>>> podcast:http://feeds.feedburner.com/TheBasementCoders >>>> irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin >>>> im: craiger316@..., skype: craig.tataryn >>>> >>>> >>>> >>> >>> >>> >> -- >> -Wicket for love >> >> Nino Martinez Wael >> Java Specialist @ Jayway DK >> http://www.jayway.dk >> +45 2936 7684 >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> >> >> > > > > -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Having Wicket append #someanchorhttp://cwiki.apache.org/confluence/display/WICKET/FAQs#FAQs-Howtoadd%23anchor(opaque)topageurl%3F
2008/10/6 Nino Saturnino Martinez Vazquez Wael <nino.martinez@...>: > Could you add it to the wiki? > > http://cwiki.apache.org/WICKET/ > > kan wrote: >> >> I've made custom url coding strategy which finds key named "#" in >> PageParameters and encodes it as anchor part (opaque part). >> >> 2008/10/2 Nino Saturnino Martinez Vazquez Wael <nino.martinez@...>: >> >>> >>> I would probably just do a simple javascript and make a >>> headercontribution... But I guess it's not really the standard way when >>> it >>> comes to anchors... >>> >>> Craig Tataryn wrote: >>> >>>> >>>> *bump* >>>> >>>> On Wed, Oct 1, 2008 at 2:04 PM, Craig Tataryn <craiger@...> >>>> wrote: >>>> >>>> >>>> >>>>> >>>>> I was wondering if there is a way to have Wicket append some anchor >>>>> information to a response page? >>>>> >>>>> So if I were on: MyPage.html, then they click a submit button and the >>>>> server side codes does a setResponsePage(MyPage.class) I would want the >>>>> actual page to be MyPage.html#someanchor >>>>> >>>>> A suggestion on ##wicket was to do a redirect through >>>>> httpServletResponse >>>>> and rewrite the url myself, but I wanted to know if Wicket supported >>>>> this >>>>> a >>>>> bit more "out of the box" >>>>> >>>>> Thanks! >>>>> >>>>> Craig. >>>>> >>>>> -- >>>>> Craig Tataryn >>>>> site: http://www.basementcoders.com/ >>>>> podcast:http://feeds.feedburner.com/TheBasementCoders >>>>> irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin >>>>> im: craiger316@..., skype: craig.tataryn >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> -- >>> -Wicket for love >>> >>> Nino Martinez Wael >>> Java Specialist @ Jayway DK >>> http://www.jayway.dk >>> +45 2936 7684 >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@... >>> For additional commands, e-mail: users-help@... >>> >>> >>> >> >> >> >> > > -- > -Wicket for love > > Nino Martinez Wael > Java Specialist @ Jayway DK > http://www.jayway.dk > +45 2936 7684 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > -- WBR, kan. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Having Wicket append #someanchor:)
kan wrote: > http://cwiki.apache.org/confluence/display/WICKET/FAQs#FAQs-Howtoadd%23anchor(opaque)topageurl%3F > > 2008/10/6 Nino Saturnino Martinez Vazquez Wael <nino.martinez@...>: > >> Could you add it to the wiki? >> >> http://cwiki.apache.org/WICKET/ >> >> kan wrote: >> >>> I've made custom url coding strategy which finds key named "#" in >>> PageParameters and encodes it as anchor part (opaque part). >>> >>> 2008/10/2 Nino Saturnino Martinez Vazquez Wael <nino.martinez@...>: >>> >>> >>>> I would probably just do a simple javascript and make a >>>> headercontribution... But I guess it's not really the standard way when >>>> it >>>> comes to anchors... >>>> >>>> Craig Tataryn wrote: >>>> >>>> >>>>> *bump* >>>>> >>>>> On Wed, Oct 1, 2008 at 2:04 PM, Craig Tataryn <craiger@...> >>>>> wrote: >>>>> >>>>> >>>>> >>>>> >>>>>> I was wondering if there is a way to have Wicket append some anchor >>>>>> information to a response page? >>>>>> >>>>>> So if I were on: MyPage.html, then they click a submit button and the >>>>>> server side codes does a setResponsePage(MyPage.class) I would want the >>>>>> actual page to be MyPage.html#someanchor >>>>>> >>>>>> A suggestion on ##wicket was to do a redirect through >>>>>> httpServletResponse >>>>>> and rewrite the url myself, but I wanted to know if Wicket supported >>>>>> this >>>>>> a >>>>>> bit more "out of the box" >>>>>> >>>>>> Thanks! >>>>>> >>>>>> Craig. >>>>>> >>>>>> -- >>>>>> Craig Tataryn >>>>>> site: http://www.basementcoders.com/ >>>>>> podcast:http://feeds.feedburner.com/TheBasementCoders >>>>>> irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin >>>>>> im: craiger316@..., skype: craig.tataryn >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> -- >>>> -Wicket for love >>>> >>>> Nino Martinez Wael >>>> Java Specialist @ Jayway DK >>>> http://www.jayway.dk >>>> +45 2936 7684 >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscribe@... >>>> For additional commands, e-mail: users-help@... >>>> >>>> >>>> >>>> >>> >>> >>> >> -- >> -Wicket for love >> >> Nino Martinez Wael >> Java Specialist @ Jayway DK >> http://www.jayway.dk >> +45 2936 7684 >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> >> >> > > > > -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Having Wicket append #someanchor2008/10/7 Nino Saturnino Martinez Vazquez Wael <nino.martinez@...>:
> :) Huh? :) Yes, not brilliant solution but works for some cases... ;) Actually it's quite possible to make it for all strategies, but requires to change wicket code. -- WBR, kan. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Having Wicket append #someanchorthere is nothing better tehn this today for setResponsePage + Anchor?
This solution would also be acceptable but as long as encode method in some strategy is final, it is not applicable at all but copying and changin wicket code... On Tue, Oct 7, 2008 at 9:11 AM, kan <kan.izh@...> wrote: > 2008/10/7 Nino Saturnino Martinez Vazquez Wael <nino.martinez@...>: >> :) > Huh? :) > Yes, not brilliant solution but works for some cases... ;) > Actually it's quite possible to make it for all strategies, but > requires to change wicket code. > > -- > WBR, kan. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > -- Daniele Dellafiore http://danieledellafiore.net --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |