Re: problems with sort in tomahawk datatable

2007-06-08 Thread Andrew Robinson
Set preserveSort to false as that will make the component attempt to store the sort state instead of letting the backing bean (in this case) store it. On 6/8/07, Wyder, Michael (GMX) <[EMAIL PROTECTED]> wrote: Hi I have 2 jsp's. Page A is the list which can be sorted, the other page B is a deta

problems with sort in tomahawk datatable

2007-06-08 Thread Wyder, Michael (GMX)
Hi I have 2 jsp's. Page A is the list which can be sorted, the other page B is a detail page who shows detail of one entry from page A. My problem is, that the choosen sort is not preserved: I do some sort on page A, then i navigate to page B. Afterthat i navigate back to page A and i see tha

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Shane Petroff
Mike Kienenberger wrote: So the question is why does _id30 get translated to contentPanel_1153 and _id33 get translated to contentPanel_1344 on submit? That would be the question alright... It seems as though the problem actually happens before/during html generation. On submit, it's too late.

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Mike Kienenberger
The cause is probably that mainForm:_id30:_id33:editableAnecdotalComment548806536 != mainForm:contentPanel_1153:contentPanel_1344:editableAnecdotalComment548806536 So the question is why does _id30 get translated to contentPanel_1153 and _id33 get translated to contentPanel_1344 on submit? It l

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Shane Petroff
Andrew Robinson wrote: I would suggest debugging using an IDE at this point. Check out the request header variables and then debug through the decode phase. I'd recommend putting a break point on the warning. At the point where the warning is logged, component.getClientId(FacesContext) doesn't r

Re: [Trinidad] Page flow scope and Back button

2007-06-08 Thread Adam Winer
On 6/8/07, D. Cardon <[EMAIL PROTECTED]> wrote: Hi *, I'm a little uncertain about how the pageFlowScope interacts with the browser's Back button. The documentation states: "...clicking the Back button will automatically reset the page flow scope to its original state." Which 'original st

Re: [Trinidad] Changes to isPostback?

2007-06-08 Thread Adam Winer
On 6/8/07, Francisco Passos <[EMAIL PROTECTED]> wrote: I would too, if I hadn't lost several days trying to get proper bean initialization and statekeeping to work :) As soon as I get some time for this, I'm going back to 1.2 and check it. I'll let you know. One of my doubts prevails though: is

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Shane Petroff
Mike Kienenberger wrote: Another way would be to set a breakpoint somewhere and check what's in the request parameter map for the current request. OK, what I've done is to add a Servlet Filter to the mix (in looking at example code, it seems that the filter may come in handy down the line). Wha

Re: Tobago Table Scrolling

2007-06-08 Thread Bernd Bohmann
Hello Carsten, you have two option for getting the Tobago Version. Only one option is working see: http://svn.apache.org/repos/asf/myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/ServerInfo.java the other option should work until https://issues.apache.or

Re: [Trinidad] Changes to isPostback?

2007-06-08 Thread Francisco Passos
I would too, if I hadn't lost several days trying to get proper bean initialization and statekeeping to work :) As soon as I get some time for this, I'm going back to 1.2 and check it. I'll let you know. One of my doubts prevails though: is it possible to run JSF 1.2 safely on a non J2EE 5 conta

[Trinidad] Page flow scope and Back button

2007-06-08 Thread D. Cardon
Hi *, I'm a little uncertain about how the pageFlowScope interacts with the browser's Back button. The documentation states: "...clicking the Back button will automatically reset the page flow scope to its original state." Which 'original state' is this referring to? For example, suppose I

Re: [Trinidad] Changes to isPostback?

2007-06-08 Thread Adam Winer
This certainly explains why it doesn't work now. I've no idea why it worked in JSF 1.2 - I'm a bit skeptical of that, to be honest. -- Adam On 6/8/07, Francisco Passos <[EMAIL PROTECTED]> wrote: Placed this before calling isPostBack: try { throw new Exception("--when am i calling isP

Re: Myfaces - application calling by link which include parameter

