Hi Guys,
i am looking for best solution integrating ajax framework with webflow
can anyone suggest which is best fit for webflow?
is there any examples for DWR/XT with web flow?
Hi Guys,
i am looking for best solution integrating ajax framework with webflow
can anyone suggest which is best fit for webflow?
is there any examples for DWR/XT with web flow?
Last edited by indone; Mar 19th, 2007 at 04:52 PM.
Thanks
Venky
For lightweight use of ajax such as refreshing parts of a page Prototype works very well. Along with Scriptaculous you can achieve some pretty good visual effects with very little Javascript code. The shippingrate sample in the webflow release has an example of something to that extent.
regards,
Rossen
Thanks rossen.
in my flow i have 3 different paginations funtionality in one jsp.
so those 3 paginations need to have refreshing parts.
Let me take a look and thanks for your suggestion
Thanks
Venky
I think that XT Ajax simplicity is perfect for your scenario.
Moreoevr, it's already integrated with Prototype and Scriptaculous: https://springmodules.dev.java.net/d...ngle/#d0e11904
Cheers,
Sergio B.
Sergio Bossa
Spring Modules Team
Thanks Sergio,
it is working fine.
i am using checkbox collection to display in the jsp.
InputField checkbox = new InputField("products", "one", InputField.InputType.CHECKBOX);
checkbox.addAttribute("checked","true");
for check box component how can i set the label ?
and is there any utility is there to translate the object collection to check box collection ?
Last edited by indone; Mar 23rd, 2007 at 02:02 PM.
Thanks
Venky
Hi,
sorry for the late reply, I've been very overloaded by work.
Talking about the label, just use a SimpleText component: https://springmodules.dev.java.net/s...impleText.html
Talking about the utility method, there's no such a thing, sorry.
Cheers,
Sergio B.
Sergio Bossa
Spring Modules Team
Thanks Sergio
Thanks
Venky
Hi sergio,
i am in the process of implementing pagination.i need your valuable help/suggestion for this.
i have the display in the jsp like below. which contains a 10 rows with two column checkboxes in a table.
how can i implement this using XT . do we need implement this code part of the handler or is there any easy way for this.
can we add (checkbox and simpletext) to one tabledata( TD)?Code:<table class="highlight" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td><c:forEach var="products" items="${bpmodel.bpinfo.products.collection}" varStatus="loopStatus" begin="1" end="10"> <c:if test="${loopStatus.count>1}"> <td> </c:if> <spring:bind path="bpmodel.bpinfo.products.collection[${loopStatus.index}].selected"> <input type="hidden" name="_<c:out value="${status.expression}"/>" value="visible" /> <input type="checkbox" name="<c:out value="${status.expression}"/>" value="true" class="bp-payment-options" <c:if test="${status.value}">checked</c:if>> <span class="bp-payment-labels"> <c:out value="${products.property}"></c:out></span> </spring:bind> <c:if test="${loopStatus.count>1}"></td> </c:if> <c:if test="${(loopStatus.count mod 2)==0}"> </tr> <tr> </c:if> </c:forEach> </tr> </table>
i am attaching the screen shot for this. please take a look.
Thanks
Venky
If you have to display complex contents I'd suggest you to use the JspComponent: https://springmodules.dev.java.net/s...Component.html
It let you output Jsp data via Ajax.
Cheers,
Sergio B.
Sergio Bossa
Spring Modules Team
Thanks sergio.
i am having problem with sending parameters via ajax function.
the error it is saying
missing : after property id
[Break on this error] XT.doAjaxAction('loadKeywords',this,{'type'
in my jsp i am calling like this. so am i missing anything?
Code:<a href=javascript:XT.doAjaxAction('loadKeywords',this,{'type' : '1'})> Next</a>
Thanks
Venky