Hi,
I need to pass width and height parameters
to a jsp graphicImage tag as following:
h:graphicImage binding=#{cardLoader.image}
url=#{facesContext.externalContext.requestContextPath}#{cardLoader.imageUrl}
styleClass=card/
I use a binding component.
The bean called as this method:
private
put them in css style class. Don't put presentation data in you bean ;-)
BTW what error did you get?
2006/1/9, Nicola Benaglia [EMAIL PROTECTED]:
Hi,
I need to pass width and height parameters
to a jsp graphicImage tag as following:
h:graphicImage binding=#{cardLoader.image}
Hi,
I have got a problem with the commandLink-components within a dataTable. The
connected actionListener-method is never executed and the same view is
displayed without any changes. It is a very weird problem, because a quite
similar view with commandLinks in a dataTable does work(!) and this
::SammyRulez:: ha scritto:
put them in css style class. Don't put presentation data in you bean ;-)
My needs are to dimension an image, after having collected information
about the resolution of the client's monitor.
So I have to recalculate the width and height.
CSS are not involved in this
you have plenty of options to do that using different stylesheet files
for each supported resolution
detect the client resolution in a Session scoped bean
detect the client resolution custom viewHandler
detect the client resolution in a filter chained before jsf rendering
first one is the
Hi,
I am trying to get a selectManycheckbox
to work within a datatable, as soon as I put it into the datatable the page
fails to submit and reloads itself again, All buttons, command links etc stop
working.
Im using Myfaces
1.1.1 Nightly Build 12.12.2005
Is this known problem?Has
Hi All;I'm using netbeans 4.1 configured with myfaces framework.But i have a strange annoying exception which sometimes occurs and sometimes not.This exception does not affect the web application behaviour so everything goes fine, But i want to know why does it happens, and how can i avoid it ?
Hi
thank you for reading my post.
Is there any difference between binding using a Managed bean (defined in
faces-config.xml) and an object
defined in backing bean class ?
in a tutorial i saw that author used a Managed beans to accomplish some
jobs.
he referenced to a Managed beans by using
Hello,I am having problem using JSF tags in the popup jsf page. I have the parent page as below: h:commandButton value="Add Task" /h:commandButtonAnd my addTask.jsp looks like below:%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"% %@ taglib
I
don't know, whats exactly your problem, but I wouldn't open a window with
window.open, but with the jeniapopup you will get at www.jenia.org
It's
easy to implement and works fine... Perhaps you want to try.
Regards,
Andy
-Ursprüngliche Nachricht-Von: Nikita Shah
not sure but I think
h:commandButton value=Add Task
onclick=window.open('../pages/addTask.faces','popup','height=300,width=200,toolbar=no,menubar=no,scrollbars=yes');
/h:commandButton
you have to fill the url param with the right url the browser have to
call (.faces in my config)
2006/1/9,
Hi,
I have a question regarding the managed bean lifecyle.
I have read in some blogs about EJB3 like annotations which can be used
with managed beans to hook into different stages of the lifecycle, but
that's about all I know about it. My question is, is this a feature for
JSF 1.2 specification?
Thanks for reply!
I have now found the scriptaculo.us library at http://script.aculo.us/downloads
with the version 1.5.1
Which version is implemented in Myfaces?
And how can I change the libraries or rather where must I put the lib?
Regards,
Andy
-Ursprüngliche Nachricht-
Von: Martin
[EMAIL PROTECTED] wrote:
I have now found out, what's the problem.
The ValueChangeEvent works in IE too(so my first thoughts were wrong), but to
submit and execute the ValueChangeEvent I have to press Enter for a second
time!!, whereas in Firefox one left-mouse click is enough (after
Laurie, I've tried calling a backing bean of the parent window before
the window.close() and the method is executed successfully but the
parent page is never refreshed.
I've also tried to submit the parent's window form via javascript but
nothing happened.
Can you post a code example for your
Try the jeniapopup from www.jenia.org.
There you can add a method to a attribute called actionClose
This method is then executed, when the popup is closed and so you can refresh
your page in this method
Jenia.org has a good documentation, so implementation is easy.
Regards
Andy
Hi,
the version of the scriptaculo.us scripts in svn head of myfaces is
1.5.0 or 1.5.1 (i'm not sure which version Matthias has fetched), but
there are no Autocompleter related changes between.
In the releases are older versions.
Regards,
Volker
[EMAIL PROTECTED] wrote:
Thanks for reply!
Hi Geeta,
Thank you for your answer, but could you explain what
thelist has to do with my problem? I suppose that you mean with
"list"the value-attribute of the dataTable-component, which is in my case
a Collection of model-objects.
Regards,
Ünsal
Von: [EMAIL PROTECTED]
Hi Geeta,
thank you very much, the problem is solved. Your guess was
absolutely correct. After I taken care that the collection is available after
the Restore View phase everything works fine.
Regards,
Ünsal
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Gesendet: Montag, 9. Januar
You can find improved extensions filter mappings on this page:
http://myfaces.apache.org/tomahawk/extensionsFilter.html
It clears up a lot of the confusion regarding what needs to be done and why.
On 1/8/06, Michel Goldstein [EMAIL PROTECTED] wrote:
Simon and Greeta,
That's exactly my
I know some people who have bound the index to a session scoped integer. This
has some obvious trade offs. Another way to approach this is to bind the index
to a request scoped integer, and manually set the integer in an action listener
that is tied to the command. This becomes tedious
[EMAIL PROTECTED] wrote:
I am trying to get a selectManycheckbox to work within a datatable, as
soon as I put it into the datatable the page fails to submit and reloads
itself again, All buttons, command links etc stop working.
I’m using Myfaces 1.1.1 Nightly Build 12.12.2005
Is this known
If you use the Myfaces Tomahawk components (t:inputXYZ), then the
label will be used instead of the id if specified.
On 1/9/06, John Holland [EMAIL PROTECTED] wrote:
I ran into this problem also but I didn't want the id to be displayed
but something more user friendly (like the label).
Darren,
Questions:
1. Will objectMedia be one of the components released to MyFaces from
Oracle?
I guess you missed that mail thread
http://tinyurl.com/dksxm
Thanky, just trying to decide whether to use my own or to use a MyFaces
community component.
Well, you can share your components,
Dennis,
I dropped it from this release. Its legacy and it was not being kept
up to date. I believe I was getting XSLT errors (I can't remember now
the issue) but rather then trying to figure out who broke what I just
dropped it.
Sean
On 1/8/06, Dennis Byrne [EMAIL PROTECTED] wrote:
Perhaps
Everything is still in the exploratory phase. Oracle has made the
source code available for review. Over time the community will review
it and decide where to go from there. Feel free to grab the code and
make comments on the dev list if you want to weigh in.
Sean
On 1/9/06, Adrien FOURES
Is there any way to access faces.config? I need to know the to-view-id(JSP page) given from-view-id and from-outcome. The NavigationHanlder has only one method handle(..), Thanks. Dave
Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
Dave wrote:
Is there any way to access faces.config?
I need to know the to-view-id(JSP page) given from-view-id and from-outcome. The NavigationHanlder has only one method handle(..), Thanks.
Dave
Unfortunately not, short of parsing faces-config yourself and
re-implementing the algorithm
I had wondered that myself for a time, as it would have made something I wrote easier. NavigationHandler really needs to change to make it more reusable (ability to get the settings from it instead of just that one method.
As for the information, it will not be so easy as there is not necessarily
I have problem in saving the selection of last tab selected ..? Is it that
in the bean i will have to set the selectedIndex of the tab..? But this will
have to be done on all the methods i use on that page.
The same problem was posted earlier on this forum but not yet replied.
I replied
Also for tools support, it's much better to drop it.
Thing is that currently people are seeing two tld's for the tomahawk
components in their IDEs, with no mentioning what TLD is preferred and
should be used.
So they get really confused by that, it's very good that you have
dropped it, Sean.
On 1/9/06, Simon Kitching [EMAIL PROTECTED] wrote:
[snip]However your query params are just keys in the request scope, so theycan be accessed using EL expressions like #{someQueryParamName} from theJSP pages.Almost ... but not quite. You'll have much better luck with an _expression_ like:
32 matches
Mail list logo