Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: popup in Spring Webflow 2.0.2

  1. #11

    Default

    Hi Marten,

    Thanks for the patience for replying my queries.

    The problem was that I was not able to make out where the popup is! That's because the JavaScript framework (dojo) that you use represents the pop-up in such a way. It just shades the background and displays the pop-up screen, which is partially transparent, where for the user it appears to be the same screen.

    Anyway, thanks once again

    Cheers,
    DeepEdward

  2. #12
    Join Date
    Jul 2008
    Location
    Medellín, Colombia
    Posts
    135

    Default

    Eh....

    How did you solve this?

    Please share your solution...

  3. #13
    Join Date
    Jul 2008
    Location
    Medellín, Colombia
    Posts
    135

    Default

    Quote Originally Posted by Marten Deinum View Post
    If you want to use the popup feature without jsf/facelets you need to specify it in the jsp in the javascript element (popup : 'true'). That is also shown in the booking sample without JSF.
    I've seen that example but it apears that I need to use tiles to make this work with JSP + JSF + SWF 2.0.3

    is that correct?

  4. #14
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,695

    Default

    is that correct?
    No.

    For plain JSP you need Tiles to make it work. For JSF you can use either Tiles or Facelets (the jsf templating stuff).
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  5. #15

    Default

    I just want to mention that the popups feature (with JSF/facelets) does not work if you have the following setting:

    <webflow:flow-execution-attributes>
    <webflow:always-redirect-on-pause value="false"/>
    </webflow:flow-execution-attributes>

    in flow-executor.

    I had forgotten this setting in my configuration and struggled to find it. So I thought it might be helpful to post.

  6. #16

    Default

    How can I get a Spring popup working at the same time POST the data

    <input type="button" name="_eventId_seatAssign" value="Proceed" onclick="assignSeat('${pageContext.request.context Path}','${locale}')" href="${pageContext.request.contextPath}/ibe/ibe/booking?_eventId=seatAssign&execution=${flowExecut ionKey}&actionName=assignseat" id=assignSeatLnk />
    <script type="text/javascript">
    Spring.addDecoration(new Spring.AjaxEventDecoration({
    elementId: "assignSeatLnk",
    event: "onclick",
    popup: true,
    params: {fragments: "assignSeat"}
    }));
    </script>

    The above code is not working.


    But if am using HREF and a link its working


    Any idea how to solve it?

  7. #17
    Join Date
    Dec 2008
    Location
    Ulaanbaatar, Mongolia
    Posts
    123

    Default

    I have some problem.

    I can show popup from link but cannot show from form submit.

    Have you solved your issue?
    Is there any alternate solution?
    Let's care our nature!

  8. #18
    Join Date
    Sep 2010
    Posts
    19

    Default working subflows as modalPanel popup in Richfaces

    yes edward as you said there is no popup in that hotel booking app.

    and in SWF i need a subflow to open in modalPanel of Richfaces view. that is the view state in subflow has to be opened in a modalPanel popup. pls help me if u get any relevant solution.

Posting Permissions

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