Oops:
Only the following preferences are looked up:
public static final String CUSTOM_SOURCE_PARAM = "customSource";
public static final String MAXIMIZED_CUSTOM_SOURCE_PARAM =
"maximizedCustomSource";
public static final String EDIT_SOURCE_PARAM = "editSource";
public static final String MAXIMIZED_EDIT_SOURCE_PARAM =
"maximizedEditSource";
public static final String HELP_SOURCE_PARAM = "helpSource";
public static final String MAXIMIZED_HELP_SOURCE_PARAM =
"maximizedHelpSource";
public static final String VIEW_SOURCE_PARAM = "viewSource";
public static final String MAXIMIZED_VIEW_SOURCE_PARAM =
"maximizedViewSource";
I can add the rest in the svn HEAD if that would be helpful. Let me know
it there is a subset of "all" that you think are useful as preferences.
I'll see what I can do. Please add a JIRA issue and let me know when you
need it by :-).
Randy
> All,
>
> Preferences lookup for the IFramePortlet has to be enabled in the
> portlet.xml. Set the "enableSourcePreferences" init param to "true". Then,
> preferences will be used for the following:
>
> public static final String CUSTOM_SOURCE_PARAM = "customSource";
> public static final String MAXIMIZED_CUSTOM_SOURCE_PARAM =
> "maximizedCustomSource";
> public static final String EDIT_SOURCE_PARAM = "editSource";
> public static final String MAXIMIZED_EDIT_SOURCE_PARAM =
> "maximizedEditSource";
> public static final String HELP_SOURCE_PARAM = "helpSource";
> public static final String MAXIMIZED_HELP_SOURCE_PARAM =
> "maximizedHelpSource";
> public static final String VIEW_SOURCE_PARAM = "viewSource";
> public static final String MAXIMIZED_VIEW_SOURCE_PARAM =
> "maximizedViewSource";
> public static final String ALIGN_ATTR_PARAM = "align";
> public static final String CLASS_ATTR_PARAM = "class";
> public static final String FRAME_BORDER_ATTR_PARAM = "frameBorder";
> public static final String HEIGHT_ATTR_PARAM = "height";
> public static final String ID_ATTR_PARAM = "id";
> public static final String MARGIN_HEIGHT_ATTR_PARAM = "marginHeight";
> public static final String MARGIN_WIDTH_ATTR_PARAM = "marginWidth";
> public static final String MAXIMIZED_HEIGHT_ATTR_PARAM =
> "maximizedHeight";
> public static final String MAXIMIZED_SCROLLING_ATTR_PARAM =
> "maximizedScrolling";
> public static final String MAXIMIZED_STYLE_ATTR_PARAM =
> "maximizedStyle";
> public static final String MAXIMIZED_WIDTH_ATTR_PARAM =
> "maximizedWidth";
> public static final String NAME_ATTR_PARAM = "name";
> public static final String SCROLLING_ATTR_PARAM = "scrolling";
> public static final String STYLE_ATTR_PARAM = "style";
> public static final String WIDTH_ATTR_PARAM = "width";
>
> HTH,
>
> Randy
>
>
>> Wiadomosc od Stefan Weinert z 2006-03-16 14:51 brzmiala:
>>
>>> I searched the whole workspace (including all psml files) for the url I
>>> set in one of the IFrame portlets and got no result.
>> I see from the thread that the IFrame portlet is somehow troublesome.
>> But its mechanism is extremely simple, as it renders only a single HTML
>> component (inline frame). Yesterday I prepared "from scratch" my own
>> iframe portlet class displaying the contents from one of the servlets in
>> my webapp (it generates large graphics and scrolling ability is
>> required). Try writing it yourself and make the portlet bahaviour (e.g.
>> iframe's src attribute) dependent on fragment preferences (entered for
>> example by means of PAM).
>>
>> You you need some help, contact me :)
>>
>> --
>> pozdrawiam,
>> Jacek Wislicki
>>
>> [EMAIL PROTECTED]
>> tel.: +48 502 408 444
>> gg: 2540358
>> skype: jacek_wislicki
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]