FlexJS : <js:Table> Issue

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

FlexJS : <js:Table> Issue

PKumar
Hi,

I am trying to using the <js:Table> but getting the following error:


This tag is unexpected. It will be ignored.
        <js:Table>


<?xml version="1.0" encoding="utf-8"?>
<js:Panel xmlns:fx="http://ns.adobe.com/mxml/2009"
                  title="Gallery View"
                  xmlns:js="library://ns.apache.org/flexjs/basic">
        <js:Table>
                <js:TableRow>
                        <js:TableCell><js:Label text="Name:" /></js:TableCell>
                        <js:TableCell></js:TableCell>
                </js:TableRow>
        </js:Table>
</js:Panel>       
Regards,
Prashant
Reply | Threaded
Open this post in threaded view
|

Re: FlexJS : <js:Table> Issue

piotrz
Hi Prashant,

Are you sure you are using the newest version? Look into your sdk folder and search Table class.

Piotr
Apache Flex PMC
piotrzarzycki21@gmail.com
Reply | Threaded
Open this post in threaded view
|

Re: FlexJS : <js:Table> Issue

PKumar
Yesterday only I downloaded the nightly build.  I am getting the Table tag under code hint. So it should work.

On 30-Apr-2017 12:14 AM, "piotrz [via Apache Flex Users]" <[hidden email]> wrote:
Hi Prashant,

Are you sure you are using the newest version? Look into your sdk folder and search Table class.

Piotr
Apache Flex PMC
[hidden email]



If you reply to this email, your message will be added to the discussion below:
http://apache-flex-users.2333346.n4.nabble.com/FlexJS-js-Table-Issue-tp15145p15146.html
To start a new topic under Apache Flex Users, email [hidden email]
To unsubscribe from Apache Flex Users, click here.
NAML
Regards,
Prashant
Reply | Threaded
Open this post in threaded view
|

Re: FlexJS : <js:Table> Issue

piotrz
Maybe I will look into this today, but no promise. The worst on Monday.

Piotr
Apache Flex PMC
piotrzarzycki21@gmail.com
Reply | Threaded
Open this post in threaded view
|

Re: FlexJS : <js:Table> Issue

PKumar
Even I m getting same issue for Group tag.

On 30-Apr-2017 12:19 AM, "piotrz [via Apache Flex Users]" <[hidden email]> wrote:
Maybe I will look into this today, but no promise. The worst on Monday.

Piotr
Apache Flex PMC
[hidden email]



If you reply to this email, your message will be added to the discussion below:
http://apache-flex-users.2333346.n4.nabble.com/FlexJS-js-Table-Issue-tp15145p15148.html
To start a new topic under Apache Flex Users, email [hidden email]
To unsubscribe from Apache Flex Users, click here.
NAML
Regards,
Prashant
Reply | Threaded
Open this post in threaded view
|

Re: FlexJS : <js:Table> Issue

piotrz
I just download SDK through the installer, configure project in VSCode and build it - Everything worked.
Not sure what is wrong in your environment.

Piotr
Apache Flex PMC
piotrzarzycki21@gmail.com
Reply | Threaded
Open this post in threaded view
|

Re: FlexJS : <js:Table> Issue

PKumar
I also downloaded via installer and uisng windows7 OS. I will download the build again today and validate it. Thanks 

On 30-Apr-2017 12:47 AM, "piotrz [via Apache Flex Users]" <[hidden email]> wrote:
I just download SDK through the installer, configure project in VSCode and build it - Everything worked.
Not sure what is wrong in your environment.

Piotr
Apache Flex PMC
[hidden email]



If you reply to this email, your message will be added to the discussion below:
http://apache-flex-users.2333346.n4.nabble.com/FlexJS-js-Table-Issue-tp15145p15151.html
To start a new topic under Apache Flex Users, email [hidden email]
To unsubscribe from Apache Flex Users, click here.
NAML
Regards,
Prashant
Reply | Threaded
Open this post in threaded view
|

Re: FlexJS : <js:Table> Issue

Josh Tynjala
In reply to this post by PKumar
Make sure that you're building with the same SDK that VSCode is using for
code hinting. It's possible to accidentally use different SDKs!

- Josh

On Apr 29, 2017 11:47 AM, "PKumar" <[hidden email]> wrote:

