Bavithra Rajendran Vor 13 Jahren Sir, Thank You once again for a nice post with neat explanations about Plugins Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Alex Wallace Vor 13 Jahren 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! Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Alex Wallace Alex Wallace Vor 13 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Nate Cavanaugh Alex Wallace Vor 13 Jahren 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, Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Alex Wallace Alex Wallace Vor 13 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Nate Cavanaugh Alex Wallace Vor 13 Jahren 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, Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Nate Cavanaugh Alex Wallace Vor 13 Jahren 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, Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Eric Dobbs Vor 12 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Nate Cavanaugh Eric Dobbs Vor 12 Jahren 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 Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Eric Dobbs Nate Cavanaugh Vor 12 Jahren 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? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Nate Cavanaugh Eric Dobbs Vor 12 Jahren 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 Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Nate Cavanaugh Eric Dobbs Vor 12 Jahren 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 Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Eric Dobbs Nate Cavanaugh Vor 12 Jahren 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? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Nate Cavanaugh Eric Dobbs Vor 12 Jahren 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 Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Eric Dobbs Nate Cavanaugh Vor 12 Jahren 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? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Nate Cavanaugh Eric Dobbs Vor 12 Jahren 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 Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Nate Cavanaugh Eric Dobbs Vor 12 Jahren 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 Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Jignesh Vachhani Vor 12 Jahren Very Nice And Helpful Article Nate !!!!!!!!!!!!! Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Nicolas Ballinas Jignesh Vachhani Vor 11 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Nicolas Ballinas Jignesh Vachhani Vor 11 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Johannes Kant Vor 11 Jahren You could try the following:AUI().use('aui-io-plugin', function(A){...}orAUI().ready('aui-io-plugin', function(A){...}Good Luck! Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen