| Weichun Qian 2005-02-25, 8:47 pm |
| There is only one portlet on my pages.
I wannot them to be maximized by default.
I refer to the infocenter, and found there is a way to archive this,
that is the <url:urlGeneration>:
<wps:urlGeneration contentNode="wps.My Portal.Welcome"
layoutNode="welcome.bookmarks"
portletWindowState="Maximized"
accessControlCheck="NoCheck">
<wps:urlParam name="<%= month %>" value="August"
type="render" />
<wps:urlParam name="<%= day %>" value="Monday"
type="render" />
<wps:urlParam name="<%= amount %>" value="<%=
ACCOUNT_BALANCE %>" type="render" />
<a href="<% wpsURL.write(out); %>"
class="wpsLinkBarLink">
<wps:text key="link.bookmarkstitle" bundle="nls.
myproperties"/>
</a>
</td>
</wps:urlGeneration>
portletMode="view|help|edit|configure"
For URLs to a portlet indicated by layoutNode, this attribute sets
the portlet mode. This parameter is ignored if layoutNode is not set.
So I must obtain the id or unique name to the control.
2005-2-25 23:57:42
Maik Weber <maikweber@de.ibm.com> wrote in message
<cvnhtn$3shk$1@news.boulder.ibm.com>
[vbcol=seagreen]
> Right, in 5.1 the url is not readable any more.
>
> Weichun, do you want to know the id of a control?
> You didn't mentioned it in your post ...
>
> Maik
>
> Weichun Qian wrote:
identify[vbcol=seagreen]
ID[vbcol=seagreen]
in[vbcol=seagreen]
names[vbcol=seagreen]
|