Hello,
This change have not been applied to 1.99.7.
Is it in trunk?
I would it to be included into the new release...
Richard
On Thu, Apr 19, 2012 at 4:33 PM, Richard Vézina ml.richard.vez...@gmail.com
wrote:
Is this change proposal been include in the trunk??
Richard
On Fri, Mar 2,
I open a issue : http://code.google.com/p/web2py/issues/detail?id=861
On Thu, Jun 21, 2012 at 1:54 PM, Richard Vézina ml.richard.vez...@gmail.com
wrote:
Hello,
This change have not been applied to 1.99.7.
Is it in trunk?
I would it to be included into the new release...
Richard
On
An inline-block has auto-width and will stretch to fit the error message. I
don't see why you need the extra div wrapper. You could also change your
error message to be inline.
On Friday, March 2, 2012 11:00:11 AM UTC-6, Richard wrote:
Hello,
Could we consider this change :
Wrapping error
I think the actual implementation works ok with anything but 'divs' form
style (to be confirmed).
I use divs style in my app and the error message box goes right trougth the
right even if the error message is only one word.
Richard
On Thu, Jun 21, 2012 at 2:51 PM, RKS sean.sambor...@live.com
I usually make my customization of the form errors trough the controller.
For example in your case I would do:
form = SQLFORM(db.mytable,formstyle = 'divs')
if form.process().accepted:
response.flash = 'form accepted'
elif form.errors:
for fieldname in form.errors:
Of course I can do that, but to me it should not require I do that in the
first place. I really think it a little glitch that is there for long time.
I hope it's not causing a backward compatibility to correct it. If it brake
old app and my suggested change is rejected, I will use your suggestion.
Is this change proposal been include in the trunk??
Richard
On Fri, Mar 2, 2012 at 3:05 PM, Richard Vézina
ml.richard.vez...@gmail.comwrote:
Ok, but we need to add a DIV()
Richard
On Fri, Mar 2, 2012 at 12:51 PM, Bruno Rocha rochacbr...@gmail.comwrote:
On Fri, Mar 2, 2012 at 2:44 PM,
Hello,
Could we consider this change :
Wrapping error div inside an other div?
Reason :
Allow auto width of error box base on length of error message.
Try this with chrome dev tool on a triggered validator page :
div style=block; !-- error box wrapper -- div class=error
id=myfield__error
*Original :*
def xml(self):
name = self.attributes.get('_name', None)
if name and hasattr(self, 'errors') \
and self.errors.get(name, None) \
and self['hideerror'] != True:
return DIV.xml(self) + DIV(self.errors[name],
On Fri, Mar 2, 2012 at 2:44 PM, Richard Vézina
ml.richard.vez...@gmail.comwrote:
*return DIV.xml(self) + DIV(DIV(self.errors[name], _class='error',*
*errors=None, _id='%s__error' % name, _style='display:
inline-block;'),_style='display: block;').xml()*
Just give it classes
Ok, but we need to add a DIV()
Richard
On Fri, Mar 2, 2012 at 12:51 PM, Bruno Rocha rochacbr...@gmail.com wrote:
On Fri, Mar 2, 2012 at 2:44 PM, Richard Vézina
ml.richard.vez...@gmail.com wrote:
*return DIV.xml(self) + DIV(DIV(self.errors[name], _class='error',*
*
11 matches
Mail list logo