|
Subject: Re: TabbedCayenneForm layout Newsgroups: gmane.comp.web.click.user Date: 2007-01-08 23:43:15 GMT (2 years, 25 weeks, 1 day, 23 hours and 30 minutes ago) Malcolm Edgar <malcolm.edgar <at> gmail.com> writes: ciao Malcolm, > > Hi Lorenzo, > > Regarding CLK-155 setting the <select> field to be readonly does not > work as the browsers does not support this attribute. Why I don't > know. > right... I did I quick search in google, and here an explanation http://www.htmlcodetutorial.com/forms/_SELECT_READONLY.html and here some possible solutions: http://www.faqts.com/knowledge_base/view.phtml/aid/38371 > Also if you set the field to be disabled this wont work either, as the > value will not be submitted with the form. > I like this trick http://psacake.com/web/jd.asp > Your work around it possibly the only solution we have for this, i.e. > replacing the <select> field with a <input type="text"/> TextField. > Does anyone have any comments on this solution. I am trying to think > of the possible problems this would create, JavaScript issues maybe? > also this one will solve the problem, but I think that it will be difficult to rollback from <input type="text"/> to a <select> if the form or the field is set to readonly(false). > Would you mind raising a JIRA issues on the other request: > * FieldSet columns property > * TabbedForm support error position > yes. > regards Malcolm Edgar > your framework it's simple great ! actually I spent more time choose and try the framework (appfuse, wicket, etc.) and click it's the more productive that I found take care, Lorenzo > On 1/9/07, Lorenzo Orselli <lorselli <at> gmail.com> wrote: > > Hi Malcolm, > > thanks for the feedback, > > > > this is exactly what I need: different tab with different column so that I'm > > free to better layout the label and fields on the form. > > > > I will also follow your suggestion for the large label position > > > > My main problem now is related to the bug that I opened (CLK-155) about the > > QuerySelect's readonly flag: this force me to have two different page that > > havethe same layout but replacing QuerySelect with TextField and so have two > > class to maintain. > > > > Another issue that I found is whetever I set the position of the errors this > > on the tabbed form is always render on the top > > > > regards > > Lorenzo > > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV |
|
|