Hi chris1,
OK, the problem is then something else. Try a space before you break or just an "a" to see if it works in general.
Best regards
Blama
Announcement
Collapse
No announcement yet.
X
-
Hi Blama , because I would like to bring the entire hint down to the next line, so I put the "<br/>" in front of the *.jpg, which looks likeCode:hint="<br/>*.jpg, *.jpeg,*.gif or *.png"
Leave a comment:
-
Hi chris1,
you could give the hint in Java as well.
But why or what does not work? The hint at all or the line break? Check the result of the DataSourceLoader Call for that DataSource and also change some text so that you know if the system got your change. Do you see the <br/> in there? What do you see displayed in the browser?
Best regards
Blama
Leave a comment:
-
Hi chris1,
no. You want a linebreak in the content of hint, correct?
Code:<field ... fileExtension="jpg,jpeg,gif" hint="*.jpg, *.jpeg,<br/>*.gif or *.png" width="100"></field>
Code:<field ... fileExtension="jpg,jpeg,gif" hint="<![CDATA[*.jpg, *.jpeg,<br/>*.gif or *.png]]>" width="100"></field>
Blama
Leave a comment:
-
how to give hint in new line smartgwt ds.xml
I would like to insert a new line for hint in field attribute within the ds.xml file. How do I do it ?
Below are my codes
<field name="image" type="binary" Validator="fileExtension" fileExtension="jpg,jpeg,gif" hint="*.jpg, *.jpeg, *.gif or *.png" width="100" ></field>Tags: None
Leave a comment: