On 3/18/06, _dani [EMAIL PROTECTED] wrote:
The selectOneListbox and the inputText component are in the same form on the
same jsp.
So i dont now how to control which component is first on my page.
The tags are processed in order of appearance, so if the listbox is
first, it'll be processed (at
What about callling this.setFlag(true) as the first line of code in
#{bean.check}? If it's a matter of having both true and false,
create checkTrue() and checkFalse() -- you can even have them both
call check() after setting the flag value.
On 3/17/06, Dave [EMAIL PROTECTED] wrote:
h:form
Currently you have to build the sandbox from source after doing a checkout.
Go ahead and open a jira issue on this (making sandbox available as
part of the nightlies).
On 3/18/06, Dave [EMAIL PROTECTED] wrote:
http://svn.apache.org/repos/asf/myfaces/
Yes, this should be possible. I can't remember if the code that
determines the phase is in the component (Probably UICommand) or in
the renderer. It may be as simple as providing an alternate
renderer.
On 3/18/06, Dave [EMAIL PROTECTED] wrote:
For commandButton, its action listener and
I recall having to fix this problem of an appended jsessionid for
Tomahawk AddResource.
I believe the working code we settled on was this:
String pathInfo = request.getPathInfo();
String uri = request.getContextPath() + request.getServletPath()
+ (pathInfo == null
Mike,
Thanks a lot for your help.
Sincerely,
Raihan Kibria
Sr. Software Engineer
TechnoVista Limited
Lotus Kamal Tower - One, Level - 9, 57 Zoar Shahara C/A,
Nikunja - 2 (North)
Dhaka - 1229, Bangladesh
Phone: +880 2 895 2704-9
Email: [EMAIL PROTECTED]
Mike Kienenberger
On 3/18/06, Dave [EMAIL PROTECTED] wrote:
HtmlCommandButton is a subclass of UICommand. Should I subclass
HtmlCommandButton and override queueEvent(), like
Yes, I think that should work. Give it a try and see.
I am new to creating custom components. How to set it up so that I can use
it
UIColumns is basically a UIData turned sideways
So you have a data model for your rows, and then you have a second
data model for each of your columns.
crossDataTable.jsp in myfaces-example-simple gives an example of using it.
Live online demo is here -- lets you add columns each submit.
Perhaps you were referencing the bean using JSP notation instead of
JSF notation?
If that's the case, you'll only get errors from the container's JSP compiler.
On 3/20/06, Dean Hiller [EMAIL PROTECTED] wrote:
The solution to my earlier exception was I named the backing bean
incorrectly. funny
My guess is that you are not persisting the value of #{back.enabled}
between requests.
In order for a UICommand to work, it must remain enabled
(rendered=true) from the first request renderResponse phase to the
next request's invokeApplication phase.
Maybe all you need to do is use t:saveState
I've noticed that a lot of posters have asked for help with
t:panelTabbedPane's selectedIndex and TabChangeListener over the last
few months.
Would someone be willing to expand the sandbox example (or provide a
new example) showing how to use these features of panelTabbedPane?
It will enable new
You are only allowed to have one suffix with the default JSF implementation.
context-param
param-namejavax.faces.DEFAULT_SUFFIX/param-name
param-value.jsp/param-value
/context-param
or
context-param
param-namejavax.faces.DEFAULT_SUFFIX/param-name
Rick,
Sorry. I can't help you. I've never used the JSF RI, nor do I use
server-side state saving.
You could either implement the special phase listener described in
TOMAHAWK-134 or you could try asking on the JSF RI list why
saveState/restoreState aren't called for server-side state saving.
On 3/22/06, Aleksei Valikov [EMAIL PROTECTED] wrote:
I've ported jenia4faces PopupBox onto MyFaces. The reason was to reuse
MyFaces resource management, remove the need to configure jenia4faces
servlet, allow static javascript configuration with
JSFAttr.JAVASCRIPT_LOCATION and so on.
How
(me), but could you explain
that response more so I can understand.
thanks,
dean
Mike Kienenberger wrote:
My guess is that you are not persisting the value of #{back.enabled}
between requests.
In order for a UICommand to work, it must remain enabled
(rendered=true) from the first request
On 3/21/06, Dean Hiller [EMAIL PROTECTED] wrote:
I don't know jsp notation actually, and actually below I was trying to
say The solution was I named the backing bean incorrectly not that I
was using jsp notation. Sorry as I am sometimes not good at being clear
about this. I was just posting
I have successfully used this in the past before switching to facelets:
?xml version='1.0' encoding='windows-1252'?
jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; version=1.2
xmlns:h=http://java.sun.com/jsf/html;
xmlns:f=http://java.sun.com/jsf/core;
jsp:text
![CDATA[
On 3/23/06, [EMAIL PROTECTED]
But I can use jsf session beans as it, because on our project we are using
JBoss 4.0.3 in cluster and for all JSF UI components I will get
NonSerializable exception. Also I can not use one manage bean on two pages,
because I have actually wizard application with
On 3/23/06, Serge Bogatyrjov [EMAIL PROTECTED] wrote:
I have a form and some inputs on it. I marked one input as required. Then I
expected to get a error message when posting an empty form. By I did not get
any messages.
It should be as simple as adding
required=true
as an attribute for
On 3/23/06, Hagay Avisar [EMAIL PROTECTED] wrote:
Does t:saveState requires submitting the page? Cause I can see that the
data I have insert in input text in tab1 does not update the value in my
Bean….
Yes. t:saveState is a server-side process, not a javascript trick.
On 3/23/06, Hagay
Short answer: immediate doesn't skip validation phase.
Long answer:
http://wiki.apache.org/myfaces/How_The_Immediate_Attribute_Works
On 3/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi, All!!!
I've confused with it in JSF. I have some validation logic on my form:
2 textboxes
or validated local
value from the component, and manually put it into the backing bean.
On 3/23/06, Yura.Tkachenko [EMAIL PROTECTED] wrote:
Ok, Thanks. Do you know any solution which will be usefull for me?
Thanks,
Yura.
-Original Message-
From: Mike Kienenberger [mailto:[EMAIL
is interrupted;
* null request parameters are treated as absent.
It is possible, that in another environment nulls in parameter values are
not occur. But, in my case, nulls happen.
I'll try another container, may be the problem is related to jetty. (?)
Best regards.
2006/3/23, Mike
On 3/23/06, Serge Bogatyrjov [EMAIL PROTECTED] wrote:
Some days ago a have
written a converter to convert a submitted empty string to null.
Are you talking about a JSF String Converter?
If so, JSF String Converters are not allowed in JSF 1.1. You'll need
to wait until JSF 1.2 (It was only
simple. I have reduced it a little.
23.03.06, Mike Kienenberger [EMAIL PROTECTED] написал(а):
Seems unlikely. I recommend posting your actual page code.
I use facelets and jetty 5.1.x, and I haven't had these problems.
You might take a look at the
org.apache.myfaces.custom.accordion.HtmlAccordionPanel in the MyFaces
Tomahawk sandbox.
On 3/23/06, John Slave [EMAIL PROTECTED] wrote:
Hi,
i wish to create an ajax component panel that is simply a panel with
particular javascript effect to expand and contract.
The tiles support for JSF is primarily there to allow people to port
existing tiles apps (or tiles knowledge) to JSF.
You should consider using facelets or Shale/Clay for templating with JSF.
You can find a list of articles on using Facelets here:
On 3/24/06, Dean Hiller [EMAIL PROTECTED] wrote:
So, I looked into FacesContext and mocking that and it unfortunately is
not an interface. A FacesContextFactory.getInstance() call returning an
interface would have made life easier since mock libraries mock
interfaces very easily. oh well,
On 3/25/06, Chandramohan Mani [EMAIL PROTECTED] wrote:
Hi Mike,
can you please help me how to use this pacth in my file.
It's better to post to the MyFaces users mailing list rather than to
me directly.
The patch I applied for serverSideTabSwitching is a trivial one. It
merely fixes a bug
On 10/31/05, Turgay Zengin [EMAIL PROTECTED] wrote:
The flag is:
serverSideTabSwitch=true
This attribute is for the t:panelTabbedPane.
The interpretation and state-saving of the serverSideTabSwitch was
broken until this week. I'd recommend that you use the latest
nightly build or an svn
On 3/25/06, Cedric Legallo [EMAIL PROTECTED] wrote:
Hi everyone, I am using myfaces 1.0.10 for a project, and i need to force a
server side tab switching for a t:panelTabbedPane tag.
How can it be done with 1.0.10 version of myFaces ?
Your best bet is to upgrade to the latest snv snapshot due
On 3/25/06, Matthias Kahlau [EMAIL PROTECTED] wrote:
Can you please tell me what the problem was with the serverSideTabSwitch?
You quoted it already below, but to restate, it didn't interpret
non-EL expressings as Boolean values, and wasn't saving the state of
the switch in
On 3/27/06, octoberdan [EMAIL PROTECTED] wrote:
I downloaded the examples, but sandbox isn't there! Is there another place to
get the most recent build of sandbox? I'm in desperate need of the picklist
component...
The only way to get it right now is to build the source from svn.
There's an
Fixed as of March 1st.
http://issues.apache.org/jira/browse/TOMAHAWK-104
On 3/27/06, Hans Sowa [EMAIL PROTECTED] wrote:
Hi
Is there a possibility to enhance the code of this method? My Problem is if
there the row attribute is missing in the datatable (using datascroller) you
will always get
Add the phase listener to your faces-config.xml file instead so that
it is only registered once at application startup.
On 3/26/06, Lisaa [EMAIL PROTECTED] wrote:
Hi.,
In order to manipulate (update model before event request) the default
lifecycle, I added a PhaseListener to my Backing
On 3/27/06, Dennis Byrne [EMAIL PROTECTED] wrote:
You'll want the current dir . This information should be on the wiki but I
am not sure.
http://wiki.apache.org/myfaces/Building_With_Maven
On 3/27/06, Murray Brandon [EMAIL PROTECTED] wrote:
SelectItem appears to lend itself well to being an interface (could move
the default implementation into a DefaultSelectItem class)?
http://wiki.apache.org/myfaces/FAQ#JSFspec
On 3/28/06, Michael Heinen [EMAIL PROTECTED] wrote:
Do you see also any issues when I mark the field transient and check in the
getter whether the instance is null and reinitialize it if necessary?
Michael,
That is probably a better way to handle this situation. You could
also skip the
On 3/28/06, Michael Heinen [EMAIL PROTECTED] wrote:
I create the component in my bean manually and populate it with SelectItems.
Do you mean using a managed property and a more complex setter as an
alternative? Is this a better approach than the check in the getter?
It's had to say without
It's possible if you were using serverSideTabSwitching=true that this
bug was fixed earlier this week. Try it with a nightly build. The
serverSideTabSwitching state was not being saveState'd.
Another possibility is that you're basing your actions on a
request-scoped bean that no longer exists
I haven't tried this tag recently, but the original version of it
stored the page state in the url. Thus it wouldn't work on large
pages. You might see if there's some error about the URL being
larger than 4096 characters in your logs.
On 3/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On 3/28/06, Frank Russo [EMAIL PROTECTED] wrote:
So I assume that means I need to add the myfaces-impl-1.1.3-SNAPSHOT.jar to
my project's WEB-INF/lib as well?
No, you don't want to do that if you're using the JSF RI.
As Matthias states, you only want to add that missing class to your
On 3/28/06, Frank Russo [EMAIL PROTECTED] wrote:
So I assume that means I need to add the myfaces-impl-1.1.3-SNAPSHOT.jar to
my project's WEB-INF/lib as well?
Hey Frank.
It looks like the myfaces-impl dependency is only (incorrectly)
required by the sandbox.jar, but there's a lot of them to
to stop the errors:
t:tree
model=#{currentView.memberDialog.memberTree}
value=#{currentView.memberDialog.memberTree}
styleClass=availMembersTree
expandRoot=false /
On 12/22/05, Mike Kienenberger [EMAIL PROTECTED] wrote:
All JSF components
On 3/29/06, Geoff Longo [EMAIL PROTECTED] wrote:
I am having what appears to be an issue with saveState not working on
Websphere 6. My backing bean is request scoped and my jsf is saving
the state of the entire backing bean. This works perfectly on Tomcat
5.5, but when I deploy to Websphere,
On 3/28/06, Frank Russo [EMAIL PROTECTED] wrote:
This has probably been discussed a thousand times, but I can't find a
mailing list archive.
Our mailing lists are hidden under the project info navigation link,
which is unfortunate. Here's a direct link.
Don't know if this is of any help to you, but Facelets also corrects
the component tree rendering problem if you can use Facelets.
On 3/29/06, Cagatay Civici [EMAIL PROTECTED] wrote:
Hi,
Thanks to Ed Burns, I've learned that this is a JSF issue, at first jsf
creates the component tree during
Bruno, Picklist is one of the components that's got a dependency on
MyFaces impl. Any chance you could take a look at fixing that?
On 3/29/06, Bruno Aranda [EMAIL PROTECTED] wrote:
Sorry for taking so long to answer. I am in the process of settling in
another country. I have just checked in
On 3/28/06, Srinivas Surapaneni [EMAIL PROTECTED] wrote:
getScrolling() javascript function is not being generated in the portal
environment?
Is this function being generated by the extension filter?
That would be my guess since it would be rendered in the
post-processing of the output.
On 3/28/06, Brandon Goodin [EMAIL PROTECTED] wrote:
This is great! Maven... generate eclipse files... import project and
bam!... in business. To be honest when i first scanned the repo i
thought i was a mess. Glad i was wrong. Thanks a ton for all your
help.
You can import everything in one
On 3/29/06, Frank Russo [EMAIL PROTECTED] wrote:
I can't find one. I tried building it, but there are maven dependencies that
don't seem to exist on Ibiblio. I've tried downloading them directly, but I
can't seem to find them. Here are the files if anyone know where to get
them:
On 3/29/06, fischman_98 [EMAIL PROTECTED] wrote:
Can someone help me make a nxn dataTable using myFaces. I want 3 columns
and n number of rows) Trying to use Tomahawk t:dataTable and t:columns,
can't work it all out. Can't figure out how to loop through the rows and
only show the number of
You'd write a java class implementing DataModel, probably. You could
implement List instead if you liked. Make it into a managed bean,
and then assign your source list as a property to it.
For example
class ConsolidatedList implements List {
public ConsolidatedList()
public void
Post your stack trace, but it's probably a non-serializable reference
in your bean that's generating the error, and not your bean. You
will either need to mark that reference as transient (in which case it
will not be saved or restored) or make that reference serializable (or
StateHolder'able).
On 3/30/06, Benjamin Bratkus [EMAIL PROTECTED] wrote:
so is it actually possible to use inputfield within a datalist or not ?
because my datatable and some fields within grid are nested in a datalist
I'm fairly certain that this is fixed in the latest nightlies. Give
it a try and see. If
No, this is a good place to ask.
The tree2 component doesn't work seemlessly with facelets. Fixing
that is on the todo list.
http://issues.apache.org/jira/browse/TOMAHAWK-47
A quick workaround is to use the following attribute names instead:
// Tree2 attributes
public static final
This is part of the reason it's still in the sandbox. It's also new.
Probably the best documentation at this point is the source itself or
the sandbox example selectOneRow.jsf:
The example is included with the source, but you can also find it online here.
PROTECTED] wrote:
Mike Kienenberger wrote:
You'd write a java class implementing DataModel, probably. You couldimplement List instead if you liked. Make it into a managed bean,and then assign your source list as a property to it.For example
class ConsolidatedList implements List
Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 30, 2006 10:52 AM
To: MyFaces Discussion
Subject: Re: Documentation for selectOneRow
This is part of the reason it's still in the sandbox. It's also new.
Probably the best documentation at this point
On 3/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Thanks a lot for your answer. I tried your example however I have this
error:
java.lang.ClassCastException: org.apache.myfaces.config.MyfacesConfig
What faces extension filter should I add?
On 3/30/06, Frank Russo [EMAIL PROTECTED] wrote:
s:selectOneRow groupName=entityName id=entityName value=BANK5
binding=/s:selectOneRow
Generally means that the sandbox taglib.xml file hasn't been
created/processed. Or that you didn't put a selectOneRow tag in it.
On 3/30/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
On 3/30/06, Frank Russo [EMAIL PROTECTED] wrote:
s:selectOneRow groupName=entityName id=entityName value=BANK5
binding=/s:selectOneRow
Generally means that the sandbox taglib.xml file hasn't been
created/processed. Or that you didn't
Yes, you currently have to build sandbox from source.
On 3/31/06, Murat Hazer [EMAIL PROTECTED] wrote:
i have looked nightly build of sandbox.jar like tomahawk.jar, so i could'nt
get it from http://cvs.apache.org/builds/myfaces/nightly/ ,
should i build it from the source?
--
Murat HAZER
On 3/31/06, Murat Hazer [EMAIL PROTECTED] wrote:
Is there any wiki entry about how to do this?
http://wiki.apache.org/myfaces/Building_With_Maven
Yep. Looks like your missing the JSP 2.0 classes.
On 3/31/06, Mikael Andersson [EMAIL PROTECTED] wrote:
[INFO] Trace
java.lang.NoClassDefFoundError:
javax/servlet/jsp/el/ELException
HTTP ERROR: 500 JSP support not configured
You can find a partial myfaces.taglib.xml file at this URL:
https://facelets.dev.java.net/servlets/ReadMsg?list=usersmsgNo=90
While waiting to hear what's going on with the myfaces code gen, I've
been manually adding myfaces extensions as I use them. So far it
contains:
aliasBean
inputCalendar
You can take a look at the thread entitied composite controls from 4
days ago for more alternatives and discussion.
On 8/1/05, ir. ing. Jan Dockx [EMAIL PROTECTED] wrote:
On 1 Aug 2005, at 12:14, Martin Marinschek wrote:
You do that by simply instantiating components in your
For anyone that might be interested, I've created a wiki page on
creating converters with null-capable and disabled SelectItems
support, which I've found to be of use when hooking database tables to
a pulldown list.
http://wiki.apache.org/myfaces/NullCapableConverter
I don't have any answers yet, but I'm having the same issue.
On 8/4/05, Eric Kelm [EMAIL PROTECTED] wrote:
Hi all,
I am having a problem with a form in an application I am working on and was
wondering if anyone else had the problem. I have a large form that is part
of a tabbed pane, where
Worldwide LLC
510 Spur 63
Longview, TX 75601
--Original Message-
-From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
-Sent: Thursday, August 04, 2005 4:07 PM
-To: MyFaces Discussion
-Subject: Re: Problem with commandButton and required form fields
-
-I don't have any answers
an actionListener that
populates the backing bean with the values manually. Hope this helps.
-
Eric Kelm
Developer, VSG Worldwide LLC
510 Spur 63
Longview, TX 75601
--Original Message-
-From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
-Sent: Thursday, August 04, 2005 4
Gary,
It seems like a good idea, but there are still some gotchas.
There's no guarantee that the CommandButton's ActionEvent will be
broadcast after the ValueChangeEvent from the UIInput. The value
bindings also won't be performed since those happen in the update
model phase.
So, it'll help
I liked the presentation of JSF in Action, but there were a lot of
errors in the example code.
On 8/4/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I used JavaServer Faces by Hans Bergsten and
Sun Core JSF, both were good.
You can read both if you sign up for the oreilly.com
safari service.
I was thinking of a similar solution.
Open a new window with a new form, and move everything that's on the
tabbed view to this popup panel. Have this triggered with a control
on the first form. I don't know much javascript, but I think this is
possible.
On 8/5/05, [EMAIL PROTECTED]
[EMAIL
On 8/5/05, Sean Schofield [EMAIL PROTECTED] wrote:
Kito Mann's book is excellent. Most of the people I work with in my
day job prefer this one. Bill Dudney's book is also good and is
probably the best starting point for someone new to web application
frameworks in general (its also a little
I notice that Myfaces disallows custom String (and Object) converters.
===
static Converter findUIOutputConverter(FacesContext facesContext,
UIOutput component)
if (String.class.equals(valueType)) return null;//No
converter needed for String type
if
Is that answering the same question he asked?
Isn't the way to do this to make sure that the target of your value
binding for your select box is set to the same value as the desired
SelectItem's getValue()?
On 8/5/05, Martin Marinschek [EMAIL PROTECTED] wrote:
just use the constructor with the
Thanks for pointing that out. I'm now watching MYFACES-277. I'm
currently using the immediate=true methodology, but I'm convinced that
a separate form is the best solution for my use case.
On 8/8/05, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
At the moment there is a problem with it,
On 8/7/05, Werner Punz [EMAIL PROTECTED] wrote:
In my opinion x:saveState is superior to every dialog approach on the
web, because it keeps things small and simple. You do not need
another set of page flow syntax files, you just add an x:saveState and
use the existing page flow syntax of JSF
From my limited use of DataScroller, it's simply a decorator.
You design as if it doesn't exist (ie, work everything through your DataTable).
Then you stick a couple DataScroller components on your page to modify
what's actually rendered and displayed, and add a rows parameter to
dataTable.
Here
This might not be an issue with DataScroller or Datatable, but instead
is just a scoping issue with your table backing data.
Is your data still there after you process a second request? If
you're only accessing it in a request-scoped bean, then it's gone
afterwards. A quick way to check is to
You can do this in facelets right now. Shale's Clay will probably
also let you do this, but I haven't tried it.
These are your best bets at this time.
-Mike
On 8/9/05, Lindholm, Greg [EMAIL PROTECTED] wrote:
My biggest concern (right now) with switching to JSF is having
to teach our web
The tapestry approach is the same approach that both Shale Clay and
Facelets take.
For facelets, take a look at this URL:
https://facelets.dev.java.net/nonav/docs/dev/docbook.html#taglib-use-jsfc
For Clay, take a look at Tapestry, as I'm pretty sure they're going to
use the Tapestry template
Does your custom component have any state to save? If not, I would
think that the default UIComponentBase behavior would handle saving
state for any facets and children without you needing to do anything
further.
On 8/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Fellow MyFacelings,
)
{
addChildrenAndFacets();
}
}
-Mike
On 8/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Replies to both of you inline.
On 8/10/05, Mike Kienenberger [EMAIL PROTECTED] wrote:
Does your custom component have any state to save? If not, I would
think that the default
I can't remember where I learned this methodology. Might have been
from Kito's JSF in action book. It does work, though.
On 8/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Not trying to start an argument on this one, I just have some questions.
Wouldn't getRenderResponse always
On 8/11/05, Colin Chalmers [EMAIL PROTECTED] wrote:
1. I have a couple of managed beans in session scope. After making the
purchase definate I want to remove them, or reset them in session. Is
there a recomended way of doing this or it simply, find them in the
context and invoke a reset method
You need to add a rows attribute to your dataTable.
like rows=10
On 8/11/05, Matthew Pease [EMAIL PROTECTED] wrote:
Hi everyone -
I'm getting the following exception when trying to use
x:dataScroller after a x:dataTable with matching id / for.
Am I doing something dumb?
Thank you-
Alexander Jesse and I have just finished a component that will allow
you to use a required validator rather than the required attribute.
Lucky you! :)
Basically, it's a standard validator, and a
requiredValidatorChecker/ component that you add to the bottom of
your form. The component goes
You can also implement the StateHolder interface if that's easier for
you than using Serailizable.
On 8/12/05, Martin Marinschek [EMAIL PROTECTED] wrote:
It does exactly what serialization does - so it goes through the object
tree and tries to save it, except you modify this by applying
60.00
Total costs510.00
Thoughts on this?
Colin
Mike Kienenberger wrote:
On 8/11/05, Colin Chalmers [EMAIL PROTECTED] wrote:
1. I have a couple of managed beans in session scope. After making the
purchase definate I want to remove them
for this to work?
Thanks-
Matt
On 8/11/05, Mike Kienenberger [EMAIL PROTECTED] wrote:
You need to add a rows attribute to your dataTable.
like rows=10
On 8/11/05, Matthew Pease [EMAIL PROTECTED] wrote:
Hi everyone -
I'm getting the following exception when trying to use
x:dataScroller
Make that t:saveState under the new naming rules.
On 8/12/05, Mike Kienenberger [EMAIL PROTECTED] wrote:
My guess is your backing bean containing your table data is in request
scope, and it no longer contains the data on the following request.
You can probably verify that this is the issue
If you post your stripped-down example + the method itself (maybe
there's a typo there), we'll probably be better able to suggest
something.
On 8/12/05, Gregg D Bolinger [EMAIL PROTECTED] wrote:
If I strip the page down to only include the 2 buttons (no datatable
or any other components on the
);
}
public void update(ActionEvent event){
System.out.println(Updating);
}
}
On 8/12/05, Mike Kienenberger [EMAIL PROTECTED] wrote:
If you post your stripped-down example + the method itself (maybe
there's a typo there), we'll probably be better able to suggest
scope because when I
come back to the page, it requires too much cleanup.
Thanks again.
Gregg
On 8/12/05, Mike Kienenberger [EMAIL PROTECTED] wrote:
If you create the bean request scope, the value of rendered for your
update button is always false, from what code
that component developed if there had been a
component scope.
On 8/12/05, Gregg D Bolinger [EMAIL PROTECTED] wrote:
A, ok. I see now. Thanks.
Gregg
On 8/12/05, Mike Kienenberger [EMAIL PROTECTED] wrote:
The difference is that showNext doesn't depend on values in the
request-scoped
I've got a number of controls that trigger a hidden refresh
CommandButton when the value changes (pulldowns, primarily).
I've been using:
script language=javascript
// ![CDATA[
function pulldownChanged(){
You can either use null to specify a global error message, or you can set a binding on your elementForm:elementTable
so that's it's available as a UIComponent element to your backing
bean. Once you've set up a binding, you can get the client
id that way.
h:dataTable id=elementTable
I have a two-panelTab panelTabbedPane in the middle of my input page.
A t:panelTabbedPane tab change seems to lose some values external to
the panelTabbedPane component between tab pages switch.
For instance, my t:inputCalendar values above it get lost.
And the value in an h:inputTextarea below
801 - 900 of 2009 matches
Mail list logo