Gregg Leichtman | 1 Aug 13:00 2007
Gregg Leichtman | 1 Aug 13:34 2007
Picon

Re: Any sucess with shale nightly 20070717 and RI JSF 1.2?

For those who wish to _experiment_ with JSF 1.2 RI ( created using
version 1.2_04p2 from Sun) only (MyFaces is not supported in this
code), here is an updated TilesViewHandler class as I modified it to
work with Tiles 2.0.4 (the latest released version as of this date).
Clearly, the code is far from production usable and I make no claims
to it or its usability for any purpose, but it does potentially
provide a bridge, for me at least, to use JSF 1.2 in my development
effort while I wait for the production version from the experts.  :-)

I politely request that you do not ask for help with this code from
the Shale or Tiles developers if you use it, since it is not released
by either development group. In addition my interest in this code
extends to its ability to support my needs, so I currently do not
intend to support it  beyond any issues I run into in my development
efforts prior to release of an official Shale version.

                    -=> Gregg <=-

------ TilesViewHandler.java

package org.apache.shale.tiles;

import com.sun.faces.RIConstants;
import com.sun.faces.config.WebConfiguration;
import com.sun.faces.config.WebConfiguration.WebContextInitParameter;
import com.sun.faces.io.FastStringWriter;
import com.sun.faces.util.DebugUtil;
import com.sun.faces.util.MessageUtils;
import com.sun.faces.util.Util;
import com.sun.faces.application.InterweavingResponse;
(Continue reading)

Esteve Avilés | 1 Aug 17:37 2007
Picon

Re: Any sucess with shale nightly 20070717 and RI JSF 1.2?

HI,

Does anyone know when will the next version of shale be released?

thanks a lot,

--

-- 
Esteve Avilés
Gary VanMatre | 1 Aug 18:08 2007
Picon
Picon

Re: Any sucess with shale nightly 20070717 and RI JSF 1.2?

>From: "Esteve Avilés" <eavilesa <at> gmail.com> 
>
> HI, 
> 
> Does anyone know when will the next version of shale be released? 
>

The only major outstanding issue I know of is Tiles 2.x refactoring.  Otherwise, I think we are just waiting
on someone to find the time to roll it.

 
> thanks a lot, 
> 
> -- 
> Esteve Avilés 
> 
Ryan Wynn | 3 Aug 15:29 2007
Picon

Can shale-clay be used as a shared library?

I am attempting to move shale-clay.jar outside the of the web
application into a shared library.  It looks to me from the code that
this is probably not supported.  I am guessing that multiple
applications would clash because the ConfigBeanFactory would not be
able to distinguish which application it is serving anymore since it
would be shared by all applications.

Is there a way that the config bean factory could be keyed by the
context classloader such that it can handle multiple applications
pulling from it?  I think something like this was done in the myfaces
javax.faces.FactoryFinder.

Thanks,
Ryan

Gary VanMatre | 3 Aug 17:29 2007
Picon
Picon

Re: Can shale-clay be used as a shared library?

>From: "Ryan Wynn" <bigwynnr <at> gmail.com> 
>
> I am attempting to move shale-clay.jar outside the of the web 
> application into a shared library. It looks to me from the code that 
> this is probably not supported. I am guessing that multiple 
> applications would clash because the ConfigBeanFactory would not be 
> able to distinguish which application it is serving anymore since it 
> would be shared by all applications. 
> 
> Is there a way that the config bean factory could be keyed by the 
> context classloader such that it can handle multiple applications 
> pulling from it? I think something like this was done in the myfaces 
> javax.faces.FactoryFinder. 
> 

We have a couple "factories" [1][2] that we would need to look at besides common chains.
 I believe that we would also need to look at our static reference to logger and the 
Message (bundle wrapper).  So, it would require a bunch of refactoring.

[1] http://svn.apache.org/viewvc/shale/framework/trunk/shale-clay/src/main/java/org/apache/shale/clay/config/beans/ConfigBeanFactory.java?view=markup
[2] http://svn.apache.org/viewvc/shale/framework/trunk/shale-clay/src/main/java/org/apache/shale/clay/parser/builder/BuilderFactory.java?view=markup

> Thanks, 
> Ryan 

