You'd better refer the form with its concrete name:
window.opener.document.forms['myform'] or window.opener.document.myform or
some thing like this in order to be sure u submit the proper form.
If u look into the HTML of the JSF page u may notice there are more than one
form.
- Original
I have the same problem.I try to extend the t:datascroller of MyFaces 1.1.1 and the Component.dtd cannot be found.(I am working with eclipse).Moreover I have another compile problem.I removed the datascroller package out of the myfaces-all.jar and copied the corresponding resources into my
Thanks a lot.
I tried it with 1.1.4 and succeeded at last. Had some problems and then
other tasks, therefore the late answer.
-Rudi
Andrew Robinson-5 wrote:
I presume you are using 1.1.1? If so, move to 1.1.2, the duplicate ID
bug was fixed in that release (1.1.2 core is released and we
Currently I'm using JSF myfaces, do I need to use Spring + Hibernate? Find
them quite complex to use...
--
View this message in context:
http://www.nabble.com/Need-to-use-Spring-t1562778.html#a4244067
Sent from the MyFaces - Users forum at Nabble.com.
Hi,
I use JSF, but I do not use Spring at all in my applications. I use JDO
to persist my objects to the database, but can use any database
technology - including writing the JDBC code yourself, instead of
Hibernate.
The good thing about Java is that you have a wide choice as to what
Hi,I totally agree with Fintan. The question would be whether to use frameworks on top of JSF, rather than be worried about the business part of your application. Remember JSF is a presentation MVC framework, so it can be used in conjunction with ANY business solution (call it Spring, Hibernate,
Hi,I think it depends on the complexity of your applications. Spring provides many facilities to provide the bridges between the layers of your applications. The good thing is that spring does not depend on any persistence framework, it has support for jdbc, hibernate, ibatis and etc.
Your
We use JSF/Tomahawk + Hibernate + Squid as a front end cache. We moved from
Sun's Creator/Rowset/JDBC approach due to an increasing level of complexity
rowsets required for designing even moderately complex pages. Personally, I
think an object data model provided by a persistence layer like
Hi,In addition, one of the biggest advantages of using spring is the testability. You can test all your queries and other db relatad stuff without starting the server and running the application. This really brings extra time during production.
Cagatay,On 5/5/06, Julian Ray [EMAIL PROTECTED]
Hi Rogerio
you could have a separate managed bean for the popup's
use-cases. This managed bean can then get a reference to the managed bean for
the main-page and call methods on the original pages managed
bean...
regards
Alexander
From: Rogerio Pereira
[mailto:[EMAIL PROTECTED]
Is it secure to limit access to a backing bean action simply by using
the 'rendered' attribute to control when it is displayed? Or is it
possible for a malicious user to construct a URL that still invokes the
backing bean method, even when the commandButton for it is not rendered
for that user?
Hi,At first glance I dont think it is possible since JSF uses http post.CagatayOn 5/5/06, Dave Brondsema
[EMAIL PROTECTED] wrote:Is it secure to limit access to a backing bean action simply by using
the 'rendered' attribute to control when it is displayed?Or is itpossible for a malicious user to
David: Yes, you can't tell?
:)
I've been reading Kito D. Mann's book JavaServer Faces In
Action, which is good... but there are details that aren't
clear.
SUN's api and impl lack the GUI library elements that my
project requires.
I've been developing onlyserver side Java for a few
OK, this is making sense;
I
downloaded the blank.war file and I am installing it now - in the meantime, I
went back and changed
jsp:forward
page="/faces/tbrowser.jsp"/
to:
jsp:forward
page="/faces/tbrowser"/
Now, I receive:
HTTP Status 404 -
/transactionbrowser/tbrowsertype Status
Based on JSF specification section 3.1.6 and Portlet Specification section 12.3.4,MyFaces implementation(UIViewRoot and UIComponentBase) do not provideunique client id's.
In the current implementation(s) (1.1.1 1.1.2)
UIViewRoot.createUniqueId() is implemented as follows:
/* Provides a
Hi,Removing the / at the beginning may work,jsp:forward
page=faces/tbrowser/CagatayOn 5/5/06, Todd Patrick [EMAIL PROTECTED]
wrote:
OK, this is making sense;
I
downloaded the blank.war file and I am installing it now - in the meantime, I
went back and changed
jsp:forward
Anyone?
On 4/28/06, Hubert Rabago [EMAIL PROTECTED] wrote:
I was looking at the sample application in
http://www.jsftutorials.net/interface/jsf-popup.html.
In it, the author has this form:
h:form id=placeList
h:commandLink id=find action=showPlace value=/
/h:form
He has some Javascript
Hi folks,
I want to store messages for javascript alert(); within my bundle files.
Sometimes, these messages need to break into a new line (using \n).
How do I store this in my bundle file? i tried
key=messagepart1\nmessagepart2 - does not work...
key=messagepart1\\nmessagepart2 - works, but
I downloaded and deployed the blank.war file from
myfaces-1.1.1-examples.zip.
When I run blank.war, I receive the following error on the second page
when I click on the GO HOME link:
Error: getScrolling is not defined
Source File: http://127.0.0.1:8080/blank/helloWorld.jsf
Line: 1
Is this a bug
Would #013; work or #010?
I have never tried, so this is just a guess, but these should be the
ASCII codes for carraige return and new line.
On 5/5/06, Hansjörg Meuschel [EMAIL PROTECTED] wrote:
Hi folks,
I want to store messages for javascript alert(); within my bundle files.
Sometimes, these
Gah! Further complications! If AssigneeItems isn't empty (as in, it contains
SelectItems), I get the following exception:
javax.servlet.ServletException: java.lang.ClassCastException:
javax.faces.model.SelectItem
Any idea what this is about?
--
View this message in context:
From: Axel Karst [EMAIL PROTECTED] Hi, I'm also searching for an possibility to unit test my JSF Component, which implements UIInput. I'm using MyFaces and Facelets. As far as I understood, Cactus does not directly support JSF in container testing. Shale Test FW (using Mock Objects) can
I went ahead and updated the WIKI [1] with the code I was talking about
-Andrew
[1] http://wiki.apache.org/myfaces/JavascriptWithJavaServerFaces
On 5/5/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
This wiki page contains some informations about JavaScript and Faces [1]
HTH,
Matthias
[1]
Does that make sense to you?
--
View this message in context:
http://www.nabble.com/Picklist-problem-t1122642.html#a4249661
Sent from the MyFaces - Users forum at Nabble.com.
And when the form does not submit, do you get any message?
On 5/5/06, octoberdan [EMAIL PROTECTED] wrote:
Does that make sense to you?
--
View this message in context:
http://www.nabble.com/Picklist-problem-t1122642.html#a4249661
Sent from the MyFaces - Users forum at Nabble.com.
I am trying to change the look of a panelTabbedPane that differs from
the styles provided in the myfaces-all.jar
org.apache.myfaces.custom.tabbedpane.resource.defaultStyles.css.
Because the faces servlet injects the stylesheet AFTER my stylesheet,
I cannot seem to remove the border lines,
My dataTable has a width of 100% and I would like the dataScroller
horizontally centered on the page. How do I configure this?
Paul Spencer
Todd,
You
need to get rid of the Tomahawk references, which is the only reason you would
have the extensions filter. This note was on the front page of the
myfaces.apache.org site:
Please pay attention to the fact that you
cannot use this release of MyFaces Core with the MyFaces Tomahawk
Rogério,
This is exactly what I was looking for :)
Paul Spencer
Rogerio Pereira wrote:
use renderFacetsIfSinglePage=false attribute of dataScroller
On 5/5/06, Paul Spencer [EMAIL PROTECTED] wrote:
I would like to not display the Data Scroller t:dataScroller when
their is only 1 page since
Hi!
My dataTable has a width of 100% and I would like the dataScroller
horizontally centered on the page. How do I configure this?
I had the same problem today. I fixed it by:
Placing a panelGrid with columns=1 and columnClasses=tCenter around
the dataTable and the dataScroller, but I guess
All,
When the page source is viewed for our scenario, the clientIds are unique
for each column for the selectOneMenu component. However, the second column
content is the same as the first although it should not be.
Suggestions? An overview of the scenario follows.
A form with
Mario,
I discovered a variation of your suggestion. Add the align attribute to
the h:panelGrid. This does not require any changes to the stylesheet :)
h:panelGrid columns=1 align=center
t:dataScroller...
/h:panelGrid
Paul Spencer
Mario Ivankovits wrote:
Hi!
My dataTable has a
I found that if I put ! important at the end of the style attributes
that I want to override in my style sheet, it takes care of it. For
example:
My CSS file:
activeTab {
border: 0px ! important;
}
Hopefully, that will accomplish what you are looking for!
Travis
-Original
I have a Serialized backing bean that loads itself in the constructor based
off of a request parameter... the problem is that after an action method is
called the bean reloads and no longer has access to the parameters! Is there
a clean way of persisting that information without hidden feilds?
Anyone else out there converting input into currency stored as BigDecimals?
Using numberConverter doesn't cut it since it seems to want to return
either a Long or a Double wrapped as a Number, and I don't see the
point in wrapping all of my business bean accessor methods in
Hi Mike!
My current thinking is to subclass NumberConverter to be a
NumberAsBigDecimalConverter, which should work for my use case. Is
there enough interest out there for me to add this as a tomahawk
component?
You can change you model to accept java.lang.Number, but I am sure you
know
How about creating a CurrencyConverter which would have configurable and
localizable currency formats as well as style for positive and negative
values etc. Is there any value in this?
If we could drum up a list of requirements I would be willing to get it
started as I have to build one anyway in
On 5/5/06, Mario Ivankovits [EMAIL PROTECTED] wrote:
What about a NumberConverter where you can add the wanted return type as
attribute.
Maybe.
The problem is that the return types have to be predefined in order to
insure there's no data loss. For example:
public Object
On 5/5/06, Julian Ray [EMAIL PROTECTED] wrote:
How about creating a CurrencyConverter which would have configurable and
localizable currency formats as well as style for positive and negative
values etc. Is there any value in this?
If we could drum up a list of requirements I would be willing
We had a similar issue. We have all our currencies defined as Doubles
currently, but we would get errors on values that resolved to Longs
(ex. 1.0). We had to create our own converter that always converted
the Number to a Double.
We wanted to extend the existing number converter just like you
t:saveState... doh! Works :-D
--
View this message in context:
http://www.nabble.com/Backing-Bean-loaded-Twice%21--t1565666.html#a4252698
Sent from the MyFaces - Users forum at Nabble.com.
On 5/5/06, Geoff Longo [EMAIL PROTECTED] wrote:
We had a similar issue. We have all our currencies defined as Doubles
currently, but we would get errors on values that resolved to Longs
(ex. 1.0). We had to create our own converter that always converted
the Number to a Double.
We wanted to
On 5/5/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
you'd extend the original NumberConverterTag, give it a new
converter-id, and that'd pretty much be it. And you'd need to add a
tld entry. I don't think there's a lot to it than some busy-work.
Also, you'd need to define accessors for
Mike Kienenberger schrieb:
with user-configurable return types.
Maybe it would be worthwhile to make this into a sandbox component
In fact, we could probably just call it t:numberConverter and add a
return type attribute to it.
+1
Andrew Robinson wrote:
Depends on if you are using client side or server side state.
Technically with client side state the user can invoke any action.
With server side state there is no way. If you are really concerned,
at security checks to your action methods or use JBoss-Seam with EJB3
From the e-mail you get when signing up for the
list:
"
Send mail to the following for info and
FAQ for this list:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Similar addresses exist for the digest
list:
[EMAIL PROTECTED]
[EMAIL PROTECTED]"
From: Rogerio Pereira
[mailto:[EMAIL PROTECTED] Sent:
thxOn 5/5/06, Romanowski, Tim [EMAIL PROTECTED] wrote:
From the e-mail you get when signing up for the
list:
Send mail to the following for info and
FAQ for this list:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Similar addresses exist for the digest
list:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Todd,I really doubt you need
it for learning MyFaces and I recommend you take those ExtensionFilter lines out
of your web.xml until you get the hang of JSF. The core is basically
equivalent to the JSF RI. Tomahawk is extra toys to play with and probably
not even referenced in most older JSF
Thanks for the responses, Andrew and Matthias.
My question actually isn't about an alternate way to do it, but rather
where is it stated that giving a particular hidden field some
particular value will result in some particular JSF behavior? I mean,
other than going through the source code of
Error positioning the
popup windows shown by the components: t:popup
They don't have in
consideration the relative position of the component in the page, and it's a
problem if you place the component inside a DIV, where the positions must be
relatives and not globals.
I
know its
How to make tab bordercorner round? Can it be done using CSS?Thanks!Jeffrey Porter [EMAIL PROTECTED] wrote: Thanks Jeremy, I found this for an age old version JSF. http://209.61.157.8:8080/taglibs/ And this link on tab style¡
Unfortunately the Oracle Movie is scheduled at the same time as our
BOFs :(
Wednesday at 7:10 pm (Mission Impossible III)
BOFs
The
Ins and Outs of the MyFaces "ADF Faces" Open Source Project
Jonas and John
Essentials
on Performant JavaServer Faces Apps: Client Versus Server Side
Martin,
Hi. I just tried to upgrade to MyFaces 1.1.2, and it appears not to work with
tomahawk 1.1.1. TomCat 5.0 starts up fine, but when I try to hit a page, I
get this error:
java.lang.ArrayIndexOutOfBoundsException: 4
at javax.faces.component.UIViewRoot.restoreState(UIViewRoot.java:315)
ok, I just found where tomahawk-1.1.2-SNAPSHOT was. I tried with that and
still got the same exception as with tomahawk 1.1.3:
javax.faces.FacesException: java.lang.ClassNotFoundException:
org.apache.myfaces.el.SimpleActionMethodBinding
at
Hi. I would like to use the subForm component found in the tomahawk sandbox,
but I am not sure how to go about that.
Could someone please tell me what version of MyFaces I need for this? It
appears that the last released version of tomahawk was 1.1.1 and that it is
not compatible with the
I forgot to mention that I used myfaces-shared-tomahawk-2.0.2-SNAPSHOT.jar in
order to get this to work.
--
View this message in context:
http://www.nabble.com/What-version-of-tomahawk-sandbox-do-I-need-to-use-subForm--t1567694.html#a4257582
Sent from the MyFaces - Users forum at Nabble.com.
56 matches
Mail list logo