Anybody want to share on JSF?

View: New views
12 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Re: Re: Anybody want to share on JSF?

by Steve Torrefranca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

sorry reading my own post confused me, guess i type too fast.  here is
the correct one:


> one example would be tomahawk's life cycle. Tomahawk has a
> t:saveState tag. using saveState the data is serialized at the end of "render"
> and then is recreated during the "restore view" phase.  This is
> inconsistent with Jboss-Seam conversation state. The restoration
> of the conversation context for both implementation happens on
> different phase. If you read this thread
> http://www.jboss.com/?module=bb&op=viewtopic&t=72858
> this is exactly what is happening here.

Re: Re: Anybody want to share on JSF?

by jmalonzo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Steve Torrefranca" <javacide@...> writes:

Hi,

>> JBoss SEAM + Myfaces + Tomahawk + Ajax4Jsf
>> works great. You can also use other

To put it in context, as far as my usage goes, it works OK for me.

> may i disagree.
> http://docs.jboss.com/seam/1.2.0.PATCH1/reference/en/html_single/ (see
> chapter 24)
> one example would be tomahawk's save state life cycle. Tomahawk has  The
> restoration of the conversation context for both implementation happens on
> different phase. If you read this thread
> http://www.jboss.com/?module=bb&op=viewtopic&t=72858 this is exactly what is
> happening here.

Err.. yeah. But why would you use tomahawk's save state life cycle when SEAM
can already do CONVERSATIONS? Use tomahawk if you have a specific need for it.

>
> in this thread Gavin King discourages a dev to not use Tomahawk
> http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978252#3978252

Uhmm if you read the whole thread you can tell that the developer is doing
non-standard things like fiddling with dependencies, myfaces and JBoss. And
from what I understood the developer is using a HEAD version of SEAM and Gavin
also acknowledges and fixed a few bugs in the process as well. So as far as my
interpretation goes "Remove Tomahawk if it's causing problems for you". Even
the developer had no idea if it's a Myfaces, Tomahawk, or SEAM issue.

There are some things that just can't be used with SEAM, like the save state
feature I mentioned above.

I hope that clarifies things.

Cheers,

--

He that composes himself is wiser than he that composes a book.
                -- B. Franklin

Re: Re: Anybody want to share on JSF?

by Steve Torrefranca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> non-standard things like fiddling with dependencies, myfaces and JBoss
Exactly and I dont disagree with you.   That is why tomahawk, which has
non-standard components, should be used with caution.  If you say it works
great depends largely on one's usage.  But to give a statement " JBoss SEAM
+ Myfaces + Tomahawk + Ajax4Jsf works great." is misleading.  And, I dont
want ppl who are learning JSF to mix these non-standard JSF libs, then
ditching JSF believing that it's difficult, impossible, and bulky.

There are only FEW tomahawk components that work well with Ice/SEAM out of
the box.   There are a LOT of those that don't.  On the other hand  often
used IceFaces components don't necessarily work.

But, there is always a work around (often requiring you to write your own
phaseListeners/filters/interceptors/reneders/etc).  me, i rather not use
tomahawk/seam/ice tags on a page (xhtml/jsp/jspx,etc).  If i need these
components in a single view, i put them in separate frames.

Following the KISS mantra,  "ppl dont recommend mixing SEAM or IceFaces with
tomahawk".  again, i am not saying it's impossible as nothing is.  If you
wish to mix Gin with Vodka go ahead - but please expect a hang-over.

Re: Re: Anybody want to share on JSF?

by Steve Torrefranca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

now this is out of the tomahawk+ice+seam discussion.  I want to
explain the saveState feature to those who are learning JSF

>why would you use tomahawk's save state life cycle when SEAM
>can already do CONVERSATIONS?
remember our jsp page scopes: page, request, none, session,
application? now JSF dont have these page scopes since beans are not
tied up to a particular page.  But you can define the life cycle of
these beans using these scopes: none (nada! never stored anywhere),
request (state saved only for the duration of the request), session
(stored up while user session is alive) , application (entire lifetime
of the servlet container).

saveState is something that Tomahawk MyFaces developers pulled out of
their asssh trays.  meaning it aint a standard scope.  You know I
could not find the article that Gavin wrote about savestate and how he
dislikes it.

But this saveState feature is actually cool!  Sometime there are data
/beans that you would like to stay around longer than a request but
shorter than a session.

example, you have a backing bean that spans multiple pages.  with
request, you loose all your data after the last page (at least for
MyFaces - does not happen in IceFaces since its Ajax based so request
scope beans live waaaay longer).  Now I dont want to keep these guys
around nor do I want to manually manage their state.

This is where saveState becomes handy. With saveState (while beans are
on a request scope), the entire bean or the bean's data lives longer
than request but shorter than  session.  Read here :
http://wiki.apache.org/myfaces/How_JSF_State_Management_Works

But use it with caution.  Once you use REDIRECT (by default JSF use
FORWARD), this feature stops working.  But again there is a work
around for this limitation, but that is another story.

