From: Matt B. <ma...@sm...> - 2002-04-05 11:47:57
|
your correct. I'll add the bug. ----- Original Message ----- From: "Bogdan Ghidireac" <bo...@bl...> To: <web...@li...> Sent: Thursday, April 04, 2002 8:33 PM Subject: Re: [Webwork-devel] isMethod patch > > That have already been fixed, checked cvs. > > > > Regards, > > Low > > > ok. I updated my cvs. sorry. > > But I have a new one :) > When I am trying to create a textarea like this one, I always get a read > only textarea. > > <ui:textarea label="'Comments'" name="'comments'" readonly="false" cols="30" > rows="8"/> > > I looked at the textarea.jsp from template and seems that the test is always > true if the readonly attribute is present. > > <webwork:property value="parameters['readonly']"> > <webwork:if > test="{parameters['readonly']}">READONLY</webwork:if> > </webwork:property> > > If the test is modified to > > <webwork:property value="parameters['readonly']"> > <webwork:if test="{parameters['readonly']} == > true">READONLY</webwork:if> > </webwork:property> > > then everything works ok. This applies to other controls, too. > > Regards, > Bogdan > > > > > > _______________________________________________ > Webwork-devel mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-devel > > |