Results 1 to 4 of 4

Thread: Convert object to Set (EnumSet) in flow

Hybrid View

  1. #1

    Default Convert object to Set (EnumSet) in flow

    hi,

    i have single object, but method syntax takes Set,
    so need to convert the single object to Set <object> in flow,

    my flow looks:
    <action bean="showRoomBean" method="findByBrand(${flowScope.selectedBrand})"
    result-name="models" result-scope="conversation"/>

    method() syntax:
    findByBrand(Set<Brand> brands)

    but selectedBrand is single Brand.

    please suggest how to go with this.

    if i have to use TwoWayConverter,
    how i can use TwoWayConverters to resolve this.

  2. #2

    Default

    hi,
    is there any way to do it in flow only
    or need to go with extra impl inspite of standard impl.

  3. #3

    Default

    overload findByBrand
    There are two ways of spreading the light ... Be the lamp that emits, or the mirror that reflects it

  4. #4

    Question

    thank you for quick reply,

    but prob is, i'm not supposed to change the service impl.
    so i'm looking for alternate way.

    withought changing the service, i have to achive this.

    please help me out.
    thank you in advance.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •