Re: Getting BeanDisplay to skip empty fields altogether

2014-09-23 Thread Lance Java
BeanDisplay, BeanEditor and Grid all use a BeanModel to show the fields. You could either set the "exclude" parameter to the component. Or you can call BeanModel.exclude(...) explicitly. It might be easiest to decorate the BeanModelSource service in tapestry-ioc (used when you don't explicitly pr

Getting BeanDisplay to skip empty fields altogether

2014-09-23 Thread Daniel Jue
Hey list! I have several dozen code-generated beans that I'd like to display as bean models. Problem is, many of the beans' fields are either null or empty string, so I don't want their labels to even show up, much less the NotEmpty mixin putting a   The idea is to skip rendering any fields tha

Re: Problem in using Bootstrap Modal component

2014-09-23 Thread Eugen
Hi, put in Your modal-body, around the image, a zone and attach js function to the 'show.bs.modal' event of modal. In the function refesh the zone. best regards Eugen 2014-09-23 19:31 GMT+02:00 akshay : > Hi Sir, > > Thanks for your response, > > I believe post over a forum , expects a more poli

Re: Problem in using Bootstrap Modal component

2014-09-23 Thread akshay
Hi Sir, Thanks for your response, I believe post over a forum , expects a more polite response than yours. Coming to the point suggested by you, I tried using the remote option before posting into the forum and it didnt work the way, it is supposed to be. So rather than putting a complex code s

Re: Problem in using Bootstrap Modal component

2014-09-23 Thread Muhammad Gelbana
If I understood your case correctly. You need to put your modal div in a zone so you can update it when you submit the first modal. *-* *Muhammad Gelbana* http://www.linkedin.com/in/mgelbana On Tue, Sep 23, 2014 at 7:48 PM, Chris Poulsen wrote: > I doubt there is any magic g

Re: Problem in using Bootstrap Modal component

2014-09-23 Thread Chris Poulsen
I doubt there is any magic going on. If your html output is correct then it should work like advertised. You seem to be talking about the modal remote option, but that is not used in your pasted code (which is close to absolutely useless anyway, please put in an effort if you expect others to try a

Problem in using Bootstrap Modal component

2014-09-23 Thread akshay
Hi, I am trying to use bootstrap component modal.js. I intend to change to content of the modal( i.e image in my case) for every execution of this conditional block given below. But I see that , the content of the modal ("${imageUrl}") in the image tag, is only loaded once and I get to see the s

AjaxFormLoop Example in 5.4 without persist.

2014-09-23 Thread George Christman
Hi guys, for any of you who have used the ajaxformloop over the years and have struggled not to have to use @Persist and handle the save on form submission know that it has been a challenge. I managed to come up with the following solution this morning that thus far seems to work very well. I'd lik

Re: zone on a

2014-09-23 Thread Geoff Callender
Or put zone on the , like in the examples. http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/eventlinksinaloop http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/formsinaloop On 23 Sep 2014, at 9:42 pm, Boris Horvat wrote: > Html doesn't supprit div

Re: zone on a

2014-09-23 Thread Boris Horvat
Html doesn't supprit div or any other tag in the middle of the table so browser will remove it. I have learned that the hard way. You have 3 options. Dont use table. Use ajaxformloop. Put zone inside the On 23 Sep 2014 12:02, "squallmat ." wrote: > Hi, > > I have a table, one of the row () has

Re: zone on a

2014-09-23 Thread Geoff Callender
Here are 2 working examples you can use as a reference point: http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/eventlinksinaloop http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/formsinaloop Cheers, Geoff On 23 Sep 2014, at 8:01 pm, squallmat . w

zone on a

2014-09-23 Thread squallmat .
Hi, I have a table, one of the row () has been included in a Zone. But when I ajax-update this zone, I see that this zone is removed from the table and is displayed in a div just before the table. Why this modification at zone update ? And how to prevent it ?