The edit button is not used yet. The getAllowEdit is used to determine 
wether the *info* button is supposed to show up. Very misleading naming, I 
have to admit... This should get far better with the new Portet API in 
Jetspeed 1.3a2.

ingo.

At 17:10 01/07/01, Ron Lynn wrote:

>Hello!
>
>How does one get the edit button to show up?  from what i have gathered one
>overrides
>the getAllowEdit method of AbstractPortlet to return true and then provides
>further
>logic the portlet such as:
>
>...
>int uriType = URILookup.getURIType(this, runData);
>switch(uriType){
>
>   case URILookup.TYPE_CUSTOMIZE:  //was URILookup.TYPE_EDIT_PORTLET:
>     //do the edit thing...
>     ...
>     break;
>
>   default:  //was: case URILookup.TYPE_CONTENT
>     //do the portlet thing...
>     ...
>     break;
>}
>...
>
>which doesn't seem to work.  there was talk of adding a parameter to the
>portlet config
>file, did that happen?  if so, what does one need to do?
>
>thanks for the help!
>ttfn
>--ron.  ;-)
>
>___________________________________________________________________________
>Make it your ambition to lead a quiet life, to mind your own business, and
>to work with your
>hands, just as we told you, so that your daily life may win the respect of
>outsiders and so
>that you will not be dependent on anybody.
>1 Thessalonians 4:11-12
>
>
>
>--
>--------------------------------------------------------------
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Search: <http://www.mail-archive.com/[email protected]/>
>List Help?:          [EMAIL PROTECTED]



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to