2007-06-08 Thread David Delbecq
Easy way to do it without much complicate front-end code is to use a bean setter to do the initialization job (assuming all you need is the common data initialization case): request: http://server/webapp/something.faces?xyz=abc faces-config.xml: .. somebean

RE: Tobago Table Scrolling

2007-06-08 Thread carsten.manshusen
Hi Helmut, yes, the old 1.0.10 version was a snapshot. Maybe the TobagoVersion class is only in snapshot versions. I removed it from my app. Regards Carsten -Original Message- From: Helmut Swaczinna [mailto:[EMAIL PROTECTED] Sent: Friday, June 08, 2007 6:15 PM To: MyFaces Discussion Sub

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Andrew Robinson
I would suggest debugging using an IDE at this point. Check out the request header variables and then debug through the decode phase. I'd recommend putting a break point on the warning. On 6/8/07, Shane Petroff <[EMAIL PROTECTED]> wrote: Thanks for the suggestions, In reviewing the potential pr

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Mike Kienenberger
I mean that when you hit the submit button, your web browser generates something along these lines name1=value1 name2=value2 name3=value3 name4=value4 Insure that there are values submitted for each of your textfield ids. If you happen to have some proxy software sitting around that will log t

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Shane Petroff
Mike Kienenberger wrote: If there's no such element, then you need to figure out why the element wasn't rendered. I guess I wasn't clear. The components in question are in the generated html. They are enabled and rendered and I can't find anything which might potentially disable them via javas

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Mike Kienenberger
Or, to put this another way, I don't think that debugging MyFaces is going to help you find the error. While it's possible that there's some subtle edge case in MyFaces causing this error, I think the first thing to check is that the expected submitted form value pairs in the html generated matc

Re: Tobago Table Scrolling

2007-06-08 Thread Helmut Swaczinna
I'm not a developer but maybe the TobagoVersion class is only included in releases, not in snapshots? Regards Helmut - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, June 08, 2007 5:59 PM Subject: RE: Tobago Table Scrolling Hi Helmut, I've downloaded a newer 1.0.1

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Mike Kienenberger
Assuming that the error points to a component with id "myTextArea", you should have generated html (use view source before you hit the submit button) that has something along these lines: If so, then you need to figure out why there's no submitted value when you submit the form -- perhaps submi

RE: Tobago Table Scrolling

2007-06-08 Thread carsten.manshusen
Hi Helmut, I've downloaded a newer 1.0.10 version of tobago and now the horizontal scrolling works with data rows in the sheet. Thanks for your support! I'm missing the TobagoVersion class in the new core jar. Is there a replacement? I need it do display the Tobago version in may about dialog. R

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Shane Petroff
Mike Kienenberger wrote: Set a breakpoint on the line generating the error. Your first step is to determine which component value is missing from your form submit. According to the warning message, I can see that there are several text area components which are the problem (I assign the id's mys

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Mike Kienenberger
Set a breakpoint on the line generating the error. Your first step is to determine which component value is missing from your form submit. Once you know that, look at the generated html before the submit and see if you can determine why the input for that component didn't submit a value. On 6/8/

Re: Tobago Table Scrolling

2007-06-08 Thread Helmut Swaczinna
Hi Carsten, there was a problem solved in Tobago 1.0.10 at 14/Feb/07. Maybe you have to fetch a newer version. Regards Helmut - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, June 08, 2007 5:13 PM Subject: RE: Tobago Table Scrolling Hi Helmut, horizontal scrolli

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Shane Petroff
Thanks for the suggestions, In reviewing the potential problems you listed below, I'm still stuck. I don't use ajax, so 1) shouldn't be an issue. I don't disable anything in javascript, so 2) shouldn't affect me. I only use a single form with everything inside it, so 3) shouldn't be an issue e

Re: [Trinidad] Data-display synchronisaion problem

2007-06-08 Thread Stéphane Poirier
Just great! Works perfectly! Thanks all! On 6/8/07, Perkins, Nate-P63196 <[EMAIL PROTECTED]> wrote: Someone correct me if I'm wrong, but you can retrieve a component from the current view root with the following code: FacesContext fc = FacesContext.getCurrentInstance(); UIViewRoot view = fc.

RE: Tobago Table Scrolling

