The var attribute is only available when the table renderer renders
the rows with the data. the rendered attribute is evaluated before the
rows are rendered. The table renderer requests the rendered value of
each column for the header and footer cells which are rendered without
the var attribute
Hi,
its better to post such messages to the user list.
You should use a complex object for your columns. This allows you to
use boolean is* methods to determine which type of column should be
rendered. That is much easier than binding t:columns into a backing
bean to create depended components.
jsf datatable is not able to do that automatically.
provide/implement a property which return the calculated sum and put
it into the footer for the amount column. The property can´t be in
your Expense object it should be implemented in the bean which
provides the list of these objects.
I don´t know if you can use jstl or scriptlets in datatables.
The scope of the var is equal to request but is only available during
the iteration of the datatable.
2005/12/22, Ravi Gidwani [EMAIL PROTECTED]:
HI All:
I am using Myfaces 1.1.1 and I have a data table as shown below:
2005/12/22, Matthias Kahlau [EMAIL PROTECTED]:
javax.faces.el.EvaluationException: Cannot set value for expression
'#{FragenBacking.fragenModel}' to a new value of type org.apache.myfaces
.component.html.ext._SerializableDataModel
you have a setter method for fragenModel which does not accept
take a look into the t:buffer component
2005/12/21, Miller, John [EMAIL PROTECTED]:
This is related to the RE: Tobago SheetRenderer calls getter for list
twicely. Thread.
It appears that where the dataScroller is on a page determines when in the
lifecycle it obtains information about
Simon is right (as always!). But the new serialization stuff is not
available in 1.1.1 only in current nightly (where it is waiting for
the next release ;))
2005/12/20, Simon Kitching [EMAIL PROTECTED]:
Yee CN wrote:
Simon,
What exactly is SERIALIZE_STATE_IN_SESSION=true/false that is new
I wonder why you use t:saveState for a session bean?
We changed state saving (only server side) to serialize state into the
session after 1.1.1. This new behavior can be changed by a web-app
init parameter org.apache.myfaces.SERIALIZE_STATE_IN_SESSION which is
true by default.
2005/12/19, Yee CN
But t:colums is still not visible/rendered (with 1.0.9 I get
a table - getting for each row the object of the first row).
Best regards,
Harry
-Ursprüngliche Nachricht-
Von: Mathias Brökelmann [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 15. Dezember 2005 15:46
An: MyFaces
!
(And ... tabs look like buttons ... but I think that can be fixed by changing
something in the css-file?)
Thanks,
Harry
-Ursprüngliche Nachricht-
Von: Mathias Brökelmann [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 14. Dezember 2005 17:02
An: MyFaces Discussion
Betreff: Re
().
Output:
Col1
Row1 Name_of_row1
Row2 Name_of_row1
Row3 Name_of_row1
And not:
Col1
Row1 Name_of_row1
Row2 Name_of_row2
Row3 Name_of_row3
Thanks,
Harry
-Ursprüngliche Nachricht-
Von: Mathias Brökelmann [mailto:[EMAIL PROTECTED]
Gesendet
-
Von: Mathias Brökelmann [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 12. Dezember 2005 15:39
An: MyFaces Discussion
Betreff: Re: datatable - parameter passing - workaround?
use an instance of javax.faces.model.DataModel for the datatable´s
value. You can then use datamodel.getRowIndex
() is not called (but createColumns() and
getColumns() are).
Sorry ... don't know what's wrong :-(
Thanks,
Harry
-Ursprüngliche Nachricht-
Von: Mathias Brökelmann [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 13. Dezember 2005 10:45
An: MyFaces Discussion
Betreff: Re: datatable
use an instance of javax.faces.model.DataModel for the datatable´s
value. You can then use datamodel.getRowIndex() or
datamodel.getRowData() to get the current row value during the
iteration.
2005/12/12, Harald Müller [EMAIL PROTECTED]:
Hi!
My current (test)code to create a datatable in a
The event you get for the action listener is an instance of
ScrollerActionEvent which gives you the new pageindex or the nav
button that was pressed.
2005/12/4, Alin Dosoniu [EMAIL PROTECTED]:
Hello,
I want to put on one page 2 dataTables and both of them to be controled by
one dataScroll
AFAIK the converter is responsible for the itemValue. There is no
special converter for itemLabel. You have to use a String instance for
itemValue.
2005/12/2, Luciano Medina [EMAIL PROTECTED]:
Sorry, I meant the itemLabel (not itemValue) attribute.
-Mensaje original-
De: Luciano
I assume that you are using server side state saving? We changed the
implementation for this recently and it now serializes the state by
default into the session. Objects which are stored in session should
be serializable. Nevertheless you can fix that by using the new
context parameter
Congratulations Mike!
2005/11/23, Martin Marinschek [EMAIL PROTECTED]:
Hi *,
please welcome Mike to our team.
Mike has been providing many patches over the very long time he has
been active with Apache MyFaces, and has donated invaluable help to
all users of Apache MyFaces - most of you
the select* component causes the problem. You use a message bundle
property value for a selectItem value. This value is only available
in render phase. According to the jsf spec select* components must
validate the submitted value if it matches with a rendered value. This
will be done in the
Great news.
Welcome to the team Simon!
--
Mathias
it´s a bug. Can you file this in jira?
2005/11/17, [EMAIL PROTECTED] [EMAIL PROTECTED]:
Hi,
I am using the Tomahawk :column tag with the Tomahawk :dataTable.
I am setting the classes for the header and footer in the facets, but I get:
javax.faces.FacesException: /test.jsp(13,5) Unable
the reason why I introduced this flag was a recent change to
t:datatable by martin who hard coded this to preserveRowState=true.
But it is not a solution for every one, since clearing the datamodel
cache and rowstate cache must be done together. If
preserveRowState=true is used only the datamodel
: Mathias Brökelmann [mailto: [EMAIL PROTECTED]
Sent: Saturday, 12 November 2005 9:38 PM
To: MyFaces Discussion
Subject: Re: Some notes of my loadtest results
You have a component binding. I mean the valuebinding through the
attribute value. I expect something like
/appropriate to use
t:saveState value=#{SubscrierMB.dataModel}
to solve the problem?
Regards,
Yee
-Original Message-
From: Mathias Brökelmann [mailto:[EMAIL PROTECTED]
Sent: Saturday, 12 November 2005 9:38 PM
To: MyFaces Discussion
Subject: Re: Some notes of my loadtest results
You have
Create a jira entry for this. Please post your jsp code for the
datatable and the bean code which uses the component binding to
determine the selected rows.
2005/11/13, Matthias Kahlau [EMAIL PROTECTED]:
Hi,
I have a problem with the Tomahawk dataTable component, in conjunction with
a
checkboxes in table by programming
dataModel.setRowIndex(index);
checkedRow.setSelected(true);
And I think that should work also?
-- vLi --
On 11/12/05, Mathias Brökelmann [EMAIL PROTECTED] wrote:
I wonder that this is working in 1.1.1.
Normally the state for each
I wonder how this could happen without an exception since we added the
check for duplicate ids ...
2005/11/9, Mike Kienenberger [EMAIL PROTECTED]:
The problem is that you've used the same id value for both: data
Name one data1 and name the other data2.
All id values must be unique.
On
initialised at the point when it is run.
Thanks for the tips on this though. Has proved interesting.
Tim
Mathias Brökelmann wrote:
the actionlistener which is accessed/registered through
Application is
responsible for handling actions.
2005/11/6, Mike Kienenberger [EMAIL
it should be in the 1.1.1 since it was a spec issue
2005/11/10, Martin Marinschek [EMAIL PROTECTED]:
Maybe because Yee is using 1.1.1 and not the nightly build?
regards,
Martin
On 11/10/05, Mathias Brökelmann [EMAIL PROTECTED] wrote:
I wonder how this could happen without an exception
Each request has its own component instances if the default state
manager of myfaces is used (client server state are handled equal).
If a user is using a component binding and stores this component in a
session or application scoped bean he definitely will have problems
since this component
You are right latest commit breaks that. I have committed a fix for
that so it is working now.
2005/11/9, Vesa Lindfors [EMAIL PROTECTED]:
Mathias,
I tested successfully the rest of platforms with
javax.faces.STATE_SAVING_METHOD=server
SERIALIZE_STATE_IN_SESSION=false myfaces-20051030 .
I haven´t found the time to take a closer look into your code. So I
hope that this problem is not time critical. Maybe someone other in
this list is able to help you in a shorter time. I hope that I find
the time by the end of the week.
2005/11/6, Matthias Kahlau [EMAIL PROTECTED]:
Ok. I
I think this functionality would be really nice to have in
t:datascroller. Care for making a patch?
2005/11/8, Erik Jan de Wit [EMAIL PROTECTED]:
Hi,
When I use the datascroller there are next and previous links even when =
there is no more data e.g. when I'm on the first page there is
the actionlistener which is accessed/registered through Application is
responsible for handling actions.
2005/11/6, Mike Kienenberger [EMAIL PROTECTED]:
That's good to know. Does it work for action as well as actionListener?
On 11/6/05, Mathias Brökelmann [EMAIL PROTECTED] wrote:
It´s
AFAIK only links generated with h:outputLink and using f:param to pass
parameters can be used as bookmark targets.
2005/11/7, Dave [EMAIL PROTECTED]:
Right. But I like to take the performance advantage in forwarding over
redirecting.
Simon Kitching [EMAIL PROTECTED] wrote:
Dave wrote:
Is
datatype in different columns?
Regards
Yee
-Original Message-
From: Mathias Brökelmann [mailto:[EMAIL PROTECTED]
Sent: Sunday, 6 November 2005 1:05 AM
To: MyFaces Discussion
Subject: Re: How to handle Boolean/Checkboxes in t:columns?
your userRolesBean.columnValue must return
It´s quite easy to change the handling for invoking action methods.
Simply wrap existing ActionListener Implementation of processAction
with an try and catch block:
FacesContext context = FacesContext.getInstance();
final ActionListener actionListener =
() == java.lang.String ;
}
Many thanks.
Regards,
Yee
-Original Message-
From: Mathias Brökelmann [mailto:[EMAIL PROTECTED]
Sent: Sunday, 6 November 2005 4:00 PM
To: MyFaces Discussion
Subject: Re: How to handle Boolean/Checkboxes in t:columns?
you can switch it by using
) or without the
libraries (ca. 40 KB) contained?
Thanks.
-Matthias
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von Mathias Brökelmann
Gesendet: Samstag, 5. November 2005 18:20
An: MyFaces Discussion
Betreff: Re: MyFaces 1.1.1 - problem
uicolumn components can contain header and footer facets. But these
facets must be handled by the parent uidata since they are only
processed one time and not for every row.
UIColumn could define something like processHeaderDecodes() which is
called by parent UIData. but that would require a lot
I used to look into the code of existing pages to know how something
is done in wiki
2005/11/6, Martin Marinschek [EMAIL PROTECTED]:
You need to create a login for yourself - then you can start edit pages.
As soon as you have a CamelCase word on a page, this word is a
reference to a page -
Can you give us more info about your exceptions (stacktrace), jsp and bean code?
2005/11/4, Deepinder Singh [EMAIL PROTECTED]:
All,
I recently upgraded from Myfaces 1.0.9 to My Faces 1.1.1. After the
upgrade, the data scrollers are not working. I get some exceptions in my
server. Do we
please post the related jsp/bean code.
2005/11/5, Matthias Kahlau [EMAIL PROTECTED]:
Hi!
I have a strange problem using a selectOneMenu within a panelTab (MyFaces
1.1.1). The selectOneMenu is placed above a dataTable, which is also
contained in the panelTab. Without the selectOneMenu, I can
unfortunately you can not use functions in jsf el expressions.
try to create a new method in your handler which determines if the
list contains only one element.
2005/11/5, Kevin Hale Boyes [EMAIL PROTECTED]:
I have a handler return a list of SelectItems that I use as:
h:selectOneMenu ...
this:
public ListDataModel getUmfragen() {
this.sort();
return this.umfragen;
}
Regards,
Matthias
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von Mathias Brökelmann
Gesendet: Samstag, 5. November 2005 16:17
An: MyFaces
your userRolesBean.columnValue must return a boolean value. Either
primitive, instance of java.lang.Boolean or null.
2005/11/5, Yee CN [EMAIL PROTECTED]:
Hi,
How should I handle boolean and checkboxes using t:columns?
I am trying to do something like:
t:columns id=columns
html only allows to upload a single file (which can be an archive of a
directory of course)
2005/11/5, Marco Mistroni [EMAIL PROTECTED]:
Hello all,
i want to use the fileUpload tag from myfaces to allow the user to select
a directory, but for some reason (maybe i am missing
some
Message-
From: Mathias Brökelmann [mailto:[EMAIL PROTECTED]
Sent: Sat 11/5/2005 1:41 AM
To: MyFaces Discussion
Cc:
Subject:Re: DataScroller not working after upgrading to MyFaces 1.1.1
Can you give us more info about your exceptions (stacktrace), jsp and bean
code?
2005/11
to SERIALIZE_STATE_IN_SESSION = false if it's
such a performance killer?
Travis
On 11/3/05, Mathias Brökelmann [EMAIL PROTECTED] wrote:
SERIALIZE_STATE_IN_SESSION and NUMBER_OF_VIEWS_IN_SESSION are only
effective if STATE_SAVING_METHOD=server otherwise it´s settings will
be ignored.
The default
I miss the h:outputLabel in your jsp code
2005/11/4, Matthias Kahlau [EMAIL PROTECTED]:
Hi!
I use the following code in my JSP/JSF page to render a list of
radiobuttons:
t:selectOneRadio lang=de layout=pageDirection required=true
styleClass=daten title=Radiobuttons zur Auswahl des
use t:columns inside your t:datatable take a look at the examples
and the doc at http://wiki.apache.org/myfaces/Dynamic_Columns or
http://myfaces.apache.org/tomahawk/columns.html
2005/11/4, [EMAIL PROTECTED] [EMAIL PROTECTED]:
Is there a possibility to tell JSF dynamically how much columns in
comments inline...
1. We can now use STATE_SAVING_METHOD=server, and the back-button
(and pop-up windows) will work correctly (e.g., when my pop-up
window closes, my base window won't have forgotten its state)?
yes you can do this now
2. Using STATE_SAVING_METHOD=server is faster
AFAIK only t:savestate may be an issue if you use a bean which
maintains a state for a view. this state would be shared among the
views if a user opens a new browser window. If the state of this bean
is changed for one window it will also change (same state) for the
other window which still has
) - thanks!
--- VLi ---
On 11/3/05, Mathias Brökelmann [EMAIL PROTECTED] wrote:
@Vesa could you run your tests again with the nightly and define the
context param
org.apache.myfaces.SERIALIZE_STATE_IN_SESSION with a
value set to false in your web.xml?
You can also try to change
hasErrorMessages simply calls getMessages() from the current
FacesContext and tries to find an error message. Take a look into the
source code to see what is happening.
2005/11/1, Wayne Fay [EMAIL PROTECTED]:
I'm getting the following error message on a Tomahawk DataTable:
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 if the transient field and initialize it if it
is null. Doing so saves you
could you file this in JIRA?
2005/11/1, Dennis Byrne [EMAIL PROTECTED]:
The Description for @border and @layout of h:selectOneRadio
says see JSF Spec. 8.5.10 .
http://myfaces.apache.org/tlddoc/core/h/selectOneRadio.html
The 1.1 final version does not have a this section.
Dennis Byrne
quite interesting.
I guess it has something todo with the introduced serialisation for
the nightly if server side state is used. myfaces introduced a context
parameter which allows the user to switch this new behavior off (it´s
on by default). Define org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
is the behaviour?
Travis
On 11/2/05, Mathias Brökelmann [EMAIL PROTECTED] wrote:
quite interesting.
I guess it has something todo with the introduced serialisation for
the nightly if server side state is used. myfaces introduced a context
parameter which allows the user to switch this new behavior
@Vesa could you run your tests again with the nightly and define the
context param org.apache.myfaces.SERIALIZE_STATE_IN_SESSION with a
value set to false in your web.xml?
You can also try to change the setting for
org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION which defines how many
views are
idea. Setting the binding with user code would be better where
performance is a concern. It is something to think about.
Thanks again.
Regards,
Yee
-Original Message-
From: Mathias Brökelmann [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 1 November 2005 3:37 AM
To: MyFaces Discussion
If you have more than one component inside a facet you need to wrap
them with a h:panelGroup.
2005/11/1, Ali Abd El-Aziz Ali [EMAIL PROTECTED]:
I want to make two different renders for the columns headers of the
dataTable. say one will be commandButton and one will be outputtext
somthing like
You example doesn´t seam to need dynamic columns (use t:columns if you
really have this)
You could simply use h:datatable for this. One column for your product
number and one column for you title. The column for your title
contains for each language an outputtext component. To simplify your
jsp
use
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(id)
2005/11/1, Robert Parsons [EMAIL PROTECTED]:
Hi,
I'm after some basic design assistance here. If I have a managed bean
that represents some database entity, how can I populate that bean from
the
I think t:newspaperTable will do the job pretty well.
2005/11/1, Martin Marinschek [EMAIL PROTECTED]:
Oh right, I didn't even see that.
Of course, you need to add the text to the children list of the parent
component.
regards,
Martin
On 11/1/05, Volker Weber [EMAIL PROTECTED] wrote:
Simon is right we should tell the users that this behavior has been
changed. Any suggestions how/where we should do this?
2005/10/31, Martin Marinschek [EMAIL PROTECTED]:
Sorry - you are right, I was wrong.
Can you help us out and provide a documentation patch for this? Or
open a jira-issue?
was attempting to see why that I noticed the
pattern of what looks like incorrectly computed rowIndices that i mentioned
earlier..
Thanks again,
Geeta
Mathias Brökelmann [EMAIL PROTECTED] wrote on 10/29/2005
03:29:17 AM:
Could you post your bean code?
2005/10/29, [EMAIL PROTECTED
the browsers don´t send which encoding is used if a form with input
fields is submitted. Tomcat uses the default encoding (ISO-8859-1) to
decode the values which breaks them if they are encoded with utf-8.
take a look into this thread for a solution:
for the rendered
page.
2005/10/31, [EMAIL PROTECTED] [EMAIL PROTECTED]:
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
: this behavior is changed in the current trunk/nightly and
your bean must be serializable). The datamodel still contains the last
set rowindex which wasn´t reset by the renderer.
2005/10/31, [EMAIL PROTECTED] [EMAIL PROTECTED]:
Mathias Brökelmann [EMAIL PROTECTED] wrote on 10/31/2005
08:35:43 AM
the datatable will call getUserList() a second time when the new
response is rendered. It is the user who has to return the right
list/datemodel on the second time without the deleted entries in the
list.
2005/10/31, Yee CN [EMAIL PROTECTED]:
Hi,
I am facing the following problem, and I
Could you post your bean code?
2005/10/29, [EMAIL PROTECTED] [EMAIL PROTECTED]:
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
.
Guedes
On 10/27/05, Mathias Brökelmann [EMAIL PROTECTED] wrote:
where do you use your onclick event? I´ve tested your sample and it
works. The action listener is only called once for the clicked command
button
2005/10/27, PATRICIA GUEDES [EMAIL PROTECTED]:
Hi again..
I don't know
-Original Message-
From: Mathias Brökelmann [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 26, 2005 3:05 AM
To: MyFaces Discussion
Subject: Re: DataTable Problem
The value for #{maintainSkillBean.skillList} must not return null or
an empty list during the decode phase
rowClasses go into tr class=...
columnClasses go into td class=...
2005/10/27, Marius Kreis [EMAIL PROTECTED]:
I wonder if it is allowed to use the attributes rowClasses and
columnClasses together one cell can only have one class, can't it?
Caroline Jen wrote:
I created a data table
where do you use your onclick event? I´ve tested your sample and it
works. The action listener is only called once for the clicked command
button
2005/10/27, PATRICIA GUEDES [EMAIL PROTECTED]:
Hi again..
I don't know if helps, but I am using
The value for #{maintainSkillBean.skillList} must not return null or
an empty list during the decode phase. Place a debug-breakpoint into
the getter method to see when it is called. You can also use
t:datatable and preserveDataModel=true.
2005/10/26, CONNER, BRENDAN (SBCSI) [EMAIL PROTECTED]:
try out the t:column component it allows you to define a
headerstyleClass or headerstyle attribute for each column.
Am 20.10.05 schrieb Thierry Buecheler [EMAIL PROTECTED]:
Hi everybody
Is there a possibility to apply a header style for each (standard)
dataTable column or do I need a fancy
try to use a latest myfaces release. We found a lot of bugs in the
datatable/sortheader stuff since 1.0.9. If you plan to use input
fields inside a datatable you should definitly use 1.1.0 or 1.1.1RC3
2005/10/21, Jecker Frédéric (LFR) [EMAIL PROTECTED]:
Hello,
This problem is now solved (the
sorry I forgot to answer your question.
You should not initialize your RowData with a datamodel for your
fields as a second parameter. Instead pass the values for each field
of this row and don´t put your values into your fields:
private static final Fields[] fieldsEmbque = new Fields[] {
I do this normally by redeploying the webapp. If you use Tomcat you
can simple touch web.xml to accomplish this.
2005/10/20, Andy W Freeman [EMAIL PROTECTED]:
Is there an easy way outside reloading the context to get the
faces-config.xml to reload? I assumed that this was addressed in issue
in that respect for me. If Each request has
its own component tree instantiated, how is view state information
carried across request/response cycles then?
Can you point me to the code in question? It's been difficult to find.
On 19 Oct 2005, at 14:29, Mathias Brökelmann wrote:
Each
define a custom validator for the second date field (must be the second).
h:inputDate id=lowerDate value=#{yourBackinBean.lowerDate}/
h:inputDate value=#{yourBackinBean.upperDate}
validator=#{yourBackingBean.validateDates}/
public class YourBackingBean
{
public void validateDates(FacesContext
IMO there is nothing wrong with the two methods you have posted.
Can you post the getter methods for partId and partIntern?
What happens if you use it in the datatable?
2005/10/19, Stefan Gesigora [EMAIL PROTECTED]:
Hi!
I'm trying to use my custom output component employee in a standard
;
}
public String getPartId() {
return partId;
}
public String getPartIntern() {
return partIntern;
}
}
---SNIP--
Regards,
Stefan
-Ursprüngliche Nachricht-
Von: Mathias Brökelmann [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 19. Oktober 2005 11:08
An: MyFaces
Each request has its own component tree instantiated. So there should
no problem with concurrency. If you use session or application scoped
beans then you have to care for concurrency of course.
2005/10/19, ir. ing. Jan Dockx [EMAIL PROTECTED]:
What happens if 2 concurrent requests for the same
in the detail page is a t:inputDate (the
date is rendered correctly)
Regards.
Maxence Dewil.
-Message d'origine-
De: Mathias Brökelmann [mailto:[EMAIL PROTECTED]
Envoyé: mercredi 19 octobre 2005 15:23
À: Maxence Dewil; MyFaces Discussion
Objet: Re: Validation of inter-dependent fields
try out the t:columns component which allows you to have NxM tables.
Take a look into the myfaces-examples (opendatatable)
2005/10/18, PATRICIA GUEDES [EMAIL PROTECTED]:
Hi, I´m from Brazil (sorry my bad English) and I need to build a
table where the columns are dynamics. The columns came from
();
valuesEmbque.add(fieldsEmbque);
valuesEmbque.add(fieldsEmbque1);
}
My problem is the part values.Fields.value that didn't work. What can I do?
Thanks.
Guedes
On 10/18/05, Mathias Brökelmann [EMAIL PROTECTED] wrote:
try out the t:columns component which allows you to have NxM tables
Try to redownload the rc2. AFAIK it was replaced with a version which
was compiled with 1.4
2005/10/12, Boris Kovalenko [EMAIL PROTECTED]:
Hello!
Werner Punz wrote:
Someone must have built the jar with a JDK 1.5 compiler
This one is not me :) I just want to use precompiled version
It took some time to figure out what you are doing:
I would guess you use an aliased bean (through the var attribute in a
datatable or the aliasbean component) in a component binding. This
will not work. The component binding is out of scope for the aliased
value.
2005/10/10, Stefan Betermieux
Try using SelectItemGroup. You can use it for nesting select items
hierarchically.
2005/10/7, Dennis Byrne [EMAIL PROTECTED]:
try using various padding and width styles w/ CSS .
Original message
Date: Fri, 7 Oct 2005 13:50:13 -0400
From: sri [EMAIL PROTECTED]
Subject: Re: adding
The resulting state object will not be serialized if state is held on
server. It is simply put into the session as it is.
2005/10/5, Dennis Byrne [EMAIL PROTECTED]:
Can someone please explain the behavioral differences of the
following two scenarios? The JSP in both cases has
t:saveState
the getter method is called in the validation phase which comes before
the update model phase (which calls the setter). Try using t:savestate
and store the value of your timerange value.
The call of the getter method in the validation phase is necessary
since the spec requires that the submitted
The valuebinding TimeRangeBean.choiceList (your method
getChoiseList()) must not return null. It should be an instance of
SelectItem, SelectItem[], Collection or Map.
2005/9/29, [EMAIL PROTECTED] [EMAIL PROTECTED]:
Hello!
Since I have included myFaces 1.1.0 I get an exception I don't
: Mathias Brökelmann [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 27, 2005 2:19 PM
To: MyFaces Discussion
Subject: Re: DataTable with Immediate Buttons Lose Submitted Values In 1.1.0
I´ve closed this bug since it is documented in the spec that it should
be as we have implemented it.
See
, but
storing it until the end of the lifecycle?
regards,
Martin
On 9/28/05, Mathias Brökelmann [EMAIL PROTECTED] wrote:
input components inside a datatable depends on a datamodel. If
processing in validation and update model phases succeeds without an
error we have to get a new value
try this one:
h:dataTable var=row value=#{data.rows}
h:column
t:selectOneRadio id=selectRadio forceId=true forceIdIndex=false
value=#{data.selectedRowId}
f:selectItem itemValue=#{row.id} itemLabel= /
/t:selectOneRadio
/h:column
/h:dataTable
the odd problems
you mentioned above (that the model is reloaded and the submitted
value might not belong to the correct data anymore).
Wouldn't storing the dataModel as long as the submitted value makes
sense solve these problems?
regards,
Martin
On 9/28/05, Mathias Brökelmann [EMAIL
Yes. You can use the myfaces datatable, datascroller (for paging) and
commandsortheader (for sorting) components from tomahawk. Take a look
into the examples. myfaces sandbox also have a datatable which uses
ajax to update the content of the data.
2005/9/26, Dave Brondsema [EMAIL PROTECTED]:
1 - 100 of 126 matches
Mail list logo