Re: multi-line input field

2014-05-12 Thread Bartosz Dziewoński
On Mon, 12 May 2014 14:49:33 +0200, Sebastjan Hribar sebastjan.hri...@gmail.com wrote: I can only use textarea rows:'5' @testform.testing for displaying pruposes. Why? textarea is the way to do multiline text inputs in HTML. -- Matma Rex ___

Re: first app - some questions

2014-04-19 Thread Bartosz Dziewoński
On Sat, 19 Apr 2014 13:22:52 +0200, Sebastjan Hribar sebastjan.hri...@gmail.com wrote: 2. UTF-8 encoding doesn't work. Special characters like č, š, ž from my language are not displayed. Should I force the encoding and how? You need to do two things: a) Ensure that the source text is, in

Re: Is this message getting through?

2012-08-14 Thread Bartosz Dziewoński
It went thru to me. -- Matma Rex 2012/8/14 Jenna Fox a...@creativepony.com: testing. list seems to be ignoring my messages — Jenna ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: Gone a little crazy

2012-04-29 Thread Bartosz Dziewoński
The fonts don't display because Opera sucks balls when it comes to text-transform. I have ran into problems with it before (when dynamically changing .style.textTransform of an input field, the text displayed is not updated - testcase: http://dl.dropbox.com/u/10983006/textransformbug.html) and

Re: framework size, forking etc.

2012-04-16 Thread Bartosz Dziewoński
W dniu 16 kwietnia 2012 20:50 użytkownik Nokan Emiro uzleep...@gmail.com napisał: Actually I think it's not logical that you can build HTML by default using Markaby, but you can't build CSS in the same way. You never need to insert any variables into your CSS code. (If you do, you're doing it

Re: Serving static files within a single app

2012-04-15 Thread Bartosz Dziewoński
Camping.goes :App module App use Rack::Static, :urls = ['/static'] end -- Matma Rex ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: Markaby license issue

2011-12-18 Thread Bartosz Dziewoński
You can't really write Javascript in Ruby due to the way it (and its libraries like jQuery) handle functions. Sure, it could be done, but the code would be ugly. 2011/12/18, Isak Andersson icepa...@lavabit.com: Not really sure to be honest. It looks very nice and is basically markaby. But I

Re: setting controllers etc

2011-12-18 Thread Bartosz Dziewoński
I don't think I understand the problem - can't you just `require` all the files with controllers? -- Matma Rex ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: Mab: The tiny Markaby-alternative

2011-12-18 Thread Bartosz Dziewoński
I don't have time to look thru now, but it doesn't seem to support boolean attributes (e.g. `input checked:true` should render input checked=checked /)? I was very much missing this feature in old Markaby, and finally even wrote a patch, as you might remember[1]. It'd probably be quite easy to

Re: run my Camping app as a Rack app

2011-10-09 Thread Bartosz Dziewoński
I'm not sure what are you trying to accomplish. Can't you just create a config.ru file like this: require './yourapp.rb' run YourApp And then use `rackup` to start the app? config.ru files are widely understood, the same thing works for example with mod_passenger or Heroku. -- Matma Rex

Re: run my Camping app as a Rack app

2011-10-09 Thread Bartosz Dziewoński
The app itself implements Rack protocol. (That is, if you do Camping.goes :App, then your obj variable would be App - it implements .call, I think it's all that's needed?) -- Matma Rex ___ Camping-list mailing list Camping-list@rubyforge.org

Re: run my Camping app as a Rack app

2011-10-09 Thread Bartosz Dziewoński
Does it work the regular way? (via rackup) Does it work your way, but with a different handler? Which version of rack you're using? I can't find any usage of tr method in 1.3.4's rack/utils.rb, and line 37 of rack/session/cookie.rb is a comment. -- Matma Rex

Re: Simplest easiest rss feeds?

2011-10-05 Thread Bartosz Dziewoński
I was only once generating an RSS feed, and I just did it with Markaby. You can see live example here: http://warlightrss.heroku.com/general - and the source code: (RSS generation is at the very bottom) http://warlightrss.heroku.com/source/web.rb Also, don't judge, this is old (still just works,

Re: Maintenance release of 2.1

2011-10-03 Thread Bartosz Dziewoński
Personally I hate it. It's like table border=2 and font size=7 once again, except this time camouflaged as CSS classes. The only good things in there are either styled pretty much the same way by default (like, say, headers), or require a line of code (@basefont, layouts). -- Matma Rex

Re: Feature: Simple controllers?

2011-09-24 Thread Bartosz Dziewoński
So, are we reverting it? It's still in the latest GitHub commit. (If it was unclear, I agree with Jenna - while certainly neat, this should go.) -- Matma Rex ___ Camping-list mailing list Camping-list@rubyforge.org

Re: What is the Best Way to Install Camping in 2011?

2011-08-30 Thread Bartosz Dziewoński
`gem install camping` :D (You may also want to install Markaby, ActiveRecord and all that.) -- -- Matma Rex ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: Feature: Inline templates?

2011-08-26 Thread Bartosz Dziewoński
If this only supports Erb, then we should throw it away as fast as possible ;) I see no reason why would anyone want to use something *that* dinosauric in a new project. If it also supports (or can support), say, Haml, then I see how it could be useful (although nearly all of my Camping projects

Re: Feature: Simple controllers?

2011-08-25 Thread Bartosz Dziewoński
Personally I probably won't be using it, I like having class names around and being able to link to them with R(). (I change my paths often.) Certainly won't hurt to have it, for really small apps. -- Matma Rex ___ Camping-list mailing list

Re: Need input on proposed tweaks to www.ruby-camping.com

2010-08-19 Thread Bartosz Dziewoński
Jenna, on whitebook.mooo.com there are links pointing to localhost:4331. Website is nice, but menu item are slightly unreadable :( -- Matma Rex ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: Need input on proposed tweaks to www.ruby-camping.com

2010-08-19 Thread Bartosz Dziewoński
2010/8/19 Jenna Fox a...@creativepony.com: Not right now? I can find no mention of this localhost:4331. I guess you caught my dev server while I was playing around and forgot to set the hostname right. It wouldn't be published like that. It's a macro-type thing to make the tumblog work

Re: Camping 2.1 and whywentcamping.com

2010-07-04 Thread Bartosz Dziewoński
2010/7/4 Philippe Monnet r...@monnet-usa.com: Just for fun and to keep creative juives flowing I mocked up one idea of layout including a resizable look and a slideshow to showcase key points about Camping. That slideshow is using straight HTML and Javascript. See

Re: Where I can find Reststop-based blog.rb?

2010-06-08 Thread Bartosz Dziewoński
2010/6/8, Raimon Fernandez co...@montx.com: In Reststop docs they say a good example is the blog.rb, but their link is broken. Where I can find it ? It should come with the gem, in examples directory. You can also find it here: http://github.com/camping/camping/blob/master/examples/blog.rb