Re: Sorting dataTable

2006-01-10 Thread gramani
Marco [EMAIL PROTECTED] wrote on 01/10/2006 07:41:34 AM: Hi Everybody; Thanks a lot for last replies :) I need to know the steps to make a dataTable sortable ? Thanks a lot As Ronald wrote, look at the examples first - they are pretty good. Also i quote below what Simon wrote when I

Re: Sorting dataTable

2006-01-10 Thread gramani
Marco [EMAIL PROTECTED] wrote on 01/10/2006 08:52:39 AM: OK I tried to do like the examples said but nothing worked..maybe because i did not have the source beans of the examples leaded me to misunderstanding. i tired another way.. This is what i thought..The header will be command

Re: Sorting dataTable

2006-01-10 Thread gramani
Marco [EMAIL PROTECTED] wrote on 01/10/2006 09:02:08 AM: Can you please give me the URL ? Thanks a lot You mean for the source? http://myfaces.apache.org/source.cgi will give you the release version.. not sure if this is what you are asking..? Regards, Geeta

Re: Sorting dataTable

2006-01-10 Thread gramani
Marco [EMAIL PROTECTED] wrote on 01/10/2006 09:17:55 AM: No..I meant the sortable dataTable source (jsp, beans config). Thanks Beans: src\examples\simple\src\java\org\apache\myfaces\examples\listexample\ jsps: src\examples\simple\ config: src\examples\simple\WEB-INF\ Geeta

Re: AddResource issue

2006-01-08 Thread gramani
Simon Kitching [EMAIL PROTECTED] wrote on 01/08/2006 04:57:59 PM: The code that processes queued resources and actually modifies the generated page to include them is the ExtensionsFilter. If you don't have this filter mapped for *.jsf then that would explain your problem.

Re: h:dataTable t:dataTable Dynamic Columns

2006-01-06 Thread gramani
Matias Gomez Carabias [EMAIL PROTECTED] wrote on 01/06/2006 09:29:57 AM: Hi all, I came up with the following problem and I was wondering if someone experienced the same issue. The deal is the following. I have to fill up the dataTable with values sent by the backend to the WebTier of the

Re: Open new browser window.

2006-01-03 Thread gramani
Matias Gomez Carabias [EMAIL PROTECTED] wrote on 01/03/2006 10:41:38 AM: Hi guys, I need a tip on how to open a new window, let's say via an commandLink or outputLink with parameters, and set some properties to the new page, such as scrollbars=no, height, width, etc... If I have to do this

RE: Open new browser window.

2006-01-03 Thread gramani
Matias Gomez Carabias [EMAIL PROTECTED] wrote on 01/03/2006 12:59:04 PM: Geeta, thanks for your reply, Ive solved using the following approach: h:commandLink id=dTSearch styleClass=aSearch > open('DocumentTypes.faces','','width=200,height=300,top=100,left=100') h:outputText value=Find

Re: Paging Control -- Help

2006-01-03 Thread gramani
Mike [EMAIL PROTECTED] wrote on 01/03/2006 10:00:30 AM: Hello all, I think I've almost gotten the paging component working with the sorting component for an ArrayList-based data model. If I remove the paging part from the JSP, the page still sorts and saves correctly. But, when I

Re: Paging Control -- Help

2006-01-03 Thread gramani
Mike [EMAIL PROTECTED] wrote on 01/03/2006 12:37:30 PM: Hi Geeta, Can you explain what the rowId signifies in the data table when using the paging component? I believe it identifies a unique row within your data table. For example, your tx class should have a getType() method and type

Re: Paging Control -- Help

2006-01-03 Thread gramani
Mike [EMAIL PROTECTED] wrote on 01/03/2006 01:39:37 PM: Hi Geeta, Thanks for the suggestionOkay, we're getting close :-) I added the link href="" rel=stylesheet type=text/css / to the JSP. When I removed the f:actionListener type=DataScrollerActionListener/ it works!

Re: Formating outputText

2006-01-03 Thread gramani
Vladimir Coutinho [EMAIL PROTECTED] wrote on 01/03/2006 03:43:59 PM: I'm trying to output a row of a table and I need a diferent format. There is a way to use a function to format the output in jsf? On 1/3/06, Simon Kitching [EMAIL PROTECTED] wrote: On Mon, 2006-01-02 at 15:41 -0300,

Re: Getting sorting to work in data table -- header click does not call sort method

