Re: [Tobago] Probem with tc:reload and tc:tabGroup

2006-12-08 Thread Volker Weber
Hi Helmut, please add a bugreport to jira. I can take a look onto this todays afternoon. Regards, Volker 2006/12/8, H. Swaczinna [EMAIL PROTECTED]: Hello, I've got a page with a tc:tabGroup and a tc:sheet in one of the tabs. The sheet has a tc:reload tag, which reloadd the sheet every 10

Rendered is called in un-rendered subtree

2006-12-08 Thread Magnus Sandberg
I'm having some issues where rendered is called for components in an unrendered subtree (ie the component already has a parent where rendered=false). After some looking I found this thread: http://www.mail-archive.com/users@myfaces.apache.org/msg24702.html The thread includes an solution, but

Re: JAVAPOLIS

2006-12-08 Thread Bruno Aranda
Hi! I will be around and I have the intention to go to the JSF this! Although a pub near metropolis doesn't seem a very exact place to me... :) Cheers, Bruno On 07/12/06, Jeff Bischoff [EMAIL PROTECTED] wrote: There is a (small) thread also on the Dev list on this. :) Antwerp is too far for

Re: The Positives Of JSF

2006-12-08 Thread Cagatay Civici
Hi, My preferred formula nowadays is (JSF+Facelets+Ajax4JSF)+(Spring+Acegi)+Hibernate too. The formula seem like a long one but these frameworks are very easy to integrate and fit well. For JSF-Spring see : http://wiki.apache.org/myfaces/JSF-Spring_and_JSF There's a JSF-Spring library but I

Re: first row expanded in master detail datatable

2006-12-08 Thread stefan oberbichler
Stefan Oberbichler schrieb: hi, i am using a datatable with the detailStamp. is there a possibility to expand the first row on startup? thx steve no idea for this?? thx

Re: The Positives Of JSF

2006-12-08 Thread Chandru
Hi, Thanks for the info..So, I can be prepared to use all this stuff for my proj.. I will be more thankful if you can mention if any other forums who speak all this Integration Stuff.. Regards, Chandru.. ---Original Message--- From: Cagatay Civici Date:

Navigation Panel byTobago

2006-12-08 Thread prantor
HI, How to desin navigation panel by Tobago like Tomahawk navigation panel. Please explain me if it is possible to design a navigation panel by using Tobago. ---prantor -- View this message in context:

Re: The Positives Of JSF

2006-12-08 Thread Cagatay Civici
Might be useful, http://jroller.com/page/RickHigh?entry=tutorial_for_stack_of_choice1 On 12/8/06, Chandru [EMAIL PROTECTED] wrote: Hi, Thanks for the info..So, I can be prepared to use all this stuff for my proj.. I will be more thankful if you can mention if any other forums who

AW: JSF MyFaces Portlet backing bean instatiations

2006-12-08 Thread Pfau, Oliver
If I am right that there's no way to decentralize the faces-config.xml without changing the myFaces source code ? Von: Pfau, Oliver Gesendet: Freitag, 8. Dezember 2006 08:27 An: MyFaces Discussion Betreff: JSF MyFaces Portlet backing bean instatiations Hi, I

broken sandbox-example? / force validation of all subforms inside a form

2006-12-08 Thread David Delbecq
Hello, i have this little problem with subforms. I have this structure h:form s:subForm id=mainSub s:subForm id=form0 Complex subform that require some server side action from time to time without checking anything outside this subform /s:subForm s:subForm

Re: first row expanded in master detail datatable

2006-12-08 Thread Jeff Bischoff
What is detailStamp? stefan oberbichler wrote: Stefan Oberbichler schrieb: hi, i am using a datatable with the detailStamp. is there a possibility to expand the first row on startup? thx steve no idea for this?? thx

Re: tiny mce and ajax4jsf

2006-12-08 Thread Kevin Galligan
Its in the wiki. Pretty simple, actually... http://wiki.apache.org/myfaces/WYSIWYG_Editor Just add the tiny mce code to your webapp, then on the page add the ' tinyMCE.init' function. It wraps itself onto standard textarea's. On 12/8/06, Alin Dosoniu [EMAIL PROTECTED] wrote: Hi, I have

Re: (kind of off topic) PDF reports in IE :)

2006-12-08 Thread Jeff Bischoff
Sorin, You will find you have to test PDF export/display on many different systems before you find all the issues. One thing that will throw you off is whether or not each client has the Adobe browser plug-in installed, and if so which version. You will get different results depending on

