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
?
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
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,
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;
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
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
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
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
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
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
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
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
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
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.
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
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
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,
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
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
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
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
)
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
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
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
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
: 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
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
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
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
-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
-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
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
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
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
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.
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:
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}
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
38 matches
Mail list logo