further form customization with magritte

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

further form customization with magritte

sergio_101
is it possible to get in and customize magritte forms at the DOM level?

for instance, if our designers gave us a css that required classing
some of the form eleemnts, etc.. would this be possible?

would it be also possible to lay the form out differently? ie in
columns rather than one long column?

thanks!


--
----
peace,
sergio
photographer, journalist, visionary

http://www.ThoseOptimizeGuys.com
http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: further form customization with magritte

fstephany
Yep, that's possible. But it's quite annoying if all your forms need a
different layout all the time.

Have a look at MACssRenderer and MATableRenderer, they are good examples
of two different layouts for forms.

A good example of how to customize the rendering of specific field of
the form is the TwitterBootstrap integration.
(http://twitterbootstrap.seasidehosting.st). Load the code and look how
it is made.

Hope that helps,

Francois


On 26/09/12 11:29, sergio_101 wrote:

> is it possible to get in and customize magritte forms at the DOM level?
>
> for instance, if our designers gave us a css that required classing
> some of the form eleemnts, etc.. would this be possible?
>
> would it be also possible to lay the form out differently? ie in
> columns rather than one long column?
>
> thanks!
>
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: further form customization with magritte

sergio_101
> Yep, that's possible. But it's quite annoying if all your forms need a
> different layout all the time.
>

thanks! i will look at this..

in all cases, the forms will be uniform for their purpose.. so it
should be fine.. the initial layout will be the only problem..

thanks!


--
----
peace,
sergio
photographer, journalist, visionary

http://www.ThoseOptimizeGuys.com
http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: further form customization with magritte

fstephany
Then you should be allright. I feel like 85% of my forms have some
custom things, so I just ditch Magritte automatic rendering and hand
code it.

On 27/09/12 05:52, sergio_101 wrote:

>> Yep, that's possible. But it's quite annoying if all your forms need a
>> different layout all the time.
>>
>
> thanks! i will look at this..
>
> in all cases, the forms will be uniform for their purpose.. so it
> should be fine.. the initial layout will be the only problem..
>
> thanks!
>
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: further form customization with magritte

Stephan Eggermont-3
In reply to this post by sergio_101
You might want to take a look at the Deltawerken code for some ideas on customization.
Especially DEBuilder and DEReportBuilder. They are in need of commenting and
refactoring, though.

Stephan_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: further form customization with magritte

Intrader Intrader
In reply to this post by fstephany
Francois Stephany <tulipe.moutarde <at> gmail.com> writes:

In loading, I get to a point where I loop on a error message
"UndefinedObject(Object)>>does not understand #do"
What this thread is dealing with is very important. I have run into
customization problems with Magritte 90% of the time.
Sorryt to interrupt.



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: further form customization with magritte

Intrader Intrader
In reply to this post by Stephan Eggermont-3
Stephan Eggermont <stephan <at> stack.nl> writes:

>
> I have noticed some similarities to Magritte in DeltaWerken. Are you ditching
Magritte?



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: further form customization with magritte

Stephan Eggermont-3
In reply to this post by sergio_101
Intrader wrote:
>Francois Stephany <tulipe.moutarde <at> gmail.com> writes:
>
>In loading, I get to a point where I loop on a error message
>"UndefinedObject(Object)>>does not understand #do"
>What this thread is dealing with is very important. I have run into
>customization problems with Magritte 90% of the time.
>Sorryt to interrupt.

I'm missing some context here. Could you clarify?

Stephan


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: further form customization with magritte

fstephany
In reply to this post by Intrader Intrader
When you load the twitterbootstrap-magritte example?
Which Pharo do you use?


On 27/09/12 17:24, intrader wrote:
> Francois Stephany <tulipe.moutarde <at> gmail.com> writes:
>
> In loading, I get to a point where I loop on a error message
> "UndefinedObject(Object)>>does not understand #do"
> What this thread is dealing with is very important. I have run into
> customization problems with Magritte 90% of the time.
> Sorryt to interrupt.
>
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside