I am using JSF 1.2, RichFaces 3.1 wondering if any of these technologies
support Bookmarking.
Googling i found PrettyFaces, RestFaces extend JSF to support Bookmarking
But we don't want to add new frameworks to our project and would like to get
it done with available frameworks.
Any
We use JSF 1.2, RichFaces 3.1, Spring 2.5, Hibernate 3.2 and have following
requirement
The maximum number of rows returned must be configurable so that users
don't query too much information.
We are able to successfully implement search using RichFaces walk method of
Serializable data model
the
Homepage instead of actual page
Richard Yee-3 wrote:
Use redirect/ on your view.
-R
On Sun, Jan 18, 2009 at 8:52 AM, bansi mail2ba...@yahoo.com wrote:
I am using JSF 1.2, RichFaces 3.1 wondering if any of these technologies
support Bookmarking.
Googling i found PrettyFaces
to accomplish the following
Then you can manually add the necessary links and use tricks to
manually check for and handle the parameters.
An simple example will be greatly appreciated
Simon Kitching wrote:
On Sun, 2009-01-18 at 08:52 -0800, bansi wrote:
I am using JSF 1.2, RichFaces 3.1 wondering
so that it can be
bookmarked
I am not sure how to do this exactly. So simple example will be greatly
appreciated
Simon Kitching wrote:
On Sun, 2009-01-18 at 08:52 -0800, bansi wrote:
I am using JSF 1.2, RichFaces 3.1 wondering if any of these technologies
support Bookmarking.
Googling i
be handled at data access rather
than UI level.
Hibernate api supports maxResult so you can limit the number of rows
returned.
On Sun, Jan 18, 2009 at 4:57 PM, bansi mail2ba...@yahoo.com wrote:
We use JSF 1.2, RichFaces 3.1, Spring 2.5, Hibernate 3.2 and have
following
requirement
I have following JSF components on *.xhtml page
- h:selectOneMenu . This dropdown displays lists of manufacturers. It also
facilitates in CRUD as the dropdown has one of
the values New . Picking New value from the dropdown clears other form
fields and facilitate in creating new manufacturer.
Please excuse me if you think the question shouldn't be on this forum
I have a situation where i am passing an java object from presentation layer
( JSF/Facelets) to business layer(Spring/Hibernate)
Here is the model
public Class A{
public B b; //refers to other class B
}
I am
We are using JSF 1.2, MyFaces 1.2.2, Spring, Hibernate
One of the biggest problems of JSF appears to be that it requires that most
backing beans be placed into session scope.
Is there anything you can do on the technical side to work around these
problems that stem from storing e.g. a
backing beans. i.e. the component
tree (state) is in session
bansi wrote:
We are using JSF 1.2, MyFaces 1.2.2, Spring, Hibernate
One of the biggest problems of JSF appears to be that it requires that
most backing beans be placed into session scope.
Is there anything you can do
We use JSF 1.2 (MyFaces 1.2.2) in the presentation layer, Spring 2.5.3 in the
service layer and Hibernate3.2 as persistence layer.
The java application we are building is mostly CRUD but involves tons of
business rules which needs to be implemented at both presentation and
service layers
We are
We use MyFaces 1.2.2, JSF 1.2, facelets 1.1.13, Spring 2.5, Hibernate 3.2
50% of the code is already written using JSF, Spring,Hibernate. Next we need
to work on the most complex module of the system which has more than 80
business rules. We plan to have 2-3 developers working on this module
:
In the beforePhase method of your restore_view phase listener, you
should check if it is right after a new login. If yes, redirect to the
home page. This should suppress the ViewExpiredException.
regards
Bill
On Fri, Jul 25, 2008 at 3:16 PM, bansi [EMAIL PROTECTED] wrote:
Thats
e.printStackTrace();
}
I still have the problem of Exception shown in log file. Is it good idea to
restore the view and continue the session
Zigc Junk wrote:
I use Glassfish. What is your container?
On Thu, Jul 24, 2008 at 1:34 PM, bansi [EMAIL PROTECTED] wrote:
Hi Bill,
I just copy
, bansi [EMAIL PROTECTED] wrote:
Finally i am able to avoid ugly stack trace rendered on Browser due to
ugly
ViewExpiredException by putting following snippet of code in afterPhase()
method of LoginPahseListener
if (pe.getFacesContext().getViewRoot() == null)
{
//This message never get
homePage = /+HOME_PAGE+.jsf;
ec.redirect(homePage);
} catch(Exception e) {
// this should never happen
e.printStackTrace();
}
}
}
regards
Bill
On Wed, Jul 23, 2008 at 10:20 AM, bansi [EMAIL PROTECTED] wrote:
Hasan
help you to build a session timeout handling infrastructure... also,
you
can handle ajax requests by this session expired controller filter...
Regards,
Hasan...
www.jroller.com/hasant
On Mon, Jul 21, 2008 at 11:58 PM, bansi [EMAIL PROTECTED] wrote:
Thanks for your suggestion. I
)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
bansi wrote:
I am using Myfaces 1.2.2 ( JSF 1.2) and PhaseListener approach as
suggested by Cagatay Civici in one of his articles i.e.
http://cagataycivici.wordpress.com/2005/12/30
behaviour, if you do a
post-back (if you execute a get-link, then this shouldn't happen). In
your web-application, you will need to cover the case of a timed-out
session appropriately.
regards,
Martin
On 7/18/08, bansi [EMAIL PROTECTED] wrote:
I am using Myfaces 1.2.2 ( JSF 1.2
on the browser
I am using Tomcat 5.6, JSF 1.2(MyFaces 1.2.2), facelets 1.1.13
Martin Marinschek wrote:
Hi,
you should probably write a filter or a phase-listener to deal with
session-timeouts appropriately.
regards,
Martin
On Fri, Jul 18, 2008 at 7:01 PM, bansi [EMAIL PROTECTED] wrote:
Hi
I am able to successfully implement Acegi JSF Component for Spring Security
2.0.2 into Facelets file from the link
http://cagataycivici.wordpress.com/2006/01/19/acegi_jsf_components_hit_the/
acegi_jsf_components
but we have a requirement when a user is not in a particular role, then
simply
We use home grown Authentication system and database tables for
Authorization. Here is the Situation we are in:
Domain Object : Address Block
We have business rule which states check User/Group Privileges on Address
Block before Create, Update, Delete IpAddress.
User/Group Privileges on Address
I have a JSF Bean in Request scope and onsubmit of JSF form all the bean
properties are null.
I did verify form fields having values before submit from Http Headers (i.e.
FireFox Plugin )
The moment I click the submit button and check the values of bean properties
thru logger they are null
Note
Robinson-5 wrote:
Silly question: is deviceBean and all of its member hierarchy
serializable?
-Andrew
On Tue, Apr 22, 2008 at 1:08 PM, bansi [EMAIL PROTECTED] wrote:
As its always great challenege working with request scope beans . I just
made
it successfully work for commandlink inside
())
{
Map.Entry pairs = (Map.Entry)it.next();
logger.debug(pairs.getKey() + = + pairs.getValue());
}
bansi wrote:
I have a JSF Bean in Request scope and onsubmit of JSF form all the bean
properties are null.
I did
I have two h:selectManyList boxes and a custom converter
On form load, right box gets populated with some values and has converter
attached to it , the getAsString() method is invoked
When i hit submit button the page it goes directly to the action method
without invoking converter
Wondering
As its always great challenege working with request scope beans . I just made
it successfully work for commandlink inside a dataTable using tomahawk
preservedModel=true
Then the next challenge is when i click the Submit button on the page it
doesnt call action method and simply reRender the page
the proper API.
If you are using facelets, why is there a f:view in your code and why
are you not using ui:composition to make sure you do not have 2 BODY
tags?
On Sun, Apr 20, 2008 at 6:59 PM, bansi [EMAIL PROTECTED] wrote:
I also tried injecting FqdnBean into DeviceBean and then access
I will try to explain the problem with code snippet
Here is the code snippet
{code}
html
body
f:view
h:form id=updateDeviceForm
h:panelGrid
..
..
h:inputText id=deviceName value=#{deviceBean.name} style=width: 230px
styleClass=required max-63
/h:panelGrid
I also tried injecting FqdnBean into DeviceBean and then access model object
of FqdnBean i.e. Fqdn into DeviceBean as
Fqdn fqdnVO = fqdnBean.getFqdn();
Result:
It returns null
bansi wrote:
Here is the code sample
html
body
f:view
h:form id=updateDeviceForm
h:panelGrid
Here is the code sample
html
body
f:view
h:form id=updateDeviceForm
h:panelGrid
..
..
h:inputText id=deviceName value=#{deviceBean.name} style=width: 230px
styleClass=required max-63
/h:panelGrid
h:panelGrid
ui:include
I have following situation
JSF form1.xhtml has ui:include src=form2.xhtml /
form2.xhtml has Value-Binding to pojo i.e. model object
Now i wanna access these pojo i.e. model object in Form1Bean.java. I tried
doing this in two ways
1) retrieve the Component from Tree Model
2) using
PROTECTED] wrote:
You might give shale remoting a look[1]. I have not tried to use it with
Trinidad but all I think you would need is the shale-core and
shale-remoting jars.
[1] http://shale.apache.org/shale-remoting/index.html
Gary
-- Original message --
From: bansi
/ Actions = Server Side
So, answer is no, you can't synchronize a javascript with a server
code. It's alwasy javascript onclick, followed by an http method call
(which will trigger all JSF stuffs)
bansi a écrit :
I have a requirement where i wanna execute both Method Binding and
JavaScript
Code
I have a requirement where i wanna execute both Method Binding and JavaScript
Code at the same time using JSF h:commandButton.
The Javascript will open a popup while MethodBinding will set the values in
Backing Bean
Here is the snippet
h:commandButton id=findContact value=Manage Contacts
I am using JSF, Spring, Hibernate .
Everything looks well with my JSF form . But the log shows following errors
2007-10-26 12:49:24,618 WARN
[org.apache.myfaces.renderkit.html.HtmlLabelRenderer] - Attribute 'for' of
label component with id manageAddrBlkForm:_id45 is not defined
I am not sure
Thought so ... but how do i figure out which component has id _id45
Please note i gave meaningful id names to all my components
Andrew Robinson-5 wrote:
[org.apache.myfaces.renderkit.html.HtmlLabelRenderer] - Attribute 'for'
of
label component with id manageAddrBlkForm:_id45 is not
the dropdown i.e. addrBlkSelectItems = null so that it gets populated fresh
from the database. But it results in
java.lang.OutOfMemoryError: Java heap space
Not sure what i am doing wrong
Any pointers/suggestions will be highly appreciated
Regards
Bansi
--
View this message in context
?
could you use a pageable datatable instead and fetch only
parts of those 14.000 at a time?
cheers
Ernst
On 10/25/07, bansi [EMAIL PROTECTED] wrote:
Hi Andrew
I have an situation, where the dropdown on JSF page gets populated with
14,171 records from database using Hibernate
I have a situation where reRender attribute reRenders the whole form. Here is
the snippet
a4j:outputPanel
h:inputText id=description size=75
value=#{manageAddrBlkBean.addressBlock.description}
a4j:support event=onfocus
not Objects. So
t:updateActionListener ... / is the solution to pass objects
Regards
Bansi
David Delbecq-2 wrote:
Not sur what you want, trying to answere anyway.
1) If you wanna put information on an HyperLink and have it set to a
bean property, one way is to use a lifeCycle
On click of hyperlink i wanna pass the object instance i.e. address of the
object
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(viewId)
Please note viewId is instance of my object like DeviceView viewId;
I am checking the value at every stage it holds the
Forgot to mention i dont wanna use managed-property facility in the
faces-config as i am using Session scope Bean and i cant use request scope
bean
bansi wrote:
On click of hyperlink i wanna pass the object instance i.e. address of the
object
FacesContext.getCurrentInstance
(context, devInterface.getId());
bansi wrote:
Forgot to mention i dont wanna use managed-property facility in the
faces-config as i am using Session scope Bean and i cant use request scope
bean
bansi wrote:
On click of hyperlink i wanna pass the object instance i.e. address of
the object
the menu
(conversion error, validation message, etc.)?
On 8/1/07, bansi [EMAIL PROTECTED] wrote:
When the page loads the textfield is disabled i.e. non-editable. It
should be
editable only thru onchange event of other component
Here is the snippet
h:selectOneMenu id=assetMgmt value
globalOnly=false /
/a4j:outputPanel
-Andrew
On 8/2/07, bansi [EMAIL PROTECTED] wrote:
Good question Andrew. I knew you are pointing at Conversion or
Validations
which may occur during onchange event. It was error in my code which i
fixed
it works fine now
But i am having another wierd
When the page loads the textfield is disabled i.e. non-editable. It should be
editable only thru onchange event of other component
Here is the snippet
h:selectOneMenu id=assetMgmt value=#{deviceBean.selectedAsset}
f:selectItem itemLabel=
load the data, then you will get this hit every page and AJAX
request.
What scope is your updateDeviceBean?
-Andrew
On 7/17/07, bansi [EMAIL PROTECTED] wrote:
Hi Andrew
This time i am getting perfomnace problem on click of radio button. Here
is
the snippet
div style=overflow:auto
=#{searchDeviceBean.queryResults}
var=resultSet styleClass=list rowClasses=odd,even
rendered=#{searchDeviceBean.searchResultSet}
h:column/
h:column/
h:column/
/h:dataTable
/a4j:outputPanel
Andrew Robinson-5 wrote:
Can you show the managed bean code?
On 7/16/07, bansi [EMAIL PROTECTED] wrote
h:dataTable on first click only if records found. How to
check the condition to display No records Found. Di i need to use JSTL tag
. Is it possible to check the list size using JSTL tag
Andrew Robinson-5 wrote:
Can you show the managed bean code?
On 7/16/07, bansi [EMAIL PROTECTED] wrote
=#{updateDeviceBean.deviceInterface.mac} /
h:message
for=mac /
/h:panelGrid
/a4j:outputPanel
Andrew Robinson-5 wrote:
Can you show the managed bean code?
On 7/16/07, bansi [EMAIL PROTECTED] wrote:
Andrew
I am unable to reRender the values on the click of RadioButton . It shows
blank page
Here is the code snippet
[code]
div style=overflow:auto; width:85%; height:125px
h:dataTable id=deviceDetailTable styleClass=list
rowClasses=odd,even
I have a requirement to add multiple textfields like
Name : h:inputText id=name /
Age : h:inputText id=age /
h:commandButton value=Add /
I am looking for JSF/MyFaces component which onclick of Add button can store
multiple records of Name and Age into some kind of JSF Component
I can think of
On 7/6/07, bansi [EMAIL PROTECTED] wrote:
Andrew,
Thanks for quick response. I will definately use the PhaseListener to
debug
the problem as you mentioned . Meanwhile i was thinking maybe i
misrepresented the problem .
Here is the situation
I have textfield with a4j onblur event
As i
. Try this instead:
a4j:outputPanel id=searchpanel
h:panelGroup rendered=#{searchDeviceBean.searchResultSet}
...
/h:panelGroup
/a4j:outputPanel
On 7/16/07, bansi [EMAIL PROTECTED] wrote:
Thanks Andrew i fixed it. I have similar kind of problem in different
situation
/a4j:outputPanel
On 7/16/07, bansi [EMAIL PROTECTED] wrote:
Thanks Andrew i fixed it. I have similar kind of problem in different
situation
Their is a Search Form . Click on Search button reRenders the h:dataTable
to
display the search resultSet but this happens only after clicking
My Search Backing Bean (JSF) displays the resultSet as list of object
properties along with a hyperlink for Edit/Update.
When i click on the hyperlink Edit , i am passing id value of the object,
so that i can load the object , which eventually renders data on Update Form
I have defined the
the data alive.
Cagatay
On 7/11/07, bansi [EMAIL PROTECTED] wrote:
My Search Backing Bean (JSF) displays the resultSet as list of object
properties along with a hyperlink for Edit/Update.
When i click on the hyperlink Edit , i am passing id value of the
object,
so that i can load
I am using a4j:onblur event on textfield to reRender other fields on the form
which include 3 dropdowns and 3 textfields
The moment i hit tab key a4j:onblur event works as expected reRenders
other fields on the form. But their is great latency during reRendering and
what i have observed is it
I have observed a4j:commandButton works only on Page Refresh
Here is the situation
I am using two h:selectManyListbox to moves Roles i.e. All Roles to selected
Roles using h:commandButton value=--gt; /
h:commandButton works perfectly fine , the only limitation is after moving
the value from
in the reRender property of the a4j
command button
On 7/6/07, bansi [EMAIL PROTECTED] wrote:
I have observed a4j:commandButton works only on Page Refresh
Here is the situation
I am using two h:selectManyListbox to moves Roles i.e. All Roles to
selected
Roles using h:commandButton value
an MFC control, but not sure. Your best bet is to use the above
technique, a debugger and step through the code, an client side
debugger (like firebug for firefox) to time the javascript or use a
performance tool.
On 7/6/07, bansi [EMAIL PROTECTED] wrote:
Thanks Andrew for the catch it works
I figured out the problem is with reRendering the dropdowns especially if
dropdown has 10,000 values in it. I would appreciate any suggestion/pointers
to resolve the performance hit during reRendering of dropdowns
bansi wrote:
I am using a4j:onblur event on textfield to reRender other fields
will render the value from
the backing bean instead of the value from the client.
There was another thread recently talking about similar issues an how
to clear submitted values and local values. I don't have the URL for
that one though.
Hope I understood you correctly,
Andrew
On 7/6/07, bansi
behaviour should be completely done in the
suggestedItemsMethod. So it is
the developers responsibility to return the list from the db-call, in
your case getAssetMgmtSystems(). The call to well fitting suggestions
must occur there.
cheers,
Gerald
On 7/2/07, bansi [EMAIL PROTECTED] wrote:
I am
= asset.getName();
keyword = assetName.substring(0,1);
stateList.add(keyword + assetName);
}
return stateList;
}
Any pointers/suggestions will be highly appreciated
Regards
Bansi
--
View this message in context:
http://www.nabble.com/s%3AinputSuggestAjax---how-this-tag-works-with-database
them and have similar implementation in business Layer
i.e. Spring
Its years that i looked into CoreJava any pointers/suggestions with snippet
code will be highly appreciated
Regards
Bansi
--
View this message in context:
http://www.nabble.com/Simple-Java-Question-tf3997491.html#a11353094
Sent
Layer
i.e. Spring
Its years that i looked into CoreJava any pointers/suggestions with snippet
code will be highly appreciated
bansi wrote:
- if any new objects are added to the collection (i.e. Lsit),
- if they are old do nothing,
- if there are any new objects in the collection (i.e. Lsit
Here is the snippet where Attribute required=true doesn't work using
Ajax4Jsf 1.0.4, Facelets 1.1.12, MyFaces 1.1.14
h:form id=manufacturer
h:panelGrid columns=3 styleClass=detail columnClasses=label
h:outputText value=Manufacturer /
h:selectOneMenu id=manufList
We have Homegrown Authentication System which on successfull authentication
returns EmployeeID in the form of Request Header Variables.
I am using afterPhase method of PhaseListener to call onPageLoad method
of LoginBean by checking the viewId as shown below
if (viewId.endsWith(login.xhtml)) {
objects in pojo with the set passed from UI
tier
Any pointers/suggestions will be highly appreciated
Regards
Bansi
--
View this message in context:
http://www.nabble.com/Simple-Java-Question---How-to-Overwrite-Set-tf3979647.html#a11297587
Sent from the MyFaces - Users mailing list archive
the original object so i cant do update/delete on
the original object. My backing bean is in session scope
Any pointers/suggestions will be highly appreciated
Regards
Bansi
--
View this message in context:
http://www.nabble.com/Dynamically-Refresh-Dropdowns-in-JSF-MyFaces-tf3966063.html#a11257001
// clear the properties:
clearState();
}
public void onCancel(ActionEvent evt) {
clearState();
}
private void clearState() {
myObject = null;
}
}
On 6/13/07, bansi [EMAIL PROTECTED] wrote:
I figured out that i can do something like this ...
In session scope
We have backing bean defined in session scope
So whenever we do a submit on JSF Form, it holds onto same backing bean.
This is not desirable as
- The Form will have different set of values each time it does a submit
- The Backing bean has variable defined to instantiate a POJO i.e.private
bean to be
re-initialized i.e. re-created with new instance
Please note as suggested by you i am not looking to clear off the fields on
the form whereas i want to recreate the whole backing bean itself
Any pointers/suggestions highly appreciated
Regards
Bansi
Andrew Robinson-5 wrote
()
.getExternalContext()
.getSessionMap()
.put(myBean, new MyBean());
BUT i am not sure where to put this snippet of code.
bansi wrote:
Andrew
I totally agree with you on its the desired behavior of a session bean --
one instance for the
user's session
But is their a way
() {
// EntityManager or hibernate session save here
// clear the properties:
clearState();
}
public void onCancel(ActionEvent evt) {
clearState();
}
private void clearState() {
myObject = null;
}
}
On 6/13/07, bansi [EMAIL PROTECTED] wrote:
I figured
iterate thru the meesage list and
print them on browser. I know its available in RequestMap.
A code snippet will be highly appreciated
Regards
Bansi
Kito D. Mann wrote:
-Original Message-
From: bansi [mailto:[EMAIL PROTECTED]
Sent: Friday, June 01, 2007 1:29 PM
To: users
it is public List getDeviceTypeList() throws
BaseException
Regards
Bansi
--
View this message in context:
http://www.nabble.com/Exception-Handling-using-JSF-MyFaces-and-Spring-tf3853562.html#a10917207
Sent from the MyFaces - Users mailing list archive at Nabble.com.
or
indirectly
4) How will Servlet format Responses recieved from business methods
Any pointers/suggestions will be greatly appreciated
Regards
Bansi
--
View this message in context:
http://www.nabble.com/JSF-MyFaces-Integration-With-WebService-Servlet-tf3855162.html#a10922473
Sent from
That sounds exciting. Could you please share the process/code snippets on how
to do this
Titi Wangsa wrote:
spring + spring-modules-cache + oscache.
that's how we do it..
no eager reading in init methods.
the data gets stored in the cache the first time it is read
next read would just
Bansi
--
View this message in context:
http://www.nabble.com/How-to-Secure-Views-in-JSF-tf3811634.html#a10788906
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Regards
Bansi
Titi Wangsa wrote:
something like this for the skeleton
?xml version=1.0 encoding=UTF-8?
beans xmlns=http://www.springframework.org/schema/beans;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=
http://www.springframework.org/schema/beans
in f:selectItems gets called which results in
a database call
f:selectItems value=#{manufacturerBean.manufacturerList} /
I understand its due to JSF Lifcycle.
Any pointers/suggestion on how to Cache the method getManufacturerList() to
avoid unnecessary database calls will be highly appreciated
Regards
Bansi
=#{manufacturerBean.manufacturerList}: Bean:
com.boeing.nmt.nams.view.bean.ManufacturerBean, property: manufacturerList
(no write method for property!)
I didnt understood what does it mean by no write method for property! . I
do have getManufacturerList in backing bean
Regards
Bansi
Andrew Robinson
refine the above method to cache the
results
Regards
Bansi
Andrew Robinson-5 wrote:
How about t:saveState value=#{manufacturerBean.manufacturerList}
/? If you are using a4j:region, you will need to make sure the save
state tag in in the region (BTW - I haven't tested this).
On 5/23/07, bansi
in advance
Regards
Bansi
David Delbecq-2 wrote:
You need a void setManufacturerList(List l) so saveState can restore the
state.
bansi a écrit :
Thanks Andrew. As suggested i have placed the snippet right above
h:form
f:view
t:saveState id=save1 value=#{manufacturerBean.manufacturerList
the
application
Regards
Bansi
Andrew Robinson-5 wrote:
ListSelectItem manufacturerList =
(ListSelectItem)reqMap.get(manufacturerList_KEY);
System.out.println(manufacturerList=+manufacturerList.size());
The println statement will throw a null pointer exception as you are
calling size
=#{manufacturerBean.manufacturerList} /
a4j:support
action=#{manufacturerBean.loadManufacturerDetails} event=onchange
reRender=manufName,manufDescription,manufSource,btnSave,btnDelete /
/h:selectOneMenu
Any pointers/suggestions will be appreciated
Regards
Bansi
;
else
hasRole=false;
}
Any pointers/suggestions will be highly appreciated
Regards
Bansi
bansi wrote:
Here is the dropdown in which itemDisabled=true doesnt works for
f:selectItem
h:selectOneMenu id=manufList
value=#{manufacturerBean.selectedManufacturer
, make connection to database
instead of using HttpSession
Not sure if its best practice though also how to retrieve RequestHeader
variables in Servlet Filter
Regards
Bansi
--
View this message in context:
http://www.nabble.com/JSF-PhaseListener-VS-Servlet-Filter-tf3793704.html#a10729899
Sent
BUT users will have different
session objects with their user Info in it and also we want the Lifecycle of
the object to be under session i.e. as the session terminates the object
should be destroyed
Regards
Bansi
Nebinger, David wrote:
Besides the spring integration, maybe you should rethink
Bansi
Nebinger, David wrote:
Thanks Everyone for providing valuable suggestions We
usein-house Security system which gives employee Id and
Roles on successful authentication. We need to store
employee Id Roles into some kind of object maybe session so
that it can be accessible by any
in Spring
Regards
Bansi
Nebinger, David wrote:
Thanks Everyone for providing valuable suggestions We
usein-house Security system which gives employee Id and
Roles on successful authentication. We need to store
employee Id Roles into some kind of object maybe session so
that it can
the same
Session object at Spring layer so that it can be accessible by an spring
bean
Any pointers/suggestions will be highly appreciated
Regards
Bansi
--
View this message in context:
http://www.nabble.com/How-to-Share-Session-between-JSF%28MyFaces%29-and-Spring-tf3772789.html#a10667077
Sent
/suggestions will be highly appreciated
Regards
Bansi
Kito D. Mann wrote:
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
.CHANGE_DATE as CHANGE7_60_ from
NAMS_MANUFACTURER namsmanufa0
_
I do have Managed Bean in Session scope
Regards
Bansi
--
View this message in context:
http://www.nabble.com/JSF-Dropdown-Perfomance-Issues-tf3710469.html#a10378469
Sent from the MyFaces - Users mailing list archive at Nabble.com.
will be highly appreciated
Regards
Bansi
Andrew Robinson-5 wrote:
private final static String LARGE_STUFF_KEY = largestuff;
@SuppressWarnings(unchecked)
public ListStuff getLargeStuff()
{
Map reqMap = FacesContext.getDefaultInstance()
.getExternalContext().getRequestMap
to use the requestMap
from the external context to cache data for
the request to avoid calling twice
Any pointers/suggestions where i can obtain more info will be highly
appreciated
Regards
Bansi
Andrew Robinson-5 wrote:
UIComponents are free to call their value bindings as many times
on how to print these values will be highly
appreciated
Regards
Bansi
--
View this message in context:
http://www.nabble.com/Populate-fields-based-on-radio-button-row-selection-in-dataTable-using-AJAX4JSF-tf3658911.html#a10223342
Sent from the MyFaces - Users mailing list archive at Nabble.com.
1 - 100 of 121 matches
Mail list logo