2005-12-30 Thread gramani
Hi Mike, Mike [EMAIL PROTECTED] wrote on 12/30/2005 09:29:47 AM: Hello, I think I have everything set up correctly now to sort my Data Table, but clicking on a header column still does not call the sort() method. In fact, nothing happens. I had the exact same problem a

Re: Getting sorting to work in data table -- header click does not call sort method

2005-12-30 Thread gramani
hi again Mike, Mike [EMAIL PROTECTED] wrote on 12/30/2005 11:50:17 AM: Thanks for the info. I'm a little closer, but I'm still having problems. h:column f:facet name=header t:commandSortHeader columnName=personName arrow=true h:outputText value=#{msgs.PersonName} /

Re: Getting sorting to work in data table -- header click does not call sort method

2005-12-30 Thread gramani
Mike [EMAIL PROTECTED] wrote on 12/30/2005 12:36:39 PM: Hi Gretta! Thanks for your reply. Please see my comments in-line below Mine is: value =#{TD.getPersons} Shouldn't you simply have #{TD.persons} ? Here's what i have: t:dataTable id=contactsearchdata styleClass=scrollerTable

RE: Data Table Sorting still not working

2005-12-30 Thread gramani
Mike, Tom:FirstMike, maybe it was a typo, but you said you had "Persons". Hope you meant "persons" (lower case).Here's a complete example which works fine for me. I'll try to explain what i understand what needs to be done. But first the code:My backing bean (or the bean that's "behind" the

Re: Getting sorting to work in data table -- header click does not call sort method

2005-12-30 Thread gramani
-Simon Kitching [EMAIL PROTECTED] wrote: -I think you're referring to issues about mapping javabean property names to getter/setter method names. This is indeed a bit complicated when the property name starts with a capital letter.However that does not apply in this case; the TD is a

Re: Javascript problems with inputDate with calendar enabled

2005-12-21 Thread gramani
Luiz Carlos Geron [EMAIL PROTECTED] wrote on 12/21/2005 06:38:03 AM: I saw a page [1] on myfaces site saying that I need to use the extensions filter, so I added these lines to my web.xml: filter filter-nameMyFacesExtensionsFilter/filter-name

Re: inputDate - no popupCalendar

2005-12-14 Thread gramani
Jan [EMAIL PROTECTED] wrote on 12/14/2005 03:24:51 PM: Hi, Does somebody know what's the trick to get inputDate or inputCalendar calendarpopup to work? What ever I try, the popup just doesn't show - no matter using Firefox or IE. Are there special filters, config params something else to

Re: AW: inputDate - no popupCalendar

2005-12-14 Thread gramani
Jan [EMAIL PROTECTED] wrote on 12/14/2005 04:34:55 PM: Hi, unfortunately I already configured the extension filter. The Filter maps to /jsp/*, *.jsp, *.jsf, *.htm . I tried everything. And it seems to work the needed *.js files are included. But somehow, the popup never pops up

Re: AW: AW: inputDate - no popupCalendar - solved

2005-12-14 Thread gramani
Jan [EMAIL PROTECTED] wrote on 12/14/2005 04:58:49 PM: hmm I thought these mappings have something in common with my own used files. And I dont have files named *.faces and no folder called faces. So I didnt include these filter mappings.. Im pinky, not brain ! AND YOU ARE THE KING OF

Re: t:inputCalendar with renderPopup = true

2005-12-12 Thread gramani
Mike Duffy [EMAIL PROTECTED] wrote on 12/12/2005 01:00:28 PM: I just went through the same thing. From a previous post: It would be a good idea to add a note to the documentation page for t:inputCalendar/ (http://myfaces.apache.org/tomahawk/calendar.html), stating, This component

Re: dataTable question

2005-12-08 Thread gramani
news [EMAIL PROTECTED] wrote on 12/08/2005 05:02:15 PM: hilz wrote: In other words... does the property that i bind to the outputText have to be a real bean property with a getter and a setter? or could it be just a getter (like what i showed in the example above) without the actual

Re: f:verbatim problem

2005-12-07 Thread gramani
news [EMAIL PROTECTED] wrote on 12/07/2005 02:46:07 PM: Hi all... I have the following dataTable: h:dataTable binding=#{CreateInstance.dataTable1} id=dataTable1 value=#{CreateInstance.dataTable1Model} var=currentRow f:verbatim colgroup col width=200px/ col

Re: f:verbatim problem

2005-12-07 Thread gramani
news [EMAIL PROTECTED] wrote on 12/07/2005 03:39:11 PM: Thanks for the answer Geeta Adding them in the h:column will show up in the html file, but it won't give the results i want. the table looks weird if i do that... I think the style suggestion is the way to go, but...now this

Re: AW: WIKI article - How JSF State Management Works

2005-11-30 Thread gramani
Hi Mathias, I think your problem is similar to mine. Mathias Brökelmann solved it: http://www.mail-archive.com/users@myfaces.apache.org/msg11289.html Regards, Geeta [EMAIL PROTECTED] wrote on 11/30/2005 12:50:18 PM: Hi! Many thanks for your response. I just implemented the Serializable

method of managed bean is not hit unless it is in session scope..?

2005-11-29 Thread gramani
I have a Shale/MyFaces/tiles application which almost works. I have been staring at this so long I think I'm confusing myself even further.. Here's my problem (which may or may not be related to opening new windows using _javascript_): I have the foll. code in worklist/nextAssignment.jsp:

Re: Accessing a session-scoped backingbean

2005-11-18 Thread gramani
Bobby Rosenberger [EMAIL PROTECTED] wrote on 11/18/2005 11:57:28 AM: Hey guys, I would like to access a session scoped backingbean (user) from an actionListener... I'm currently doing something along the lines of: FacesContext context = FacesContext.getCurrentInstance();

Re: Accessing a session-scoped backingbean

2005-11-18 Thread gramani
Sorry, please ignore what i said.. didn't read your question properly..sorry! Geeta

Re: Accessing a session-scoped backingbean

2005-11-18 Thread gramani
[EMAIL PROTECTED] wrote on 11/18/2005 12:09:16 PM: Actually, that method *does* work as well, if your backing bean extends Shale's AbstractViewController base class. umm.. well, ok... I just figured I must be wrong seeing as you didn't choose that answer..! (I guess your answer covers the

Re: Error at startup

2005-11-08 Thread gramani
sri [EMAIL PROTECTED] wrote on 11/08/2005 12:04:25 PM: Nov 8, 2005 11:18:47 AM org.apache.myfaces.config.FacesConfigurator feedClassloaderConfigurations INFO: Reading config jndi:C:\oc4j904Test\oc4j9.0.4. 1\j2ee\home\applications\TestApp\web\WEB-INF\lib\myfaces.jar/META-

RE: Some notes of my loadtest results

2005-11-04 Thread gramani
CONNER, BRENDAN \(SBCSI\) [EMAIL PROTECTED] wrote on 11/04/2005 10:16:25 AM: The app I'm working on is currently using STATE_SAVING_METHOD=client, because, at the time our code was written, that was the only way to handle the back-button (and pop-up windows) correctly. Can I assume from

Re: Question about serialization of backing beans

2005-11-02 Thread gramani
Mathias Brökelmann [EMAIL PROTECTED] wrote on 11/02/2005 04:27:56 AM: I usually have a list field which contains the serializable row objects. This field is not transient. If you need the datamodel for the datatable use a transient field for this and check in the getter method for this field

Question about serialization of backing beans

2005-11-01 Thread gramani
I have a Shale/MyFaces web app which upon logon displays a worklist.jsp which has a t:datatable of assignment links. I am using tomahawk's datatable with sorting and paging with preserveDataModel as *false*. Also, I have STATE_SAVING_METHOD as client, and my WorkListManagerBean has scope of

Re: Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-31 Thread gramani
Myfaces.. Thanks again, Geeta Mathias Brökelmann [EMAIL PROTECTED] wrote on 10/31/2005 04:29:56 AM: do you use sun´s ri or myfaces for the core jsf implementation? 2005/10/30, [EMAIL PROTECTED] [EMAIL PROTECTED]: Thanks for your reply Mathias. I attach my bean code here. Please note

Re: Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-31 Thread gramani
Mathias Brökelmann [EMAIL PROTECTED] wrote on 10/31/2005 08:35:43 AM: the problem is a little bit tricky ;) If you use preserveDataModel=true the value of your datamodel is not requested until in the renderphase and will not be used for iteration and setting rowindex. This is the reason

Re: Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-31 Thread gramani
Mathias Brökelmann [EMAIL PROTECTED] wrote on 10/31/2005 08:35:43 AM: the problem is a little bit tricky ;) If you use preserveDataModel=true the value of your datamodel is not requested until in the renderphase and will not be used for iteration and setting rowindex. This is the reason

Re: Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-30 Thread gramani
Thanks for your reply Mathias. I attach my bean code here. Please note that the command links work correctly when within an ordinary datatable with no paging/sorting. It was when i was attempting to see why that I noticed the pattern of what looks like incorrectly computed rowIndices that i

Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-28 Thread gramani
Hi all: I am having trouble getting command links to work correctly when I use tomahawk's t:dataTable for scrolling and sorting. Briefly, the rowIndex doesn't seem to be correct: I have breakpoints in my code which shows me that while rowCount is correctly computed, for some reason rowIndex

Re: Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-28 Thread gramani
So.. maybe I can ask this question differently..? Has anybody made command links work within a t:datatable with scrolling and sorting also enabled (using tomahawk.jar's tags)? If so would you please post your code? Many thanks in advance! Geeta [EMAIL PROTECTED] wrote on 10/28/2005 05:28:13

Re: Value binding - exception: can somone explain?

2005-10-21 Thread gramani
Not sure but aren't you mixing up firstName and surname maybe..? Geeta Jeffrey Porter [EMAIL PROTECTED] wrote on 10/21/2005 11:47:45 AM: Hello all again, Ive got the following tag in my JSP. UserController.user.surname is a string. h:inputText id=enteredByUID

RE: Value binding - exception: can somone explain?

2005-10-21 Thread gramani
Jeffrey Porter [EMAIL PROTECTED] wrote on 10/21/2005 12:04:27 PM: Opps, typo. I moved some code around to try firstname. Both fail though. Let me test one more time JSP h:inputText id=enteredByUID value=#{UserController.user. surname} maxlength=20 size=20 required=true / Code

Re: Error starting App listeners

2005-10-20 Thread gramani
[EMAIL PROTECTED] wrote on 10/20/2005 02:18:26 AM: Hi, We are moving from Sun RI to MyFaces. However, when I deploy my application on Jboss, I get the following error. Can anyone throw some light on this error. I have cross checked all my deployment file and it does not refer to the

Re: IF statement..?

2005-10-20 Thread gramani
[EMAIL PROTECTED] wrote on 10/20/2005 01:50:37 PM: Jeffrey Porter [EMAIL PROTECTED] wrote on 10/20/2005 01:45:04 PM: Does MyFaces contain an IF statement? Something like x:if user.admin == true h:outputLabel value=ADMIN / x:else h:outputLabel value=NOT

Re: Problem with t:commandSortHeader within t:dataTable

2005-10-19 Thread gramani
Simon Kitching [EMAIL PROTECTED] wrote on 10/18/2005 05:25:13 PM: The sortColumn attribute should point to a backing bean property that is of type String. That property gets set (ie its setter gets called) with the columnName value of whatever column the user chose to sort on. The

Problem with t:commandSortHeader within t:dataTable

2005-10-18 Thread gramani
I just started working with myFaces (and tomahawk) for the past couple of days and so I apologize if this question is really basic. Here's what I have: A (Shale) backing bean called worklist with: private DataModel assignmentsModel = new ListDataModel(); ..etc.. private List _assignments;

Re: Tiles standalone

2005-10-04 Thread gramani
Here's a bare-bones you can download Shale/jsf app with tiles integration: http://www.sightsoftware.com/shale/ But please use at your own risk..:) Geeta Sean Schofield [EMAIL PROTECTED] wrote on 10/04/2005 11:06:49 AM: I've used the Tiles addon from both MyFaces and Shale JSF and they both

Re: Colspan and h:panelGrid

2005-10-04 Thread gramani
Hi, Check this example out: http://www.exadel.com/tutorial/jsf/jsftags-guide.html I think the example under UIPanel should give you the answer. Geeta hicham abassi [EMAIL PROTECTED] wrote on 10/04/2005 03:02:02 PM: Hello, i have a form with a h:panelgrid for my label,input,message

Re: NotSerializableException

2005-09-30 Thread gramani
Martin Marinschek [EMAIL PROTECTED] wrote on 09/30/2005 12:11:59 PM: A very nice summary of the topic! Why don't you integrate this summary somewhere on the WIKI - where it fits? We need more commentary like this on the WIKI! +1!! my email MyFaces-save subfolder is getting filled up