-
1. Re: Mobile Richfaces Hello world
ppitonak Apr 23, 2012 7:42 AM (in response to anisj1m)Hi,
have you seen our getting started guide for mobiles [1]?
The easiest way to start is to let RichFaces archtype generate a mobile application for you:
mvn archetype:generate \
-DarchetypeGroupId=org.richfaces.archetypes \
-DarchetypeArtifactId=richfaces-archetype-simpleapp \
-DarchetypeVersion=4.2.0-Final \
-Dmobile-optimized=trueRegards,
Palo
[1] https://community.jboss.org/wiki/GettingStartedWithMobileRichFaces
-
2. Re: Mobile Richfaces Hello world
anisj1m Apr 24, 2012 3:56 AM (in response to ppitonak)Thank you Pavol,
I am getting this error while executing the maven command:
The desired archetype does not exist (org.richfaces.archetypes:richfaces-archetype-simpleapp:4.2.0-Final)
What is the used repository for this command.
Thanks
-
3. Re: Mobile Richfaces Hello world
ppitonak Apr 24, 2012 4:26 AM (in response to anisj1m)Hi,
you are correct... the version contains dot instead of dash :/
mvn archetype:generate \
-DarchetypeGroupId=org.richfaces.archetypes \
-DarchetypeArtifactId=richfaces-archetype-simpleapp \
-DarchetypeVersion=4.2.1.Final \
-Dmobile-optimized=true
Regards,
Palo
-
4. Re: Mobile Richfaces Hello world
anisj1m Apr 24, 2012 4:51 AM (in response to anisj1m)it is working with this command :
mvn archetype:generate -DarchetypeGroupId=org.richfaces.archetypes -DarchetypeArtifactId=richfaces-archetype-simpleapp -DarchetypeVersion=4.2.0.Final -Dmobile-optimized=true -DgroupId=com.qccsw -DartifactId=mobile -Dversion=1.0
-
5. Re: Mobile Richfaces Hello world
anisj1m Apr 24, 2012 5:57 AM (in response to anisj1m)Hi,
I deployed the generated war and tried to access it fromy my laptop using firefox and getting this error :
You must define the page ID and location hash as default parameters.
Error:TypeError: document.getElementById(id) is null
is it normal ?
-
6. Re: Mobile Richfaces Hello world
anisj1m Apr 24, 2012 6:04 AM (in response to anisj1m)with IE this is the error:
You must define the page ID and location hash as default parameters.
Error: TypeError: Unable to get value of the property 'className': object is null or undefined
-
7. Re: Mobile Richfaces Hello world
anisj1m Apr 24, 2012 6:57 AM (in response to anisj1m)The generated HTML page is not following the step 3 in the getting started with mobile RichFaces?
Does this make any sense?