Re: Re: Anybody want to share on JSF?

by Steve Torrefranca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

IceFaces recently released version 1.6 DR#3 that supports most
Tomahawk non-standard components. See this link:
http://support.icesoft.com/jive/servlet/KbServlet/download/731-102-922/ICEfacesTomahawkCompSupport.html

Re: Anybody want to share on JSF?

by my_aro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- In pinoyjug@..., "Steve Torrefranca" <javacide@...> wrote:
>
> IceFaces recently released version 1.6 DR#3 that supports most
> Tomahawk non-standard components. See this link:
>
http://support.icesoft.com/jive/servlet/KbServlet/download/731-102-922/ICEfacesTomahawkCompSupport.html
>

yep, good move for Icefaces.. even have plugins for eclipse. hurray!! =))



Re: Anybody want to share on JSF?

by vergil santos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- In pinoyjug@..., "Scleropages formosus" <my_aro@...>
wrote:
>
> --- In pinoyjug@..., "Steve Torrefranca" <javacide@> wrote:
> >
> > IceFaces recently released version 1.6 DR#3 that supports most
> > Tomahawk non-standard components. See this link:
> >
>
http://support.icesoft.com/jive/servlet/KbServlet/download/731-102-922/ICEfacesTomahawkCompSupport.html
> >
>
> yep, good move for Icefaces.. even have plugins for eclipse.
hurray!! =))
>
hi there, could u please post some links where in i could get the
plugin for eclipse, and also some tutorials? thanks very much =)


Re: Anybody want to share on JSF?

by my_aro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- In pinoyjug@..., "gilsaints88" <gilsaints88@...>
wrote:
>
> --- In pinoyjug@..., "Scleropages formosus" <my_aro@>
> wrote:
> >
> > --- In pinoyjug@..., "Steve Torrefranca" <javacide@>
wrote:
> > >
> > > IceFaces recently released version 1.6 DR#3 that supports most
> > > Tomahawk non-standard components. See this link:
> > >
> >
> http://support.icesoft.com/jive/servlet/KbServlet/download/731-102-
922/ICEfacesTomahawkCompSupport.html
> > >
> >
> > yep, good move for Icefaces.. even have plugins for eclipse.
> hurray!! =))
> >
> hi there, could u please post some links where in i could get the
> plugin for eclipse, and also some tutorials? thanks very much =)
>

you can go here.. http://www.icefaces.org/main/downloads/



Re: Grails

by Jay Quiambao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is an old thread (1 year 3 months to be precise) but would like to
revive it since groovy on grails is getting alot of attention these days.
Anybody here working on a grails project?

Marc,
How did your sms application work out anyway?

- Jay

On Thu, Apr 12, 2007 at 12:21 PM, Marc Lester Tan <mharkus@...> wrote:

> I'm planning  to use it in an sms-messaging application so let's see if it
> goes well. :D
>
> Marc
>
> *Melvin Dave Vivas <melvindave@...>* wrote:
>
>  Has anyone used Grails for production apps? How is it?
>
>
> On 4/12/07, Marc Lester Tan <mharkus@...> wrote:
>>
>>   I just want to share this one
>>
>> http://grails.codehaus.org/
>>
>> According to site:
>>
>> It's an open-source web application framework that leverages the Groovy
>> language <http://groovy.codehaus.org/> and complements Java Web
>> development.
>>
>> It actually uses Spring, Hibernate and Quartz. I've been digging it for
>> almost two weeks now and I find it very useful specially for building CRUD
>> apps.
>>
>> **
>> Thanks,
>> Marc
>> ------------------------------
>> Looking for earth-friendly autos?
>>  Browse Top Cars by "Green Rating"<http://autos.yahoo.com/green_center/;_ylc=X3oDMTE4MGw4Z2hlBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW5jZW50ZXI->at Yahoo! Autos' Green Center.
>>
>
>
> ------------------------------
> Bored stiff? <http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com>Loosen up...
> Download and play hundreds of games for free<http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com>on Yahoo! Games.
>
>

Re: Grails

by javazealot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jay,

Join this group. It's more appropriate to discuss it there.

http://groups.google.com/group/philippine-groovy-users

Thanks.

Melvin

On Fri, Jul 11, 2008 at 2:45 PM, Jay Quiambao <jquiambao@...> wrote:

