You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shale.apache.org by JS Portal Support <su...@jsportal.com> on 2007/06/01 05:58:43 UTC

RE: Clay jsfid="form" not working

Gary,

Your comments made give another closer look at the components on my pages
that did not work. It turned out that a mall formatted object and embed tag
for a flash file caused the problem. I had the following ugly tag that
worked before I used clay. (There must be better ways but when I build it I
just stuck with what worked):

<param name="movie" value="<h:outputText value="
#{webappLabels['imagePath.public.home.flash']}"/>" />

Now, however, I have an equally ugly solution that works:

<param name="movie" value="<span jsfid="outputText" value="
#{webappLabels['imagePath.public.home.flash']}" allowbody="false"></span>"
/>

Is there a more elegant way to use EL in clay outside the known components,
or would I need to build my own component? 

Thanks,
Joost			
-----Original Message-----
From: Gary VanMatre [mailto:gvanmatre@comcast.net] 
Sent: Friday, June 01, 2007 2:15 AM
To: user@shale.apache.org
Subject: RE: Clay jsfid="form" not working

>From: "JS Portal Support" <su...@jsportal.com> 
>
> The s in s:form here is the myfaces sandbox, not shale, as you probably 
> already guessed. 
>

My guess is that it has to do with command components you are using
within the form.  The "form" jsfid is the default JSF runtime component
where "s:form" is enhanced to work with all the tomahawk bells-and-
whistles.

I'm not sure how it's related to the maven managed builds.  Maybe it's
a difference in the tomahawk or myfaces jar since maven will pull the latest
snapshot?

 
Gary

> -----Original Message----- 
> From: JS Portal Support [mailto:support@jsportal.com] 
> Sent: Thursday, May 31, 2007 3:31 PM 
> To: user@shale.apache.org 
> Subject: Clay jsfid="form" not working 
> 
> Hi, 
> 
> I just transitioned my projects over to use Maven. All works quite well
and 
> I'm happy. However, I have a Clay form 
> allowbody="true"> in which all links end up coming back to the page the
form 
> resides on. When I change to use jsfid="s:form", all works fine. Can this
be 
> due to a missing Maven dependency on the core JSF jar? I used the 
> maven-myfaces-archetype to generate the project and thought that should 
> setup the dependencies properly. Or could it be due to the clay config 
> files? 
> 
> Does anyone have a clue what might cause this behaviour? 
> 
> Thanks, 
> Joost 
> 
> 
>