You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Mukhtiar Memon <me...@hotmail.com> on 2008/04/15 18:42:23 UTC

problem with html file

hi
 
While following the tutorial for developing java-based SCA application with Tuscany (http://incubator.apache.org/tuscany/getting-started-with-tuscany-using-tuscany-eclipse-plugin.html), I found an erorr when I copy the html file for creating user interface. The error is in Javasript of the html file and is pointed at items.length and everyother place where this length method is used. I tried to go withoud correcting it but doing this does not load the items in the html user interface. Please guide ..
 
thanks
 
 
_________________________________________________________________
Pack up or back up–use SkyDrive to transfer files or keep extra copies. Learn how.
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_packup_042008

Re: problem with html file

Posted by Luciano Resende <lu...@gmail.com>.
The Getting Started Guide basically gives you step by step
instructions to build our store sample. Could you please try to run
that from the 1.1 distribution and see if everything works for you ?
If yes, then there might be some issues with the project you are
creating from scratch.

On Wed, Apr 16, 2008 at 12:59 AM, Mukhtiar Memon
<me...@hotmail.com> wrote:
>
>  Hi
>
>  thanks for detailed response. i tried the html code that you send but still I find errors in eclipse pointing the same items.length code but i tried to run it with these erros on both IE and firefox but there is only one imporvement in firefox result that now it shows the checkboxes (but does not show the items apple, orange etc.)
>
>
>  thanks
>
>  mukhtiar
>
>
>
>
>
>  > Date: Tue, 15 Apr 2008 11:27:39 -0700> From: luckbr1975@gmail.com> To: tuscany-user@ws.apache.org> Subject: Re: problem with html file> > I just went trough the manual steps of the "Getting Started" guide and> it worked for me. I'm using Firefox, but if you are using IE, you> might be having the issue described in TUSCANY-2131, and you might> want to move the js initialization code to a onLoad event as in the> following example [2]> > <script>> > .......> > function init() {> catalog.get(catalog_getResponse);> shoppingCart.get("", shoppingCart_getResponse);> }> > </script>> > > ....> > <body onload="init()">> > ......> > Please let me know if this get you further.> > [1] http://issues.apache.org/jira/browse/TUSCANY-2131> [2] https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/samples/store/src/main/resources/uiservices/store.html> > On Tue, Apr 15, 2008 at 9:55 AM, Mukhtiar Memon> <me...@hotmail.com> wrote:> >> > Hi> >> > I am using> > SCA Java 1.1-incubating (January 2008)> > thanks> >> > mukhtiar> Date: Tue, 15 Apr 2008 09:52:08 -0700> From: luckbr1975@gmail.com> To: tuscany-user@ws.apache.org> Subject: Re: problem with html file> > Could you please let us know what Tuscany release are you using ?> > On Tue, Apr 15, 2008 at 9:42 AM, Mukhtiar Memon> <me...@hotmail.com> wrote:> >> > hi> >> > While following the tutorial for developing java-based SCA application with Tuscany (http://incubator.apache.org/tuscany/getting-started-with-tuscany-using-tuscany-eclipse-plugin.html), I found an erorr when I copy the html file for creating user interface. The error is in Javasript of the html file and is pointed at items.length and everyother place where this length method is used. I tried to go withoud correcting it but doing this does not load the items in the html user interface. Please guide ..> >> > thanks> >> >> > _________________________________________________________________> > Pack up or back up–use SkyDrive to transfer files or keep extra copies. Learn how.> > http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_packup_042008> > > > -- > Luciano Resende> Apache Tuscany Committer> http://people.apache.org/~lresende> http://lresende.blogspot.com/> > ---------------------------------------------------------------------> To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org> For additional commands, e-mail: tuscany-user-help@ws.apache.org>> > _________________________________________________________________> > More immediate than e-mail? Get instant access with Windows Live Messenger.> > http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_instantaccess_042008> > > > -- > Luciano Resende> Apache Tuscany Committer> http://people.apache.org/~lresende> http://lresende.blogspot.com/> > ---------------------------------------------------------------------> To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org> For additional commands, e-mail: tuscany-user-help@ws.apache.org>
>
>
> _________________________________________________________________
>  More immediate than e-mail? Get instant access with Windows Live Messenger.
>  http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_instantaccess_042008



-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org


RE: problem with html file

Posted by Mukhtiar Memon <me...@hotmail.com>.
Hi
 
thanks for detailed response. i tried the html code that you send but still I find errors in eclipse pointing the same items.length code but i tried to run it with these erros on both IE and firefox but there is only one imporvement in firefox result that now it shows the checkboxes (but does not show the items apple, orange etc.)
 
 
thanks
 
mukhtiar
 
 
 
 
 
> Date: Tue, 15 Apr 2008 11:27:39 -0700> From: luckbr1975@gmail.com> To: tuscany-user@ws.apache.org> Subject: Re: problem with html file> > I just went trough the manual steps of the "Getting Started" guide and> it worked for me. I'm using Firefox, but if you are using IE, you> might be having the issue described in TUSCANY-2131, and you might> want to move the js initialization code to a onLoad event as in the> following example [2]> > <script>> > .......> > function init() {> catalog.get(catalog_getResponse);> shoppingCart.get("", shoppingCart_getResponse);> }> > </script>> > > ....> > <body onload="init()">> > ......> > Please let me know if this get you further.> > [1] http://issues.apache.org/jira/browse/TUSCANY-2131> [2] https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/samples/store/src/main/resources/uiservices/store.html> > On Tue, Apr 15, 2008 at 9:55 AM, Mukhtiar Memon> <me...@hotmail.com> wrote:> >> > Hi> >> > I am using> > SCA Java 1.1-incubating (January 2008)> > thanks> >> > mukhtiar> Date: Tue, 15 Apr 2008 09:52:08 -0700> From: luckbr1975@gmail.com> To: tuscany-user@ws.apache.org> Subject: Re: problem with html file> > Could you please let us know what Tuscany release are you using ?> > On Tue, Apr 15, 2008 at 9:42 AM, Mukhtiar Memon> <me...@hotmail.com> wrote:> >> > hi> >> > While following the tutorial for developing java-based SCA application with Tuscany (http://incubator.apache.org/tuscany/getting-started-with-tuscany-using-tuscany-eclipse-plugin.html), I found an erorr when I copy the html file for creating user interface. The error is in Javasript of the html file and is pointed at items.length and everyother place where this length method is used. I tried to go withoud correcting it but doing this does not load the items in the html user interface. Please guide ..> >> > thanks> >> >> > _________________________________________________________________> > Pack up or back up–use SkyDrive to transfer files or keep extra copies. Learn how.> > http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_packup_042008> > > > -- > Luciano Resende> Apache Tuscany Committer> http://people.apache.org/~lresende> http://lresende.blogspot.com/> > ---------------------------------------------------------------------> To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org> For additional commands, e-mail: tuscany-user-help@ws.apache.org>> > _________________________________________________________________> > More immediate than e-mail? Get instant access with Windows Live Messenger.> > http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_instantaccess_042008> > > > -- > Luciano Resende> Apache Tuscany Committer> http://people.apache.org/~lresende> http://lresende.blogspot.com/> > ---------------------------------------------------------------------> To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org> For additional commands, e-mail: tuscany-user-help@ws.apache.org> 
_________________________________________________________________
More immediate than e-mail? Get instant access with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_instantaccess_042008

Re: problem with html file

Posted by Luciano Resende <lu...@gmail.com>.
I just went trough the manual steps of the "Getting Started" guide and
it worked for me. I'm using Firefox, but if you are using IE, you
might be having the issue described in TUSCANY-2131, and you might
want to move the js initialization code to a onLoad event as in the
following example [2]

<script>

        .......

	function init() {
		catalog.get(catalog_getResponse);
		shoppingCart.get("", shoppingCart_getResponse);
	}
	
</script>


....

<body onload="init()">

......

Please let me know if this get you further.

[1] http://issues.apache.org/jira/browse/TUSCANY-2131
[2] https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/samples/store/src/main/resources/uiservices/store.html

On Tue, Apr 15, 2008 at 9:55 AM, Mukhtiar Memon
<me...@hotmail.com> wrote:
>
>  Hi
>
>  I am using
>  SCA Java 1.1-incubating (January 2008)
>  thanks
>
>  mukhtiar> Date: Tue, 15 Apr 2008 09:52:08 -0700> From: luckbr1975@gmail.com> To: tuscany-user@ws.apache.org> Subject: Re: problem with html file> > Could you please let us know what Tuscany release are you using ?> > On Tue, Apr 15, 2008 at 9:42 AM, Mukhtiar Memon> <me...@hotmail.com> wrote:> >> > hi> >> > While following the tutorial for developing java-based SCA application with Tuscany (http://incubator.apache.org/tuscany/getting-started-with-tuscany-using-tuscany-eclipse-plugin.html), I found an erorr when I copy the html file for creating user interface. The error is in Javasript of the html file and is pointed at items.length and everyother place where this length method is used. I tried to go withoud correcting it but doing this does not load the items in the html user interface. Please guide ..> >> > thanks> >> >> > _________________________________________________________________> > Pack up or back up–use SkyDrive to transfer files or keep extra copies. Learn how.> > http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_packup_042008> > > > -- > Luciano Resende> Apache Tuscany Committer> http://people.apache.org/~lresende> http://lresende.blogspot.com/> > ---------------------------------------------------------------------> To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org> For additional commands, e-mail: tuscany-user-help@ws.apache.org>
>  _________________________________________________________________
>  More immediate than e-mail? Get instant access with Windows Live Messenger.
>  http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_instantaccess_042008



-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org


RE: problem with html file

Posted by Mukhtiar Memon <me...@hotmail.com>.
Hi
 
I am using 
SCA Java 1.1-incubating (January 2008)
thanks
 
mukhtiar> Date: Tue, 15 Apr 2008 09:52:08 -0700> From: luckbr1975@gmail.com> To: tuscany-user@ws.apache.org> Subject: Re: problem with html file> > Could you please let us know what Tuscany release are you using ?> > On Tue, Apr 15, 2008 at 9:42 AM, Mukhtiar Memon> <me...@hotmail.com> wrote:> >> > hi> >> > While following the tutorial for developing java-based SCA application with Tuscany (http://incubator.apache.org/tuscany/getting-started-with-tuscany-using-tuscany-eclipse-plugin.html), I found an erorr when I copy the html file for creating user interface. The error is in Javasript of the html file and is pointed at items.length and everyother place where this length method is used. I tried to go withoud correcting it but doing this does not load the items in the html user interface. Please guide ..> >> > thanks> >> >> > _________________________________________________________________> > Pack up or back up–use SkyDrive to transfer files or keep extra copies. Learn how.> > http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_packup_042008> > > > -- > Luciano Resende> Apache Tuscany Committer> http://people.apache.org/~lresende> http://lresende.blogspot.com/> > ---------------------------------------------------------------------> To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org> For additional commands, e-mail: tuscany-user-help@ws.apache.org> 
_________________________________________________________________
More immediate than e-mail? Get instant access with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_instantaccess_042008

Re: problem with html file

Posted by Luciano Resende <lu...@gmail.com>.
Could you please let us know what Tuscany release are you using ?

On Tue, Apr 15, 2008 at 9:42 AM, Mukhtiar Memon
<me...@hotmail.com> wrote:
>
>  hi
>
>  While following the tutorial for developing java-based SCA application with Tuscany (http://incubator.apache.org/tuscany/getting-started-with-tuscany-using-tuscany-eclipse-plugin.html), I found an erorr when I copy the html file for creating user interface. The error is in Javasript of the html file and is pointed at items.length and everyother place where this length method is used. I tried to go withoud correcting it but doing this does not load the items in the html user interface. Please guide ..
>
>  thanks
>
>
>  _________________________________________________________________
>  Pack up or back up–use SkyDrive to transfer files or keep extra copies. Learn how.
>  http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_packup_042008



-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org