|
Hey guys,
So for some reason my <gui:dialog> box is showing up, however is is clear. Like you can see through it everywhere there is not text or like a text field. Everything seems to be working fine (functionally), except that there is no background, it is just transparent. I have working <gui:accordion> tags working, so I assume it has to be something with the dialog box itself, or rather some property that I am probably not specifying correctly. Any help is appreciated, as always thanks to everyone who as read that and tried to help, I really do appreciate it. Here is my dialog code: <gui:dialog title="Dialog with Form" modal="true" form="true" controller="demo" action="acceptForm" update="replaceMe" triggers="[show:[type:'link', text:'click me for a form', on:'click']]"> <input type="text" id="input1" name="input1"/> </gui:dialog> Like I said my Accordions work fine, so I assume my plugin is working, and the CSS should be all in tact. Just the dialog boxes are see through. Thanks for your time, and Happy Coding!
You Have All The Weapons You Need Right Here.
|
|
Did you include the dialog in your resources ? <gui:resources components="['dialog']"/>From: CollegeCoder <[hidden email]> To: [hidden email] Sent: Friday, 21 October 2011, 22:09 Subject: [grails-user] Problem with grails-ui-1.2 Hey guys, So for some reason my <gui:dialog> box is showing up, however is is clear. Like you can see through it everywhere there is not text or like a text field. Everything seems to be working fine (functionally), except that there is no background, it is just transparent. I have working <gui:accordion> tags working, so I assume it has to be something with the dialog box itself, or rather some property that I am probably not specifying correctly. Any help is appreciated, as always thanks to everyone who as read that and tried to help, I really do appreciate it. Here is my dialog code: *<gui:dialog title="Dialog with Form" modal="true" form="true" controller="demo" action="acceptForm" update="replaceMe" triggers="[show:[type:'link', text:'click me for a form', on:'click']]"> <input type="text" id="input1" name="input1"/> </gui:dialog>* Like I said my Accordions work fine, so I assume my plugin is working, and the CSS should be all in tact. Just the dialog boxes are see through. Thanks for your time, and Happy Coding! ----- You Have All The Weapons You Need Right Here. -- View this message in context: http://grails.1312388.n4.nabble.com/Problem-with-grails-ui-1-2-tp3926779p3926779.html Sent from the Grails - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
Yes, I had <gui:resources components="richEditor, dialog, accordion"/> in there. I also attempted to add your line as well just to be sure, <gui:resources components="['dialog']"/> and it is still clear. it is really crazy looking, and there has to be something it is not picking up right?
Tanks for all the help guys, I really appreciate it.
You Have All The Weapons You Need Right Here.
|
|
have you got yui-skin-sam class attached to a div enclosing your dialog ? From: CollegeCoder <[hidden email]> To: [hidden email] Sent: Monday, 24 October 2011, 15:06 Subject: [grails-user] Re: Problem with grails-ui-1.2 Yes, I had <gui:resources components="richEditor, dialog, accordion"/> in there. I also attempted to add your line as well just to be sure, <gui:resources components="['dialog']"/> and it is still clear. it is really crazy looking, and there has to be something it is not picking up right? Tanks for all the help guys, I really appreciate it. ----- You Have All The Weapons You Need Right Here. -- View this message in context: http://grails.1312388.n4.nabble.com/Problem-with-grails-ui-1-2-tp3926779p3933210.html Sent from the Grails - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
Yes, I have also tried it with and without that div too.
<div class="yui-skin-sam">
You Have All The Weapons You Need Right Here.
|
|
Can i look at your code? From: CollegeCoder <[hidden email]> To: [hidden email] Sent: Monday, 24 October 2011, 15:22 Subject: [grails-user] Re: Problem with grails-ui-1.2 Yes, I have also tried it with and without that div too. <div class="yui-skin-sam"> ----- You Have All The Weapons You Need Right Here. -- View this message in context: http://grails.1312388.n4.nabble.com/Problem-with-grails-ui-1-2-tp3926779p3933263.html Sent from the Grails - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
Sure this is all I have, that pertains to the the dialog box however.
<gui:resources components="richEditor, dialog, accordion"/> <gui:resources components="['dialog']"/> <div class="yui-skin-sam"> <gui:dialog title="Dialog with Form" modal="true" form="true" controller="demo" action="acceptForm" update="replaceMe" triggers="[show:[type:'link', text:'click me for a form', on:'click']]"> <input type="text" id="input1" name="input1"/> </gui:dialog> </div>
You Have All The Weapons You Need Right Here.
|
|
In reply to this post by CollegeCoder
Can i ask which browser your using ? Have you tried others ? Which grails version ? From: CollegeCoder <[hidden email]> To: [hidden email] Sent: Monday, 24 October 2011, 15:22 Subject: [grails-user] Re: Problem with grails-ui-1.2 Yes, I have also tried it with and without that div too. <div class="yui-skin-sam"> ----- You Have All The Weapons You Need Right Here. -- View this message in context: http://grails.1312388.n4.nabble.com/Problem-with-grails-ui-1-2-tp3926779p3933263.html Sent from the Grails - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
I test in IE, Chrome and Firefox, all the same.
Grails= 1.3.7
You Have All The Weapons You Need Right Here.
|
|
In reply to this post by CollegeCoder
Have you tried looking at this thru firebug to see if your getting any Ajax errors ? You have 'update="replaceme" ' in the dialog definition - do you have that id(replaceMe) defined somewhere ? From: CollegeCoder <[hidden email]> To: [hidden email] Sent: Monday, 24 October 2011, 15:35 Subject: [grails-user] Re: Problem with grails-ui-1.2 Sure this is all I have, that pertains to the the dialog box however. <gui:resources components="richEditor, dialog, accordion"/> <gui:resources components="['dialog']"/> <div class="yui-skin-sam"> <gui:dialog title="Dialog with Form" modal="true" form="true" controller="demo" action="acceptForm" update="replaceMe" triggers="[show:[type:'link', text:'click me for a form', on:'click']]"> <input type="text" id="input1" name="input1"/> </gui:dialog> </div> ----- You Have All The Weapons You Need Right Here. -- View this message in context: http://grails.1312388.n4.nabble.com/Problem-with-grails-ui-1-2-tp3926779p3933313.html Sent from the Grails - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
No, I am really just trying to get a Dialog box to appear, the functionality I think I can figure out later, but now I am just trying to get a dialog box that spits out some text with an OK button. this was just some arbitrary code that I found from the GUI grails site.
You Have All The Weapons You Need Right Here.
|
|
I tried your code and it works fine .. I removed the class yui-skin-sam and I got what you seem to be looking at - a transparent dialog .. It would appear to me that it isn't being referenced correctly .. Check it again .. From: CollegeCoder <[hidden email]> To: [hidden email] Sent: Monday, 24 October 2011, 16:38 Subject: [grails-user] Re: Problem with grails-ui-1.2 No, I am really just trying to get a Dialog box to appear, the functionality I think I can figure out later, but now I am just trying to get a dialog box that spits out some text with an OK button. this was just some arbitrary code that I found from the GUI grails site. ----- You Have All The Weapons You Need Right Here. -- View this message in context: http://grails.1312388.n4.nabble.com/Problem-with-grails-ui-1-2-tp3926779p3933570.html Sent from the Grails - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
This is weird because my accordion does not render without the <div class="yui-skin-sam"> so I assume that is at least rendering correctly. I tried putting the dialog box inside of the accordion to be sure it was grabbing the div and still no good. This is the most frustrating thing. :(
You Have All The Weapons You Need Right Here.
|
|
Add the yui-skin-sam class on the body element.
\m/ (>.<) \m/ matthew taylor (sent from my megaphone) On Oct 24, 2011, at 11:05 AM, CollegeCoder <[hidden email]> wrote: > This is weird because my accordion does not render without the <div > class="yui-skin-sam"> so I assume that is at least rendering correctly. I > tried putting the dialog box inside of the accordion to be sure it was > grabbing the div and still no good. This is the most frustrating thing. :( > > ----- > You Have All The Weapons You Need Right Here. > -- > View this message in context: http://grails.1312388.n4.nabble.com/Problem-with-grails-ui-1-2-tp3926779p3934018.html > Sent from the Grails - user mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
Ok, so the fix I found was putting the <body class="yui-skin-sam"> in my main.gsp
It says to do this in the guide, however I was hesitant because I only need this on one page. Also, note that this does NOT work if you put the class in the body tag for the current page, it must be in the main.gsp under your layouts folders. Thanks for everyone's help, I appreciate it, hope this helps someone else at some point.
You Have All The Weapons You Need Right Here.
|
|
In reply to this post by CollegeCoder
I suggest you use firebug , have a look at what's output from the tag and check for ant reported errors .. From: CollegeCoder <[hidden email]> To: [hidden email] Sent: Monday, 24 October 2011, 19:05 Subject: [grails-user] Re: Problem with grails-ui-1.2 This is weird because my accordion does not render without the <div class="yui-skin-sam"> so I assume that is at least rendering correctly. I tried putting the dialog box inside of the accordion to be sure it was grabbing the div and still no good. This is the most frustrating thing. :( ----- You Have All The Weapons You Need Right Here. -- View this message in context: http://grails.1312388.n4.nabble.com/Problem-with-grails-ui-1-2-tp3926779p3934018.html Sent from the Grails - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Powered by Nabble | Edit this page |
