Announcement Announcement Module
Collapse
No announcement yet.
Convert object to Set (EnumSet) in flow Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    hi,
    is there any way to do it in flow only
    or need to go with extra impl inspite of standard impl.

    Comment


    • #3
      overload findByBrand

      Comment


      • #4
        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.

        Comment

        Working...
        X