Re: [orchestra] Question about orchestra

2008-04-24 Thread simon
On Wed, 2008-04-23 at 21:50 +0200, [EMAIL PROTECTED] wrote: Hi, in my application I’m using Shale basic dialog manager and I need to have two or more active dialogs on differents windows at same time. Now, Shale does not work because it can manage just one dialog at the time. Do I have

RE: [orchestra] Question about orchestra

2008-04-24 Thread mario.buonopane
Simon, thank for the response. I tried to read the documentation but I don't really anderstand what Orchestra do. I understood that Orchestra give the possibility to define a Managed Bean with a scope Conversation. But how can start a conversation? Sorry if the answer is in some doc I did not

RE: [Orchestra] Explicit conversation starting and nested conversations

2008-04-24 Thread mario.buonopane
Hi, I have an application using a Managed Bean with scope HttpSession to store informations. My customer want use IE Tabs or more browser windows to use the same function simultaneously. For axample, suppose a Call Centre to manage Claims. The user is inserting data for a Claim reading from a

Re: [orchestra] Question about orchestra

2008-04-24 Thread Werner Punz
[EMAIL PROTECTED] schrieb: Simon, thank for the response. I tried to read the documentation but I don't really anderstand what Orchestra do. I understood that Orchestra give the possibility to define a Managed Bean with a scope Conversation. But how can start a conversation? A conversation is

Re: facelets: custom component and custom converter

2008-04-24 Thread arne anka
thought, i mentioned it already -- there is no xhtml involved. i try to do it entirely in java: public class FedoraObjectContentComponentUI extends UIOutput { private byte[] myObject = null; private String myMime, myDS, myID; @Override public String

tr:form + tr:commandButton not working

2008-04-24 Thread dushyant agarwal
Hi I installed FireBug with Mozilla FireFox. In my JSP page I had got a tr:from and a tr:commandButton. On clicking on the commandButton the following process took place. In one Page1.jsp I have got the following code: f:view tr:document tr:form id =form1 binding=#{backing_Page1.form1}

Re: [Orchestra] Explicit conversation starting and nested conversations

2008-04-24 Thread Mario Ivankovits
Hi! The user is inserting data for a Claim reading from a paper, receive a call and start to insert a new Claim in a new browser window (or tab). At the moment I have two browser using the same HttpSession, the same function and same shared data and my application does not work! For this,

RE: [Orchestra] Explicit conversation starting and nested conversations

2008-04-24 Thread mario.buonopane
Thanks a lot Mario. So, next step for me is following: I'm using Shale Dialog Manager that store dialog data in HttpSession in a Managed Bean with scope session. I don't know if I understood very well, but I'm going to fix Shale to store data in the current conversationContext. So I can have same

Re: [Orchestra] Explicit conversation starting and nested conversations

2008-04-24 Thread Mario Ivankovits
Hi! I don't know if I understood very well, but I'm going to fix Shale to store data in the current conversationContext. So I can have same dialog in differents windows. Do you think I have a chance of success? ( :) ) Yep, sounds very good! Don't know if Shale allows this easily, though.

Re: tr:form + tr:commandButton not working

2008-04-24 Thread Richard Yee
Don't use 'submit' as an id. It is already used as a variable name in the .js code. -Richard On Thu, Apr 24, 2008 at 4:05 AM, dushyant agarwal [EMAIL PROTECTED] wrote: Hi I installed FireBug with Mozilla FireFox. In my JSP page I had got a tr:from and a tr:commandButton. On clicking on

RE: MyFaces Tree2 Component

2008-04-24 Thread Nutulapati, Krishna
Hi Suresh, I could not able to move forward. I'm really looking for your help. As you suggested, I also emailed to you gmail account.Your help would be extremely appreciated. Please give me your phone number if you can, so that I will call you. I'm in a sort of critical situation, where I'm

Help required regarding request thread hanging and incomplete response flushed

2008-04-24 Thread bhukum
Hi, We have a jsf application using myfaces (1.1.4) and tiles support from tomahawk (1.1.4). In this application we are facing a weird problem at random. When there are multiple users are accessing the application, a random request thread hangs. There is partial response rendered to the browser

