Bavithra Rajendran 14年 前 Sir, Thank You once again for a nice post with neat explanations about Plugins 投票するためにはログインが必要です。 次として送信する: キャンセル
Alex Wallace 14年 前 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! 投票するためにはログインが必要です。 次として送信する: キャンセル Alex Wallace Alex Wallace 14年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Nate Cavanaugh Alex Wallace 14年 前 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, 投票するためにはログインが必要です。 次として送信する: キャンセル
Alex Wallace Alex Wallace 14年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Nate Cavanaugh Alex Wallace 14年 前 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, 投票するためにはログインが必要です。 次として送信する: キャンセル
Nate Cavanaugh Alex Wallace 14年 前 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, 投票するためにはログインが必要です。 次として送信する: キャンセル
Eric Dobbs 12年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル Nate Cavanaugh Eric Dobbs 12年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Eric Dobbs Nate Cavanaugh 12年 前 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? 投票するためにはログインが必要です。 次として送信する: キャンセル Nate Cavanaugh Eric Dobbs 12年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル
Nate Cavanaugh Eric Dobbs 12年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル Eric Dobbs Nate Cavanaugh 12年 前 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? 投票するためにはログインが必要です。 次として送信する: キャンセル Nate Cavanaugh Eric Dobbs 12年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル
Eric Dobbs Nate Cavanaugh 12年 前 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? 投票するためにはログインが必要です。 次として送信する: キャンセル Nate Cavanaugh Eric Dobbs 12年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル
Nate Cavanaugh Eric Dobbs 12年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル
Jignesh Vachhani 12年 前 Very Nice And Helpful Article Nate !!!!!!!!!!!!! 投票するためにはログインが必要です。 次として送信する: キャンセル Nicolas Ballinas Jignesh Vachhani 11年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル
Nicolas Ballinas Jignesh Vachhani 11年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル
Johannes Kant 11年 前 You could try the following:AUI().use('aui-io-plugin', function(A){...}orAUI().ready('aui-io-plugin', function(A){...}Good Luck! 投票するためにはログインが必要です。 次として送信する: キャンセル