Re: [Tobago] Javascript reload after Ajax Request.

2010-06-14 Thread Volker Weber
Hi, in tobago 1.0.x is no support for tc:script during ajaxReload :-( It is planned for 1.5, but, afaik, not implemented yet. You can solve this in 1.0.x by using a tc:out with script content inside the ajax reloaded panel. eg. replace a tc:script file=scripts/myFunctions.js onload=jsFunction()

JSF Comps Project/Barcoding

2010-06-14 Thread John Ament
Hi all I've been looking for a decent component in JSF for generating barcodes. I found one in jsf comps and saw that it was somehow related to the MyFaces project. Are these components still supported? They look a little old... John

Re: t:saveState works with tabs - but I don't know why!

2010-06-14 Thread Werner Punz
Are you on client side state saving, in client side the entire state is saved into the viewstate element of the form. So Multi window/tab handling is a non issue there. In server side the viewstate is just used to connect the client to the correct viewroot on the server. (I assume myfaces

Re: JSF Comps Project/Barcoding

2010-06-14 Thread Jakob Korherr
Hi John, I guess jsf-comp is related to MyFaces, because some MyFaces developers founded the sourceforge project (arobinson74 and mkienenb). Actually I don't know about the support exactly, but it seems that you're right. There has not been a lot of activity on the project in the last months and

Re: How can I notice if there are facesmessages via ajax

2010-06-14 Thread Jakob Korherr
Hi Mark and Werner, You could also add a h:messages component to the page and re-render this one in any ajax-request. If the dom-update for this component is not empty, then you know that there are FacesMessages. Regards, Jakob 2010/6/13 Werner Punz werner.p...@gmail.com Am 13.06.10 07:11,

ExtVal Cross-Validation using validation groups?

2010-06-14 Thread mynewsgroups
Hi, is it possible to use ExtVal's cross validation constraint annotations, such as RequiredIf, together with a validation group? How to do this? I'm missing an attribute groups... Thanks, Tom -- WM 2010: Top News, Spielpläne, Public Viewing-Termine, E-Cards und alles, was der Fan sonst

Re: JSF Comps Project/Barcoding

2010-06-14 Thread Mike Kienenberger
jsf-comp is a collection for jsf-related projects which didn't qualify for Myfaces for one reason or another. We made it a place which had much more lenient access (if you wanted access, you got it), and often things that were highly experimental ended up there. Some of those experiments were

AW: [Tobago] Javascript reload after Ajax Request.

2010-06-14 Thread Abushammala, Hani (EXTERN: FTP)
Hi Volker, I've tried to load a js file with Tobago.ScriptLoader, but i got the message myFunction is not defined. Then i've tried to call the function dirctly by letting the array empty, but the function was called for just a once at time. What am I Doing Wrong? Code- tc:out escape=false

Re: ExtVal Cross-Validation using validation groups?

2010-06-14 Thread Gerhard Petracek
hi, it's important to mention that the property-validation module is not based on bean-validation. - you can't use groups out-of-the-box. however, [1] shows a simple demo which illustrates the implementation of a custom group concept based on the constraint aspect concept. (and for simple cases

Re: Using Tiles 2.2 with myfaces/tomahawk

2010-06-14 Thread rada
I was trying to combine myfaces with tiles 2.1 and the same result. I have a working Tiles project and a working MyFaces project The result is xml hell with of course large number of cryptic impossible to understand errors. One should create a XML free Java. It took 6 years for J2EE to

Re: Using Tiles 2.2 with myfaces/tomahawk

2010-06-14 Thread Werner Punz
Hi you are describing exactly the reason why people have been moving to facelets in the jsf realm several years ago. My recommendation is simply forget about Tiles use Facelets. It does the same and more as tiles, and comes natively with JSF 2.0 as new templating/rendering layer. So people have

Re: How can I notice if there are facesmessages via ajax

2010-06-14 Thread Werner Punz
Thats basically solution 1 I proposed, but somewhat easier then to check the entire response :-) Werner Am 14.06.10 13:31, schrieb Jakob Korherr: Hi Mark and Werner, You could also add a h:messages component to the page and re-render this one in any ajax-request. If the dom-update for this