Re: Browser History API

2019-02-25 Thread JumpStart
r { >let newOptions = {...options}; >return Ajax(url, newOptions); >}; > > > I think TypeScript is a "must" to get good client code. I use also JSX. I am > looking for a way to use the same interface for Tapstery/Java services and > Typescript fo

RE: Browser History API

2019-02-23 Thread Svein-Erik Løken
cript for data access. Maybe Kotlin can be used. S-E -Original Message- From: JumpStart Sent: lørdag 23. februar 2019 03:01 To: Tapestry users Subject: Re: Browser History API Very interesting. A couple of questions: What issues is that header addressing? What role is Tapestry playing in your

Re: Browser History API

2019-02-22 Thread JumpStart
22. februar 2019 02:16 > To: Tapestry users > Subject: Re: Browser History API > > Thank you, but I think I’ll mostly want the server-side making the decision > on what to make navigable. We shall see how that pans out. > >> On 21 Feb 2019, at 3:29 pm, Svein-Erik Løken w

RE: Browser History API

2019-02-21 Thread Svein-Erik Løken
rt Sent: fredag 22. februar 2019 02:16 To: Tapestry users Subject: Re: Browser History API Thank you, but I think I’ll mostly want the server-side making the decision on what to make navigable. We shall see how that pans out. > On 21 Feb 2019, at 3:29 pm, Svein-Erik Løken wrote: > > Yo

Re: Browser History API

2019-02-21 Thread JumpStart
Thank you, but I think I’ll mostly want the server-side making the decision on what to make navigable. We shall see how that pans out. > On 21 Feb 2019, at 3:29 pm, Svein-Erik Løken wrote: > > You can manipulate the URL from Javascript/Typescript: > > (history as History).replaceState(null, ""

Re: Browser History API

2019-02-21 Thread JumpStart
Very cool. Thank you. Geoff > On 21 Feb 2019, at 2:57 pm, Carlos Montero Canabal > wrote: > > Hi Geoof, > > Yes, I have to use to create a spa. I have an simple example here > http://tapestry5.dev-util.com/specialpages/spa/block1 . You can click on > link Page2 and Page1 an check the ajax req

RE: Browser History API

2019-02-20 Thread Svein-Erik Løken
You can manipulate the URL from Javascript/Typescript: (history as History).replaceState(null, "", location.protocol + '//' + location.host + location.pathname + "/yourUrlPart"); -Original Message- From: JumpStart Sent: torsdag 21. februar 2019 05:39 To: Tapestry users Subject: Browse

Re: Browser History API

2019-02-20 Thread Carlos Montero Canabal
Hi Geoof, Yes, I have to use to create a spa. I have an simple example here http://tapestry5.dev-util.com/specialpages/spa/block1 . You can click on link Page2 and Page1 an check the ajax requests and the url on browser. You can click then on Back button and and see how the url and zone content up