Hi to all,
i'm using panelNavigation2 to make the left navigation menu for a
portal. I'm using managed bean to populate links. My question is
it's possible to enable external link instead of action ?
Example create a link http://www.blablabla.com ?
Thank to all
Hello,
On Wed, 12 Apr 2006, Mike Kienenberger wrote:
[...]
As of JSF 1.1, there is not another way to do this. JSF 1.2 will
support a requiredMessage attribute on UIComponents.
If you'd like to submit a patch to allow Tomahawk components to
support a requiredMessage value, we're
http://issues.apache.org/jira/browse/TOMAHAWK-63
http://issues.apache.org/jira/browse/TOMAHAWK-168
Selon Mike Kienenberger [EMAIL PROTECTED]:
- On 4/11/06, Murray Brandon [EMAIL PROTECTED] wrote:
- However, if I change ONLY the form encoding type to be
- multipart/form-data, the bean.property
Hi,
On Wed, 12 Apr 2006, Volker Weber wrote:
[...]
Now I want to make the validation by hand in valueChangeListeners, added
to the components. My Problem is: The ValueChangeListener is executed
before model_update,thats right? How can I get back to
ValidationPhase(?) when the field is empty,
I had the same problem in IE with t:inputCalendar.
You can search for t:inputCalendar onchange not working in IE in january.
This is what I said in last mail:
Thank you for page suggestion. I tried what is explained there, but it still
cannot work on IE. I found an explanation of the problem
A blog entry in jroller pointed me towards it, as it seems the JPA
implementation of glassfish now has its own standalone jars and project:
http://www.jroller.com/page/guruwons?entry=glassfish_java_persistence_module_is
https://glassfish.dev.java.net/downloads/persistence/JavaPersistence.html
Murray,
can you check agains the nightly version of ExtensionsFilter?
(see also TOMAHAWK-249)
On 4/13/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
On 4/12/06, Murray Brandon [EMAIL PROTECTED] wrote:
I've attached my web.xml and faces.config.xml which I think are right.
Would be nice to
I found out what the problem was in my case.
The converter was created only once in the datatable and before the
datatable has been processed.
That means there is only one converter for all cells.
So I have to move the creation of the ValueBinding from the
TruncateConverterTag into the
How to pass bean from JSP to another JSP? Or if JSF have funtion to open a
pop-up window?
--
View this message in context:
http://www.nabble.com/How-to-pass-bean-from-JSP-to-another-JSP--t1443483.html#a3898066
Sent from the MyFaces - Users forum at Nabble.com.
Dear all
I am trying to run myfaces portlet in liferay portal using the following
:
- Jboss-Tomcat 4.0.3SP1
- Liferay 4.0.0
- MyFaces portlet examlpe which has the following lib:
commons-codec.jar -- 1.2
myfaces.jar -- 1.0.9rc3 (April 12 2005)
myfaces-extensions.jar -- 1.0.9rc3
And if they do not accept it check out http://jsf-comp.sf.net/ as
harbour
-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 12, 2006 6:41 PM
To: MyFaces Discussion
Subject: Re: tag to truncate outputText?
I think having a truncating
What is the different between the below snippets of code? Is is true
that they are exactly the same if projectBean is a managed bean? If it
is not a managed bean, then the first snippet would be creating a
runtime managed bean(one that was not declared in faces-config.xml).
I would like to contribute this to Tomahawk I just don't have a clue
how to go about creating a patch.
Where do you start?
-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
I think having a truncating converter in tomahawk would be worthwhile.
You can open a JIRA
-Original Message-
From: Michael Heinen [mailto:[EMAIL PROTECTED]
The converter was created only once in the datatable and before the
datatable has been processed.
This sounds correct.
That means there is only one converter for all cells.
If you have your converter tag inside a
I have a problem with JavaScript set values.
t:selectOneMenu id=moduleSelect forceId=true value=#{search.module}
f:selectItems value=#{search.modules} /
/t:selectOneMenu
Than I add options to this select menu via js.
var a = document.getElementById(moduleSelect).options;
a[0] = new
Hi,I'm using FF 1.5 and when i try to load the accordionpanel example in sandbox examples war i get this error:Error: {expandedBg:#63699c, hoverBg:#63699c, collapsedBg:#6b79a5, expandedTextColor:#ff, expandedFontWeight:bold, hoverTextColor:#ff, collapsedTextColor:#ced7ef,
On 4/13/06, Lindholm, Greg [EMAIL PROTECTED] wrote:
I would like to contribute this to Tomahawk I just don't have a clue
how to go about creating a patch.
Where do you start?
Open a tomahawk jira issue describing your component.
Attach files to the issue.
Brand new files can be attached
I found what's the problem.
I have a problem with JavaScript set values.
t:selectOneMenu id=moduleSelect forceId=true
value=#{search.module}
f:selectItems value=#{search.modules} /
/t:selectOneMenu
Than I add options to this select menu via js.
var a =
On 4/12/06, Murray Brandon [EMAIL PROTECTED] wrote:
Having uploaded a file, can I then serve that up as an image in the app
or does af:objectImage only serve up images from inside the war file
system?
There's a sandbox graphicImageDynamic component in progress, but when
I last used it it
On Wed, 12 Apr 2006, Mike Kienenberger wrote:
You should be able to make the OptionalValidationFramework work for
this situation, but there are probably better ways to do it.
On 4/12/06, Joerg Bredlau [EMAIL PROTECTED] wrote:
I've tried out the example on your Wiki-Page:
In unix/windows you can also use the command svn diff that generates
the diff with all your changes, even for new files providing they have
been marked to be added in the svn repo before with svn add command.
So you get only one file with all the changes in all the files, which
is very handy IMO.
Yes the panel is broken currently.
Rogerio Pereira schrieb:
Hi,
I'm using FF 1.5 and when i try to load the accordionpanel example in
sandbox examples war i get this error:
Error: {expandedBg:#63699c, hoverBg:#63699c, collapsedBg:#6b79a5,
expandedTextColor:#ff,
There is no difference between the two snippets of code: when you create
a ValueBinding you evaluate a whole EL. If you use the variable
resolver, you are resolving the left part of an EL. In your example the
EL #{projectBean} is exactly the left part of the EL.
There's difference only if you
leechuanlim schrieb:
How to pass bean from JSP to another JSP? Or if JSF have funtion to open a
pop-up window?
Actually if you stay in a jsf context, it is rather easy.
You can use the managed bean facility and savestate or the session
or session beans to pass them along.
As for popups, I
at the risk of appearing foolish, i pose the following question:
since t:inputCalendar when specifed as form will update the backing bean
property specified with the value attribute when a date is selected, i'm
assuming
that it posts back to the server using some kind of hidden form.
is it
If my page uses a data table, and that data table has command links or
other input controls in it, does that limit it to the request scope?
A teammate of mine says we can't switch certain beans to request scope
because it uses data tables and those will stop working if we do.
thanks,
Hubert
Fixed, i'll create a patch...
Jacob Hookom, in discussing JSF myths [1], claims that:
Also, JSF can handle GET requests just as easily as other frameworks.
Because of JSF's
managed bean (IoC container), you can do the same kinds of things as
you can with
WebWork -- from parameter assignment to backing beans. An example is
Sorry, typo.
I meant to ask: If my page uses a data table, and that data table has
command links or other input controls in it, does that limit it to the
*session* scope?
thanks,
Hubert
On 4/13/06, Hubert Rabago [EMAIL PROTECTED] wrote:
If my page uses a data table, and that data table has
Hi.
I tried to use t:popup in every cell of a dataTable rendered into a
t:buffer. The result is that when I navigate to the page for the first time,
everything is fine. However, when I do something on the page that causes the
page to go through a full JSF cycle, the dataTable is shown twice on
Greetings,
I'm trying to use Shale's ViewController in a managed bean to execute
some code when the bean first loads. I'm using a nightly build of
shale-core and shale-tiger from 20060221.
It all seems really simple but I can't get it to work. None of my
ViewController methods are ever called
From your message I can see that you understand the naming convention
for Managed-bean-name file, but are you including the entire path to the
file? If you have webroot/myFolder/myFile.jsp, then the name is
myFolder$myFile.
Just checking.
-Original Message-
From: David Miller
ok, it looks like the problem is not with t:popup, but rather with how I use
it. I didn't mention that I am not using the t:popup tag directly. I was
actually adding an HtmlPopup component programmatically from my own custom
component:
This is really good news. Thanks for the info, Werner.
Wayne
On 4/13/06, Werner Punz [EMAIL PROTECTED] wrote:
A blog entry in jroller pointed me towards it, as it seems the JPA
implementation of glassfish now has its own standalone jars and project:
I don't see any attachment with your email, so I can't tell what your problem
is. However, do note that JBoss ships with MyFaces already installed so you
don't need to include most of those jars in your war.
See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossFaces
Stan Silvert
JBoss, Inc.
I have nver tried this myself, but h:outputLink/ tag may be what you want.
Hope this helps.
--
View this message in context:
http://www.nabble.com/How-to-link-inside-the-current-page-t1446353.html#a3907154
Sent from the MyFaces - Users forum at Nabble.com.
It also possible to change that... for instance, when *bound* to a
specific tool ([1])
[1] http://tinyurl.com/ghr79
On 4/13/06, David Miller [EMAIL PROTECTED] wrote:
HOT DOG!
Thanks James :)
On 4/13/06, James Reynolds [EMAIL PROTECTED] wrote:
From your message I can see that you
Thank for the info but I prefer to try to use the href approach first.
I have strict restrictions on the outputted xhtml.
On 4/13/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
On 4/13/06, Alexandre Poitras [EMAIL PROTECTED] wrote:
I have a little problem that I can't solve and it's really
Yeah unfortunately I am trying to do this using a custom component
which extend UICommand. I guess I should take a look at outputLink
source code to see how they handle this case.
On 4/13/06, vace117 [EMAIL PROTECTED] wrote:
I have nver tried this myself, but h:outputLink/ tag may be what you
Yes, you can use request-scoped backing
beans with dataTable. I would recommend that you use the t:saveState
component to simplify your life.
See Action
listeners and actions for my commands on dataTables do not fire
from the FAQ.
http://wiki.apache.org/myfaces/FAQ
Also
Thanks, Adam, we'll try this out.
Hubert
On 4/13/06, Adam Brod [EMAIL PROTECTED] wrote:
Yes, you can use request-scoped backing beans with dataTable. I would
recommend that you use the t:saveState component to simplify your life.
See Action listeners and actions for my commands on
I just got my code to work.
I still can't explain the spectacular errors and visual effects like
duplication of my dataTable, but I managed to avoid the problem.
The key was not to discard the old instance of HtmlPopup and create a new
one on every render. i.e. these lines:
How to make sense of
this
Line 4 is
simply the inclusion of a tag file ( layout:main ), which has been working
fine for quite a while.
An error occurred in the bean.
Error Message is: javax.faces.FacesException: Exception in JSP:
/pageparts/quarantinelist.jsp:4 1: <%@ taglib
On 4/13/06, Hubert Rabago [EMAIL PROTECTED] wrote:
Jacob Hookom, in discussing JSF myths [1], claims that:
Also, JSF can handle GET requests just as easily as other frameworks.
Is there any truth to this? I thought the reason we had extensions
like NonFacesRequestServlet [2] was because
Hi,
This may or may not be specific to the portlet
implementation of My Faces, but when a portlet implementing MyFacesGenericPortlet
is maximized in Liferay, the following exception is thrown:
00:35:32,497 INFO [STDOUT]
javax.portlet.PortletException
00:35:32,497 INFO [STDOUT] at
I had an issue with Liferay 4.0 (with jboss and tomcat) and My Faces too, but a
different one.
My war package, which works fine in Liferay 3.6.2 (with jboss and tomcat),
throws the following exception when I deploy it on Liferay 4.0:
Caused by: java.lang.ClassNotFoundException:
I've gone through to explain the ones I've resolved (2,4,5,6):
1) h:commandButton tags render an input button that refers to
non-existent javascript named after the form I am in scope of. eg.
clear_userEditForm( ); Why? Is this a known bug? Surely other
people out there know why this is
Mike,
What do you mean by not supported in the core?
A GET request turns into an initial render request - no
phases other than Render Response - but Jacob's entirely
correct that JSF *does* support GET, and you can funnel
request parameters directly into your managed beans.
This is definitely
On 4/13/06, Murray Brandon [EMAIL PROTECTED] wrote:
I've gone through to explain the ones I've resolved (2,4,5,6):
1) h:commandButton tags render an input button that refers to
non-existent javascript named after the form I am in scope of. eg.
clear_userEditForm( ); Why? Is this a known
49 matches
Mail list logo