Bavithra Rajendran Il y a 14 années Sir, Thank You once again for a nice post with neat explanations about Plugins Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Alex Wallace Il y a 13 années It looks very nice!My main questions at the moment are:1 - is it a fact that this will become liferay's default UI framework or still in the air?2 - Will I be able to write UI for LR 5.2.x CE/Enterprise ?3 - How is the UI going to interact with the backend? Is it using struts? something else?I'm excited about this framework but so far have not seen how it will be used inside of LR... I'm checking out the trunk right now...Thanks! Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Alex Wallace Alex Wallace Il y a 13 années I've checked out the trunk (the right one now) and I can answer myself #1, It is all over the place... #2, don't think so, and #3 looks like struts mostly although it could be used with regular jsp portlets... YUI3 can be used with JSF if one does all the piping manually to connect controls to a bean via ajax calls or request parameters. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Nate Cavanaugh Alex Wallace Il y a 13 années Hi Alex,Sorry for the delay (we're finishing up a release now, so it's taking me longer to reply and/or blog).But to answer your questions:1. Yeah, Alloy is the default UI framework for Liferay (though of course, we support all of the same UI frameworks we always have).2. You actually can, at least for the HTML/CSS/JS piece. The only piece that might not work would be the taglibs, but the other portions would work, you would just need to link to the file.3. We're using Struts, but of course, as you said, there are other ways to go about connecting it all. We actually are looking for ways to connect it more naturally for JSF developers and possibly even the GWT style of development. Those are a little longer term, but if you have any ideas, I'd love to hear them.Thanks for posting Alex, Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Alex Wallace Alex Wallace Il y a 13 années I've checked out the trunk (the right one now) and I can answer myself #1, It is all over the place... #2, don't think so, and #3 looks like struts mostly although it could be used with regular jsp portlets... YUI3 can be used with JSF if one does all the piping manually to connect controls to a bean via ajax calls or request parameters. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Nate Cavanaugh Alex Wallace Il y a 13 années Hi Alex,Sorry for the delay (we're finishing up a release now, so it's taking me longer to reply and/or blog).But to answer your questions:1. Yeah, Alloy is the default UI framework for Liferay (though of course, we support all of the same UI frameworks we always have).2. You actually can, at least for the HTML/CSS/JS piece. The only piece that might not work would be the taglibs, but the other portions would work, you would just need to link to the file.3. We're using Struts, but of course, as you said, there are other ways to go about connecting it all. We actually are looking for ways to connect it more naturally for JSF developers and possibly even the GWT style of development. Those are a little longer term, but if you have any ideas, I'd love to hear them.Thanks for posting Alex, Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Nate Cavanaugh Alex Wallace Il y a 13 années Hi Alex,Sorry for the delay (we're finishing up a release now, so it's taking me longer to reply and/or blog).But to answer your questions:1. Yeah, Alloy is the default UI framework for Liferay (though of course, we support all of the same UI frameworks we always have).2. You actually can, at least for the HTML/CSS/JS piece. The only piece that might not work would be the taglibs, but the other portions would work, you would just need to link to the file.3. We're using Struts, but of course, as you said, there are other ways to go about connecting it all. We actually are looking for ways to connect it more naturally for JSF developers and possibly even the GWT style of development. Those are a little longer term, but if you have any ideas, I'd love to hear them.Thanks for posting Alex, Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Eric Dobbs Il y a 12 années Very nice but when i try to use the io.plugin to read a URI, i receive a "failed to retrieve content" message. I have made sure that the path is valid. I even tried to use test the code that comes withe the download to no avail. Any clues from anyone?Thanks I'm kinda desperate. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Nate Cavanaugh Eric Dobbs Il y a 12 années Hi Eric,I usually see that if there is a problem with permissions at the URL, or if there are problems going across the domain.Are you able to do a basic A.io.request(url, {after: {success: function(){alert(this.get('responseData'));}}}) on the URL?If you're able to read the URL(ie, you have permissions, and it's on the same domain) everything should be going through fine.Let me know Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Eric Dobbs Nate Cavanaugh Il y a 12 années Thanks Nate,Sorry for the delay but I am still having the still having the same problem. Interestingly i am calling a simple html file on my local file system, so I dont know why permissions would be an issue(the file is not read only). When substitute this for a live rss url, the content does not load, but i dont get an error either. So...back to a simple call to an html file, does the response data have to be in a certain format? Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Nate Cavanaugh Eric Dobbs Il y a 12 années Hi Eric,The permissions error I was talking about was that 1. the browser does not allow ajax requests to files on your local system (otherwise some evil page could access personal information). You'll have to test it out using a server, even if it's a local one.If the RSS url you are passing in is on a different domain than the one you're currently on (and it sounds like you're running this page as part of your file system, so any url would be a different domain), then it won't work. For that, you would need to use the io-xdr module. You can read more about that here: http://developer.yahoo.com/yui/3/examples/io/io-xdr.htmlI hope that helps Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Nate Cavanaugh Eric Dobbs Il y a 12 années Hi Eric,I usually see that if there is a problem with permissions at the URL, or if there are problems going across the domain.Are you able to do a basic A.io.request(url, {after: {success: function(){alert(this.get('responseData'));}}}) on the URL?If you're able to read the URL(ie, you have permissions, and it's on the same domain) everything should be going through fine.Let me know Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Eric Dobbs Nate Cavanaugh Il y a 12 années Thanks Nate,Sorry for the delay but I am still having the still having the same problem. Interestingly i am calling a simple html file on my local file system, so I dont know why permissions would be an issue(the file is not read only). When substitute this for a live rss url, the content does not load, but i dont get an error either. So...back to a simple call to an html file, does the response data have to be in a certain format? Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Nate Cavanaugh Eric Dobbs Il y a 12 années Hi Eric,The permissions error I was talking about was that 1. the browser does not allow ajax requests to files on your local system (otherwise some evil page could access personal information). You'll have to test it out using a server, even if it's a local one.If the RSS url you are passing in is on a different domain than the one you're currently on (and it sounds like you're running this page as part of your file system, so any url would be a different domain), then it won't work. For that, you would need to use the io-xdr module. You can read more about that here: http://developer.yahoo.com/yui/3/examples/io/io-xdr.htmlI hope that helps Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Eric Dobbs Nate Cavanaugh Il y a 12 années Thanks Nate,Sorry for the delay but I am still having the still having the same problem. Interestingly i am calling a simple html file on my local file system, so I dont know why permissions would be an issue(the file is not read only). When substitute this for a live rss url, the content does not load, but i dont get an error either. So...back to a simple call to an html file, does the response data have to be in a certain format? Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Nate Cavanaugh Eric Dobbs Il y a 12 années Hi Eric,The permissions error I was talking about was that 1. the browser does not allow ajax requests to files on your local system (otherwise some evil page could access personal information). You'll have to test it out using a server, even if it's a local one.If the RSS url you are passing in is on a different domain than the one you're currently on (and it sounds like you're running this page as part of your file system, so any url would be a different domain), then it won't work. For that, you would need to use the io-xdr module. You can read more about that here: http://developer.yahoo.com/yui/3/examples/io/io-xdr.htmlI hope that helps Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Nate Cavanaugh Eric Dobbs Il y a 12 années Hi Eric,The permissions error I was talking about was that 1. the browser does not allow ajax requests to files on your local system (otherwise some evil page could access personal information). You'll have to test it out using a server, even if it's a local one.If the RSS url you are passing in is on a different domain than the one you're currently on (and it sounds like you're running this page as part of your file system, so any url would be a different domain), then it won't work. For that, you would need to use the io-xdr module. You can read more about that here: http://developer.yahoo.com/yui/3/examples/io/io-xdr.htmlI hope that helps Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Jignesh Vachhani Il y a 12 années Very Nice And Helpful Article Nate !!!!!!!!!!!!! Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Nicolas Ballinas Jignesh Vachhani Il y a 11 années Does the A.Plugin.IO example work for any of you? I'm getting no results and no errors. Using the first example without plugin and on the same target div it works. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Nicolas Ballinas Jignesh Vachhani Il y a 11 années Does the A.Plugin.IO example work for any of you? I'm getting no results and no errors. Using the first example without plugin and on the same target div it works. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Johannes Kant Il y a 11 années You could try the following:AUI().use('aui-io-plugin', function(A){...}orAUI().ready('aui-io-plugin', function(A){...}Good Luck! Veuillez vous identifier pour voter. Répondre en tant que ... Annuler