HowTo: change scheme, server or port for action urls?

2005-07-28 Thread Broekelmann, Mathias
Does anyone have a solution for that? We have a site which is running on http for our data. Now we need to switch to https if the user logs in to protect transmitting of the credentials. I can´t do that with a redirect since the user can define username and password on every page and press the

RE: HowTo: change scheme, server or port for action urls?

2005-07-28 Thread Broekelmann, Mathias
? An outputLink which points to a https address does not work for you? Regards, Bruno 2005/7/28, Broekelmann, Mathias [EMAIL PROTECTED]: Does anyone have a solution for that? We have a site which is running on http for our data. Now we need to switch to https if the user logs in to protect

RE: Variable cell style classes in data table

2005-07-28 Thread Broekelmann, Mathias
I´ve create a special column component which allows you to define different styles and more for the cells. It just needs some testing. I think I will have commited it tomorrow. Best Regards, Mathias -Original Message- From: Richard Wallace [mailto:[EMAIL PROTECTED] Sent: Thursday,

RE: how to display data in DataTable

2005-07-25 Thread Broekelmann, Mathias
Title: Nachricht You have instances of java.lang.Long in your rows. Don´t use {row.id} but {row} since Long doesn´t have a getId() Method. -Original Message-From: Shibi Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 3:13 PMTo: Bruno Aranda;

RE: Datamodel refresh

2005-07-19 Thread Broekelmann, Mathias
Title: Nachricht The implementation of the datatable in 1.0.9 contains some bugs which we are going to resolve for the next release. The datatable implementationisrefactored in the current svn repository. I´ve just fixed some issues on the new implementation and commited it to the

RE: Welcome James!

2005-07-19 Thread Broekelmann, Mathias
Congratulations. -Original Message- From: Manfred Geiler [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 12:23 PM To: dev@myfaces.apache.org; users@myfaces.apache.org Subject: Welcome James! Ladies and Gentlemen, Please welcome our new MyFaces committer James Mitchell

RE: Problem with MyFaces in MyEclipse

2005-07-13 Thread Broekelmann, Mathias
You have to add the myfaces extensionFilter to your web.xml: !-- Extensions Filter -- filter filter-nameextensionsFilter/filter-name filter-classorg.apache.myfaces.component.html.util.ExtensionsFilter/f ilter-class init-param

RE: Need suggestion for radio navigation

2005-07-07 Thread Broekelmann, Mathias
I do this normaly by using a bean which has access to the radio button values and provides the action method implementation as you mentioned. So you have: rootbean.radio1, rootbean.radio2 ... properties and rootbean.processAction for the action binding. The implementation is quite easy and

RE: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-06 Thread Broekelmann, Mathias
Hi, I currently try to find the cause for bug 228. I think the immediate flag for commandSortHeader and the scroller components defaults to true (Why?) which is the reason why the datamodel is never updated. Mathias -Original Message- From: Martin Marinschek [mailto:[EMAIL

RE: Connecting to MyFaces SVN through a proxy

2005-07-06 Thread Broekelmann, Mathias
Title: Nachricht Hi Mathias, IMO your firewall scans the http stream for valid http commands and don´t support webdav which is used by svn over http. Try to use https to connect to the repository: https://svn.apache.org/repos/asf/myfaces/current Cheers, Mathias -Original

RE: Antwort: RE: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Broekelmann, Mathias
I´ve not tested it against this particular issue. It would save me a lot of time if you are able to test the provided patch against your issue and give me some feedback if it work or not. Mathias -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July

RE: possible to edit Tabular data?

2005-07-05 Thread Broekelmann, Mathias
try using a object with a getter and setter for your input value. So you have: h:dataTable id=params_dt value=#{scriptHandler.parameterModel} var=param h:column id=params_c1 h:inputText value=#{param.value} / /h:column f:facet name=footer h:commandButton

RE: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Broekelmann, Mathias
two? (Generate from the project root please.) sean On 7/5/05, Broekelmann, Mathias [EMAIL PROTECTED] wrote: Hi, I would like to solve this issue. I´ve reimplemented the UIData and derived DataTable components for this issue. However it will take some time to test all usecases

RE: redirect after session timeout

2005-07-04 Thread Broekelmann, Mathias
Try to use a servlet filter. Simply place it before the jsf filter and make the check in the filter. Use: request.getRequestDispatcher(/faces/jsp/login.jsp).forward(request, response) to forward to the login page. You also don´t have to include the jsp code on every page by using a filter.

RE: dinamic order of rendering of columns in data table

2005-06-30 Thread Broekelmann, Mathias
Hi Mike, I´ve done it also and noticed a slight performance issue (20 columns with checkboxes) which increased with more rows. I´m currently not sure if it is my business logic or something within myfaces. Do you have the same problems? Mathias -Original Message- From: Mike

RE: htmlDataTable requests model data between phases

2005-06-28 Thread Broekelmann, Mathias
Hi, Try to initialize the model data through the managed bean and store it´s value in a instance variable of the class: public List getSecRoleList() { if(mSecRoleList == null) { mSecRoleList = createSecRoleList(); } return mSecRoleList; } Mathias

RE: dinamic order of rendering of columns in data table

2005-06-28 Thread Broekelmann, Mathias
Title: Nachricht Hi, You can switch on and off your columns by using the rendered attribute of the column component. You may also try to use the x:columns component of myfaces. Mathias -Original Message-From: Claudio Tamietto [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 28,

RE: dinamic order of rendering of columns in data table

2005-06-28 Thread Broekelmann, Mathias
Try out the openDataTable in the simple examples. -Original Message- From: Claudio Tamietto [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 28, 2005 4:53 PM To: MyFaces Discussion Subject: Re: dinamic order of rendering of columns in data table is there any examples of how to use

RE: dataList component

2005-05-25 Thread Broekelmann, Mathias
Hi Julien, Since a x:datalist do not have columns you may not use h:column in a datalist. x:dataList value=#{AlbumsAction.albums} var=item layout=unorderedList h:outputText value=#{item.value.album_date}/ /x:dataList Mathias -Original Message- From: Julien Martin [mailto:[EMAIL

RE: dataList component

2005-05-25 Thread Broekelmann, Mathias
: Re: dataList component Mathias, You're right. I added a System.out.println in the javabean and the getter method is never called. I am puzzled. Any clue? Julien. - Original Message - From: Broekelmann, Mathias [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org

RE: dataList component

2005-05-25 Thread Broekelmann, Mathias
Hello, I have checked everything. The constructor gets called ok but not the getters. By the way the getAlbums method returns a parametized Map. (MapInteger, Album). Julien. - Original Message - From: Broekelmann, Mathias [EMAIL PROTECTED] To: MyFaces Discussion users

RE: Re: aliasbean question

2005-05-18 Thread Broekelmann, Mathias
) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( ThreadPool.java:683) at java.lang.Thread.run(Thread.java:595) Broekelmann, Mathias wrote: Hi Werner, Can you post the full stacktrace of the exception? Mathias -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf

RE: What is happening to the session if a user closes his browser?

2005-05-18 Thread Broekelmann, Mathias
Hi, I think your problem will not be solved even if it is possible to catch the close event of the browser. It is always possible that the connection between your app and the user is broken and the user can not call the logout method. Try using a javax.servlet.http.HttpSessionListener instance

RE: columns

2005-05-17 Thread Broekelmann, Mathias
Hi Jarin, To use x:columns you need to have to have a second collection (contains the index for each element of your nested arraylist) which contains the identifier for each column. You can use this collection for the value attribute in the x:columns component. Define a var in x:columns like the

RE: aliasbean question

2005-05-13 Thread Broekelmann, Mathias
Hi Werner, I think the id of the parent subview of the form must be included in your javascript. So it should look like this: onchange=document.forms['simulatedIncludedSubform1:vform'].submit(); Take a look into the generated html page to find out the right id of the form. Mathias

RE: Re: aliasbean question

2005-05-13 Thread Broekelmann, Mathias
: aliasbean question Broekelmann, Mathias wrote: Hi Werner, I think the id of the parent subview of the form must be included in your javascript. So it should look like this: onchange=document.forms['simulatedIncludedSubform1:vform'].su bmit(); Take a look into the generated

RE: Re: aliasbean question

2005-05-13 Thread Broekelmann, Mathias
Hi Werner, I use the alias bean for more than one alias at the same time. You simply have to nest them: x:aliasbean value=... alias=#{alias1} x:aliasbean value=... alias=#{alias2} !-- reusable component tree which uses alias1 and alias2-- /x:aliasbean /x:aliasbean

RE: Re: aliasbean question

2005-05-13 Thread Broekelmann, Mathias
Hi Werner, Check if myController is not null. Mathias -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz Sent: Friday, May 13, 2005 1:49 PM To: users@myfaces.apache.org Subject: Re: aliasbean question Broekelmann, Mathias wrote: Hi Werner

RE: Re: aliasbean question

2005-05-13 Thread Broekelmann, Mathias
Hi Werner, Can you post the full stacktrace of the exception? Mathias -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz Sent: Friday, May 13, 2005 2:01 PM To: users@myfaces.apache.org Subject: Re: aliasbean question Broekelmann, Mathias wrote

FW: DataTable discussion

2005-05-09 Thread Broekelmann, Mathias
-Original Message- From: Enrique Medina [mailto:[EMAIL PROTECTED] Sent: Sunday, May 08, 2005 7:25 PM To: Broekelmann, Mathias Subject: Re: DataTable discussion Hi again, I've been making some testing, and I've come the the conclusion that your solution only works

RE: DataTable discussion

2005-05-09 Thread Broekelmann, Mathias
-Original Message- From: Broekelmann, Mathias Sent: Monday, May 09, 2005 9:16 AM To: MyFaces Discussion Subject: FW: DataTable discussion -Original Message- From: Enrique Medina [mailto:[EMAIL PROTECTED] Sent: Sunday, May 08, 2005 7:25 PM To: Broekelmann, Mathias

RE: NullPointerException in trivial example

2005-05-09 Thread Broekelmann, Mathias
Hi Michael, Verify your web.xml for this content: !-- Listener, that does all the startup work (configuration, init). -- listener listener-classorg.apache.myfaces.webapp.StartupServletContextListener /listener-class /listener !-- Faces Servlet -- servlet servlet-nameFaces

RE: DataTable discussion

2005-05-06 Thread Broekelmann, Mathias
Hi Enrique, I use an instance of javax.faces.model.DataModel as a value for the datatable. The value is held by a bean which holds the instance of the DataModel. The DataModel instance is used to iterate through the rows of the datatable. When an action is called on a row I only have to get the

RE: DataTable discussion

2005-05-06 Thread Broekelmann, Mathias
this: #{bean.valuesModel} Mathias -Original Message- From: Enrique Medina [mailto:[EMAIL PROTECTED] Sent: Friday, May 06, 2005 3:18 PM To: Broekelmann, Mathias Cc: MyFaces Discussion Subject: Re: DataTable discussion Thanks for your comments Mathias. I am currently using both

RE: set properties of bean managed by dataTable tag

2005-04-14 Thread Broekelmann, Mathias
Hi Jan, Remember: You should not do bussiness logik in the presentation layer. That´s why it is and will be not possible that way. Try to use a managed bean which initializes and holds your contact list. Provide a getContacts() method in that bean which returns the initialized contact beans.

RE: nbsp in value attribute

2005-04-11 Thread Broekelmann, Mathias
Hi Slawek, Try to use css style with the attribute white-space: nowrap; Example: div style=white-space:nowrap; h:commandLink value=#{msg.MENU_TEMP_ORDER} onclick=return openWindowBasket() / /div Use normal spaces in you msg.MENU_TEMP_ORDER value. Mathias -Original Message- From:

RE: extra row in a datatable

2005-04-06 Thread Broekelmann, Mathias
Hi, You should use a footer for the last row. Just use the footer facet like the facet for the header. Don´t place the object Y into the the datamodel but access it through a managed bean which may also hold the datamodel with the rows. A short example: h:datatable value=#{data.rowValues}

RE: new components

2005-03-31 Thread Broekelmann, Mathias
Hi, The crosstable component makes it possible to have a variable count of columns in a datatable. The component is working like this: x:dataTable value=#{data.rows} var=row !-- just a column -- h:column f:facet name=header h:outputText value=fixed column / /f:facet