Gary
Ryan Wynn | 3 Aug 22:13 2007
Picon

Re: Can shale-clay be used as a shared library?

So you're saying there's a chance.  Well, it turns out it might not be
a problem for us.  IBM Portal has a mechanism to attach a shared
library to every application classloader.

So each app will get it's own version of those factories, without
having to have clay packaged inside each war.

Thanks, though.

On 8/3/07, Gary VanMatre <gvanmatre <at> comcast.net> wrote:
> >From: "Ryan Wynn" <bigwynnr <at> gmail.com>
> >
> > I am attempting to move shale-clay.jar outside the of the web
> > application into a shared library. It looks to me from the code that
> > this is probably not supported. I am guessing that multiple
> > applications would clash because the ConfigBeanFactory would not be
> > able to distinguish which application it is serving anymore since it
> > would be shared by all applications.
> >
> > Is there a way that the config bean factory could be keyed by the
> > context classloader such that it can handle multiple applications
> > pulling from it? I think something like this was done in the myfaces
> > javax.faces.FactoryFinder.
> >
>
> We have a couple "factories" [1][2] that we would need to look at besides common chains.
>  I believe that we would also need to look at our static reference to logger and the
> Message (bundle wrapper).  So, it would require a bunch of refactoring.
>
>
(Continue reading)

Tomasz Pasierb | 3 Aug 23:14 2007

clay2tldconfig trinidad tld

Hi,

I'm trying to use the util to convert trinidad 1.2.1 tld to clay config 
file. I get the following error:

[INFO] Converting: META-INF/tr.tld
java.lang.NoSuchFieldException: deferred-value
        at java.lang.Class.getDeclaredField(Class.java:1882)
        at 
org.apache.shale.clay.util.TldToClayconfig.addToAttribute(TldToClayco
nfig.java:383)
        at 
org.apache.shale.clay.util.TldToClayconfig.convert(TldToClayconfig.ja
va:225)
        at org.apache.shale.Tld2ClayCfgMojo.execute(Tld2ClayCfgMojo.java:81)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:443)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:539)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:480)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:459)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
(Continue reading)

Érico Teixeira | 4 Aug 15:19 2007
Picon

Re: SV: master-detail redirection with annoteded request bean and tomahawk updateActionListener

ok

I got that already

thanks

Hermod Opstvedt <hermod <at> opstvedt.com> wrote: Hi

Please redirect questions regarding Tomahawk to the MyFaces list. 

Hermod

-----Opprinnelig melding-----
Fra: Érico Teixeira [mailto:ericomtx <at> yahoo.com.br] 
Sendt: 30. juli 2007 20:26
Til: user <at> shale.apache.org
Emne: master-detail redirection with annoteded request bean and tomahawk
updateActionListener

I have an use case where I need to load a dataTable with all monthly fees
from a student and put a link in id column to redirect to an annotaded Fee
Request Bean  where I can visualize all details ...

I've tried to use :

        value="#{studentBean.fees}" preserveDataModel="true"
        rows="8"
        >
...

(Continue reading)

Gary VanMatre | 4 Aug 16:44 2007
Picon
Picon

RE: master-detail redirection with annoteded request bean and tomahawk updateActionListener

>From: <hermod.opstvedt <at> dnbnor.no> 
>
> Hi 
> 
> Wrong list - Try the MyFaces list for questions regarding Tomahawk 
> 

Unless you are using Shale Clay, as Hermod stated, myfaces would be the best 
community to ask tomahawk questions.  

However, it looks like you are using Facelets, not that here is anything wrong with 
that :-(.

See my comments below:

> Hermod 
> 
> -----Original Message----- 
> From: Érico" Teixeira [mailto:ericomtx <at> yahoo.com.br] 
> Sent: Monday, July 30, 2007 8:26 PM 
> To: user <at> shale.apache.org 
> Subject: master-detail redirection with annoteded request bean and 
> tomahawk updateActionListener 
> 
> 
> I have an use case where I need to load a dataTable with all monthly fees from a 
> student and put a link in id column to redirect to an annotaded Fee Request Bean 
> where I can visualize all details ... 
> 
> I've tried to use : 
(Continue reading)


Gmane