-
1. Re: No <action> inside a <rule> in pages.xml
adamw Nov 6, 2007 4:54 PM (in response to adamw)I know, I should "preview" first.
So my question was:
Is there any conceptual reason why there's no possibility to have an < action > inside of a < rule > in pages.xml?
--
Adam -
2. Re: No <action> inside a <rule> in pages.xml
pmuir Nov 7, 2007 10:02 AM (in response to adamw)Not that I know of, but I'm not sure its that useful (you can raise an event from there which does pretty much the same). What is your usecase?
-
3. Re: No <action> inside a <rule> in pages.xml
adamw Nov 7, 2007 11:08 AM (in response to adamw)Yes, you can raise an event, and that's what I do now, but it's unnecessary config - the step of adding an event to components.xml could be bypassed.
My usecase is that I update a series of entities and when everything is ok (the if-condition of a rule is met) I proceed to the next one by raising an event and redisplaying the page.
--
Adam -
4. Re: No <action> inside a <rule> in pages.xml
pmuir Nov 7, 2007 6:59 PM (in response to adamw)Add a jira issue, I want to see what Gavin says.
-
5. Re: No <action> inside a <rule> in pages.xml
adamw Nov 8, 2007 10:23 AM (in response to adamw)Ok, created:
http://jira.jboss.org/jira/browse/JBSEAM-2225
--
Adam