Let me explain, I have a paged datatable. I'm trying to refresh datalist
trhough an inputText, when user insert some text (trigger) my datatable get
refresh by ajax (s:pprPanelGroup).
All work perfect, datalist get updated, datamodel seems to update new variables
(pageIndex, rowsCount, ...)
Hi,
thank you for your examples and links. I think this is exactly the way
I will resolve the problem.
Best regards,
Rudi
On 5/16/07, Bernd Bohmann [EMAIL PROTECTED] wrote:
Hello Rudi,
take a look at
http://svn.apache.org/repos/asf/myfaces/tobago/trunk/contrib/security/
This example use a
Hi ,
Is there anyway to implement the below said feature...
awaiting for a response eagerly as we were in a urgent with this feature...
Thnx
Regards,
Madan N
On 5/16/07, Madan Narra [EMAIL PROTECTED] wrote:
Hi All,
I have a sheet which has an inputText in one of its column and a simple
Hi
Can i access alias bean ONLY in nested content inside
aliasBean tag, or it's accessible everywhere in jsp after
it's declaration ?
I'm using tiles , so i want declare aliasBean in body in and
in footer use h:commandButton actionListener=#
{aliasName.save}/
My all beans implement save
JSF by default assign empty string at backing bean properties when a form is
sent. I want to override that with a custom converter. My problem is my
converter is never called. This is the code at faces-config.xml:
converter
Registered automatic by-class String (and Object) converters are not
allowed in JSF 1.1.
It's been fixed for JSF 1.2.
https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=131
On 5/17/07, Juan Ignacio Sánchez Lara [EMAIL PROTECTED] wrote:
JSF by default assign empty string
So I assume I must wait till myfaces-1.2.something :-\ Till then I'll use
explicit converter selection...
Thank you very much!
On 5/17/07, Mike Kienenberger [EMAIL PROTECTED] wrote:
Registered automatic by-class String (and Object) converters are not
allowed in JSF 1.1.
It's been fixed for
I don't really think this is a faces issue per-se, it is really a
programmatic thing (I would guess that Sun included a workaround in
their portlet to make it work).
Basically a portlet has some do methods (doView(), doEdit(), and
doHelp()) that, by overriding, you can access the various modes
Yes.
Or depending on what you're doing, there might be other ways to handle it.
For most of my needs, I only needed null rather than empty string when
saving data to a database, so I changed my database layer software to
perform the empty-string-to-null conversion at that point.
For the few
When i debug the method call be action is never call(ecplise wtp and
Netbeans)
using Tomahawk and Myfaces (1.1.5)
the code method Code is:
public String logon(){
Pattern p = Pattern.compile([EMAIL PROTECTED]);
Matcher m = p.matcher(usrName);
Hi Gurus
Could you please tell me
What are the best practices to pass Session object from JSF to Spring. For
example lets say LoginBean in JSF has to store userId and userRole in
Session object and then pass Session object to Spring Layer so that it can
be accessible by any spring bean
- Do
The Trinidad 1.2 branch URL is:
http://svn.apache.org/repos/asf/myfaces/trinidad/branches/faces-1_2-070427/
... not just /faces-1_2 - that's a long-obsolete branch.
-- Adam
On 5/16/07, noah [EMAIL PROTECTED] wrote:
I'm trying to build Trinidad but the trinidadbuild plugins are not
Somewhere in the months of learning and reading about JSF, I’ve lost touch
with the basic concepts. Could somebody please explain why state for the
view needs to be stored to begin with? Could JSF be used in a stateless
manner, or is that not how it is meant and designed to be used?
How do
Hello Bansi,
You can inject Spring beans into your JSF managed beans via the Spring
DelegatingVariableResolver. Given that, you should be able to call your
Spring bean methods and pass in the appropriate parameters. Why do your
Spring beans need direct access to the session?
Answers below (in-line). Please (anyone) feel free to correct any
mistakes I may have made...
On 5/17/07, lightbulb432 [EMAIL PROTECTED] wrote:
Somewhere in the months of learning and reading about JSF, I've lost touch
with the basic concepts. Could somebody please explain why state for the
I suggest putting a h:messages / tag in your form. Probably a Validator,
Converter or Managed Bean setter is failing, causing the lifecycle to go to
phase 6 (render response). The messages tag could give some feedback.
Jan-Kees
-Oorspronkelijk bericht-
Van: Carlos Ortiz [mailto:[EMAIL
Hi Bansi,
Personally, I would only pass the userId and userRole (and probably other
properties), but definitely not the Managed Bean itself. It's no problem for
the Managed Bean to know the Spring Bean, but the other way around (Spring
Bean knowing the JSF Managed Bean) is a situation I in almost
Oliver, it will get cleaned up when the VM needs the memory. Provided,
of course, that you drop the element. One thing I may suggest is a
local filesystem cache so you don't have to store these huge objects in
memory for the lifetime of the session. The session is a long-lived
object. Even
I gave the old-style alerts (still the default) a try on the
latest code, and they seemed to be working fine
on both Firefox and IE.
@Stephen: do you have a testcase, or some more information
that could diagnose what's going wrong? (Javascript errors,
etc.)
-- Adam
On 5/12/07, Adam Winer
Thanks for your response.
The tree model and tree state you mentioned as part of the external
object, by that do you mean HttpSession state as opposed to component
state?
Is server-side component state saved to the HttpSession?
For frameworks apart from JSF, if they want to retain the
Hi Kito
Thanks for quick response. The reason Spring beans need direct access to
session object is to perform some business logic based on userId and user
Roles stored in session object. Hence the need to pass the session object
from JSF to Spring. As you suggested i already implemented
Hello
Is there a good Webshop app with JSF source existing?
Thanks for Your answer. The best case in Open Source
this could save a lot of time
Welcome Matt, glad to have you on board!
--Manfred
On 5/16/07, Matthias Wessendorf [EMAIL PROTECTED] wrote:
Congratulations to Matt Cooper for becoming the newest Myfaces committer !
Matt has provided patches to Trinidad and has been active on the
mailing list to help other users on how to
Jean-paul,
Their are a few related JIRA issues.
Some places to look for more information:
http://wiki.apache.org/myfaces/Navigation_Overview
http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truepid=12310272component=12310951resolution=-1sorter/field=prioritysorter/order=DESC
I depends.
With server side state saving, up to # number of serialized component
view states are saved into the HttpSession (where # defaults to 20 I
believe). With client side state saving the component state is
serialized and base 64 encoded and put into an 'input type=hidden
...' element.
I see... Indeed i can change the next page displayed doing this.. But
i have not found how to switch the mode back to view so that the
portlet decoration icons go back to the set displayed when in view
mode... What I have is the page displayed normally under view mode,
but the portlet
Good Morning,
Please can someone point me in the right direction. I have checked out
the
http://svn.apache.org/repos/asf/myfaces/trinidad/branches/faces-1_2-0704
27/
http://svn.apache.org/repos/asf/myfaces/trinidad/branches/faces-1_2-070
427/ branch. I then do the following:
cd plugins
mvn
Alex, can't you change the portlet mode by getting the native
actionResponse? For instance:
ActionResponse action = (ActionResponse)externalContext.getResponse();
action.setPortletMode(PortletMode.EDIT);
This would still resolve to the pages defined in your metadata, but you
could have it
28 matches
Mail list logo