RE: [Webwork-user] Re: Getting value from Session object

2002-05-28 Thread Owen Taylor

IMO:

In order to "be" a property (rather than an attribute) it Must have a
related get method.

Cheers,
Owen.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Harvey
Kandola
Sent: Thursday, May 23, 2002 5:54 AM
To: [EMAIL PROTECTED]
Subject: [Webwork-user] Re: Getting value from Session object


Sorry, ignore my previous post - I was missing a get method for my property,
doh!

Having said that, it would be nice to access public properties that do not
have related get methods...


"Harvey Kandola" <[EMAIL PROTECTED]> wrote in message
acids0$d06$[EMAIL PROTECTED]">news:acids0$d06$[EMAIL PROTECTED]...
>
> I have an object in session scope (xyz) and would like to retrieve a value
> (blah) from this object:
>
> 
>
> Can't get it to work...documentation suggests it is possible...
>
>
>
>
>
>
> ___
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm





___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user



Re: [Webwork-user] initially selected value for ui:select

2002-05-28 Thread Scott Farquhar

Just return values from your action as a String array.

eg:


 
 
 
 width: 90%;
 

in your action:

public String[] getProjectIds()
{
 return new String[] {"10410"};
}

The array matches the listKey property in the ui:select dropdown.

Cheers,
Scott

Vipul Manglik wrote:
> Hi,
> I am using ui:select tag to display a list of items. (Its actually a
> list of dates). I want to be able to display a particular value as the
> initailly selected value. (Which will be todays date). How can I specify
> the initilly selected value using the ui:select tag?
> 
> If ui:select tag does not have the required functionlaity, is there
> some other way to achieve the same result?
> 
> Thanks
> Vipul Manglik
> 
> 
> ___
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> 
> ___
> Webwork-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webwork-user
> 


-- 
Scott Farquhar :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
  Supporting YOUR J2EE World


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user