I'm using the following and it's working fine...I wonder if you need
to use the "post" instead of "get" in your submission. Normally in
HTML I don't think it matters, but here it might...
<page>
<page-header>
<masthead layout="simple">
<layout-items>
<block class="title">Login</block>
</layout-items>
</masthead>
</page-header>
<models>
<model id="auth">
<instance id="auth_inst">
<data xmlns="">
<tenant></tenant>
<username></username>
<password></password>
</data>
</instance>
<submission method="urlencoded-post"
resource="login.jsp" />
</model>
</models>
<content>
<input ref="tenant">
<label>Tenant:</label>
</input>
<input ref="username">
<label>User Name:</label>
</input>
<secret ref="password">
<label>Password:</label>
</secret>
<submit>
<label>Login</label>
</submit>
</content>
</page>
--- In yhoomobiledevelopers@yahoogroups.com, "justinsubscribe"
<justinsubscribe@...> wrote:
>
> Hi,
> Anybody have simple sample code on how to submit a form using
> blueprint (get or post). I created one that did go to another page
> when i press submit but no matter what input i place on the textbox,
> the submitted variables did not change. I'm stuck on this.
>
> Thanks for the help
>
> The code I used is below:
> it supposed to submit values from the two textbox to formsubmit.aspx
> But no matter what I type on the two textboxes the values are always
> the default (in models)
>
>
> Justin
>
> <models>
> −
> <model id="personal_info">
> −
> <instance>
> −
> <data>
> <name>justin</name>
> <address>ubi ave 1</address>
> </data>
> </instance>
> <submission method="get" resource="formsubmit.aspx"/>
> </model>
> </models>
> −
> <content>
> −
> <module>
> −
> <header layout="simple">
> −
> <layout-items>
> <block>module 1</block>
> </layout-items>
> </header>
> −
> <input model="personal_info" ref="name">
> <label>Name:</label>
> </input>
> −
> <input model="personal_info" ref="address">
> <label>Address:</label>
> </input>
> −
> <submit>
> <label>submit button</label>
> </submit>
> </module>
> </content>
>