http://www.nabble.com/file/8520/configfiles.rar configfiles.rar
--
View this message in context:
http://www.nabble.com/How-to-integrate-myfaces-in-RSA-7-for-portlet--tf3776168.html#a10677714
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Hi Madan,
it is currently not possible to do ajax refresh for components inside
of a sheet.
The current algorithm to find and render the requested componenent did
not setup a parent UIData component to the requested rowIndex.
so you will not get the correct values if you use the var attribute
Hi,
the alias is only accessible in jsp-content embedded inside the aliasBean.
cheers,
Gerald
On 5/17/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
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
I am using the the 1.1.6 sandbox but I don't have your problem ... have you
tried a simple page with just one command link on it and see if that works
... do you use any components from the sandbox on all those pages ? are
command buttons also affected or just command links ? if not, have you
Hi,
addResource.addInlineScriptAtPosition(context, AddResource.BODY_END, code);
The javascript was added in head section. I had expected it to be in the end
of HTML body.
Is there another way to add javascript in the body?
Thanks
Hi !
I use jsf-spring ( http://jsf-spring.sourceforge.net/ ) and it works
very well. See the quickstart tutorial on their homepage, very easy to
setup.
Besides the spring integration, maybe you should rethink your design ?
Use somthing like acegi security to perform authentification and
Hello All,
I am attempting to build a picklist JSF component. Here is a prototype
of a pick list with javascript only:
http://torch.cs.dal.ca/~mcormier/picker/
To create a picklist with columns tables are used. Rows in the table are
built dynamically with javascript from supplied data.
I
Excellent idea. Thanks for the reply, Cagatay. Since I need to initialize
application-scoped managed beans in this code, the listener must execute
after org.apache.myfaces.webapp.StartupServletContextListener. Is the best
way to do this to subclass
Man! Thank you so much Scott... That's exactly the command i
needed... I just didn't know how to get to it from the bean!
This, in combination with nav rules an a simple override to doEdit()
to go to edit mode from the portlet decorations (the preferences
icon) is doing exactly what i
Hi
I am trying to implement WorkingWithLargeTables article present on wiki, on
the search page of my application (search can return hundreds of results).
The user fills in the search criteria and presses the search button.
I have used the DataPage and PagedListDataModel classes. Also I have
Try instead computing the PDF byte[] from the non-portlet JSP or
servlet. That way it should never survive Eden and get GC'ed
immediately.
_
From: Pfau, Oliver [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 15, 2007 1:21 AM
To: MyFaces Discussion
Subject: AW: JSF, Tomcat memory usage
I
Hi,
This would help;
http://myfaces.apache.org/sandbox/selectManyPicklist.html
Cagatay
On 5/18/07, Cormier, Matthieu [EMAIL PROTECTED] wrote:
Hello All,
I am attempting to build a picklist JSF component. Here is a prototype
of a pick list with javascript only:
Hi,
This is a general JSF question; probably not MyFaces-specific. Can anyone
tell me how to get one-time initialization code executed during
application startup? With Spring and Struts, this was really easy to do.
With JSF, it's not obvious to me how to do it.
Thanks for any suggestions,
Besides the spring integration, maybe you should rethink your
design ?
Use somthing like acegi security to perform authentification
and authorization instead of passing Session objects to the
business layer...
At least consider wrapping the info you need (user id and
roles) in an
Here's how I do it for Edit Mode going back to View mode after the user
presses Save.
I have a public String save() method which tells the preferences to save
themselves, then it calls this static method (I made it static so that
any JSF bean can call it as part of its action method):
/**
You will need to use some inputHidden to send the data to the server.
El vie, 18-05-2007 a las 07:03 -0600, Cormier, Matthieu escribió:
Hello All,
I am attempting to build a picklist JSF component. Here is a prototype
of a pick list with javascript only:
Hi,
I'm not sure if there's a statement about servlet specification about
listener order but usually containers invoke listeners using the declaration
order during startup and in reverse order when the app shuts down.
I'd go with my own listener rather because the myfaces listener is shipped
in
Calling FacesContext.getCurrentInstance() returns null from my own
ServletContextListener.contextInitialized(), even though I've written the
web.xml like so
There won't be any facescontext during startup, it's associated with a
particular request so since there's no request during startup
It definitely does! Thank you very much! it works great!
On May 18, 2007, at 9:08 AM, Cooper, Stephen wrote:
Here's how I do it for Edit Mode going back to View mode after the
user
presses Save.
I have a public String save() method which tells the preferences to
save
themselves, then it
Hi,
I am using an editable table inside a detailstamp facet. The data in the
table comes from a request-scoped managed bean. As I want to avoid
session scoped beans, I use the tomahawk savestate tag to save the state
of my beans. Everything works fine, except that when I change something
in
can't you do it in the bean constructor?
2007/5/18, [EMAIL PROTECTED] [EMAIL PROTECTED]:
Excellent idea. Thanks for the reply, Cagatay. Since I need to initialize
application-scoped managed beans in this code, the listener must execute
after
Actually, I should also have asked: at what point is it safe to call
FacesContext.getCurrentInstance()? After
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized()
is complete?
Eric Jung/X/PH/Novartis
05/18/2007 10:42 AM
To
MyFaces Discussion
Hi,
Calling FacesContext.getCurrentInstance() returns null from my own
ServletContextListener.contextInitialized(), even though I've written the
web.xml like so:
listener
listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class
/listener
Hi!
I have Tomcat redirecting to custom error pages depending on error codes
like this:
error-page
error-code404/error-code
location/errorPage.xhtml?msg=PAGE_NOT_FOUND/location
/error-page
But... on the custom error page, my jscookMenu does not show up!!!
what could be the
Hi all, I use Tomahawk + Facelets + Trinidad + Ajax4jsf and I need to render
blob contents retrived from a database, according to the suggestions at
http://jroller.com/page/cagataycivici?entry=phaselistener_renders_an_image_no
I use a phase listener to retrieve contents of blobs to render
Navegation is not working if the page has any :
jsp:include
only if the page to be include is 100% html.
using myfaces 1.1.5 and 1.1.6 snapshot.
tomahawk 1.1.5
Jan-Kees van Andel escribió:
I suggest putting a h:messages / tag in your form. Probably a Validator,
Converter or
What I'm trying to do is cache database data in a bunch of managed beans
at startup. This data rarely changes, so it doesn't make sense to run the
queries again and again. I've seen other people on the list do it this
way:
h:commandLink
actionListener=#{myManagedBean.init}
Sorin Silaghi wrote:
I am using the the 1.1.6 sandbox but I don't have your problem ...
Presumably dozens if not hundreds of other people are too; it doesn't
make a lot of sense to me, I must be missing something. How could simply
having the sandbox jar be accessible to tomcat affect code
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 Spring bean in the business layer.
On 5/18/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
Calling FacesContext.getCurrentInstance() returns null from my own
ServletContextListener.contextInitialized(), even though I've written the
web.xml like so:
listener
listener-class
My code is as below. Displaying product and available quantity to purchase
more. when the quantity field is entered it is captured as
orderbean.quantity for processing, however that value turns out to be null.
I am beginner, please advise what I am doing wrong
%@ taglib
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 Spring bean in the business
Multiple ways
1) Use JBoss-Seam @In/@Out annotations to inject/outject the values
2) Use managed properties in the faces-config.xml to have bean b
always pull the value from bean A for a given property
3) Put the value in the ExternalContext requestMap in bean A and get
it in bean B from the
i am using Springs DelegatingVariableResolver to make my Spring beans
accessible from JSF layer . Thats exactly how i am passing user session
object ( i.e. user Id and user Roles ) as argument to business method in
Spring.
I am able to retrieve this user session object its attributes into
Hi
How To use Values from a bean in a other
I'll to do this.
I Have my Bean A
then i like to put the arrtibute xx in a bean B
example
use the iduser attribute form a session bean in a request bean for a
simple search ,
the request bean has a attribute iduser. but how do i set it to request
Thanks David . As i am newbie i would appreciate a snippet code on how to
place the
authentication object into a ThreadLocal object so that its available to
Spring layer w/o any runtime binding
Here is what i am doing currently
The Homegrown security application on successful authentication
Hello there.
I'm trying to make a tr:table with two columns (name, value). The number
of lines is variable and I'd like to use tr:table to be able to use
pagination later, since it will probably be necessary.
So far everything's going fine.
Now, on the value column, I want to place another
Is it possible to have the emptyText for tr:table/ flow across all of the
columns? Right now it seems to only be placed into the 1st column.
Thanks,
Chris
Thx Just a couple questions.
Multiple ways
1) Use JBoss-Seam @In/@Out annotations to inject/outject the values
2) Use managed properties in the faces-config.xml to have bean b
always pull the value from bean A for a given property
Noob , How i do that ?¡
3) Put the value in the
On 5/18/07, Carlos Ortiz [EMAIL PROTECTED] wrote:
Thx Just a couple questions.
Multiple ways
1) Use JBoss-Seam @In/@Out annotations to inject/outject the values
2) Use managed properties in the faces-config.xml to have bean b
always pull the value from bean A for a given property
Noob ,
That worked. Thanks, Craig.
Craig McClanahan [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
05/18/2007 12:16 PM
Please respond to
MyFaces Discussion users@myfaces.apache.org
To
MyFaces Discussion users@myfaces.apache.org
cc
Subject
Re: how to execute one-time start-up code?
On
Hi,
I'd like to use some of the tomahawk sandbox components. After downloading
http://people.apache.org/builds/myfaces/nightly/tomahawk-sandbox-1.1.5-SNAPSHOT-bin.zip
and extracting lib/tomawhawk-1.1.15-SNAPSHOT.jar into my webapp's
WEB-INF/lib directory and restarting, I get an error when
Are you looking for a sample application? If so, you may want to check out
ProjectTrack, which uses JSF + Spring + Hibernate:
http://code.google.com/p/projecttrack/.
~~~
Kito D. Mann - Author, JavaServer Faces in Action
Again the question:
Has anybody some hints for me to extend this functionality for facelets?
Everything is welcome!
Michael
-Ursprüngliche Nachricht-
Von: Michael Trompertz
Gesendet: Montag, 14. Mai 2007 08:18
An: 'MyFaces Discussion'
Betreff: AW: [Trinidad] labelAndAccessKey don't
After a while of using Ajax4Jsf, I am really liking how they handle
component rendering resources (JavaScript and CSS files mainly). Their
method seems to be cleaner and (I think) have better performance than
Tomahawk.
The major difference that I see:
- Tomahawk uses the extension filter which
Did you include the tomahawk-sandbox.jar as well as the tomahawk.jar ?
(Sandbox is a separate jar)
On 5/18/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
I'd like to use some of the tomahawk sandbox components. After downloading
After a while of using Ajax4Jsf, I am really liking how they
handle component rendering resources (JavaScript and CSS
files mainly). Their method seems to be cleaner and (I think)
have better performance than Tomahawk.
Both implementations suck when it comes to portlets. Portlets generate
Andrew,
I'm following up to this on the Dev list, as it really belongs there. I
agree with you
regarding the ExtentionFilter issue, and I have seen criticism to the
Tomahawk
approach in the past. There is an ongoing discussion on the Dev list
considering the
direction Tomahawk (or Tomahawk2), so
I don't see any reason why it shouldn't be implemented
the way you suggest.
-- Adam
On 5/18/07, Chris Hane [EMAIL PROTECTED] wrote:
Is it possible to have the emptyText for tr:table/ flow across all of the
columns? Right now it seems to only be placed into the 1st column.
Thanks,
Chris
On 5/18/07, Francisco Passos [EMAIL PROTECTED] wrote:
Hello there.
I'm trying to make a tr:table with two columns (name, value). The number
of lines is variable and I'd like to use tr:table to be able to use
pagination later, since it will probably be necessary.
So far everything's going fine.
Hi Grant,
Yes, I've included tomahawk-sandbox.jar, in WEB-INF/lib, although it's
named tomawhawk-1.1.15-SNAPSHOT.jar. Any other ideas?
Grant Smith [EMAIL PROTECTED]
05/18/2007 05:02 PM
Please respond to
MyFaces Discussion users@myfaces.apache.org
To
MyFaces Discussion
On 5/17/07, lightbulb432 [EMAIL PROTECTED] wrote:
How do alternatives to JSF like Struts, Struts2, and others handle the
concept of view state?
For the most part, they don't have the concept of View State. If a
control uses data that is not in the post, and the page needs to be
presented again
From: Ted Husted [EMAIL PROTECTED]
On 5/17/07, lightbulb432 wrote:
How do alternatives to JSF like Struts, Struts2, and others handle the
concept of view state?
For the most part, they don't have the concept of View State. If a
control uses data that is not in the post, and the page
Well, what you've included is the Tomahawk jar. There is ANOTHER one for
sandbox components. Look for something named
tomahawk-sandbox-1.1.5-SNAPSHOT.jar. Theres actually another one called
tomahawk-sandbox15-1.1.5-SNAPSHOT.jar which contains some
JDK1.5-requiringcomponents too.
On 5/18/07,
Nevermind--it *wasn't* included in WEB-INF/lib.
[EMAIL PROTECTED]
05/18/2007 05:37 PM
Please respond to
MyFaces Discussion users@myfaces.apache.org
To
MyFaces Discussion users@myfaces.apache.org
cc
Subject
Re: how to reference tomahawk-sandbox on a JSP?
Hi Grant,
Yes, I've
Michael,
I just implemented it. :) You can check out the code.
-- Adam
On 5/18/07, Michael Trompertz [EMAIL PROTECTED] wrote:
Again the question:
Has anybody some hints for me to extend this functionality for facelets?
Everything is welcome!
Michael
-Ursprüngliche Nachricht-
Von:
Hi Volker,
thnx for the solution... I have another doubt regarding the tc:sheet
rowIndex.
How can we know the current RowIndex for the rows in the sheet.
If i want to display the Row Number in one of my column, how can i Display
the current rowIndex for each row.
Regards,
Madan N
57 matches
Mail list logo