Re: The Positives Of JSF

2006-12-08 Thread Jeff Bischoff
Nebinger, David wrote: AFAIK, JSP will not be refactored to provide better JSF integration, but I could be wrong (I don't keep up so much with the JSP roadmap). Actually, there were some significant changes in JSF 1.2, JSP 2.1 to bring about a realignment. New features include a unified EL

Re: The Positives Of JSF

2006-12-08 Thread Jeff Bischoff
Forgot to include the link to JSP/JSF alignment [1] http://java.sun.com/developer/technicalArticles/J2EE/jsp_21/

Re: AW: JSF MyFaces Portlet backing bean instatiations

2006-12-08 Thread Benjamin Bratkus
On Fri, 8 Dec 2006 13:26:07 +0100, Pfau, Oliver wrote If I am right that there's no way to decentralize the faces-config.xml without changing the myFaces source code ? you can spiltt your faces-config.xml to something like web.xml context-param    

RE: DataScroller - current page?

2006-12-08 Thread albartell
Hope this helps you figure out what to focus on though. Thanks for your response. This gives me refined direction. I don't have any solutions for you, since I always load the full data set into the table. This is also the approach I have taken, but that isn't an option anymore as memory has

Re: tiny mce and ajax4jsf

2006-12-08 Thread Alin Dosoniu
Kevin, Thank you, I will try to use it. Alin. - Original Message - From: Kevin Galligan To: MyFaces Discussion Sent: Friday, December 08, 2006 4:29 PM Subject: Re: tiny mce and ajax4jsf Its in the wiki. Pretty simple, actually...

Re: submit value by commandLink

2006-12-08 Thread David Chandler
CommandLink does submit all values in the enclosing form just like commandButton unless you're using immediate=true and specifying the outcome in the action attribute like this: h:commandLink value=Edit action=success immediate=true / /dmc -- David

[Tobago] Testing Tobago apps with Canoe webtest?

2006-12-08 Thread H. Swaczinna
Hello, are there any expieriences in testing Tobago apps with Canoe webtest? Will it work? Will Canoe handle the Ajax features? We're about to start testing our app with Canoe webtest. If one of you says no chance, we don't need to waste our time with trying it. Regards Helmut

Re: URL for home page(index.jsp) without redirect

2006-12-08 Thread Andrew Robinson
Maybe a little more clear: index.jsf (empty) index.jsp (code) Or with facelets: index.jsf (empty) index.xhtml (code) Of course if you use path mapping like /faces/* instead of extension mapping (*.jsf) you don't need to do any of this. -Andrew On 12/7/06, Nebinger, David [EMAIL PROTECTED]

Re: Rendered is called in un-rendered subtree

2006-12-08 Thread Andrew Robinson
The problem stems from the fact that the rendered flag is just a boolean property, it is not special in any way. By way of standards and the framework, it is up to the renderer to check this flag to see if they should render their code. What is interesting, is this has to be checked in all three

AW: first row expanded in master detail datatable

2006-12-08 Thread Böhringer Jochen
I think you are using the Trinidad table, because you are talking from detailStamp and this is a facet provided by the Trinidad table. If yes this could help you (from the Trinidad documentation http://incubator.apache.org/adffaces/devguide/table.html): Usually, the default behavior of the

Re: Finding an object in a dataTable

2006-12-08 Thread Steve S
David Chandler david.chandler at learnjsf.com writes: Sounds like you need the id in the hidden field to be consistent both before and after sort, which it isn't if you're using a row index (1,2,3...) Could you instead put in the hidden field a unique property of the object in each row so

Re: first row expanded in master detail datatable

2006-12-08 Thread stefan oberbichler
something like this: t:dataTable id=dT width=100% var=sites value=#{someBeanValue} varDetailToggler=detailToggler h:column h:commandButton value=0

singleton validators and converters

2006-12-08 Thread Iordanov, Borislav \(GIC\)
Hi, Is there a standard way/practice to have singleton validators and converters? Those are mostly stateless and in a large application with aggressive input validation, it would make sense to avoid creating them on the fly each time and for each user. Thanks, Bolerio

[Trinidad] Re: AW: first row expanded in master detail datatable

2006-12-08 Thread Jeff Bischoff
Böhringer Jochen wrote: I think you are using the Trinidad table, because you are talking from detailStamp and this is a facet provided by the Trinidad table. If this is Trinidad component, there is another mailing list for Trinidad specifically. See [1] for more info. :) [1]

[Tobago] Whitespaces in HTML output before DOCTYPE

2006-12-08 Thread H. Swaczinna
Hello, Tobago generates some whitespace characters before the DOCTYPE defintionen in the HTML output. Example: - !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html ... - This seems to be no problem for a browser, but HTMLUnit (in Canoo webtest)

RE: singleton validators and converters

2006-12-08 Thread Julian Ray
Wouldn't singletons need to be multi-threaded otherwise you will get probems with concurrency. Would a pooled resource pattern make more sense if you validators/converters are costly to create? _ From: Iordanov, Borislav (GIC) [mailto:[EMAIL PROTECTED] Sent: Friday, December 08, 2006

RE: [Tobago] Whitespaces in HTML output before DOCTYPE

2006-12-08 Thread Nebinger, David
Tobago generates some whitespace characters before the DOCTYPE defintionen in the HTML output. Sounds like a perfect place to use a servlet filter... This problem leads to an other followup problem: The onload script of the body tag is not executed. Sounds like a bug for Httpunit, not

Re: [Trinidad] Re: AW: first row expanded in master detail datatable

2006-12-08 Thread stefan oberbichler
Jeff Bischoff schrieb: Böhringer Jochen wrote: I think you are using the Trinidad table, because you are talking from detailStamp and this is a facet provided by the Trinidad table. If this is Trinidad component, there is another mailing list for Trinidad specifically. See [1] for more info.

Understanding JSF/MyFaces

2006-12-08 Thread lightbulb432
I just deployed my first simple MyFaces application, and have some questions about the generated HTML I see. I am wondering how each of the generated hidden fields and javascript in the output below contribute to MyFace's functionality. How do each of these form fields help JSF do what it does?

RE: singleton validators and converters

2006-12-08 Thread Iordanov, Borislav \(GIC\)
No problem with concurrency, as I said they have no state. A lot of patterns would make sense, but JSF API/taglib doesn't seem to facilitate any of them, hence my question. Best, Bolerio From: Julian Ray [mailto:[EMAIL PROTECTED] Sent: Friday, December

RE: Understanding JSF/MyFaces

2006-12-08 Thread Nebinger, David
How do each of these form fields help JSF do what it does? MyFaces is a wonderful tool, but I'd like to understand how it does what it does (on a high enough level that it might be explained in a couple of detailed replies to this post)...because right now it seems a bit too transparent

Re: singleton validators and converters

2006-12-08 Thread Craig McClanahan
On 12/8/06, Iordanov, Borislav (GIC) [EMAIL PROTECTED] wrote: No problem with concurrency, as I said they have no state. A lot of patterns would make sense, but JSF API/taglib doesn't seem to facilitate any of them, hence my question. Object creation and GC overhead was a very significant

Re: [Trinidad] Re: AW: first row expanded in master detail datatable

2006-12-08 Thread Jeff Bischoff
Stefan, Yes t:dataTable is included in the tomahawk extensions, HOWEVER detailStamp is not. This appears to be some facet of the Trinidad table, not Tomahawk. I'm not familiar with trinidad, so better to ask on their list. Regards, Jeff Bischoff Kenneth L Kurz Associates, Inc. stefan

RE: Understanding JSF/MyFaces

2006-12-08 Thread lightbulb432
Thanks for your response. Which is a good class to set the first breakpoint in, from which I could follow out the rest of the processing? Would it be in the generated servlet, in some kind of interceptor class (if using JBoss), the Faces Servlet, or where? If there's absolutely no information

RE: Understanding JSF/MyFaces

2006-12-08 Thread albartell
Dude, you're getting yourself bogged down on things that you typically don't need to understand. I would disagree. This speaks to what I am trying to accomplish right now with my datascroller problem. I didn't understand some of the details of datascroller when I implemented it, and now I

RE: Understanding JSF/MyFaces

2006-12-08 Thread Nebinger, David
Dude, you're getting yourself bogged down on things that you typically don't need to understand. I would disagree. This speaks to what I am trying to accomplish right now with my datascroller problem. I didn't understand some of the details of datascroller when I implemented it,

Re: Finding an object in a dataTable

2006-12-08 Thread David Chandler
Steve, thanks for posting the JS. I don't do much of it, but what you said about walking the DOM to compute the offset seems most plausible. You could use a hidden field to hold the unique ID of the selected item (perhaps the bank name?), put an id attribute inside the h:outputText for each row,

RE: Understanding JSF/MyFaces

2006-12-08 Thread Nebinger, David
Which is a good class to set the first breakpoint in, from which I could follow out the rest of the processing? Would it be in the generated servlet, in some kind of interceptor class (if using JBoss), the Faces Servlet, or where? I guess if you want to know it all you'd have to start

Re: Understanding JSF/MyFaces

2006-12-08 Thread Mike Kienenberger
On 12/8/06, Nebinger, David [EMAIL PROTECTED] wrote: For client side state saving, no state information will be kept on the server (your session information you've stored is still safe). You normally choose this option when you have large views to deal with or you are serving many end users;

Re: Understanding JSF/MyFaces

2006-12-08 Thread Mike Kienenberger
On 12/8/06, lightbulb432 [EMAIL PROTECTED] wrote: If there's absolutely no information stored on the server, then (assuming somebody could unencrypt the content of those fields) technically somebody could alter the hidden field values, resubmit the form and see something different from what they

RE: Understanding JSF/MyFaces

2006-12-08 Thread albartell
Unless you plan on being a myfaces core contributor, saying you need to know all of the internals in order to understand the concepts is like saying you need to see all of the trees before in order to understand you're looking at a forest. That's a pretty big jump you labeled me with. I am

Re: Understanding JSF/MyFaces

2006-12-08 Thread Simon Kitching
lightbulb432 wrote: Thanks for your response. Which is a good class to set the first breakpoint in, from which I could follow out the rest of the processing? Would it be in the generated servlet, in some kind of interceptor class (if using JBoss), the Faces Servlet, or where? You might find

Display tobago selectable tree

2006-12-08 Thread Wong, Emmanuel \(Sam\)
Hi: Is there a way you could able to display back what you have saved in the database by indicate a checkmark on the Tobago tree? I have set the selectable=multiLeafOnly. When user selected the leafs that would like to save it in the database, then user retrieve back the selected leafs

interesting issue with page reload

2006-12-08 Thread Charbel Abdul-Massih
I am using facelets and JSF (myfaces)... When I update an .xhtml file and reload the page in the browser, everything works fine...However, when I update an attribute of a component such as h:inputText . size=5/ And change the size attribute, I have to close the browser and comeback

Re: Understanding JSF/MyFaces

2006-12-08 Thread lightbulb432
Simon Kitching-3 wrote: Yep. That's why there is an option to encrypt the client-side state. However in general it's not necessary; all the user can do is stuff up their own use of the app. Remember that all JSF does is pass data through to managed beans that then implement the

Re: Finding an object in a dataTable

2006-12-08 Thread Steve S
David Chandler david.chandler at learnjsf.com writes: Steve, thanks for posting the JS. I don't do much of it, but what you said about walking the DOM to compute the offset seems most plausible. You could use a hidden field to hold the unique ID of the selected item (perhaps the bank name?),

value binding generics

2006-12-08 Thread Pesia
Hi! Have anyone tried to use JSF with generic type? Here is the example: class SessionBean{ private ValueWrapperInteger testIntegerWrapper = new DBValueWrapperInteger(); private Integer testInteger2 = new Integer(7); public SessionBean(){

Re: value binding generics

2006-12-08 Thread Jeff Bischoff
Pesia, Last month Daniel had a problem using generic type also. Andrew had some thoughts on why this occurs, which you can read here [1] in the message thread. Or use TinyURL[2] if [1] doesn't work. [1]

Re: [Trinidad] Re: AW: first row expanded in master detail datatable

2006-12-08 Thread Mike Kienenberger
Actually, I think detailStamp is part of the t:dataTable component as well. Unfortunately, I've never used it so I can't help you with it. On 12/8/06, Jeff Bischoff [EMAIL PROTECTED] wrote: Stefan, Yes t:dataTable is included in the tomahawk extensions, HOWEVER detailStamp is not. This

Re: Understanding JSF/MyFaces

2006-12-08 Thread Simon Kitching
lightbulb432 wrote: Simon Kitching-3 wrote: Yep. That's why there is an option to encrypt the client-side state. However in general it's not necessary; all the user can do is stuff up their own use of the app. Remember that all JSF does is pass data through to managed beans that then

Re: [Trinidad] Re: AW: first row expanded in master detail datatable

2006-12-08 Thread Jeff Bischoff
Really? I looked for documentation... don't see any references to it on the docu-web pages or the Wiki. Mike Kienenberger wrote: Actually, I think detailStamp is part of the t:dataTable component as well. Unfortunately, I've never used it so I can't help you with it. On 12/8/06, Jeff

Re: [Trinidad] Re: AW: first row expanded in master detail datatable

2006-12-08 Thread Mike Kienenberger
I've seen it in the source. A quick search turns up: Added in release 1.1.2. http://issues.apache.org/jira/browse/TOMAHAWK-346 On 12/8/06, Jeff Bischoff [EMAIL PROTECTED] wrote: Really? I looked for documentation... don't see any references to it on the docu-web pages or the Wiki. Mike

Re: value binding generics

2006-12-08 Thread Andrew Robinson
Yes your code: class ValueWrapperT{ private T value; public void setValue(T value){ this.value = value; } public T getValue() { return this.value; } } Actually looks like this to the JRE (I'm pretty sure): class ValueWrapper{

AW: Re: AW: Re: [Tobago] How to set individual styles for individual components

2006-12-08 Thread H. Swaczinna
Hello Bernd, I've examined this problem once again and I can provide one more detail to you: If you use your own package path to style.css, the reference to style.css is always listed at first in the HTML page. For example: ... GENA/titlelink rel=stylesheet

AW: RE: [Tobago] Whitespaces in HTML output before DOCTYPE

2006-12-08 Thread H. Swaczinna
Tobago generates some whitespace characters before the DOCTYPE defintionen in the HTML output. Sounds like a perfect place to use a servlet filter... Yes, as a workaround. But the DOCTYPE should the first thing to be found in a HTML document. This problem leads to an other followup problem:

Re: value binding generics

2006-12-08 Thread Pesia
Thanks! Ofcourse you're right! I was confused (because I used to templates in C++ - where compiler generates different type for each generic object instead of cheating like here). (a link for those who are interested in more details: http://www.mindview.net/WebLog/log-0050

Rendering of children/facets during AJAX response

2006-12-08 Thread Matt Tyson
So I've got my tree rendering nodes based on ajax data. Now I want to be able to control the node rendering via facets (a la the tree2 component). My question, is the way to do this: iterate through the facets and children using _FacetsAndChildrenIterator during my ajax response? Basically

Re: value binding generics

2006-12-08 Thread Simon Kitching
The reflection API does have methods for enquiring about generic type information. So although the actual generated code has no types (as Andrew shows), I think the information that the compiler uses to do type checking is encoded in the class file somehow. I would think that this means that

Re: submit value by commandLink

2006-12-08 Thread Dave
But no modelUpdate phase is went through, and the backing bean binding value is not changed. If commandLink submit values like commandButton does, there should be a modelUpdate phase to update values. Thanks, David Chandler [EMAIL PROTECTED] wrote: CommandLink does submit all values in the

Re: URL for home page(index.jsp) without redirect

2006-12-08 Thread Dave
I followed the instructions, added index.jsf (empty) index.jsp (code) and defined the welcome-file-list in web.xml. welcome-file-list welcome-file/index.jsf/welcome-file /welcome-file-list the first(welcome) page loading was successful. but when I clicked any commandLink in

dataTable colspan possible

2006-12-08 Thread Dave
Is it possible for t:dataTable to have colspan ability? or any workaround ? Thanks! - Everyone is raving about the all-new Yahoo! Mail beta.

Re: dataTable colspan possible

2006-12-08 Thread Mike Kienenberger
See http://issues.apache.org/jira/browse/TOMAHAWK-66 for details. On 12/8/06, Dave [EMAIL PROTECTED] wrote: Is it possible for t:dataTable to have colspan ability? or any workaround ? Thanks! Everyone is raving about the all-new Yahoo! Mail beta.

Re: submit value by commandLink

2006-12-08 Thread David Chandler
On 12/8/06, Dave [EMAIL PROTECTED] wrote: But no modelUpdate phase is went through, and the backing bean binding value is not changed. If commandLink submit values like commandButton does, there should be a modelUpdate phase to update values. Thanks, What happens if you simply change the word

Re: URL for home page(index.jsp) without redirect

2006-12-08 Thread David Chandler
Try dropping the leading slash (/) in welcome-file/index.jsf/welcome-file. /dmc On 12/8/06, Dave [EMAIL PROTECTED] wrote: I followed the instructions, added index.jsf (empty) index.jsp (code) and defined the welcome-file-list in web.xml. welcome-file-list welcome-file/index.jsf/welcome-file