Re: facelets: custom component and custom converter

2008-04-24 Thread Andrew Robinson
I am looking at the ComponentHandler.java from Facelets 1.1.14 and I see no meta rules for converter. This means that converter=#{} would be set without any type of special handling. So: my:component value=foo converter=contentConverter / Is definitely nod valid syntax. The converter must

Re: facelets: custom component and custom converter

2008-04-24 Thread Scott O'Bryan
Arne, Can you please use the ResponseWriter.beginElement and ResponseWriter.endElement method for handling elements? It makes things a lot more flexible be cause the renderkit knows what kind of content you are passing into it. The more information we have without needing to parse the

Re: MyFaces Tree2 Component

2008-04-24 Thread Andrew Robinson
Krishna, I strongly recommend starting a new email thread with [Trinidad] in the subject. The fact that you replied to a Tomahawk Tree2 thread asking for Trinidad tree / treeTable help pretty much stops all the Trinidad developers and users from helping you. Most when they see [Tomahawk] and

Re: MyFaces Tree2 Component

2008-04-24 Thread Scott O'Bryan
Maybe commons can help fix some of that... Grzesiek wrote: Personally I regret tomahawk can't be used without myfaces (dependencies on `_shared` jars). 2008/4/21, spaduri [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hi Krishna Tomahawk, trinidad are alomost similar implementations

Re: facelets: custom component and custom converter

2008-04-24 Thread arne anka
Example, instead of: writer.write(brFoo/br); do the following writer.beginElement(br, null); writer.write(Foo); writer.endElement(br); well, it was only a snippet modified in the mail editor --and as usually one introduces errors at those occasions ;-) i assure that i am using

Re: MyFaces Tree2 Component

2008-04-24 Thread Andrew Robinson
Tomahawk works fine on Mojarra. The shared dependency need dates back a couple of years. On Thu, Apr 24, 2008 at 10:43 AM, Scott O'Bryan [EMAIL PROTECTED] wrote: Maybe commons can help fix some of that... Grzesiek wrote: Personally I regret tomahawk can't be used without myfaces

JSF validation question?

2008-04-24 Thread Zheng, Xiahong
Two scenarios: Scenario 1. Form submission: Our security requirement mandates that we implement some sort of default validation on fields that do not have validator attached to them. That is, if validators are missing on the input fields, we have to do some minimal validation. Otherwise, JSF will

JSF Bean Request Scope - Issues

2008-04-24 Thread bansi
I have a JSF Bean in Request scope and onsubmit of JSF form all the bean properties are null. I did verify form fields having values before submit from Http Headers (i.e. FireFox Plugin ) The moment I click the submit button and check the values of bean properties thru logger they are null Note

Re: JSF/MyFaces Request Scope Bean doesnt call Action Method

2008-04-24 Thread bansi
Andrew I hope its silly question but its not. I am able to find the solution and it is remove the rendered attribute if it returns false action method never gets called. Their are other challenges like on submit of jsf form bean properties are null which i just posted on this form Andrew

Re: JSF/MyFaces Request Scope Bean doesnt call Action Method

2008-04-24 Thread Andrew Robinson
A component should not have its rendered state changed between rendering and the invoke application phase. A non-rendered component will not decode, validate, update or render. On Thu, Apr 24, 2008 at 12:29 PM, bansi [EMAIL PROTECTED] wrote: Andrew I hope its silly question but its not. I am

[Facelets][Trinidad] Re: Announcement: Open Source Jawr library available for Facelets users

2008-04-24 Thread Renzo Tomaselli
Looks really good. For Trinidad users - a rather obvious question: since Trinidad appears to do more or less the same - is there any chance to wire things so that single files (js and css) are rendered ? I know that Trinidad does merging on the fly - so that we are not allowed to configure

Re: [Facelets][Trinidad] Re: Announcement: Open Source Jawr library available for Facelets users

