Hi Yee,
yes, the number of views in session tells you how many rendered
component-view-trees will be stored - so that you can properly use the
back button with server side state saving.
That's actually no performance issue - it was just in the middle of
the performance tuning stuff ;).
We recomm
Martin,
What is the meaning of NUMBER_OF_VIEWS_IN_SESSION=20? Is it the last 20
views rendered? If I set all my beans to be of SESSION scope, will it limit
the size of my session?
Can I make use of it to implement 'back' functionality - maybe with a phase
listener that logs the pages being visite
Are you using latest nightly?There has been a fair amount of fixes for collapsible panel from 1.1.1 to the current version. Word of warning: the value attribute is now the title attribute, and the collapsed attribute is now the value attribute (this was basically the reason why the old collapsible
Hi Igor,
all of our web development environments are pretty fragile - there are just
too many components with different versions and different implementations,
and I think everybody had his or her nightmare experiences.
I need to say that for me Facelets was the only exception. It just worked
o
Please, add expandAll/collapseAll actions into detailToggler.Although I've found work-around to implelemt expand/collapse all detailsit would be much easier if detailToggler had these actions in the base code.
Thanks,--MG
Hi.
How it is posible to define multiple
X
Y
but and only allow 'headerClass' instead of
'headerClasses'.
Using a facet
only defines a within the element.
Hope that someone can help with this issue.
Best regards,
Jesper
use the following settings, and you should have much better user-interaction:
javax.faces.STATE_SAVING_METHOD
server
State saving method: "client" or "server" (= default)
See JSF Specification 2.5.2
org.apache.myface
Cool has nothing to do with it. Examples are there to provide starting point
for the technology and supposed to be running 'out of the box'. If I have
problems getting examples for two consecutive releases to work, something
tells me that risk of using this particular technology in real life is
una
Hi Yura,
I'm also using MyFaces without JSP and think that JSF rendering is
slow.. So if someone can complete this info, I will be interested..
Regards
Yura.Tkachenko wrote:
Hi,
I just
finding some ways to speed up JSF. I’m
using MyFaces implementation and actually I
save a request scope backing bean field.
My backing bean construct want to get current view locale to read
resource bundle
On 3/27/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:
> I'm not sure what you mean. What is @value of t:saveState ? Can you post
> the stack trace?
>
> Dennis Byrne
>
> >
I'm not sure what you mean. What is @value of t:saveState ? Can you post the
stack trace?
Dennis Byrne
>-Original Message-
>From: Anthony Hong [mailto:[EMAIL PROTECTED]
>Sent: Sunday, March 26, 2006 10:46 PM
>To: 'MyFaces Discussion'
>Subject: t:saveState can not fetch FacesContent.get
in my backing bean, I want to get view local in my constructor.
But if I use t:saveState, when click some action to invoke backing
bean. It throws null pointer exception.
FacesContent.getViewRoot() is null. If I don't use saveState, it works fine.
Is this correct?
--
Anthony Hong
Sorry – got sent to the wrong
mailing list.
From: Yee CN
[mailto:[EMAIL PROTECTED]
Sent: Monday, 27 March 2006 11:09
AM
To: 'MyFaces Discussion'
Subject: Facelets1.1.1 -
appears as - not whitespace
I took a look at the rendered html. It
seems that & is pass stra
No, it can't, not in template text. You've got two choices:
(the general XML escape for non-breaking spaces)
At some point, a straight may be accepted, but
was always a hacky workaround for some glitches that are fixed
by Facelets 1.1.1.
BTW, this should be posted to the Facele
I took a look at the rendered html. It
seems that & is pass straight to the browser as
& .
So & can no longer be
used?
Thanks
Yee
From: Yee CN
[mailto:[EMAIL PROTECTED]
Sent: Monday, 27 March 2006 10:22
AM
To: [EMAIL PROTECTED]
Subject: Facelets1.1.1 -
appears as
Uh, so basically you're saying you never actually used
it, but you can also claim it'll be a year before it's ready
for a serious production app? Not cool...
-- Adam
On 3/26/06, Igor Marakov <[EMAIL PROTECTED]> wrote:
> I haven't seen 1.1 version. Dropped the idea after not being able to get
>
Whoops :)
That was wrong. --> Then access the value in JSF like
The "get" disappears of course. So you'd just write in your jsf page... There are lots of
other examples.
Did you check http://irian.at/myfaces ?
Legolas Woodland wrote:
Andreas Zeller - zit-systems wrote:
Hey Lego
Well sure,
I don't quite understand what exactly you need for your output. It's
just a simple getter for a bean... But anyway... To just put out the
current time and date, create a bean like TimeBean.java
import java.util.Calendar;
... etc. blabla
public String getDate(){
return Calenda
Andreas Zeller - zit-systems wrote:
Hey Legolas,
Timestamp? java.util.Calendar.getInstance().getTime() will give you the
current time and date... Does that help you?
Andreas
Legolas Woodland wrote:
Hi
Thank you for reading my post
How i can show current timestamp in jsf ?
than
I haven't seen 1.1 version. Dropped the idea after not being able to get
examples for 1.0.6 and 1.0.7 to work.
Igor
-Original Message-
From: Adam Winer [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 26, 2006 11:53 AM
To: MyFaces Discussion
Subject: Re: JSF and Tiles
On 3/25/06, Igor Mar
On 3/25/06, Igor Marakov <[EMAIL PROTECTED]> wrote:
> On the other hand, both Facelets and Shale/Clay are still too (IMO) immature
> to become a basis for serious production app. Next year maybe...
Have you used Facelets recently? In my opinion, Facelets 1.1 is
very much ready for prime time. An
Hey Legolas,
Timestamp? java.util.Calendar.getInstance().getTime() will give you the
current time and date... Does that help you?
Andreas
Legolas Woodland wrote:
> Hi
> Thank you for reading my post
> How i can show current timestamp in jsf ?
>
> thanks
>
>
Sure, it's easy. Check out the docs for the facelets.VIEW_MAPPINGS
init parameter:
https://facelets.dev.java.net/nonav/docs/dev/docbook.html#config-webapp-init
-- Adam Winer
On 3/25/06, Murat Hazer <[EMAIL PROTECTED]> wrote:
> Hi,
>
>I am on a project which is not using facelets rig
> On 3/25/06, Matthias Kahlau <[EMAIL PROTECTED]> wrote:
> > Can you please tell me what the problem was with the
> serverSideTabSwitch?
>
> You quoted it already below, but to restate, it didn't interpret
> non-EL expressings as Boolean values, and wasn't saving the state of
> the switch in saveSt
Hi.,
In order to manipulate (update model before event request) the default
lifecycle, I added a PhaseListener to my Backing bean's constructor.
CODE:
lifecycle.addPhaseListener(new PhaseListener() {
public void beforePhase(PhaseEvent event) {
Hi
Thank you for reading my post
How i can show current timestamp in jsf ?
thanks
Hi,
But on all my JSF pages I actually doesn’t use JSP as
it, so I suppose I have always some time to: compile JSP(only 1 time) +
execute jsp compiled class.
I'm not sure where your problem is, but if you bother that jsp
compilation time, you'll find several ways to precompile your JSPs, for
27 matches
Mail list logo