could i build a wiki using RAP? [message #134131] |
Tue, 26 May 2009 07:08  |
Eclipse User |
|
|
|
Hello, all,
I would like to be able to make use of RAP's rich UI features, in a
public-facing wiki. It would have pages of content which can be directly
linked to. So browsing through the wiki would change the URL. Is there a
way that RAP could power such a conventional web site?
Thanks!
David Donohue
|
|
|
|
|
Re: could i build a wiki using RAP? [message #134513 is a reply to message #134314] |
Fri, 29 May 2009 14:00   |
Eclipse User |
|
|
|
Hi David,
What you are proposing is intriguing.
One issue with the user changing the browser URL (i.e., parameters
changed/added via link), is that given the current implementation of RAP,
the HTML session will be different every time you reload, which implies
that a new entry-point is run (the client-side application restarts). But
this is not necessarily a show-stopper.
You could embed all of the wiki functionality in RAP and have links that
change the content without actually changing the browser URL. The real
issue is permalinks, bookmarking etc. However, you could have code in
your entry point that will take a url argument and reconstruct the state
of the application that is driven/desired via parameter. You would just
have to have a place in the application for the user to generate a
"permalink". There would also be necessary work to make user accounts/
permissions work correctly (i.e, not forcing the user to log in again
every time the app reloads).
All of that said, there are plenty more options if you want to change the
way that RAP itself works. You can embed specialized javascript, hijack
the servlet, etc. Don't cringe Rüdiger. :-)
|
|
|
|
|
Re: could i build a wiki using RAP? [message #134804 is a reply to message #134513] |
Wed, 03 June 2009 01:02  |
Eclipse User |
|
|
|
Austin Riddle wrote:
> Hi David,
>
> [ ... ]
> All of that said, there are plenty more options if you want to change
> the way that RAP itself works. You can embed specialized javascript,
> hijack the servlet, etc. Don't cringe Rüdiger. :-)
I am always interested in learning new ways to (ab)use RAP :)
|
|
|
Powered by
FUDForum. Page generated in 0.04718 seconds