> Yesterday only I downloaded the nightly build.  I am getting the Table tag
> under code hint. So it should work.
>
> On 30-Apr-2017 12:14 AM, "piotrz [via Apache Flex Users]" <
> [hidden email]> wrote:
>
> > Hi Prashant,
> >
> > Are you sure you are using the newest version? Look into your sdk folder
> > and search Table class.
> >
> > Piotr
> > Apache Flex PMC
> > [hidden email]
> >
> >
> > ------------------------------
> > If you reply to this email, your message will be added to the discussion
> > below:
> > http://apache-flex-users.2333346.n4.nabble.com/FlexJS-
> > js-Table-Issue-tp15145p15146.html
> > To start a new topic under Apache Flex Users, email
> > [hidden email]
> > To unsubscribe from Apache Flex Users, click here
> > <http://apache-flex-users.2333346.n4.nabble.com/
> template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=
> cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
> > .
> > NAML
> > <http://apache-flex-users.2333346.n4.nabble.com/
> template/NamlServlet.jtp?macro=macro_viewer&id=instant_
> html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.
> BasicNamespace-nabble.view.web.template.NabbleNamespace-
> nabble.view.web.template.NodeNamespace&breadcrumbs=
> notify_subscribers%21nabble%3Aemail.naml-instant_emails%
> 21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> >
>
>
>
>
> -----
> Regards,
> Prashant
> --
> View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/FlexJS-js-Table-Issue-tp15145p15147.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: FlexJS : <js:Table> Issue

Nemi
In reply to this post by PKumar
Did you try restart VSCode?
I think that is VSCode's issue or the NextGen Actionscript extension. For simple example project, sometimes I got:
'js:valuesImpl' tag (or tag before this tag) is unclosed or tag not allowed here.

After restart, no problem.
Reply | Threaded
Open this post in threaded view
|

Re: FlexJS : <js:Table> Issue

PKumar
I have also restarted VCode but no luck. This seems that it is related to VCode. nextGen extension.
Regards,
Prashant
Reply | Threaded
Open this post in threaded view
|

Re: FlexJS : <js:Table> Issue

PKumar
In reply to this post by Josh Tynjala
Hi Josh,

I am using FlexJS nightly SDk  with Editor and FlexHome is set to flexJS sdk070.
Regards,
Prashant
Reply | Threaded
Open this post in threaded view
|

Re: FlexJS : <js:Table> Issue

PKumar
Josh,

This issue has been resolved  via setting same SDK for editor & FLEX_HOME. Big Thanks.

Regards,
Prashant
Regards,
Prashant
Reply | Threaded
Open this post in threaded view
|

Re: FlexJS : <js:Table> Issue

Josh Tynjala
It sounds like asconfigc may have been defaulting to your FLEX_HOME
environment variable when compiling the project. If you're not careful, the
value that you set for FLEX_HOME isn't necessarily the same as the value
that you set for the nextgenas.sdk.editor setting in VSCode.

There are two good ways to avoid this conflict:

1) Let both asconfigc and VSCode fall back to the FLEX_HOME environment
variable. Don't set the --flexHome option for asconfigc and don't set the
nextgenas.sdk.editor setting in VSCode. Both will default to FLEX_HOME, if
it's set to a valid SDK.

2) Set the --flexHome option for asconfigc to the same value as the
nextgenas.sdk.editor setting.

Basically, either let both tools automatically detect the SDK from
FLEX_HOME or explicitly set the SDK in both tools.

- Josh

On Wed, May 3, 2017 at 12:41 PM, PKumar <[hidden email]> wrote:

> Josh,
>
> This issue has been resolved  via setting same SDK for editor & FLEX_HOME.
> Big Thanks.
>
> Regards,
> Prashant
>
>
>
> -----
> Regards,
> Prashant
> --
> View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/FlexJS-js-Table-Issue-tp15145p15161.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: FlexJS : <js:Table> Issue

piotrz
Hi Josh,

That's really interesting information, that your plugin can take value from environment variable FLEX_HOME.

Thanks for sharing!

P.S. You should document it if it's not anywhere.

Piotr
Apache Flex PMC
piotrzarzycki21@gmail.com
Reply | Threaded
Open this post in threaded view
|

Re: FlexJS : <js:Table> Issue

Josh Tynjala
If FLEX_HOME is not set, these tools will also check the PATH environment
variable for any directories that contain FlexJS executables, and they will
try to find the root SDK folder from there.

This behavior is documented for both tools:

In the installation instructions for the NextGenAS VSCode extension:
https://github.com/BowlerHatLLC/vscode-nextgenas/wiki/Install-the-NextGen-ActionScript-extension

In the README for asconfigc:
https://github.com/BowlerHatLLC/asconfigc

- Josh

On Wed, May 3, 2017 at 2:34 PM, piotrz <[hidden email]> wrote:

> Hi Josh,
>
> That's really interesting information, that your plugin can take value from
> environment variable FLEX_HOME.
>
> Thanks for sharing!
>
> P.S. You should document it if it's not anywhere.
>
> Piotr
>
>
>
> -----
> Apache Flex PMC
> [hidden email]
> --
> View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/FlexJS-js-Table-Issue-tp15145p15168.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>