users@woodstock.java.net

Re: Woodstock components examples for VWP NB 6.1 -- where to find?

From: Bjorn Azzopardi <bjorn.azzopardi_at_bov.com>
Date: Wed, 15 Oct 2008 06:26:02 -0700 (PDT)

I am finding a problem to read items from a table. I have a table which is
bound to an object. The table also has a drop down list. When i click the
save button I want to iterate through the items within the table and read
the value of the drop downs.

Would anyone know how to do this?


Venkatesh Babu-5 wrote:
>
>
>
> Oddvard Myrnes wrote:
>> Good to hear from you again my friend,
>>
>> The procedure that you describe are the one that I follow. I still get
>> unresolved when I try to build the webui, theme and example projects.
>>
>> Some unresolved:
>>
>> Runtime---
>> javax.help
>> com.sun.faces.extensions.avatar.lifecycle.AsyncResponse;
>> org.apache.commons.fileupload.FileItem;
>> org.json.
>>
>> Designtime----
>> javax.faces.event.ActionEvent;
>> import com.sun.rave.faces.event.Action;
>> javax.faces.context.FacesContext;
>> javax.faces.component.UIPanel;
>> javax.faces.component.UIComponent;
>> javax.faces.event.
>> javax.faces.validator.
>>
>> and a lot more.....
>>
>>
> Make sure you have the jsf jars and dynamic faces jars in your class
> path. But i am not sure what you mean by unresolved dependencies in
> "runtime" and "designtime". You compile the "webui" project as a whole.
>
> If you mean to say that netbeans IDE is showing unresolved dependencies
> for the above mentioned packages in the editor, then you can safely
> ignore them. I have had problems like you mentioned above too with the
> netbeans editor. But as long as you can actually clean and build your
> project using ant, you dont need to care about these red lines..
>
> But if you are saying that the actual compilation process is failing for
> the "webui" project, i suggest you go and check the libraries present in
> webui/lib folder. They contain your json, jsf, commons and other jars
> that are required for compiling the webui project. And note that unless
> you have the "webui" project compiled successfully, you cannot compile
> the "themes" project without which you cannot run the example app.
>
> Here is what my webui/lib looks like
>
> CVS
> commons-fileupload-1.0.jar
> jhall.jar junit.jar
> appserv-rt.jar
> commons-logging.jar
> jhbasic.jar portlet.jar
> checkstyle-all-3.5.jar
> dataprovider-dt.jar
> jsearch.jar rowset.jar
> checkstyle-optional-3.5.jar
> dataprovider-rowset.jar
> jsf-extensions-common-0.1.jar tlddoc.jar
> commons-beanutils.jar
> dataprovider.jar jsf-extensions-dynamic-faces-0.1.jar
> commons-collections.jar
> javaee.jar jsf-impl.jar
> commons-digester.jar
> jh.jar json-2.jar
>
>> What I want to do is to easely install a set of examples that shows me
>> how to use the Table component, thats all...not learn how to build
>> complex systems and how to integrate them into netbeans...Don't get me
>> wrong, I do apreshiate the help you and others contribute to grumpy
>> people like myself, but maybe somebody could assemble a set of
>> example projects that will install directly into NetBeans using the
>> wodstock library allready there!
>>
> You could download and install the "example.war" which is the final
> output of the above mentioned process. Honestly, its not all that
> complex, but sometimes people do get unlucky! ;) The example.war file is
> available from https://woodstock.dev.java.net/Download.htm . You can
> deploy it into your glassfish server. It also contains links to source
> java files that you can take a look and see how the particular component
> was used.
>> Learning to use the components are the most time consuming and
>> difficult for programmers to learn, and the Table componet in
>> perticular. A set of examples that will span from easy to advanced
>> whould be great. In fact, the ones in example project is
>> fine...convert them to VWP and I whould be happy!
>>
> Have you had a chance to take a look at some of the examples present
> with netbeans? For example, you can say new
> project->samples->web->visual jsf and choose one of the examples that
> demonstrate the usage of jsf components.There are some good examples
> over there too. For example, the "vehicle incident report" application
> uses woodstock components (including the table)
>
> -Venky
>> Oddvard :-)
>>
>> -----Original Message-----
>> *From:* Venkatesh.M_at_Sun.COM [mailto:Venkatesh.M_at_Sun.COM]
>> *Sent:* Wednesday, May 21, 2008 3:50 PM
>> *To:* users_at_woodstock.dev.java.net
>> *Subject:* Re: Woodstock components examples for VWP NB 6.1 --
>> where to find?
>>
>> Hi Oddvard
>>
>> This is what i usually do get my new workspace..
>>
>> Open netbeans -> versioning->CVS->checkout
>>
>> cvsroot: :pserver:<username>@cvs.dev.java.net:/cvs
>> password: ********
>>
>> Next-> specify module as "woodstock"
>>
>> After a while, when the sources get checked out, i first open
>> "webui" and do a build. Next, open "themes" and do a build.
>> Now open "example" and do a build and then run.
>>
>> I havent faced any dependency problems till now. But, if you are
>> facing any dependency problems, it usually could be that
>> webui-jsf-suntheme.jar or webui-jsf.jar could come out as
>> unresolved. In which case, you could resolve it by pointing to the
>> jars in webui/dist or themes/dist folders.
>>
>> Are you facing any other dependency problems?
>>
>> BTW, you do need ot make sure that you are using a JavaEE5
>> compliant web container like tomcat 6.x and glassfish v2.
>>
>> -Venky
>> Oddvard Myrnes wrote:
>>> Tried that...A lot of unresolved there to..!
>>>
>>> O.
>>>
>>> -----Original Message-----
>>> *From:* Agadi.Khajamainuddeen_at_Sun.COM
>>> [mailto:Agadi.Khajamainuddeen_at_Sun.COM]
>>> *Sent:* Wednesday, May 21, 2008 3:28 PM
>>> *To:* users_at_woodstock.dev.java.net
>>> *Subject:* Re: Woodstock components examples for VWP NB 6.1
>>> -- where to find?
>>>
>>> You can also try checking out complete woodstock tree, build
>>> webui and suntheme projects, and then build example app.
>>>
>>> -Khaja
>>> Oddvard Myrnes wrote:
>>>> Dear Khaja,
>>>>
>>>> I followed your instructions, but build-imp.xml fails trying
>>>> to copy dependency jars. A lot of work to get the examples.
>>>> If you can give me a easy way to build an example on an
>>>> existing installation of NB it whould be great, if not I
>>>> give up! To much stuff to edit and fix and .... UHHHH !
>>>>
>>>> Oddvard
>>>>
>>>> -----Original Message-----
>>>> *From:* Agadi.Khajamainuddeen_at_Sun.COM
>>>> [mailto:Agadi.Khajamainuddeen_at_Sun.COM]
>>>> *Sent:* Monday, May 19, 2008 12:34 PM
>>>> *To:* users_at_woodstock.dev.java.net
>>>> *Subject:* Re: Woodstock components examples for VWP NB
>>>> 6.1 -- where to find?
>>>>
>>>> You need do get the dependant jar files copied .You can
>>>> get the those jar files from
>>>> example.war file that you downloaded from
>>>>
>>>> https://woodstock.dev.java.net/Download.htm
>>>>
>>>> Place the jars copied from WEB-INF/lib folder of
>>>> example (you may not want the localization jars) under
>>>> lib folder of example netbeans project, and modify the
>>>> path in the build file accordingly.The path you
>>>> want to change should be seen under components home
>>>> resources section of build.xml.
>>>>
>>>> -Khaja
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Oddvard Myrnes wrote:
>>>>> Khaja,
>>>>>
>>>>> I have downloaded the example module from CVS and are
>>>>> trying to buils it.
>>>>> However the packages in com.sun.data are not there, and I
>>>>> get uresolved in
>>>>> project. How can I fix it?
>>>>>
>>>>> Oddvard
>>>>>
>>>>> -----Original Message-----
>>>>> From: Agadi.Khajamainuddeen_at_Sun.COM
>>>>> [mailto:Agadi.Khajamainuddeen_at_Sun.COM]
>>>>> Sent: Monday, May 12, 2008 1:22 PM
>>>>> To: users_at_woodstock.dev.java.net
>>>>> Subject: Re: Woodstock components examples for VWP NB 6.1
>>>>> -- where to
>>>>> find?
>>>>>
>>>>>
>>>>> Yes these examples were built using Netbeans,and there are
>>>>> full source
>>>>> packages available for building yourself,
>>>>> You need to have an account on java.net, register for
>>>>> account , you can
>>>>> checkout the source for these examples
>>>>>
>>>>> For more information on this refer to
>>>>>
>>>>> https://woodstock.dev.java.net/BuildYourself.htm
>>>>>
>>>>> -Khaja
>>>>>
>>>>> Louis Polycarpou wrote:
>>>>>
>>>>>
>>>>>> Khaja,
>>>>>>
>>>>>> Is there a full, buildable source package for the
>>>>>> components for these
>>>>>> examples? Were these built in NetBeans and, if so, where
>>>>>> can I obtain
>>>>>> the full project(s)?
>>>>>>
>>>>>> Thanks,
>>>>>> Louis
>>>>>>
>>>>>> Khaja wrote:
>>>>>>
>>>>>>
>>>>>>> You can download example.war file from
>>>>>>> https://woodstock.dev.java.net/Download.htm and deploy
>>>>>>> it.
>>>>>>>
>>>>>>> Go to http://<host:port>/example/faces/index.jsp you
>>>>>>> should be able
>>>>>>> to see
>>>>>>> source for all the examples.
>>>>>>>
>>>>>>> Alternatively,
>>>>>>> Go to
>>>>>>> http://webdev2.sun.com/example/faces/index.jsp
>>>>>>>
>>>>>>> Khaja
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Oddvard Myrnes wrote:
>>>>>>>
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I am looking for a example source project for Woodstock
>>>>>>>> components. In
>>>>>>>> https://woodstock.dev.java.net/Preview.htm I can see
>>>>>>>> the examples,
>>>>>>>> but I
>>>>>>>> don't have the source for them. In
>>>>>>>> http://www.javapassion.com/handsonlabs/jsfwoodstock/
>>>>>>>> there are
>>>>>>>> source for
>>>>>>>> Netbeans 5.5 but will not run in 6.1, and they are not
>>>>>>>> for VWP. Can
>>>>>>>> somebody
>>>>>>>> please point me in the right direction?
>>>>>>>>
>>>>>>>> Oddvard
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail:
>>>>>>>> users-unsubscribe_at_woodstock.dev.java.net
>>>>>>>> For additional commands, e-mail:
>>>>>>>> users-help_at_woodstock.dev.java.net
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail:
>>>>>>> users-unsubscribe_at_woodstock.dev.java.net
>>>>>>> For additional commands, e-mail:
>>>>>>> users-help_at_woodstock.dev.java.net
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail:
>>>>>> users-unsubscribe_at_woodstock.dev.java.net
>>>>>> For additional commands, e-mail:
>>>>>> users-help_at_woodstock.dev.java.net
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail:
>>>>> users-unsubscribe_at_woodstock.dev.java.net
>>>>> For additional commands, e-mail:
>>>>> users-help_at_woodstock.dev.java.net
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail:
>>>>> users-unsubscribe_at_woodstock.dev.java.net
>>>>> For additional commands, e-mail:
>>>>> users-help_at_woodstock.dev.java.net
>>>>>
>>>>>
>>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>
>
>

-- 
View this message in context: http://www.nabble.com/Woodstock-components-examples-for-VWP-NB-6.1----where-to-find--tp17183414p19993447.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.