2008-04-24 Thread Scott O'Bryan
The files do all exist in the jars, so it's possible you can configure Jawr to do this if you wanted too. But currently there is no way to have trinidad NOT link to the common js. Truthfully though, Trinidad is pretty light on the javascript and library segmentation (unless it's done

Re: JSF Bean Request Scope - Issues

2008-04-24 Thread bansi
I further investigated the problem and thinking if its MyFaces issue as i am using t:saveState for form fields mapped to model objects and that works fine but bean properties are becoming null. I have the following snippet in action method which shows the bean properties does have values in it.

h:selectOneMenu disabled=true returns null submitted value

2008-04-24 Thread Guy Bashan
Hi, It seems that when h:selectOneMenue is disabled, getSubmittedValue (of that selectOneMenu using binding property) returns null instead of the submitted value. Is it a correct behavior? Guy.

RE: MyFaces Tree2 Component

2008-04-24 Thread spaduri
Hi Matt Thanks for the reply. Well My environments doesn't let me know use AJAX4JSF, the maximum I can use is older version of MyFaces and Tomahawk components to build the Navigation tree.. Like . Conditions: 1) Need to construct the Tree based on backend data. 2) All the Parents and

Re: h:selectOneMenu disabled=true returns null submitted value

2008-04-24 Thread Andrew Robinson
Yes and no, disabled HTML controls do not submit values to the server. So there is no submitted value, not that it is not returning the submitted value. On Thu, Apr 24, 2008 at 1:14 PM, Guy Bashan [EMAIL PROTECTED] wrote: Hi, It seems that when h:selectOneMenue is disabled, getSubmittedValue

More problems with disabled property of h:selectOneMenu

2008-04-24 Thread Guy Bashan
Hi, When I try to set using javascript the disabled property to true. I get this weird server exception: javax.faces.FacesException: Exception while setting value for expression : #{cmp_delivery.selectedEndDateYear} of component with path : {Component-Path : [Class:

RE: h:selectOneMenu disabled=true returns null submitted value

2008-04-24 Thread Guy Bashan
Thanks, It seems like the logical behavior, and also consistent with traditional HTML not passing disabled inputs. (still, there are cases in which you want to save the value of a disabled control...) -Original Message- From: Andrew Robinson [mailto:[EMAIL PROTECTED] Sent: Thursday,

JSF/MyFaces Converter getAsObject() method doesnt get called

2008-04-24 Thread bansi
I have two h:selectManyList boxes and a custom converter On form load, right box gets populated with some values and has converter attached to it , the getAsString() method is invoked When i hit submit button the page it goes directly to the action method without invoking converter Wondering

Re: More problems with disabled property of h:selectOneMenu

2008-04-24 Thread Andrew Robinson
A non-disabled, rendered component should have a submittedValue. By hacking the client DOM you are kind of invalidating to contract of the component. I think a better method is to use PPR to change the disabled property of the component re-render the component. Renderers are not supposed to have

Re: h:selectOneMenu disabled=true returns null submitted value

2008-04-24 Thread Andrew Robinson
The value hasn't changed, there is no reason to send it back to the server. If you have that value in a request scope, it is your job to manage the state. 1) use conversations (seam or orchestra) 2) use t:saveState 3) use h:inputHidden -Andrew On Thu, Apr 24, 2008 at 3:03 PM, Guy Bashan [EMAIL

Re: JSF/MyFaces Converter getAsObject() method doesnt get called

2008-04-24 Thread Andrew Robinson
Is the value null? Null values are never validated or converted On Thu, Apr 24, 2008 at 5:35 PM, bansi [EMAIL PROTECTED] wrote: I have two h:selectManyList boxes and a custom converter On form load, right box gets populated with some values and has converter attached to it , the

RE: MyFaces Tree2 Component

2008-04-24 Thread Singh, Kiran 1. (NSN - IN/India - MiniMD)
Hi, I have constructed a similar tree as in the below mail based on schema elements. Im using clientSideToggle=true, the tree is expanded on click. But the problem im facing is on click of child elements the actionListener (spmlTreeBacker.displayAttributes) is not getting invoked. If any one