Can you explain a little more about what these existing functions are,
they are supposed to work, how you invoked them in the past, etc?
It’s a little bit difficult to explain, but I’ll try with an example.
Now my view is just made with a simple input box where you can put your
address. This input box action calls the javafunction.
- The first one has to open an xml file, where all the information
about the people are stored.
- The second one has to fill some variables from this file, for example
the phone number of the user who is login.
- And the last one has to use these variables in order to create a
Now I have to reach some other goals. In particolar the final goal is to
have a query in my database in order to understand if the phone number
is already stored. According to the result I have to show a different
complete the ‘result_div’.
So I thought to split the original java function in 2 parts and to make
a wrapper of the original java function like this.
<%start_form_tag :action => ‘wrapper’%>
<%= text_field_tag ‘address’%>
<% if @mobile
It’s already stored.
Congratulation. Now you’re online.
So I hope you understood. I did my best… As you understood my case is
more complicated and I REALLY DIDN’T want to bore you! But if you read
everything THANK YOU SO MUCH!!!
So I have the follow questions: in order to make a wrapper I need to
-how may I pass the argument ADDRESS to the method wrapper.
-how may I call the javafunction from the method.
THANK YOU SO MUCH, and when the site will be online you will be the
first to know!
FEEL FREE TO TELL ME YOUR OPINION!