|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
directtool and anchorsWe are looking at using directtool to send the user to a particular
entry in rwiki (but within the context of the sakai portal), but we have some questions regarding doing that: 1. Is there any documentation for portal/directtool? The only things I can find are email discussions and jira issues that obliquely describe how to use it. 2. Can you pass an HTML anchor somehow? Iframes seem to make this quite a challenge. (It would seem that the portal itself would need to mediate when it constructs the iframe, or via some javascript intervention would need to ensue. Cursed iframes!) Our immediate objective is sending users to a particular section of a particular rwiki page within the context of the sakai portal. yuji ---- Yuji Shinozaki Sr. Technical Lead/Project Manager University of Virginia Advanced Technologies Group ys2n@... ---------------------- This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the DG: Development (a.k.a. sakai-dev) site. You can modify how you receive notifications at My Workspace > Preferences. |
|
|
Re: directtool and anchorsYou could also do this with any tool which is entity broker enabled
(enabling takes about 15 minutes if you are using RSF). The extra nicety here is that the tool becomes a entity enabled in Sakai and you get to address things in it with URLs like this: http://localhost:8080/portal/entityprefix/entityid/ More info on EB here: http://confluence.sakaiproject.org/confluence/x/F7M I am not completely sure who put in the directtool stuff but I think Ian Boston knows how it works. He is on holiday right now but you might be able to reach him next week sometime. He is also responsible for the Rwiki project these days so he could answer that part of your question also. -AZ On 8/1/07, Yuji Shinozaki <ys2n@...> wrote: > We are looking at using directtool to send the user to a particular > entry in rwiki (but within the context of the sakai portal), but we > have some questions regarding doing that: > > 1. Is there any documentation for portal/directtool? The only things > I can find are email discussions and jira issues that obliquely > describe how to use it. > > 2. Can you pass an HTML anchor somehow? Iframes seem to make this > quite a challenge. (It would seem that the portal itself would need > to mediate when it constructs the iframe, or via some javascript > intervention would need to ensue. Cursed iframes!) > > Our immediate objective is sending users to a particular section of a > particular rwiki page within the context of the sakai portal. > > yuji > ---- > Yuji Shinozaki > Sr. Technical Lead/Project Manager > University of Virginia > Advanced Technologies Group > ys2n@... > > > ---------------------- > This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the DG: Development (a.k.a. sakai-dev) site. > You can modify how you receive notifications at My Workspace > Preferences. > > -- Aaron Zeckoski (aaronz@...) Senior Research Engineer - CARET - Cambridge University [http://bugs.sakaiproject.org/confluence/display/~aaronz/] Sakai Fellow - [http://aaronz-sakai.blogspot.com/] ---------------------- This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the DG: Development (a.k.a. sakai-dev) site. You can modify how you receive notifications at My Workspace > Preferences. |
|
|
Re: directtool and anchorsThere is another URL scheme (put in by me) which *does* allow tunnelling
of Anchors through the portal URL space. Take a look at the "encodeToolState" method in the PortalService API. The "URLstub" argument is whatever URL state you require to be delivered to your tool after all decoding is complete. Note that this is very much a *Portal* thing rather than an EntityBroker thing - right now there is no particular relationship between the EntityBroker and the Portal. Cheers, Antranig. Quoting Aaron Zeckoski <aaronz@...>: > You could also do this with any tool which is entity broker enabled > (enabling takes about 15 minutes if you are using RSF). The extra > nicety here is that the tool becomes a entity enabled in Sakai and you > get to address things in it with URLs like this: > http://localhost:8080/portal/entityprefix/entityid/ > > More info on EB here: > http://confluence.sakaiproject.org/confluence/x/F7M > > I am not completely sure who put in the directtool stuff but I think > Ian Boston knows how it works. He is on holiday right now but you > might be able to reach him next week sometime. He is also responsible > for the Rwiki project these days so he could answer that part of your > question also. > > -AZ > > > On 8/1/07, Yuji Shinozaki <ys2n@...> wrote: > > We are looking at using directtool to send the user to a particular > > entry in rwiki (but within the context of the sakai portal), but we > > have some questions regarding doing that: > > > > 1. Is there any documentation for portal/directtool? The only things > > I can find are email discussions and jira issues that obliquely > > describe how to use it. > > > > 2. Can you pass an HTML anchor somehow? Iframes seem to make this > > quite a challenge. (It would seem that the portal itself would need > > to mediate when it constructs the iframe, or via some javascript > > intervention would need to ensue. Cursed iframes!) > > > > Our immediate objective is sending users to a particular section of a > > particular rwiki page within the context of the sakai portal. > > > > yuji > > ---- > > Yuji Shinozaki > > Sr. Technical Lead/Project Manager > > University of Virginia > > Advanced Technologies Group > > ys2n@... > > > > > > ---------------------- > > This automatic notification message was sent by Sakai Collab > (https://collab.sakaiproject.org/portal) from the DG: Development (a.k.a. > sakai-dev) site. > > You can modify how you receive notifications at My Workspace > Preferences. > > > > > > > -- > Aaron Zeckoski (aaronz@...) > Senior Research Engineer - CARET - Cambridge University > [http://bugs.sakaiproject.org/confluence/display/~aaronz/] > Sakai Fellow - [http://aaronz-sakai.blogspot.com/] > > ---------------------- > This automatic notification message was sent by Sakai Collab > (https://collab.sakaiproject.org/portal) from the DG: Development (a.k.a. > sakai-dev) site. > You can modify how you receive notifications at My Workspace > Preferences. > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ---------------------- This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the DG: Development (a.k.a. sakai-dev) site. You can modify how you receive notifications at My Workspace > Preferences. |
|
|
Re: directtool and anchorsIf you want anchors, I would use Antranig's approach. Its slightly more complicated as you have to encode the target url, but more complete. Direct tool is simple but less functional. replace the /portal/tool/ part of the url with /portal/directtool/ and the portal will reconstruct the portal state, however it only works where there is a single tool state to be reconstructed and does not work with anchors. Ian antranig@... wrote: > There is another URL scheme (put in by me) which *does* allow tunnelling > of Anchors through the portal URL space. Take a look at the > "encodeToolState" method in the PortalService API. The "URLstub" argument > is whatever URL state you require to be delivered to your tool after > all decoding is complete. Note that this is very much a *Portal* thing > rather than an EntityBroker thing - right now there is no particular > relationship between the EntityBroker and the Portal. > > Cheers, > Antranig. > > > Quoting Aaron Zeckoski <aaronz@...>: > >> You could also do this with any tool which is entity broker enabled >> (enabling takes about 15 minutes if you are using RSF). The extra >> nicety here is that the tool becomes a entity enabled in Sakai and you >> get to address things in it with URLs like this: >> http://localhost:8080/portal/entityprefix/entityid/ >> >> More info on EB here: >> http://confluence.sakaiproject.org/confluence/x/F7M >> >> I am not completely sure who put in the directtool stuff but I think >> Ian Boston knows how it works. He is on holiday right now but you >> might be able to reach him next week sometime. He is also responsible >> for the Rwiki project these days so he could answer that part of your >> question also. >> >> -AZ >> >> >> On 8/1/07, Yuji Shinozaki <ys2n@...> wrote: >>> We are looking at using directtool to send the user to a particular >>> entry in rwiki (but within the context of the sakai portal), but we >>> have some questions regarding doing that: >>> >>> 1. Is there any documentation for portal/directtool? The only things >>> I can find are email discussions and jira issues that obliquely >>> describe how to use it. >>> >>> 2. Can you pass an HTML anchor somehow? Iframes seem to make this >>> quite a challenge. (It would seem that the portal itself would need >>> to mediate when it constructs the iframe, or via some javascript >>> intervention would need to ensue. Cursed iframes!) >>> >>> Our immediate objective is sending users to a particular section of a >>> particular rwiki page within the context of the sakai portal. >>> >>> yuji >>> ---- >>> Yuji Shinozaki >>> Sr. Technical Lead/Project Manager >>> University of Virginia >>> Advanced Technologies Group >>> ys2n@... >>> >>> >>> ---------------------- >>> This automatic notification message was sent by Sakai Collab >> (https://collab.sakaiproject.org/portal) from the DG: Development (a.k.a. >> sakai-dev) site. >>> You can modify how you receive notifications at My Workspace > Preferences. >>> >>> >> >> -- >> Aaron Zeckoski (aaronz@...) >> Senior Research Engineer - CARET - Cambridge University >> [http://bugs.sakaiproject.org/confluence/display/~aaronz/] >> Sakai Fellow - [http://aaronz-sakai.blogspot.com/] >> >> ---------------------- >> This automatic notification message was sent by Sakai Collab >> (https://collab.sakaiproject.org/portal) from the DG: Development (a.k.a. >> sakai-dev) site. >> You can modify how you receive notifications at My Workspace > Preferences. >> >> > > > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > ---------------------- > This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the DG: Development (a.k.a. sakai-dev) site. > You can modify how you receive notifications at My Workspace > Preferences. > ---------------------- This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the DG: Development (a.k.a. sakai-dev) site. You can modify how you receive notifications at My Workspace > Preferences. |
| Free embeddable forum powered by Nabble | Forum Help |