dev@jsftemplating.java.net

Re: JSFTemplating: Developer session?

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Fri, 06 Apr 2007 09:59:13 -0700

My calendar reminder just popped up for this meeting. :)  I didn't arrange anything for it.  I can throw a quick meeting together... but I think it would better to reschedule this meeting.  Will Tuesday at 1PM PDT work for those interested in attending?

Thanks,

Ken

Ken Paulsen wrote:
Ok, lets plan for next Friday at 10AM PDT.  I'll send out meeting details early next week.  If others have topics they'd like covered, please send out your ideas prior to the meeting... that way I might be able to have an example / demonstration during the meeting (no promises, though).

Ken

Karam Singh Badesha wrote:
Not sure if this is covered already in the topics, here are some:

- Explain what are the different elements jsftemplating consists of.
e.g. LayoutDefinitionManager, ComponentFactories etc
- If I want to create a custom tag for a new feature, how to go about
doing that (e.g. you created <sun:..> for woodstock tags, I would like
to create <jfreechart:...>)
- How to create new attributes for the custom tags created above?
- If you have to contribute code to jsftemplating, what kind of process
is there.

Friday next week after 10am is fine with me as well. Wed will not work
for me.

thanks
Karam

Ken Paulsen wrote On 03/29/07 10:04,:
  
Hi Karam,

Sure, can we plan this for next week?  It can be open to anyone
receiving this email.  We can do a WebEx meeting to more easily see
examples / code.  Here are some ideas on topics, feel free to suggest
more.  During the meeting we can pick and choose from these topics
depending on people's interest:

* Creating a LayoutDefinitionManager
* Creating a ContentType for the "fileStreamer" feature
* Creating Handlers (not sure if this is too basic to cover)
* Creating ComponentFactories
* Manipulating the UIComponent tree (replacing or recreating portions of
the page)

We could also talk about future features for JSFTemplating if people
have ideas.

I can meet Wed or Fri of next week after 10AM PDT.  What would work for you?

Thanks,

Ken

Karam Singh Badesha wrote:

    
Ken,
Is it possible to have a developer session where you can show how to add
new code to jsftemplating, flow of code, guidelines, some tips etc. I
think once I have a better understanding of the flow and what its doing,
I could help with some of the new code.

thanks
Karam

Ken Paulsen wrote On 03/29/07 08:58,:
 

      
Hi Karam,

Yes, you should be able to use JFreeChart w/o too much difficulty, 
especially if there are already JSF components which provide this 
capability.  You can use the <component componentType="theComponentType" 
attributexyz="..." ... /> tag to use ANY jsf component.  If you want a 
specific tag for your charting component, then you simply have to create 
a ComponentFactory for it, which is very easy to do... take a look at 
any of the existing component factories in 
com.sun.jsftemplating.component.factory.* packages.

I hope this helps!

Good luck,

Ken

Karam Singh Badesha wrote:

   

        
Ken/Anissa,
I know that you guys are trying to get jMaki:chart component working 
inside jsftemplating. Is it possible to get some kind of hook for 
jfreechart? jfreechart is more mature and also there is some jsf 
component already available for jfreechart. Right now the problem I 
see with both of these is the way the data gets passed. There needs to 
be an easier way to pass a array, list etc to these and that is where 
jsftemplating can help. Please let me know if I should submit this 
request.

thanks
Karam

Anissa Lam wrote:

     

          
There are some attributes in a component that gets evaluated only 
when the component is created, not during refresh.    So, when the 
page refresh,  the component exists and so won't go through the 
creation again.
This seems to be the case of the 'text' of a button. I also need to 
re-create  the jmaki:chart component with new data set.
I am sure there is a way to force the recreate,  but not sure how.

thanks
Anissa.