Hello sir,
Here is the code, I used to integrate appfuse into eclipse as stated in the
eclipse integration docu.
Edit myproject/web/.settings/org.eclipse.wst.common.component:
* Delete <wb-resource deploy-path="/" source-path="src/main/webapp"/>
* Add <wb-resource deploy-path="/"
source-path="target/myproject-webapp-1.0-SNAPSHOT"/>
* Delete <wb-resource deploy-path="/WEB-INF/classes"
source-path="src/main/resources"/>
* Edit myproject/web/.classpath
* Delete <classpathentry kind="src" path="src/main/resources"
excluding="ApplicationResources_zh*.properties ... **/*.java"/>
* Add <classpathentry kind="con"
path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache
Tomcat v5.5"/>
* Add <classpathentry kind="con"
path="org.eclipse.jst.j2ee.internal.web.container"/>
I could able to create the enitity, create screens uisng the command "gen"
and then followed by install enitity. I made sure that my faces-config.xml
has these screens. And the screenlist.html is also present in my menu. But
when, I click it, I get this error Can't find bundle for base name
ApplicationResources, locale en in Tomcat and ELResolver cannot handle a
null base Object with identifier 'datenbankList' in jetty.
And if I use Appfuse candy in eclipse webtools, I could not use Apffuse
plugins. But this is a different story.
Regards,
Ajay
mraible wrote:
>
> I don't understand how integrating with Eclipse affects this. Is
> there something in the instructions that makes you change the
> directory structure of an AppFuse application?
>
> Matt
>
> On Feb 5, 2008, at 6:49 AM, Casanova wrote:
>
>>
>> Hello Sir,
>>
>> I reproduced the error by creating the appfuse from scratch.
>> 1.) Created the Appfuse Jsf basic application using quickstart.
>> 2.) Used this document http://appfuse.org/display/APF/Eclipse for
>> integration with eclipse webtools.
>> 3.) Now try to create a crud application.
>>
>> note: If I dont use eclipse plugin, I could able to generate the CRUD
>> screens.
>>
>> Thanking you.
>>
>> Regards,
>> Ajay
>>
>>
>>
>> mraible wrote:
>>>
>>> Can you make sure you have sampleForm defined in your faces-
>>> config.xml?
>>>
>>> Matt
>>>
>>> On Feb 4, 2008, at 5:34 PM, Casanova wrote:
>>>
>>>>
>>>> Yes Sir,
>>>>
>>>> Since I use your plugins to genrate crud screens, by default it
>>>> extends the
>>>> basepage.Following is the, code of SampleForm.java.
>>>>
>>>> public class SampleForm extends BasePage implements Serializable {
>>>> private GenericManager<Sample, Long> sampleManager;
>>>> private Sample sample = new Sample();
>>>> private Long id;
>>>>
>>>> Thank you for your promt reply. It is 2:30 am in Germany. Iam awake
>>>> after
>>>> seeing your message:working:. Thank you.
>>>>
>>>> Regards,
>>>> Ajay
>>>>
>>>>
>>>>
>>>>
>>>> mraible wrote:
>>>>>
>>>>> Did you extend BasePage in SampleForm.java? getBundleName() is a
>>>>> method in this class.
>>>>>
>>>>> Matt
>>>>>
>>>>> On Feb 4, 2008, at 5:24 PM, Casanova wrote:
>>>>>
>>>>>>
>>>>>> Hello Sir,
>>>>>>
>>>>>> Iam having strange problems today. Previously, I had no problems
>>>>>> using
>>>>>> appfuse plugins to generate CRUD pages. But now, when I
>>>>>> generate UI
>>>>>> pages
>>>>>> using appfuse plugins, Iam having the following error.
>>>>>>
>>>>>> com.sun.facelets.tag.TagAttributeException: /sampleform.xhtml
>>>>>> @7,63
>>>>>> <f:loadBundle basename="#{sampleForm.bundleName}"> /
>>>>>> sampleform.xhtml @7,63
>>>>>> basename="#{sampleForm.bundleName}" /sampleform.xhtml @7,63
>>>>>> basename="#{sampleForm.bundleName}": ELResolver cannot handle a
>>>>>> null base
>>>>>> Object with identifier 'sampleForm'
>>>>>> at
>>>>>> com.sun.facelets.tag.jsf.core.LoadBundleHandler.apply
>>>>>> (LoadBundleHandler.java:201)
>>>>>> at
>>>>>> com.sun.facelets.tag.CompositeFaceletHandler.apply
>>>>>> (CompositeFaceletHandler.java:47
>>>>>>
>>>>>> Here, Sample is my entity. Iam using jetty: 6.1.6. I tried do the
>>>>>> same on
>>>>>> tomcat, but of no use. So, I request to please help.
>>>>>>
>>>>>> Thanking you very much in advance.
>>>>>>
>>>>>> Regards,
>>>>>> Ajay
>>>>>> --
>>>>>> View this message in context: http://www.nabble.com/Strange-
>>>>>> TagAttributeException-tp15281723s2369p15281723.html
>>>>>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------
>>>>>> --
>>>>>> -
>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>>
>>>>>
>>>>>
>>>>> -------------------------------------------------------------------
>>>>> --
>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context: http://www.nabble.com/Strange-
>>>> TagAttributeException-tp15281723s2369p15281836.html
>>>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>> --------------------------------------------------------------------
>>>> -
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>
>> --
>> View this message in context: http://www.nabble.com/Strange-
>> TagAttributeException-tp15281723s2369p15291060.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Strange-TagAttributeException-tp15281723s2369p15297759.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]