Announcement Announcement Module
No announcement yet.
Help with images and urlrewrite Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help with images and urlrewrite

    Hi! I am new in this forum but I have any experience in Spring. Now i am trying with Spring Roo, I have done all the tutorials and now I am doing a new application but I have a problem.
    I want to put a "input file" that when select an image could be loaded in the page, i put this:

    <inpuy type="image" id="myimage" src="(whatewer)">
    <input type="file" onchange="document.getElementById('myimage').src = this.value">

    But it doesnŽt work. I think is because the urlrewrite filter, isn`t it?
    When I was doing my own test, I print the "value" of the input and the result was: c:/fakepath/image.jpg. Can I configure this "fakepath"?

    Sorry for my english and thank you very much

  • #2
    With the upcoming Roo 1.1 M3 release I have removed the urlrewrite filter entirely. Since that release is just around the corner I recommend waiting for it. Otherwise you can build Roo from trunk...


    • #3
      Ok, thank you. IŽll wait for the new release.