Michael, Are you using the CVS head? This feature was recently added (around 20-Aug-2002, to be exact). Also, there's Parameter Styles Demo portlet in demo-portlets.xreg (but I think that is where you pasted the lines from, right?). Please let me know.
Yes, javadocs on jakarta site are not in par with the CVS head. In that case, you should be able to generate javadocs locally. Best regards, Mark C. Orciuch Next Generation Solutions, Ltd. e-Mail: [EMAIL PROTECTED] web: http://www.ngsltd.com > -----Original Message----- > From: Michael Dernen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 18, 2002 3:44 AM > To: 'Jetspeed Users List' > Subject: RE: selectbox for portlet config parameters > > > Hello Mark, > thanks for the reply. > I pasted the lines > > <parameter name="sort" value="Symbol" type="style" > hidden="false"> > <meta-info> > <title>Sort</title> > <description>Column to sort by</description> > </meta-info> > </parameter> > <parameter name="sort.style" value="ListBox" hidden="true"/> > <parameter name="sort.style.items" value="Symbol,Volume,PChange" > hidden="true"/> > > from the example into my .xreg file of my portlet, but the parameter > was still rendered as an input field. I have also searched for the > class ParameterPresentationStyle in the Javadocs and the package > org.apache.jetspeed.modules.parameters, which is mentioned > in http://jakarta.apache.org/jetspeed/site/portlet_config_common.html > but couldn't find them. > I use Jetspeed 1.4b2. > Are you sure that this feature is still supported, or am I missing > something? > > Regards, > Michael > > > -----Urspr�ngliche Nachricht----- > Von: Mark Orciuch [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 17. September 2002 16:20 > An: Jetspeed Users List > Betreff: RE: selectbox for portlet config parameters > > > Michael, > > It's a matter of configuring your parameter with a parameter style. Check > out documentation for Element: parameter in > http://jakarta.apache.org/jetspeed/site/portlet_config_common.html . There's a sample ListBox parameter style which should give you what you want. If not, you can always write your own by extending ParameterPresentationStyle class. Best regards, Mark C. Orciuch Next Generation Solutions, Ltd. e-Mail: [EMAIL PROTECTED] web: http://www.ngsltd.com > -----Original Message----- > From: Michael Dernen [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 17, 2002 7:48 AM > To: '[EMAIL PROTECTED]' > Subject: selectbox for portlet config parameters > > > Hello, > Does anybody know if it's possible to use parameters > for portlets that show up as a selectbox in the customize page? > I know that parameters with type="boolean" will be shown as selectbox, > but I would like to have some other values instead of true and > false for the > user > to select. > > Regards, > Michael > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