2007-06-08 Thread carsten.manshusen
Hi Helmut, horizontal scrolling doesn't work even with data in the sheet. I'm using Tobago 1.0.10. Is there a workaround? Regards Carsten -Original Message- From: Helmut Swaczinna [mailto:[EMAIL PROTECTED] Sent: Friday, June 08, 2007 4:30 PM To: MyFaces Discussion Subject: Re: Tobago Ta

RE: [Trinidad] Data-display synchronisaion problem

2007-06-08 Thread Perkins, Nate-P63196
Someone correct me if I'm wrong, but you can retrieve a component from the current view root with the following code: FacesContext fc = FacesContext.getCurrentInstance(); UIViewRoot view = fc.getViewRoot(); view.findComponent("yourComponentId"); According to the docs for the 'findComponent'

Re: Tobago Table Scrolling

2007-06-08 Thread Volker Weber
you are right, columns not rendered of cause. 2007/6/8, Helmut Swaczinna <[EMAIL PROTECTED]>: Hi Carsten, it's the columns attribute not rendered. And there's still a bug with horizontal scrolling : http://issues.apache.org/jira/browse/TOBAGO-304 Regards Helmut - Original Message - F

Re: Tobago Table Scrolling

2007-06-08 Thread Helmut Swaczinna
Hi Carsten, it's the columns attribute not rendered. And there's still a bug with horizontal scrolling : http://issues.apache.org/jira/browse/TOBAGO-304 Regards Helmut - Original Message - From: "Volker Weber" <[EMAIL PROTECTED]> To: "MyFaces Discussion" Sent: Friday, June 08, 2007

[Trinidad] Download of a4j-trinidad.jar

2007-06-08 Thread Michael Trompertz
Hello I want to use Trinidad with Seam and Ajax4Jsf. In the wiki http://wiki.apache.org/myfaces/TrinidadSeamAjax4JsfFaceletDetail I read that I need a4j-trinidad.jar. But I can't find this file anywhere. Is the functionality integrated in Ajax4Jsf or Trinidad? Michael

Re: Tobago Table Scrolling

2007-06-08 Thread Volker Weber
Hi Carsten, you can use 'px' values in the rendered attribute. If the summ of the px values is greater than the component size you a horizontal scrollbar. Regards, Volker 2007/6/8, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: Hi, how can I display a data table with horizontal scrolling i

RE: clearing input texts

2007-06-08 Thread anoe
hi fintan when u sent your reply, i was having a look in here: http://wiki.apache.org/myfaces/JavascriptWithJavaServerFaces the link you sent me seems to solve the problem but in the server side, not in the client side. Reading the other article i solved my problem with this code: function r

Re: Myfaces - application calling by link which include parameter

2007-06-08 Thread Volker Weber
Hi, http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls?highlight=%28NonfacesRequest%29#head-6c1aaf488d48f938896da962aaa4361ec3ffaf70 Regards, Volker 2007/6/8, MPF <[EMAIL PROTECTED]>: Hi! How can I realize that? My application get called with a link that contains a paramete

RE: Myfaces - application calling by link which include parameter

2007-06-08 Thread Jesse Alexander \(KSFD 121\)
Google for "JSF GET" or "JSF GET phaselistener" hth Alexander -Original Message- From: MPF [mailto:[EMAIL PROTECTED] Sent: Friday, June 08, 2007 3:48 PM To: users@myfaces.apache.org Subject: Myfaces - application calling by link which include parameter Hi! How can I realize that? My a

RE: clearing input texts

2007-06-08 Thread Conway. Fintan \(IT Solutions\)
Hi Anoe, Does any of the information on this page help? http://wiki.apache.org/myfaces/ClearInputComponents Regards, Fintan -Original Message- From: anoe [mailto:[EMAIL PROTECTED] Sent: 08 June 2007 14:28 To: users@myfaces.apache.org Subject: clearing input texts hi all, i guess thi

Myfaces - application calling by link which include parameter

2007-06-08 Thread MPF
Hi! How can I realize that? My application get called with a link that contains a parameter whom i need to load data. Need to write a frontcontroller?how? someone can help? best regards -- View this message in context: http://www.nabble.com/Myfaces---application-calling-by-link-which-include-p

Re: [Trinidad] Data-display synchronisaion problem

2007-06-08 Thread Stéphane Poirier
Thanks for answering! Sounds like a good solution but I have a little problem... I must not use non-Serializable global variables in my bean (for clustering). I'm just storing the "Object" element corresponding to the selected value of the combobox. Is there another way to do this ? To retrieve th

dataList and JPanel Components

2007-06-08 Thread Érico Teixeira
Hi everybody on the list I'm using the dataList component together with panelGroup component and got a problem with rendering the selected item in my list I'm using tiles to compose all my layout There are tree items in my dataList : home, services and help When it loads the page the tab home

clearing input texts

2007-06-08 Thread anoe
hi all, i guess this is an easy one, but was looking around and couldn't find an answer. Ok, i've got this combo and these inputText fields, i also have an . When i choose st in the list my inputTexts are updating, when i push the 'reset' button is not doing anything. Well, actually it is doing so

Re: selectOneListBox and inputText

2007-06-08 Thread eric . jung
Anoe, Can you post your solution? I'm working on the same problem. Thanks, Eric "Mike Kienenberger" <[EMAIL PROTECTED]> 06/07/2007 03:18 PM Please respond to "MyFaces Discussion" To "MyFaces Discussion" cc Subject Re: selectOneListBox and inputText I think there's a "valueChangeNo

What Would the Transfer Object Look Like If I Have a List of Objects

2007-06-08 Thread Caroline Jen
What would the "transfer object" look like If I have a List of objects and each object has its properties? Do I have a HashSet in my transfer object? To clarify my question, let me give an example. Say, I have a store and I sell music CDs. Each CD has composer, title, and price as its properti

Autocomplete for Text-Inputs in Tobago apps with IE

2007-06-08 Thread carsten.manshusen
Hi, it seems the automcomplete mechanism for text input fields in tobago apps with IE doesn't work even though it is enabled for forms in the IE options. Or do I have to enable it in my Tobago app code? Regards Carsten

Re: [Trinidad] Changes to isPostback?

2007-06-08 Thread Francisco Passos
Placed this before calling isPostBack: try { throw new Exception("--when am i calling isPostback?--"); } catch(Exception e) { e.printStackTrace(); } Here's the result: java.lang.Exception: --when am i calling isPostback?-- at pt.dgaiec.stp.beans.GenericBean.adfIsPos

Re: Trinidad and Portlets

2007-06-08 Thread Matthias Wessendorf
+1 perhaps we can make 1.2 to trunk as well. the current 1.1 has the "build-in" bridge, which is fine w/ me, since not backed by an official paper -M On 6/8/07, Thomas Spiegl <[EMAIL PROTECTED]> wrote: setting up a new sub project for an implementation of JSR-301 is definitely a good idea. I

Tobago Table Scrolling

2007-06-08 Thread carsten.manshusen
Hi, how can I display a data table with horizontal scrolling in a tobago application? Regards Carsten

Re: Trinidad and Portlets

2007-06-08 Thread Thomas Spiegl
setting up a new sub project for an implementation of JSR-301 is definitely a good idea. I think we should start a discussion at [EMAIL PROTECTED] On 6/7/07, Scott O'Bryan <[EMAIL PROTECTED]> wrote: So... What are the next steps for this? Much debate and voting? :) Scott Scott O'Bryan wrote:

Implementing Read Only Mode in a PhaseListener

2007-06-08 Thread Maestro_8
Hi, We have developed a number of data capture screens and we now have the requirement to view them in a read only mode for certain users. We would like to do this centrally without the need to go back and modify all the pages. So our idea was to try to implement this in a PhaseListener in the R

Re: [Trinidad] PPR in panelFormLayout - Changing required/rendered states

2007-06-08 Thread Matthias Wessendorf
+1 for doing it after the 1.0.1 release plugins RC will be provided tomorrow and based on that I branch the CORE to get its 101 out as well -M On 6/8/07, Adam Winer <[EMAIL PROTECTED]> wrote: It's getting very close. FF 2.0, IE 7, and Safari all working fine. I just need to polish up some foc