Hi Amit,
Amit Jain wrote:
Hi,
I have a class which extends UIcolumn. I am adding header facet to it in
encodebegin method but the facets are not getting rendered. I am getting
simple UIcolumn.
Can someone suggest some other way to do it.
you can't do this in encode methods of
Thanks for the reply.
I cant assign header in constructor as I am adding my default header only if
user have not given header facet in jsp.
Amit
- Original Message -
From: Volker Weber [EMAIL PROTECTED]
To: MyFaces Discussion users@myfaces.apache.org
Sent: Friday, March 03, 2006 3:29 PM
Than you can do it in doEndTag() of your tag class
Amit Jain wrote:
Thanks for the reply.
I cant assign header in constructor as I am adding my default header only if
user have not given header facet in jsp.
Amit
- Original Message -
From: Volker Weber [EMAIL PROTECTED]
To:
The classical example is a tabbed pane. With a server side rendered, you
trigger a request at every tab change going through all the hoops, with
a client side one, you have to do more loading upfront because you load
all the components and values, but in the best case that is it, even if
you
Hello,
I need something like target attribute for t:toolBarCommand
component.
The aim is to open the result of the action execution in e.g new
window(target=blank).
Using type=script will not satisfy me, because I need the backing
bean action being executed, and then the result being opened in a
I dont know, I do not know the code of this component too much, anyway
my point was that if you do client side tab switching you reduce server
side load tremendously, either way in any case because with client side
tab switching you trigger only one request at all.
And I think adding some
Hello Everybody,
I'm trying to add dataScroller funcionality to a page
in which I have a list of elements (datatable), so I
modified and added all stuff related to the
dataScroller, like in the myfaces examples at Irian
(http://www.irian.at/myfaces/dataScroller.jsf), to my
JSP.
The page with
I have an action method
public String submit() {
return success;
}
but, unfortunately, I have to query another service for the URL to
really redirect to!!! This means, I can't put the URL in the
faces-config.xml file. Is there any way to do any of these options(or
otherslist is not
And if it is true what you say then the load savings due to the client
side tab switching on the myfaces tabbed pane is even more, because you
stream the entire data only once instead of at hitting the tab every time.
You're right, but I think developers should make design decisions in favor
Hi Dean!
but, unfortunately, I have to query another service for the URL to
really redirect to!!! This means, I can't put the URL in the
faces-config.xml file. Is there any way to do any of these options(or
otherslist is not exhaustive probably)
I am not definitely sure, but maybe a
Matthias Kahlau schrieb:
And if it is true what you say then the load savings due to the client
side tab switching on the myfaces tabbed pane is even more, because you
stream the entire data only once instead of at hitting the tab every time.
You're right, but I think developers should make
Hi,
The h:commandLink does not work with in a t:dataTable and
throws up a _javascript_ error instead of calling the actionListener. Browsing the
bug report, I find isntances of such cases reported on
t:dataList.Has anyone encountered the same problem?
Thanks
Bala
The information contained in
Do you use spring acegi?
Seems to be a acegi error message.
Regards,
Juergen
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: 'MyFaces Discussion' users@myfaces.apache.org
Subject: Bad credentials
Date: Fri, 3 Mar 2006 08:26:12 +0100
Hi!
I guess it is not an error with MyFaces
You can tweek the js code in tomahawk.jar, That's what I done
Regards,
Onur
On 3/3/06, Martin Marinschek [EMAIL PROTECTED] wrote:
It doesn't afaik.
Thomas, correct me if I'm wrong.
regards,
Martin
On 3/2/06, Adam Brod [EMAIL PROTECTED] wrote:
By original, do you mean the raw
Enrique,
I think that i have to redesign some part of my code, to integrate
completely with Spring.
I will retest after that refactoring task.
Thank you
Sébastien
The problem must be that you are using request-scoped beans, don't you?
If you use request-scoped beans, then you have to merge
it is?
Thanks
Sophie
_
Haben Spinnen Ohren? Finden Sie es heraus mit dem MSN Suche Superquiz via
http://www.msn-superquiz.de Jetzt mitmachen und gewinnen!
__ NOD32 1.1427 (20060303) Information __
This message
Sebastien,Note that you will also have to deal with lazy loading (if you use it) for references or collections of references. This is easier as you only have to call session.lock(object, LockMode.NONE).This is a compulsory dependency when working with Hibernate lazy loading, due to the way it
sweet, thanks much..much better than the answer I got on sun's
forums :).
thanks,
dean
Mario Ivankovits wrote:
Hi Dean!
but, unfortunately, I have to query another service for the URL to
really redirect to!!! This means, I can't put the URL in the
faces-config.xml file. Is
Hello!
I want to know when i can download the 1.1.2 myfaces version?
I don't understand why a 1.1.3 snapshot version of myfaces is available,
whereas the 1.1.2 stable release is not available? it is a over branch
of project?
Thanks
Adrien
Hi, experts
I have a design question for how to push/display DOM/XML page on
client. There is a table data stored in an array that is displayed with
datascroller. I want to add a function to export this data in xml
format on client.
I am thinking to convert an array to DOM then use
I want to load another dynamic jsf page with some actions in page in a
popup div. Can I?
--
Anthony Hong
_
Haben Spinnen Ohren? Finden Sie es heraus mit dem MSN Suche Superquiz via
http://www.msn-superquiz.de Jetzt mitmachen und gewinnen!
__ NOD32 1.1427 (20060303) Information __
This message was checked by NOD32
That would be a great feature!
Adam Brod
Product Development Team
Anthony Hong
[EMAIL PROTECTED]
03/03/2006 09:17 AM
Please respond to
MyFaces Discussion users@myfaces.apache.org
To
MyFaces Discussion
users@myfaces.apache.org
cc
Subject
Can I load another jsf page
by t:popup?
It's not quite that straightforward; if each tab is showing
results of a different query, loading all the content up front
can result in a brutal load time for the first page. You could
end up significantly increasing the load on the database tier.
There's lots of trade-offs to consider; user
Thank you. I will try this out.
Isn't what I did suppose to work? I thought you aren't suppose to use
the servlet objects directly since it ties you to using your JSF
application in a servlet container. (Personally, what you gave me is
perfectly find with me. And it's not like I would ever
It really depends on what affect you are looking for.
A: you want the user to download an XML file as a data file
Answer 1:
Write a servlet to build the XML document, set the attachment HTTP
header to the XML file name and then write the XML document to the
HttpServletResponse's output stream
You may want to look at the jenia4faces popup library. It is more architected around this type of functionalityOn 3/3/06, Adam Brod
[EMAIL PROTECTED] wrote:
That would be a great feature!
Adam Brod
Product Development Team
Anthony Hong
[EMAIL PROTECTED]
03/03/2006 09:17 AM
Please respond
Okay, I brought up this issue before, but regarding my project I am
working on at home. The problem is that when I post back to the JSF
page using the same view (no navitation rules matched - I am just
changing UI state on the current page, not going to a new page),
myfaces generates new IDs but
You can manually set an id value on all of your components.
Or you can try to reverse-engineer the patch Martin put in to apply it to 1.1.1.
I doubt there's an easy solution if you are not willing to use a
nightly at this point.
You might also be able to downgrade your version of facelets --
Actually, I was describing *3* JSPs, one with the shared fields and 2
others with different actions that include the first, which I would
advocate is a more transparent way to handle it (i.e., someone can
figure out what's going on from just looking at the JSPs, without having
to read the Java
I have set an ID on all my components. The problem is that I am
including the same facelet from my parent page multiple times. I will
try facelets 1.0.11 (I'm on 1.0.10, but either way, Jacob has said
that facelets relies on myfaces to generate all the IDs).
Initial rendering puts _1, _2 at the
No, the errors on dataList are not applicable to dataTable. (In
fact, one proposed fix for the dataList errors was to replace the
dataList implementation with a dataTable renderer).
Try posting your _javascript_ errors and/or stack traces.On 3/3/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi,
Andrew Robinson wrote:
It really depends on what affect you are looking for.
A: you want the user to download an XML file as a data file
Answer 1:
Write a servlet to build the XML document, set the attachment HTTP
header to the XML file name and then write the XML document to the
On 3/3/06, Werner Punz [EMAIL PROTECTED] wrote:
Craig McClanahan schrieb: Dealing with this issue is one of the things I definitely want to participate in here.The Creator team is finishing up some tutorials on this that will help, and I'm doing the same thing in Shale to integrate
the couple of
Mario Ivankovits wrote:
Hi Dean!
but, unfortunately, I have to query another service for the URL to
really redirect to!!! This means, I can't put the URL in the
faces-config.xml file. Is there any way to do any of these options(or
otherslist is not exhaustive probably)
I am not
I have a tiles template used in a jsp page. The problem is that when the page is rendered the various template components are rendered first. Is there a way to fix this? I use flush=false in the tiles:import/ tags. Any things to watch for? Is there a special ViewHandler that I should use?Thanks
Hi,
How does MyFaces (or JSF for that matter) handle backing
beans in multiple instances of the same portlet? For example, lets say
that Ive deployed two instances of MyPortlet in the same page of a
portal. MyPortlet defines a view which has components binded to a backing bean
that must
Why can't JSC just run the component and actually let it render
itself by default? I know that's what JDeveloper does, and
it works well.
As a component developer (I've never worked on JDeveloper itself
at all, to be explicit), I really dislike the idea of writing a bunch of
extra Java code for
Hi!
I am looking to call a function from my bean into my jsp page.
For example:
- Bean class: Users
- Bean class: X
- in this class X I have the function: getHobbies(username)
- in my jsp page I get all users nodes and I want to display each user with
the list of his hobbies thanks to this
On 3/3/06, Adam Winer [EMAIL PROTECTED] wrote:
Why can't JSC just run the component and actually let it renderitself by default?I know that's what JDeveloper does, andit works well.
Creator does that too, and it definitely works well ... the only
*required* additional code is a BeanInfo class (see
I have the same problem described here:We are still struggling with the back button. I think well reconfigure the app to store all state on the client. Right now, when the user hits Back, none of the links on the page work on the first click. Thats because the RestoreView phase does not find the
I meant other than saving the state to the client.Costa Basil [EMAIL PROTECTED] wrote: I have the same problem described here:We are still struggling with the back button. I think we�ll reconfigure the app to store all state on the client. Right now, when the user hits Back, none of the links on
Is there any supports for Facelets in
JDeveloper or JSC? I am using MyEclipse and I am seriously looking for
an alternative.
Regards,
Yee
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig McClanahan
Sent: Saturday, 4 March 2006 7:44
AM
To: MyFaces
Hello Everyone:
I have the following simple code:
I have defined an input text as required. However, I get the following for
the validation error:
{0}: Value is required
if I use h:message or t:message, neither the input id nor the label value is
replaced for {0}. I even tried to deply the
Hi,
I am having problem with combinations of inputCalender,
facelets and the following:
head
base href="" /
/head
The symptoms are as follows:
-
the calendar popups OK, and I can
select a date
-
but as I make a selection, the
browser apparently does a form post and tries
So tomahawk is not provide such function.
With tomahawk popup only static data can be loaded. I can not add any
jsf interaction in popup page. right?
--
Anthony Hong
On 3/3/06, Craig McClanahan [EMAIL PROTECTED] wrote:
On 3/3/06, Adam Winer [EMAIL PROTECTED] wrote:
Why can't JSC just run the component and actually let it render
itself by default? I know that's what JDeveloper does, and
it works well.
Creator does that too, and it definitely
On 3/3/06, Yee CN [EMAIL PROTECTED] wrote:
Is there any supports for Facelets in JDeveloper or JSC? I am using
MyEclipse – and I am seriously looking for an alternative.
Unfortunately not. Facelets has come on strong basically at
exactly the wrong point in the development cycle for
During model update phase, if a setter method throws an exception, For example, setUsername(String username)Faces will display a message: Conversion Error "username": Error during model data updateand in the meantime display a stack trace on server side console.How to 1. replace
It doesnt make any
difference. Just create your JSF app as you would if it were running
stand-alone. MyFacesGenericPortlet and your friendly JSR-168 portlet
container will take care of the rest. Most of the magic is done in the javax.faces.context.ExternalContext.
See the javadoc for
50 matches
Mail list logo