Oups, my bad, I should have checked. I guess it's time for me to make myself
a bit more useful since I play with skin on daily basis...
On 8/9/07, Adam Winer <[EMAIL PROTECTED]> wrote:
>
> ... but unfortunately, navigationPane is specifically not
> documented there. I cleaned up a lot of the skin
I think I see one of my problems. The myfaces-examples-tiles-1.1.6.war works
fine with Tomcat 5.5.23, but blows up during deployment on Tomcat 6.0.13.
I'll retry the integration on Tomcat 5.5.23 tomorrow.
Ed
On 8/9/07, Edward Dowgiallo <[EMAIL PROTECTED]> wrote:
>
> Adam,
>
> I've got MyFaces and
Adam,
I've got MyFaces and Trinidad working.
The renderkit ID is set correctly.
I'm trying to use the JspTilesViewHandlerImpl from Tomahawk. If I comment
out the one line assigning this alternate viewer in the faces-config.xml,
the non-Tiles JSF pages work fine.
Ed
On 8/9/07, Adam Winer <[EMAI
Thanks a million, Nate! That's looking very nice.
... but unfortunately, navigationPane is specifically not
documented there. I cleaned up a lot of the skin selectors
doc, but it would be great for someone to take on that
remaining task (hint, hint, committers) :)
-- Adam
On 8/9/07, Simon Lessard <[EMAIL PROTECTED]> wrote:
> Hello again Dunia,
I suspect you've not set the renderkit ID to org.apache.myfaces.trinidad.core.
I'd start with just getting MyFaces + Trinidad working, and only
worrying about Tiles later.
And for that matter, I can't say I recommend using Tiles at all, at
least not Tiles 1.x, with JSF.
-- Adam
On 8/9/07, Edwa
Well, IntelliJ Idea can do this. You can run any inspection profile in batch
mode.
Of course, it's not free - but there's a trial version.
But beware, if you try it you might be reluctant to use another IDE again ;-)
Si_Simon wrote:
I want to validate all .xhtml files in my project for correct
Hi Mike and thanks for the suggestions. Indeed you are right that my
bean is request scoped. I talked to some more people today and got the
proper understanding of how it works. I also got a workaround for my
problem.
Thanks,
Christopher
Mike Kienenberger schrieb:
A lot of times this is cau
I don't think there is one, but you could create a java program to do
it. You would have to recurse through a given directory looking for
all xhtml files and load them as a view and look for errors.
If you choose this path, to get a head start, look at my testing code
for the facelets annotation d
I want to validate all .xhtml files in my project for correct syntax (static
analyzer). Is there a program that I can feed a .xhtml to have it show me
the violations?
I would like to have a program look for and check all .xhtml files for
proper syntax and tag usage and report any errors that are
Maybe someting like:
?
On 09/08/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> If you're using JSF 1.1 and JSP, then you'd need to use ,
> probably with a CDATA.
>
> If you're using either facelets or JSF 1.2, then you can just drop it in as
> is.
>
> On 8/9/07, daniel ccss <[EMAIL PROT
If you're using JSF 1.1 and JSP, then you'd need to use ,
probably with a CDATA.
If you're using either facelets or JSF 1.2, then you can just drop it in as is.
On 8/9/07, daniel ccss <[EMAIL PROTECTED]> wrote:
> Anybody??
>
>
> On 8/9/07, daniel ccss <[EMAIL PROTECTED]> wrote:
> > I use a an htm
Anybody??
On 8/9/07, daniel ccss <[EMAIL PROTECTED]> wrote:
>
> I use a an html code to call a javascript that shows a calendar:
>
>
> align="absmiddle" src="../../images/calbtn.gif" width="16" height="16"
> border="0" alt="">
>
I've already implemented the hover functionality, but I'm waiting on
1.0.2release before committing it into
1.0.3. I hadn't thought of your second point, but that would be really
great feature. I'll give this some thought and see what we can come up
with.
On the skinning front for the 'X', you n
Greetings:
What are possible causes for this servlet exception? The exception seems
to be at faces servlet processing. This is an updating from working
jsf-1.1 app to jsf-1.2 app.
As the application starts using normal process of Jsf, StackOverflow is
at HashMap. If pointed directly to a page, th
Hi,
Yes, the problem is related to the fix for trinidad. I saw that the patch
proposed to solve the issue differ from patch applied to the code. In the
code we have this line "if (submitForm === undefined) {" and in the fix
proposed we have the following line "if (typeof submitForm=="undefined")
I merge it tomorrow
-Matthias
On 8/9/07, Adam Winer <[EMAIL PROTECTED]> wrote:
> Matthias, could you hold up until I get a chance to look
> at the reported problems with umlauts + PPR? I'd really
> like to make sure we don't have any major i18n problems
> in 1.0.2.
>
> -- Adam
>
>
> On 8/9/07,
Yes, I tryed to call this method:
public String showPopup(){
System.out.println("trigger");
return "dialog:popup";
}
and every time i click on link in server log is displayed "trigger", but
the popup doesn't show. If I remove partiaSubmit="true" then the page is
refreshing so, I don't kn
I am wondering if there is an easy way, or if it is planned to have
popupPanel open and hide by different methods.
Additional method 1:
onmouseover of the trigger opens the popup
onmouseout of the trigger and the popup closes the popup
This would be like the tomahawk popup functionality, but have
I'm currently trying to integrate MyFaces 1.2.0, Trinidad 1.2.1, and Tiles
1.3.5.
I've done a lot of googling on the internet, and after a cut and paste
festival am still getting the error:
WARNING: Could not find renderer for ...
interspersed with
WARNING: Unsupported component-family/renderer
Anybody??
On 8/9/07, daniel ccss <[EMAIL PROTECTED]> wrote:
>
> What is this:
>
> Link is not embedded in a form. Change component/tag 'Guardar' from
> javax.faces.*/ to
> org.apache.myfaces.*/, or embed it in a form. This is not a bug.
>
> Please see: http://wiki.apache.org/myfaces/Upgrading_to
I use a an html code to call a javascript that shows a calendar:
The problem is that when I put it beetween the but it doesn´t works. What I can do?
Obviously I need to have the code between
In the past, under WebObjects, I handled this using Meta refresh
http://en.wikipedia.org/wiki/Meta_refresh
On 8/9/07, Simon Lessard <[EMAIL PROTECTED]> wrote:
> Hello Carlos,
>
> Normally, I do that using Trinidad with a progressIndicator+poll while the
> asynchronous process is running and I mak
Simon - Thanks. I finally got it to work with your change. The last step
is I had to start/stop the server - since I'm using 1.0.0 and the bug fix
for hot-deploying a skin came in 1.0.1.
Thanks,
Chris
Simon Lessard wrote:
Hello Chris,
You got a small error in your selector, the right o
Hello Carlos,
Normally, I do that using Trinidad with a progressIndicator+poll while the
asynchronous process is running and I make the application navigate to the
second page when the process reach 100%. With basic JSF, it requires some
more work involving JavaScript.
Regards,
~ Simon
On 8/9/
Hi,
I need to show a intermediate page while loading a second second one [
"Thank you for using our services..." page while loading the result of
the search]
how i do that on jsf
thanks.
Vi Veri Veniversum Vivus Vici
Hello again Dunia,
You can find the selector list at
http://myfaces.apache.org/trinidad/skin-selectors.html. Also, you can always
check what selectors are being rendered on the client with the help of
Firebug (for Firefox browser). Also, if you don't want the selector names to
be compressed (makin
Simon, thanks a lot for your extensive comments!
So best practice seems to be customizing the respective af|navigationpane
selectors and using my own selectors only where there are no defaults. The
difficulty with that approach is, that I can't find any specification for the
navigationpane sele
On Thu, 2007-08-09 at 21:49 +0530, Ganesh Surisetty wrote:
> Hello!
>
> in my page i have two command buttons Add and Delete,
> when i click on those buttons i am invoking a bean method but
> actually they are not getting executed, the page is getting refreshed
> and showing the
Yeah, I saw that on the wiki but it wasn't an option because we occaisionally
include javascript in those types of comment tags.
M@
-Original Message-
From: Andrew Robinson [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 09, 2007 2:50 PM
To: MyFaces Discussion
Subject: Re: JSF unrender
What is this:
Link is not embedded in a form. Change component/tag 'Guardar' from
javax.faces.*/ to
org.apache.myfaces.*/, or embed it in a form. This is not a bug.
Please see: http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1.1.3
The path to this component is
{Component-Path : [Class: org.a
I should also mention
works if:
facelets.SKIP_COMMENTS
true
is set for facelets
On 8/9/07, Cormier, Matthieu <[EMAIL PROTECTED]> wrote:
> Thanks. I'm using facelets, that's why the first version won't work for me.
>
> -Original Message-
> From: Andrew Robinson [mailto:[EMAIL P
Thanks. I'm using facelets, that's why the first version won't work for me.
-Original Message-
From: Andrew Robinson [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 09, 2007 2:44 PM
To: MyFaces Discussion
Subject: Re: JSF unrendered comments
JSP use <%-- comment --%>
Facelets use comme
JSP use <%-- comment --%>
Facelets use comment
On 8/9/07, Michał 'Gandalf' Stawicki <[EMAIL PROTECTED]> wrote:
> And why can't you use <%-- --%> ?
>
> On 09/08/07, Cormier, Matthieu <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> > Hello all,
> >
> >
> >
> > In JSP comments could be written with
> >
And why can't you use <%-- --%> ?
On 09/08/07, Cormier, Matthieu <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hello all,
>
>
>
> In JSP comments could be written with
>
> <%-- --%> and they would not be rendered to the browser.
>
>
>
> I cannot find anything equivalent for JSF. Is there?
>
> The only so
Hello all,
In JSP comments could be written with
<%-- --%> and they would not be rendered to the browser.
I cannot find anything equivalent for JSF. Is there?
The only solution I can think of is to create a custom tag called
comment that does not render it's child data.
Thoughts?
Hello Sandeep,
I just checked the code and we didn't even maintain backward compatibility
on that component, not that I see anyway. Just out of curiosity, what
version are you using so that af|selectInputDate::launch-icon still works?
Regards,
~ Simon
On 8/9/07, sandeep gururaj <[EMAIL PROTECT
On 8/9/07, Renzo Tomaselli <[EMAIL PROTECTED]> wrote:
>
> If I got the right meaning of "rendered as part of a component" this should
> be equivalent to:
>
>
>
>
> alert('Script run after PPR')
>
>
>
> Correct ?
Well, yes. Though I'd prefer the use of Extended
Alright, fixed on trunk. I'll try to make sure this gets into the
official 1.0.2 release.
-- Adam
On 8/9/07, Adam Winer <[EMAIL PROTECTED]> wrote:
> What I've found in early testing is that:
> - Everything works fine if your page is in UTF-8
> - In ISO-8859-1, the very first request is handled
If I got the right meaning of "rendered as part of a component" this
should be equivalent to:
alert('Script run after PPR')
Correct ?
-- Renzo
Danny Robinson wrote:
Sample:
FacesContext facesContext = FacesContext.getCurrentInstance();
Extende
It sounds like you need to add the nested component to the component tree.
Try something like this:
HtmlCommandButton b = (HtmlCommandButton) this.getChildren().get(0);
if (b == null) {
HtmlCommandButton b = (HtmlCommandButton)
context.getApplication().createComponent (HtmlCommandButton.
Hello!
in my page i have two command buttons Add and Delete, when i
click on those buttons i am invoking a bean method but actually they are
not getting executed, the page is getting refreshed and showing the same
page again
help me...
Thanks in advance,
Hello Dunia,
See my comments below.
Regards,
~ Simon
On 8/9/07, Azim, Dunia <[EMAIL PROTECTED]> wrote:
>
>
> Hi there,
>
> is there any reliable documentation or complete example on how to
> implement Trinidad Skins?
> After going through all documentation on
> http://myfaces.apache.org/trinid
Hi,,
In the datatable i am displaying salary , bonus and
department details employee wise, below that ...i want to display totals of
all the department salaries (one record per one department) in a table.
right now i could display employee individaul data using the POJO class. can
c
What I've found in early testing is that:
- Everything works fine if your page is in UTF-8
- In ISO-8859-1, the very first request is handled poorly; subsequent
requests seem to work fine
I know that XMLHttp requests are *always* delivered as UTF-8,
and this is likely the issue here - the chara
Sample:
FacesContext facesContext = FacesContext.getCurrentInstance();
ExtendedRenderKitService service = (ExtendedRenderKitService)
Service.getRenderKitService(facesContext,
ExtendedRenderKitService.class);
service.addScript(facesContext, "alert('Script added by
ExtendedRenderKi
A lot of times this is caused because the developer made the backing
list for the t:dataTable request-scoped, or made the rendered
attribute value for the commandList request-scoped.
On 8/9/07, Christopher Cudennec <[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> I can't get the commandLink to work
Hi there,
I've an action binded to a button; this action send a file to a browser.
The content of the method is similar to what's written in the wiki
(http://wiki.apache.org/myfaces/Sending_Files). In the same method i add
the rendered property of the button to false but once clicked the butto
Hi all,
I'm rather a JSF newbie and I am wondering about a good way to do error
handling. In my previous pre-JSF web apps (i.e. Struts 1), error handling
had the following features:
- one could define a global error handler, no need to define it on every
view
- one could read information about t
Great ! Your statement makes less important to hook into PPR completion
by some dedicated js api, since this will be possible in any case by
including some js snippet in a target region.
-- Renzo
Adam Winer wrote:
In fact, in 1.0.2, scripts that are rendered as part of a
component or via E
Hi there,
is there any reliable documentation or complete example on how to implement
Trinidad Skins?
After going through all documentation on
http://myfaces.apache.org/trinidad/release.html (Skin Selector Keys and
Converting from ADF to Trinidad) and studying the Demo-Examples, we neither
f
I agree, that doesn't make any sense... are you sure
your action is really getting called at all?
-- Adam
On 8/9/07, Luka Surija <[EMAIL PROTECTED]> wrote:
> Maybe I've found the problem, but it doesn't make any sense.
>
> If I call a dialog like this:
>
>
> then the popup window is opening,
Matthias, could you hold up until I get a chance to look
at the reported problems with umlauts + PPR? I'd really
like to make sure we don't have any major i18n problems
in 1.0.2.
-- Adam
On 8/9/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> @102 release, I return tonight from a business
In fact, in 1.0.2, scripts that are rendered as part of a
component or via ExtendedRenderKitService *will* get
executed, and exactly once, in the proper context
(the parent document). Anything added via
ExtendedRenderKitService will get rendered after
all of the other PPR contents.
We'll also dyn
I'll try to have a look at this today (this'd be an important
bug to nail before releasing 1.0.2.)
-- Adam
On 8/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i've probably found a bug with german umlauts and PPR in trinidad
> 1.0.2-SNAPSHOT in combination with facelets.
> After a
OK, well that's rather different. No, that's not
supported - we call renderResponse() during
Apply Request Values on return, and the actual
model update is delayed until the next go-around.
In theory, you could call processValidators()
followed by processUpdateModel() on a component
subtree in yo
I created my css directly from the oracle.xss
You should use the following structure
-public_html
-skins
oracle-skin.css
-images
panel-light_bottom-start.png, etc
Nate Perkins
480-441-3667
[EMAIL PROTECTED]
>This email message is for the sole use of the intended recipient(s) a
I'm attaching my oracle skin, I believe it is very close to the Oracle
look and feel without having the rendered buttons. (I apologize for
having to attach each image individually, our email filters are rather
strict :)) The images are for the light panelBox (which is the default)
They could easi
You have a few problems with that code.
1) You should set the parent of the component, this causes issues with
many components
2) You should mark the component as transient, which should be done
for components that will not be saved into the component tree
3) You should set an ID of the component,
Thanks Simon for this information.
~Sandeep
From: Simon Lessard [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 09, 2007 8:16 PM
To: MyFaces Discussion
Subject: Re: How to skin inputDate icon?
Hello Sandeep,
Yeah, we support both for backward compatibil
Hello Sandeep,
Yeah, we support both for backward compatibility but, if my memory serve me
well, af|inputDate has priority over selectInputDate and is actually faster
(saves an == null condition as well as a Map.get()... ok that's not so much
faster, but still !!!)
Regards,
~ Simon
On 8/9/07,
Hello Chris,
You got a small error in your selector, the right one is
af|inputDate::launch-icon (note the double colons)
While at it, here's the rules for urls placed within skins.
All examples assume an application using /myApp context path and using the
following directory structure:
- /s
I am using tr:inputDate and I use the following in my skin file.
af|selectInputDate::launch-icon {
content:url(/iAdvisorWeb/bundles/ic/skins/FND/images/datepicker.gif);
vertical-align:top;
}
~Sandeep
From: Angel Miralles Arevalo [mailto:[E
I don't Know which component you are using but try with:
It has the attribute "popupButtonImageUrl" to load an image...
- Mensaje original
De: Chris Hane <[EMAIL PROTECTED]>
Para: users@myfaces.apache.org
Enviado: jueves, 9 de agosto, 2007 16:01:05
Asunto: How to skin inputDate icon?
So no script will ever get executed in the context of the AJAX request.
Unlike the pprIFrame (which caused the browser to actually parse and render
the whole page inside the hidden iframe, thus executing script also), an
AJAX request is simply a receive of some text content through a pipe with no
p
Tks Angel, for the help. Here is my solution to may problem:
and the backing bean
public void add(ActionEvent event)
{
UIParameter parameter = (UIParameter)
event.getComponent().findComponent("entidadeId");
long idEn
Hi,
I'm developing some simple custom component, and I'm facing a problem I
cannot resolve and understand, so I will really appreciate any help.
I have this piece of code:
public void encodeBegin(FacesContext c) throws IOException {
HtmlCommandButton b = (HtmlCommandButton)
context.get
How can I skin the inputDate launch icon?
I have tried variations of this:
af|inputDate:launch-icon {
content:url(../ires/chris/images/dfb.gif);
}
When I use firebug it shows the icon being generated from:
adf/images/dfb.gif
and not my icon defined in the skin file.
Is there anything ob
Hi,
i've probably found a bug with german umlauts and PPR in trinidad
1.0.2-SNAPSHOT in combination with facelets.
After a PPR-Request within a panelTabbed the submitted values, which contains
german umlauts, are broken. The encoding of the xhtml-file ist ISO-8859-1,
even to support values with g
Hi everybody,
I can't get the commandLink to work inside the dataList. The event is
not processed and therefore the actionListener never gets called. This
sounds like the above bug ticket that is supposed to be solved. I use
MyFaces 1.1.5 and Tomahawk 1.1.6. Can anybody confirm or comment abou
Maybe I've found the problem, but it doesn't make any sense.
If I call a dialog like this:
then the popup window is opening, but if I call :
and showPopup method is like this:
public String showPopup(){
return "dialog:popup";
}
then nothing happens (popup window is not opening, and there
Thanks Danny, meanwhile I wonder why we shouldn't expect for a js chunk
included in a PPR target not to be executed at some point during the
PPR cycle.
Perhaps this is a matter of semantics, but I would expect the same
rendering behavior as for full page rendering. I mean js should execute
duri
@102 release, I return tonight from a business trip, will deliver the
artifacts by tonight / tomorrow morning (those to vote on)
-M
On 8/9/07, Danny Robinson <[EMAIL PROTECTED]> wrote:
> Renzo,
>
> I suggest you don't count on this behaviour, as the 1.0.2 release due any
> time soon switches to u
Renzo,
I suggest you don't count on this behaviour, as the 1.0.2 release due any
time soon switches to using AJAX rather than the _pprIFrame. This means
your script won't get executed at all in IE, and once in Firefox. There's
talk of some hooks into the AJAX routines to provide hooks when updat
I don't undestand very well what you want to do but try with:
Then in backing bean you can get param value like this:
this.operation =
(String)getApplication().createValueBinding("#{param.operation}").getValue(facesContext);
I hope it will help you.
- Mensaje or
Hi, i have this code:
when i do save just pass the value that is selected in selectItem (0,1,2, or
3)
So what i want its s
On Wed, 2007-08-08 at 23:53 +0100, Francisco Passos wrote:
> Simple jsf apps can be written without session-scoped beans,
> but it
> takes some effort to avoid them in larger apps. The
> t:saveState tag
> doesn't really scale ;-)
>
> It's a shame to hear th
Alright. Thanks Adam.
What I really want to do has something to do with the Dialog framework.
I want to submit the form on the main page when the Dialog page returns.
I understand that the main page doesn't get through the whole JSF
Lifecyle phase, when the dialog page returns. I need to ge
Hi everybody,
I can't get the commandLink to work inside the dataList. The event is
not processed and therefore the actionListener never gets called. This
sounds like the above bug ticket that is supposed to be solved. I use
MyFaces 1.1.5 and Tomahawk 1.1.6. Can anybody confirm or comment abou
It was mention in the wiki page that there are different ways of lazy loading
the contents of the tree2 components. Also, the first approach encountered a
problem in capturing the +/- event in his code.
The bad thing is that the + icon is now invisible, but i couldn't find a way
to get the event
Hi, I noticed a strong asymmetry while executing a js block included
into a PPR target: on IE this runs once, in the context of _pprIFrame.
On FF it runs twice, once in the context of _pprIFrame and then in the
context of the original page, after PPR modifications have been applied
to the dom.
W
81 matches
Mail list logo