>   This is an old thread (1 year 3 months to be precise) but would like to
> revive it since groovy on grails is getting alot of attention these days.
> Anybody here working on a grails project?
>
> Marc,
> How did your sms application work out anyway?
>
> - Jay
>
>
> On Thu, Apr 12, 2007 at 12:21 PM, Marc Lester Tan <mharkus@...>
> wrote:
>
>>  I'm planning  to use it in an sms-messaging application so let's see if
>> it goes well. :D
>>
>> Marc
>>
>> *Melvin Dave Vivas <melvindave@...>* wrote:
>>
>>  Has anyone used Grails for production apps? How is it?
>>
>>
>> On 4/12/07, Marc Lester Tan <mharkus@...> wrote:
>>>
>>>   I just want to share this one
>>>
>>> http://grails.codehaus.org/
>>>
>>> According to site:
>>>
>>> It's an open-source web application framework that leverages the Groovy
>>> language <http://groovy.codehaus.org/> and complements Java Web
>>> development.
>>>
>>> It actually uses Spring, Hibernate and Quartz. I've been digging it for
>>> almost two weeks now and I find it very useful specially for building CRUD
>>> apps.
>>>
>>> **
>>> Thanks,
>>> Marc
>>>  ------------------------------
>>> Looking for earth-friendly autos?
>>>  Browse Top Cars by "Green Rating"<http://autos.yahoo.com/green_center/;_ylc=X3oDMTE4MGw4Z2hlBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW5jZW50ZXI->at Yahoo! Autos' Green Center.
>>>
>>
>>
>> ------------------------------
>> Bored stiff? <http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com>Loosen up...
>> Download and play hundreds of games for free<http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com>on Yahoo! Games.
>>
>
>  
>

Re: Grails

by mykol :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

perhaps we could interest you to attend the first meetup of the Philippine
Groovy Users Group this Monday at the Orange and Bronze office:

http://groups.google.com/group/philippine-groovy-users/browse_thread/thread/a835c5c84b6f9679


On Fri, Jul 11, 2008 at 2:45 PM, Jay Quiambao <jquiambao@...> wrote:

>   This is an old thread (1 year 3 months to be precise) but would like to
> revive it since groovy on grails is getting alot of attention these days.
> Anybody here working on a grails project?
>
> Marc,
> How did your sms application work out anyway?
>
> - Jay
>
>
> On Thu, Apr 12, 2007 at 12:21 PM, Marc Lester Tan <mharkus@...>
> wrote:
>
>>  I'm planning  to use it in an sms-messaging application so let's see if
>> it goes well. :D
>>
>> Marc
>>
>> *Melvin Dave Vivas <melvindave@...>* wrote:
>>
>>  Has anyone used Grails for production apps? How is it?
>>
>>
>> On 4/12/07, Marc Lester Tan <mharkus@...> wrote:
>>>
>>>   I just want to share this one
>>>
>>> http://grails.codehaus.org/
>>>
>>> According to site:
>>>
>>> It's an open-source web application framework that leverages the Groovy
>>> language <http://groovy.codehaus.org/> and complements Java Web
>>> development.
>>>
>>> It actually uses Spring, Hibernate and Quartz. I've been digging it for
>>> almost two weeks now and I find it very useful specially for building CRUD
>>> apps.
>>>
>>> **
>>> Thanks,
>>> Marc
>>>  ------------------------------
>>> Looking for earth-friendly autos?
>>>  Browse Top Cars by "Green Rating"<http://autos.yahoo.com/green_center/;_ylc=X3oDMTE4MGw4Z2hlBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW5jZW50ZXI->at Yahoo! Autos' Green Center.
>>>
>>
>>
>> ------------------------------
>> Bored stiff? <http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com>Loosen up...
>> Download and play hundreds of games for free<http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com>on Yahoo! Games.
>>
>
>  
>

Re: Grails

by Marc Lester Tan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi jay,

The app still looks good and much faster compared to when I was still using grails 0.4.

I remember someone posted this before:

"Plus, Groovy isn't a "serious" language... looks like a hobby of James

Strachan? (Who has since moved on.)"

It turns out that Groovy is a serious language after all :D

- M

--- On Fri, 7/11/08, Jay Quiambao <jquiambao@...> wrote:
From: Jay Quiambao <jquiambao@...>
Subject: Re: [pinoyjug] Grails
To: pinoyjug@...
Date: Friday, July 11, 2008, 2:45 AM










   
            This is an old thread (1 year 3 months to be precise) but would like to revive it since groovy on grails is getting alot of attention these days. Anybody here working on a grails project?

Marc,
How did your sms application work out anyway?


- Jay

On Thu, Apr 12, 2007 at 12:21 PM, Marc Lester Tan <mharkus@yahoo. com> wrote:




I'm planning  to use it in an sms-messaging application so let's see if it goes well. :D

Marc

Melvin Dave Vivas <melvindave@gmail. com> wrote:
                             Has anyone used Grails for production apps? How is it?


On 4/12/07, Marc Lester Tan <mharkus@yahoo. com> wrote:
                                   I just want to share this one

http://grails.codehaus.org/


According to site:

It's an open-source web application framework that leverages      the Groovy   language     and complements Java Web development.


It actually uses Spring, Hibernate and Quartz. I've been digging it for almost two weeks now and I find it very useful specially for building CRUD apps.


Thanks,
Marc
           
Looking for earth-friendly autos?
  Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.  
                 
         
                 
 
      Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.





     

   
   
       
         
       
       








       


       
       


     
< Prev | 1 - 2 | Next >
LightInTheBox - Buy quality products at wholesale price!