CSS for Rails ?

View: New views
7 Messages — Rating Filter:   Alert me  

CSS for Rails ?

by Arun Gupta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For a Rails app in RC2, there seems to be no way to create a CSS
document. XSL stylesheets type exist but could not locate CSS.

Is that intentional ? I can always manually copy the file but then I
have to go out of IDE for that.

-Arun
--
Application Platform, Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: CSS for Rails ?

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Not intentional, http://www.netbeans.org/issues/show_bug.cgi?id=128342.
Note that the patch attached to the issue is not correct, it would stil
require the j2ee cluster to be installed to work. I'll add a comment to
the issue too.

Erno


Arun Gupta wrote:
> For a Rails app in RC2, there seems to be no way to create a CSS
> document. XSL stylesheets type exist but could not locate CSS.
>
> Is that intentional ? I can always manually copy the file but then I
> have to go out of IDE for that.
>
> -Arun


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: CSS for Rails ?

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


BTW, as a workaround you can always create an empty file with the .css
extension.

Erno

Erno Mononen wrote:

>
> Not intentional,
> http://www.netbeans.org/issues/show_bug.cgi?id=128342. Note that the
> patch attached to the issue is not correct, it would stil require the
> j2ee cluster to be installed to work. I'll add a comment to the issue
> too.
>
> Erno
>
>
> Arun Gupta wrote:
>> For a Rails app in RC2, there seems to be no way to create a CSS
>> document. XSL stylesheets type exist but could not locate CSS.
>>
>> Is that intentional ? I can always manually copy the file but then I
>> have to go out of IDE for that.
>>
>> -Arun
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: CSS for Rails ?

by Arun Gupta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yep, that's what I'm doing.

Thanks,
-Arun

Erno Mononen wrote:

>
> BTW, as a workaround you can always create an empty file with the .css
> extension.
>
> Erno
>
> Erno Mononen wrote:
>>
>> Not intentional,
>> http://www.netbeans.org/issues/show_bug.cgi?id=128342. Note that the
>> patch attached to the issue is not correct, it would stil require the
>> j2ee cluster to be installed to work. I'll add a comment to the issue
>> too.
>>
>> Erno
>>
>>
>> Arun Gupta wrote:
>>> For a Rails app in RC2, there seems to be no way to create a CSS
>>> document. XSL stylesheets type exist but could not locate CSS.
>>>
>>> Is that intentional ? I can always manually copy the file but then I
>>> have to go out of IDE for that.
>>>
>>> -Arun
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

--
Application Platform, Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: CSS for Rails ?

by bruparel () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a follow-up question.  The code completion window in the HTML editor displays help, however the CSS editor does not have it?  Is there a setting for it or it is simply not available?
I am trying to use the CSS Style builder and when I select Background Image in it, I get a Null Pointer exception.  The IDE does not crash however.
I am not sure how do I use CSS Style builder.
Bharat

Re: CSS for Rails ?

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I think it is not available, but I'm not that familiar with the css
editor. Perhaps Marek (in cc) can comment.

Erno

bruparel wrote:
> I have a follow-up question.  The code completion window in the HTML editor
> displays help, however the CSS editor does not have it?  Is there a setting
> for it or it is simply not available?
> Bharat
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: CSS for Rails ?

by bruparel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Marek/Erno,
Another thing that I found just now is that the CSS Preview does not work with an embedded CSS.  Granted, most of the real work is done using external CSS.  Still, it would be good to get a decent write-up from someone on using CSS Editor and the Preview windows.  The HTML editor is fairly intuitive however.  I have been hacking with the external CSS using both the CSS editor and preview windows and would love to get some pointers from someone who is knowledgable.
Thanks.
Bharat