Tomahawk and SaveState

Tomahawk and SaveState

Post by SV1000S_3 » Thu, 02 Aug 2007 17:57:38


Hi everyone,

i've a problem with the UISaveState component... I've a JSF page which
contains a form with many inputs.

<h:form id="myForm">
<t:saveState id="save" value="#{mainBean}" />
<h:selectOneMenu id="sessionLabel"
value="#{mainBean.param1}"
immediate="true" onchange="submit()"
valueChangeListener="#{mainBean.param1SelectionChangedHandler}">
<f:selectItems value="#{mainBean.param1List}" />
</h:selectOneMenu>
<h:inputText id="param1" value="#{mainBean.param2}" />
<h:commandButton action="#{mainBean.doValidate}"
value="OK" />
</h:form>

mainBean is a bean which contains :
- param1 attribute ;
- param2 attribute ;
- secondBean : bean to fill param2 in function of param1 selection.

So, my problem :
when the param1 value changes, the param2 don't change even if the
param2 value seems to be calculated and assigned correctly in the
mainBean (the display don't work, saveState, restoreState problem??).
If the secondBean is declared transient, when the param1 value
changes, the param2 value changes too and it's ok but in this case,
there is a problem in the form submission. The value of param2 is
always the calculated value in param1SelectionChangedHandler even if
user change the value directly in the form (the setter of param2
doen't seem to be used)...

Thanks a lot.
 
 
 

1. Errors when trying to savestate/restore after installing SP1

2. Software that captures PC game savestates?


I know its probably impossible and fraught with lots of programming
difficulties, but I was wondering if there might be software out there
which works similiarly to the 'savestate' feature found in many
emulation programs? This would be great for titles that don't have
save features or severly crippled ones such as the one I'm playing
now.

I'm ready to tear my head off after playing through some of the levels
in Hitman Code 47 for the 10th time!! :-O

3. CToolBar::SaveState() and RestoreState()

4. where are the loadstate.exe and savestate.exe commands

5. Command Line Options To Stop or SaveState a VPC

6. TOMAHAWK

7. Pelican Tomahawk Xbox Flight Stick Programming Issue

8. Tomahawk PDF+ Status

9. Calling Tomahawk tool in perl script

10. Are there any known conflicts between LabView 6.0 and Tyan Tomahawk (model S1856S) motherboards

11. Tomahawk

12. Problem with calculations and multiple AND's in criteria

13. Conditional Statement with ANDs

14. IF's & AND's

15. Nesting ,Ands